[nsbasic-ce] Re: How to use ms emulator for vista
Rolf and Al (if you are monitoring), I am pulling my hair out over this seemingly simple problem. Here is what I am finding... XP computer: I have a 2003 se emulator and a device manager. Before I turned off my computer last night, I was able to edit my code on the desktop, start the program (F5) and the result was synched to the emulator and I could open the program file. This was done without active sync running or a device attached. Somehow I must have installed nsbasic on the emulator but I don't know how it happened. I never did make an active sync connection with the emulator (using dma) but I was going back and forth with the device before I disconnected it. I was surprised that it worked so easily with only the emulator and the desktop in action. Today...zippo, zilch, nyet, squat, nothing. Back to square one. Vista Computer: Downloaded the correct images from the link you sent and installed the emulator. Configured it to use a shared folder. All of the files from the desktop folder show up on the emulator and I can even read my program's manual there. Everything is in the 'storage card' folder. Opened the desktop nsb folder, double clicked the program file (pocketcogo.nsb) and it installed the program on the desktop. This is how I thought it installed nsbasic on the XP emulator yesterday because of the shared folder. The key is getting nsb installed on the emulator. This is where I come up short. Both you and Al have said to do it the same as though I was installing to the device. If I were installing to the device, I would connect it and use active sync but Vista doesn't support Active Sync. Even if I used Windows Mobile Device Center, I would have to connect the device. I guess I expected the 'shared folder' to take care of it. I have read your instructions several times but keep getting stuck on installing nsbasic on the emulator. I did install Total Commander using the cab file I downloaded. It looks like the only way to do it is have a cab file for nsb or be able to use Windows Mobile Center together with the emulator. Sorry to be a PITA. Jim --- In nsbasic...@yahoogroups.com, rbsoft42 r...@... wrote: Hello Jim, first of all here is the link to newer emulator images: http://www.microsoft.com/downloads/details.aspx?FamilyID=1a7a6b52-f89e-4354-84ce-5d19c204498adisplaylang=en It makes no difference if you use Vista or XP - I use the emulator under both OS. Once you have started and loaded the desired emulator you will have to install NSBasic to the emulator just as you would to a normal device. After this the emulator will have associated the nsb extension with the NSBasic. As Explorer shell on the emulator (and on devices as well) I would recommend TotalCommander CE. It is absolutely great and it's freeware. You can download it here: http://www.ghisler.com/ce.htm Hope that helps. Rolf --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: Rolf, thank you for your quick reply. I did what you suggested using XP (not sure you were also describing Vista). Everything went fine until I attempted to run the program from the emulator. That's when I got not associated with any application (name of my app is pocketcogo.nsb). So I put the program in the NSB folder where NSBCEIDE.EXE is (the associated file for nsb types) and still got the same message. This is the shared folder. I can't figure a way to make the proper association within the emulator. When I try to execute the ide, it is not a valid application. Sorry to be so dense but I can't go further. I only have 1 emulator from which to choose (2003 se) but would like to also have mobile 5 emulation. Where can I get a selection of emulators and an updated device manager.? Thank you for your help. Jim --- In nsbasic...@yahoogroups.com, rbsoft42 rolf@ wrote: Really there is not much need for ActiveSynch if you want to run an app in the emulator. I use it this way: Start the emulator manager. Connect the desired image. Go to FileConfigure Under the tab General set Shared Folder to NSB App Folder. This emulates a SD Card. Run your app from there using file explorer or something like Total Commander. Save the settings of the emulator image. Rolf --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: My main computer is a Vista machine and will primarily use it for NSB work. Below are 2 related issues. I am upgrading my app created with nsb 6.5, Win XP, active sync, a device emulator and device emulator manager. At the time, I could use the emulator without the device connected and work on my program. Now it doesn't work that way although I am following the same procedure I wrote down about a year ago. It cannot find the emulated device using the DMA port and the device not in its cradle
[nsbasic-ce] Re: Problem with Palm treo 700wx (uses windows mobile 6)
Thanks, George, I never thought of that. Is there a magic bullet that can adjust the sizes of the forms in a project or would I have to go through each one and resize? Would resizing the forms also adjust the objects contained therein? Could the entire project be ported to 8.0 to solve the problem and would that then also be compatible with other devices? Thanks for your insights. Jim --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: Two things: 1. What size screen did you design your app for? If it is for the usual 240x320, it will not look right on the Treo, which has a different screen size - it's square and 240 x 240. Your program needs to allow for this and adjust the objects as needed. 2. RunTimeFat.ARM42.exe is only for devices that do not use Windows Mobile. It will not work on the Treo. You might want to have a look at NS Basic/CE 8.0 which makes all of this much easier. Here is a message I received from a user of my application designed with nsb-ce 6.5: Installed PocketCogo to my Palm Treo 700 wx with Windows Mobile 6 professional CE os 5.2.1620 build18125.0.42. The Processor is: PXA272-312Mhz Memory is 57.38 Mb with an 4 GB sdhc memory card. The program executes but does not allow me to see full screen after Pocketcogo.nsb is doubled tapped. The file for install is RuntimeFat.ppc.exe with activesync. Is there a solution to re-size screen? Screen size is 2.5 x 2.5 diagonal. I then sent him RunTimeFat.ARM42.exe and this is return message: The RuntimeFat.42ARM.exe gives me a windows error message to send to Microsoft. Any ideas anyone? Jim Schuchert Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: Problem with Palm treo 700wx (uses windows mobile 6)
George, I didn't think so but now I know what I have to do...choose a custom screen size and make the changes. At least the code can remain. I was going to do this on my laptop but now find that when I try to execute the program, I get a runtime error 429 that states I don't have an appropriate license to use the functionality. I uninstalled and re-installed 6.5.3 but I am unable to delete the first NSBCEIDE.exe file so that it could be re-done. It says access is denied, it might be in use (is not) or write protected (the read only attribute is off) or disk is full (not a chance). Any ideas about the problem? Another issue: When I opened my app on my main computer (vista) I noticed that some textboxes have disappeared on 3 of the forms. They used to be there but now are gone. The command buttons are visible. I have not done any coding on this app for awhile but this is very strange. However, on a third computer the textboxes are there. Any reason for this anomaly? Thanks again for your help. Jim --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: Sorry - there are no shortcuts here. The truth is that there is no automatic way to resize a form for a different screen size and have everything in the right place and at the right size. While you are at it, you might as well think about rotated screens - 240x320 and 320x240. Thanks, George, I never thought of that. Is there a magic bullet that can adjust the sizes of the forms in a project or would I have to go through each one and resize? Would resizing the forms also adjust the objects contained therein? Could the entire project be ported to 8.0 to solve the problem and would that then also be compatible with other devices? Thanks for your insights. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: Two things: 1. What size screen did you design your app for? If it is for the usual 240x320, it will not look right on the Treo, which has a different screen size - it's square and 240 x 240. Your program needs to allow for this and adjust the objects as needed. 2. RunTimeFat.ARM42.exe is only for devices that do not use Windows Mobile. It will not work on the Treo. You might want to have a look at NS Basic/CE 8.0 which makes all of this much easier. Here is a message I received from a user of my application designed with nsb-ce 6.5: Installed PocketCogo to my Palm Treo 700 wx with Windows Mobile 6 professional CE os 5.2.1620 build18125.0.42. The Processor is: PXA272-312Mhz Memory is 57.38 Mb with an 4 GB sdhc memory card. The program executes but does not allow me to see full screen after Pocketcogo.nsb is doubled tapped. The file for install is RuntimeFat.ppc.exe with activesync. Is there a solution to re-size screen? Screen size is 2.5 x 2.5 diagonal. I then sent him RunTimeFat.ARM42.exe and this is return message: The RuntimeFat.42ARM.exe gives me a windows error message to send to Microsoft. Any ideas anyone? Jim Schuchert Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: Problem with Palm treo 700wx (uses windows mobile 6)
George, I took all evidence (I thought) for NSB/CE out of the laptop, including the IDE file and deleted reference in the registry. Then re-installed 6.5.3 and it still would not let me execute the IDE because of the runtime error 429 about no license, etc. Is there some dll that should be registered? what else could it be? I'm afraid if I upgrade to 8.0, I'll have the same problem with the laptop. Jim --- In nsbasic...@yahoogroups.com, cschuchert cschuch...@... wrote: I may do the upgrade if I can port the app into the new version and it is compatible with Vista. However, you did not answer the question regarding problem opening the 6.5 program on my laptop which is xp. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: Hi Jim, We can't really support 6.5 anymore - it's really old. Also, it does not have the changes needed for Vista. The disappearing boxes sound like a Vista problem. You can upgrade to 8.0 here: http://www.nsbasic.com/order.shtml George Henne NS BASIC Corporation http://www.nsbasic.com George, I didn't think so but now I know what I have to do...choose a custom screen size and make the changes. At least the code can remain. I was going to do this on my laptop but now find that when I try to execute the program, I get a runtime error 429 that states I don't have an appropriate license to use the functionality. I uninstalled and re- installed 6.5.3 but I am unable to delete the first NSBCEIDE.exe file so that it could be re-done. It says access is denied, it might be in use (is not) or write protected (the read only attribute is off) or disk is full (not a chance). Any ideas about the problem? Another issue: When I opened my app on my main computer (vista) I noticed that some textboxes have disappeared on 3 of the forms. They used to be there but now are gone. The command buttons are visible. I have not done any coding on this app for awhile but this is very strange. However, on a third computer the textboxes are there. Any reason for this anomaly? Thanks again for your help. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: Sorry - there are no shortcuts here. The truth is that there is no automatic way to resize a form for a different screen size and have everything in the right place and at the right size. While you are at it, you might as well think about rotated screens - 240x320 and 320x240. Thanks, George, I never thought of that. Is there a magic bullet that can adjust the sizes of the forms in a project or would I have to go through each one and resize? Would resizing the forms also adjust the objects contained therein? Could the entire project be ported to 8.0 to solve the problem and would that then also be compatible with other devices? Thanks for your insights. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: Two things: 1. What size screen did you design your app for? If it is for the usual 240x320, it will not look right on the Treo, which has a different screen size - it's square and 240 x 240. Your program needs to allow for this and adjust the objects as needed. 2. RunTimeFat.ARM42.exe is only for devices that do not use Windows Mobile. It will not work on the Treo. You might want to have a look at NS Basic/CE 8.0 which makes all of this much easier. Here is a message I received from a user of my application designed with nsb-ce 6.5: Installed PocketCogo to my Palm Treo 700 wx with Windows Mobile 6 professional CE os 5.2.1620 build18125.0.42. The Processor is: PXA272-312Mhz Memory is 57.38 Mb with an 4 GB sdhc memory card. The program executes but does not allow me to see full screen after Pocketcogo.nsb is doubled tapped. The file for install is RuntimeFat.ppc.exe with activesync. Is there a solution to re-size screen? Screen size is 2.5 x 2.5 diagonal. I then sent him RunTimeFat.ARM42.exe and this is return message: The RuntimeFat.42ARM.exe gives me a windows error message to send to Microsoft. Any ideas anyone? Jim Schuchert Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce
[nsbasic-ce] Re: Problem with Palm treo 700wx (uses windows mobile 6)
Eric, Thank you for your reply. I followed everything in that tech note, including deleting 2 instances of nsbpictb.dll. I cleaned and fixed the registry, ran register.bat (already had done that) but nothing solved the problem. I have ordered the 8.0 upgrade so hopefully that one will not have that issue. I want to use it on my Vista since the text boxes disappeared from the other installation. Now for the rest of the story. I don't know if you have heard or or used 'mojopac' (by RingCube). It is software that will allow you to install programs on flash drives, ipods, etc. and then run them on other computers without leaving a trace. They don't have a Vista version yet (except for a beta) so it only works on XP for now. Anyway, I used my laptop (the one with the nsb problem) to install the 6.5.3 version on one of my flash drives. Apparently it also got installed on my laptop in another folder with a new 'program files', windows and the whole works, the way it does on the flash drive. So...the program runs fine from that folder. I suspect that may be the cause for the 429 error but I will leave well enough alone and use it from there if I ever need it again. Incidentally, I suppose 3 years is a long time in the computer world but I am glad that other companies don't put their software to pasture that quickly. Have a great weekend. Jim --- In nsbasic...@yahoogroups.com, Eric Pankoke epank...@... wrote: Check out this Tech Note: http://www.nsbasic.com/ce/info/technotes/TN01.htm It talks about the 429 error. Eric Pankoke Mobile Games Reviewer My Site: http://www.rustysabre.com/ TechnoBrains: http://www.technobrains.com/ Twitter: http://www.twitter.com/RustySabre/ -Original Message- From: nsbasic...@yahoogroups.com [mailto:nsbasic...@yahoogroups.com] On Behalf Of cschuchert Sent: Saturday, August 29, 2009 12:19 AM To: nsbasic...@yahoogroups.com Subject: [nsbasic-ce] Re: Problem with Palm treo 700wx (uses windows mobile 6) George, I took all evidence (I thought) for NSB/CE out of the laptop, including the IDE file and deleted reference in the registry. Then re-installed 6.5.3 and it still would not let me execute the IDE because of the runtime error 429 about no license, etc. Is there some dll that should be registered? what else could it be? I'm afraid if I upgrade to 8.0, I'll have the same problem with the laptop. Jim --- In nsbasic...@yahoogro mailto:nsbasic-ce%40yahoogroups.com ups.com, cschuchert cschuchert@ wrote: I may do the upgrade if I can port the app into the new version and it is compatible with Vista. However, you did not answer the question regarding problem opening the 6.5 program on my laptop which is xp. Jim --- In nsbasic...@yahoogro mailto:nsbasic-ce%40yahoogroups.com ups.com, George Henne gh@ wrote: Hi Jim, We can't really support 6.5 anymore - it's really old. Also, it does not have the changes needed for Vista. The disappearing boxes sound like a Vista problem. You can upgrade to 8.0 here: http://www.nsbasic. http://www.nsbasic.com/order.shtml com/order.shtml George Henne NS BASIC Corporation http://www.nsbasic. http://www.nsbasic.com com George, I didn't think so but now I know what I have to do...choose a custom screen size and make the changes. At least the code can remain. I was going to do this on my laptop but now find that when I try to execute the program, I get a runtime error 429 that states I don't have an appropriate license to use the functionality. I uninstalled and re- installed 6.5.3 but I am unable to delete the first NSBCEIDE.exe file so that it could be re-done. It says access is denied, it might be in use (is not) or write protected (the read only attribute is off) or disk is full (not a chance). Any ideas about the problem? Another issue: When I opened my app on my main computer (vista) I noticed that some textboxes have disappeared on 3 of the forms. They used to be there but now are gone. The command buttons are visible. I have not done any coding on this app for awhile but this is very strange. However, on a third computer the textboxes are there. Any reason for this anomaly? Thanks again for your help. Jim --- In nsbasic...@yahoogro mailto:nsbasic-ce%40yahoogroups.com ups.com, George Henne gh@ wrote: Sorry - there are no shortcuts here. The truth is that there is no automatic way to resize a form for a different screen size and have everything in the right place and at the right size. While you are at it, you might as well think about rotated screens - 240x320 and 320x240. Thanks, George, I never thought of that. Is there a magic bullet that can adjust the sizes of the forms in a project or would I have to go through each one and resize? Would resizing
[nsbasic-ce] nsbce 8.0...do I include 'runtime' when deploying app???
I may have misunderstood what 'no separate runtime' means in the documentation. I opened my application in the 8.0 ide, made changes and saved the project. I use the MS emulator 6.1.4 configured for a shared folder on my PC when testing. However, the standalone .nsb will not open on the emulator because it is not associated with any application. When I execute BASIC.PocketPC4_ARM.cab from the shared folder, it works the way it should. I haven't tried it on my device yet because I first wanted to get a definitive answer. I was under the impression that by using the 8.0 version, all I would have to send was the .nsb file. I would appreciate some clarification. Jim Schuchert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: nsbce 8.0...do I include 'runtime' when deploying app???
George, Everything works well. Apparently the installer 'cab' file was not created in the folder from which I began the application but the installer.exe was. That is what I will send to customers. However, how would the installer be created if a device is not available? Windows mobile device center does not 'see' the emulator I use so that's why I copy the BASIC.PocketPC4_ARM.cab file to it before copying the nsb file. Is there a better way and can the installer be made through the emulator? I noticed in the documentation that there is a way to change the wording that appears on the device relative to company name, etc. through project properties but can't see how to get there. Jim --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: You might want to read through the ReadMe carefully again. If you use Start under the Run menu, it should do everything: create an installer and run it. After you complete all the prompts, your program will be installed on the device, as well as the standard runtime files. I'm not sure why you needed to run BASIC.PocketPC4_ARM.cab from the shared folder. I may have misunderstood what 'no separate runtime' means in the documentation. I opened my application in the 8.0 ide, made changes and saved the project. I use the MS emulator 6.1.4 configured for a shared folder on my PC when testing. However, the standalone .nsb will not open on the emulator because it is not associated with any application. When I execute BASIC.PocketPC4_ARM.cab from the shared folder, it works the way it should. I haven't tried it on my device yet because I first wanted to get a definitive answer. I was under the impression that by using the 8.0 version, all I would have to send was the .nsb file. I would appreciate some clarification. Jim Schuchert Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: nsbce 8.0...do I include 'runtime' when deploying app???
Oh, THAT property window, duh! I told you I was dense. Ok, George, you answered my questions. By the way, I didn't include the real name created by the installer because it was so long but it did create it. I now have also selected 'retain the cab' file. My assumption is that if you don't have a device with which to create the installer, and only use an emulator, you will still have to send a separate runtime file like RuntimeFat.ppc.exe when you distribute your app, right? Jim --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: If ActiveSync/WMDC does not see the device, you do have to use the CAB file. The exe file is made at the same time the CAB file is made. But I'm not sure you're using the right file. Your cab file should be something like myProject.Installer.cab, while the installer will be named myProject.Installer.exe. To get the cab file, you need to check Retain CAB File in Tools...Options...Installer. The company name, etc., is set in Project Properties, in the Properties window. Everything works well. Apparently the installer 'cab' file was not created in the folder from which I began the application but the installer.exe was. That is what I will send to customers. However, how would the installer be created if a device is not available? Windows mobile device center does not 'see' the emulator I use so that's why I copy the BASIC.PocketPC4_ARM.cab file to it before copying the nsb file. Is there a better way and can the installer be made through the emulator? I noticed in the documentation that there is a way to change the wording that appears on the device relative to company name, etc. through project properties but can't see how to get there. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: You might want to read through the ReadMe carefully again. If you use Start under the Run menu, it should do everything: create an installer and run it. After you complete all the prompts, your program will be installed on the device, as well as the standard runtime files. I'm not sure why you needed to run BASIC.PocketPC4_ARM.cab from the shared folder. I may have misunderstood what 'no separate runtime' means in the documentation. I opened my application in the 8.0 ide, made changes and saved the project. I use the MS emulator 6.1.4 configured for a shared folder on my PC when testing. However, the standalone .nsb will not open on the emulator because it is not associated with any application. When I execute BASIC.PocketPC4_ARM.cab from the shared folder, it works the way it should. I haven't tried it on my device yet because I first wanted to get a definitive answer. I was under the impression that by using the 8.0 version, all I would have to send was the .nsb file. I would appreciate some clarification. Jim Schuchert Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: nsbce 8.0...do I include 'runtime' when deploying app???
George, Disregard my last paragraph. I just noticed that regardless of a device being connected, the project.installer.exe and project.installer.cab files are still created. I would have sworn that nothing happened before when I pressed 'Start'...only an empty black dos screen. --- In nsbasic...@yahoogroups.com, cschuchert cschuch...@... wrote: Oh, THAT property window, duh! I told you I was dense. Ok, George, you answered my questions. By the way, I didn't include the real name created by the installer because it was so long but it did create it. I now have also selected 'retain the cab' file. My assumption is that if you don't have a device with which to create the installer, and only use an emulator, you will still have to send a separate runtime file like RuntimeFat.ppc.exe when you distribute your app, right? Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: If ActiveSync/WMDC does not see the device, you do have to use the CAB file. The exe file is made at the same time the CAB file is made. But I'm not sure you're using the right file. Your cab file should be something like myProject.Installer.cab, while the installer will be named myProject.Installer.exe. To get the cab file, you need to check Retain CAB File in Tools...Options...Installer. The company name, etc., is set in Project Properties, in the Properties window. Everything works well. Apparently the installer 'cab' file was not created in the folder from which I began the application but the installer.exe was. That is what I will send to customers. However, how would the installer be created if a device is not available? Windows mobile device center does not 'see' the emulator I use so that's why I copy the BASIC.PocketPC4_ARM.cab file to it before copying the nsb file. Is there a better way and can the installer be made through the emulator? I noticed in the documentation that there is a way to change the wording that appears on the device relative to company name, etc. through project properties but can't see how to get there. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: You might want to read through the ReadMe carefully again. If you use Start under the Run menu, it should do everything: create an installer and run it. After you complete all the prompts, your program will be installed on the device, as well as the standard runtime files. I'm not sure why you needed to run BASIC.PocketPC4_ARM.cab from the shared folder. I may have misunderstood what 'no separate runtime' means in the documentation. I opened my application in the 8.0 ide, made changes and saved the project. I use the MS emulator 6.1.4 configured for a shared folder on my PC when testing. However, the standalone .nsb will not open on the emulator because it is not associated with any application. When I execute BASIC.PocketPC4_ARM.cab from the shared folder, it works the way it should. I haven't tried it on my device yet because I first wanted to get a definitive answer. I was under the impression that by using the 8.0 version, all I would have to send was the .nsb file. I would appreciate some clarification. Jim Schuchert Yahoo! Groups Links Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] CE 8.0 built in installer's runtime fails with my app on 2003 device
George, I am experimenting with the only device I have, an Ipaq 4100 with Mobile 2003. Before I distribute my app, I want to make sure it will work on most devices. The built in installer does its job but my app won't execute with the runtime that is installed. Here is most of the message I get: Scripting error- NSBasic-line 648 char 0 couldn not create non-visual control ('file1')because IClassfactory could not be obtained (err 80040154...many other numbers...as file1, child id 12000 at 1000,1000/5.5 This error occurs with both the cab and the exe. I have hard reset the device several times and get the same thing. However, as soon as I copy the Basic.PocketPC4_ARM.cab to the device and run it, my app runs fine. I suspect it is because of the OS and if I did this on a Mobile 5 or 6 device, it would be fine. What do you think and is there something I am missing? Also, I would like to get rid of the company name (shown as the program name) that keeps appearing from something I did the other day. I have changed it in the properties but it won't let go of the other. Also, I want you to know you have done a great job with this software and its improvements. I may come across as critical on occasion but I do respect what you have done and plan on using it frequently. It is a super value. Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
Well, George, the hard reset doesn't help. I had tried it multiple times before my previous post. I can also execute the RuntimeFat.ppc.exe to get the same positive results as with the BASIC.PocketPC4_ARM.cab. Earlier this year Rolf Brandt sent that file when he was helping me be efficient with an emulator. However, I had found it previously in some other folder on my computer. As far as the 'company name' issue goes, the only time it looks screwy is when it first starts the installer with this message: Welcome to the installer for appname from appnameCothat last is the problem. I can't find anywhere how to change it. It comes from the very first one I did with the built in installer. The nsp file does not reveal anything. Thanks for your time. Jim --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: It should work OK on a WM 2003 device. What happens if you do a hard reset of the device? (Remember to back anything important.) Where does Basic.PocketPC4_ARM.cab come from? I suspect it is from NS Basic/CE 7. Let's see if the hard reset takes care of your company name issue as well. Otherwise, look in the *.nsp file and see what name shows up there. George, I am experimenting with the only device I have, an Ipaq 4100 with Mobile 2003. Before I distribute my app, I want to make sure it will work on most devices. The built in installer does its job but my app won't execute with the runtime that is installed. Here is most of the message I get: Scripting error- NSBasic-line 648 char 0 couldn not create non-visual control ('file1')because IClassfactory could not be obtained (err 80040154...many other numbers...as file1, child id 12000 at 1000,1000/5.5 This error occurs with both the cab and the exe. I have hard reset the device several times and get the same thing. However, as soon as I copy the Basic.PocketPC4_ARM.cab to the device and run it, my app runs fine. I suspect it is because of the OS and if I did this on a Mobile 5 or 6 device, it would be fine. What do you think and is there something I am missing? Also, I would like to get rid of the company name (shown as the program name) that keeps appearing from something I did the other day. I have changed it in the properties but it won't let go of the other. Also, I want you to know you have done a great job with this software and its improvements. I may come across as critical on occasion but I do respect what you have done and plan on using it frequently. It is a super value. Jim Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
Joe, That did it!!! I should have been smart enough to figure it out but wasn't. I used the newobjectspack1.dll so included that as a resource also. Is there a list of controls that the installer does by default? Thank you so much. Jim --- In nsbasic...@yahoogroups.com, joespan123 j...@... wrote: I assume you are using NSBasicCE v8 ? The error could not create non-visual control ('file1')because IClassfactory could not be obtained is due to a missing ActiveX Control on the device. If you are using a File object you need to include the appropriate DLL resource in your Project so the installer will then install the required DLL to the device. When you install the BASIC.PocketPC4_ARM.cab file, it is including this DLL and hence why your project runs on the device. The NSBasicCE v8 installer just installs the minimum to get NSBasic applications to run on the device. If you use other controls you need to include them as a Resource. The following was taking from news group Message #20263. = Hi, I assume you are using the NSBasic Installer !! You now need to add the required controls into the project so that the installer file created can install the control onto the device. To get the FileSystem control working do the following: a) Project-Add Resource b) Go into folder C:\Program Files\NSBasic\CE\Controls\WM c) Then choose MSCEFile.dll Create the installer and try again, it should work now. You will have to do this for all the other controls you may have used in NSBasic V7 for your project. You will need to work out which DLL file matches the control you have used. Joe = Best of luck Joe --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: Well, George, the hard reset doesn't help. I had tried it multiple times before my previous post. I can also execute the RuntimeFat.ppc.exe to get the same positive results as with the BASIC.PocketPC4_ARM.cab. Earlier this year Rolf Brandt sent that file when he was helping me be efficient with an emulator. However, I had found it previously in some other folder on my computer. As far as the 'company name' issue goes, the only time it looks screwy is when it first starts the installer with this message: Welcome to the installer for appname from appnameCothat last is the problem. I can't find anywhere how to change it. It comes from the very first one I did with the built in installer. The nsp file does not reveal anything. Thanks for your time. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: It should work OK on a WM 2003 device. What happens if you do a hard reset of the device? (Remember to back anything important.) Where does Basic.PocketPC4_ARM.cab come from? I suspect it is from NS Basic/CE 7. Let's see if the hard reset takes care of your company name issue as well. Otherwise, look in the *.nsp file and see what name shows up there. George, I am experimenting with the only device I have, an Ipaq 4100 with Mobile 2003. Before I distribute my app, I want to make sure it will work on most devices. The built in installer does its job but my app won't execute with the runtime that is installed. Here is most of the message I get: Scripting error- NSBasic-line 648 char 0 couldn not create non-visual control ('file1')because IClassfactory could not be obtained (err 80040154...many other numbers...as file1, child id 12000 at 1000,1000/5.5 This error occurs with both the cab and the exe. I have hard reset the device several times and get the same thing. However, as soon as I copy the Basic.PocketPC4_ARM.cab to the device and run it, my app runs fine. I suspect it is because of the OS and if I did this on a Mobile 5 or 6 device, it would be fine. What do you think and is there something I am missing? Also, I would like to get rid of the company name (shown as the program name) that keeps appearing from something I did the other day. I have changed it in the properties but it won't let go of the other. Also, I want you to know you have done a great job with this software and its improvements. I may come across as critical on occasion but I do respect what you have done and plan on using it frequently. It is a super value. Jim Yahoo! Groups Links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
Ok, George, I created a Hello World project, did not put anything in the company name field. The installer used 'helloworldco' as the company. Then I made a new one with a different name and put a company name in the field. The installedr still used helloworldco. I did a third one and put a company name before doing anything else. Still the same 'helloworldco'. So I think you should take a look at that. The end user may want to know what's going on when he sees something not related to the true company name. Jim --- In nsbasic...@yahoogroups.com, cschuchert cschuch...@... wrote: I have the company name in the correct place in the Project Explorer properties field. I, too, thought that would make the difference but it does not. When I first created the installer for a version of my app, mainly to experiment, it added Co to the name of the app and hasn't changed it since. It may have something to do with the fact that subsequent versions essentially have the same code. However, they have different project names. I will create a Hello World app and see if it still maintains that 'locked in' name. Thanks for your help. I also think Joe's suggestions would be advantageous, especially for users like me. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: What do you have in the Company field in Project Properties? If it is blank, the installer appends Co to the end of your app name to create a company name for you. As far as the 'company name' issue goes, the only time it looks screwy is when it first starts the installer with this message: Welcome to the installer for appname from appnameCothat last is the problem. I can't find anywhere how to change it. It comes from the very first one I did with the built in installer. The nsp file does not reveal anything. Thanks for your time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---
[nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
Hi Al, Thanks for the suggestion but it doesn't help. As demonstrated in the 'Hello World' example I gave, the first 'Co' name remains as it did in totally new versions of my app as reported earlier. The only time it changed is when I went from my app name to hello world but in no instance was the company name used as shown in the properties field. This morning I started from scratch by opening the ide as though I was using it for the first time, started a project, put a couple of things on a form, added a company name and started the installer. The company name it showed was 'helloworldco' from yesterday, no resemblance to today's project name nor the company name. It appears that it doesn't look at the 'company name' in the properties field. Hopefully others who read this thread will experiment on their own and verify what I am finding. If my procedure is wrong, I need to know. Jim --- In nsbasic...@yahoogroups.com, rmrsoft a...@... wrote: Hi Jim I think you might find that just changing the Company Name does not 'flag' to the program that the source code has changed, so if you do a compile it does not use the new Company Name. Try changing the Company Name and then make another significant change (and change back) in the code, to force a save on the next compile. Does that help ? Al --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: Ok, George, I created a Hello World project, did not put anything in the company name field. The installer used 'helloworldco' as the company. Then I made a new one with a different name and put a company name in the field. The installedr still used helloworldco. I did a third one and put a company name before doing anything else. Still the same 'helloworldco'. So I think you should take a look at that. The end user may want to know what's going on when he sees something not related to the true company name. Jim --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: I have the company name in the correct place in the Project Explorer properties field. I, too, thought that would make the difference but it does not. When I first created the installer for a version of my app, mainly to experiment, it added Co to the name of the app and hasn't changed it since. It may have something to do with the fact that subsequent versions essentially have the same code. However, they have different project names. I will create a Hello World app and see if it still maintains that 'locked in' name. Thanks for your help. I also think Joe's suggestions would be advantageous, especially for users like me. Jim --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: What do you have in the Company field in Project Properties? If it is blank, the installer appends Co to the end of your app name to create a company name for you. As far as the 'company name' issue goes, the only time it looks screwy is when it first starts the installer with this message: Welcome to the installer for appname from appnameCothat last is the problem. I can't find anywhere how to change it. It comes from the very first one I did with the built in installer. The nsp file does not reveal anything. Thanks for your time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nsb-ce group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~--~~~~--~~--~--~---