Re: [nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
We wil get this fixed next week! Sent from my iPhone On Sep 5, 2009, at 11:57 AM, cschuchert cschuch...@yahoo.com wrote: 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. 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 -~--~~~~--~~--~--~---
Re: [nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
Both good suggestions! Thank you. Yes, that is what I get. But that list of DLL files does not help the user know which DLL to choose that may contain the File control for instance which is the MSCEFile.dll. I was expecting a list like: File FileSystem GridCtrl ListViewCtrl TabStrip TreeViewCtrl etc The user selects one from the above list and the IDE then inserts the matching DLL into the Resource section to be included by the Installer. Prior to v8.0 the choosing of the DLL was hidden from the user as it was all taken care of by the RuntimeFat installer which included all the DLLs. A simple IDE gui implementing the above would help users. Or a new TechNote that shows the mapping of the control names to the required DLL, like: File = MSCEFile.dll FileSystem = MSCEFile.dll GridCtrl = MSCEGrid.dll etc Regards Joe --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: When I do it here, I get a standard file picker, showing the directory \Program Files\nsbasic\ce\controls\WM George, In v8.0.2a, I do not see the list of controls when Right clicking on Resources. Can you explain more exactly how to get this list show up. Joe --- In nsbasic...@yahoogroups.com, George Henne gh@ wrote: We'll see if we can make it easier. We did make it better based on your suggestion: if you right click on Resources, it brings up the list of controls, which you can then select. Jim, NO, you will have to manually include all the controls by hand that you use in your project. Working out which DLL file to include for the control you use is documented within the TechNotes. I did suggest to George when we were beta testing v8.0 to include a GUI window in the desktop IDE to allow the user to select from a list of controls and it would auto put the selected controls in the Resource section. Just to make it easier for the user. For new comers to using v8.x it would make it much easier. Joe --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: 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 joes@ 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.
Re: [nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
We'll see if we can make it easier. We did make it better based on your suggestion: if you right click on Resources, it brings up the list of controls, which you can then select. Jim, NO, you will have to manually include all the controls by hand that you use in your project. Working out which DLL file to include for the control you use is documented within the TechNotes. I did suggest to George when we were beta testing v8.0 to include a GUI window in the desktop IDE to allow the user to select from a list of controls and it would auto put the selected controls in the Resource section. Just to make it easier for the user. For new comers to using v8.x it would make it much easier. Joe --- In nsbasic...@yahoogroups.com, cschuchert cschuch...@... wrote: 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 joes@ 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
Re: [nsbasic-ce] Re: CE 8.0 built in installer's runtime fails with my app on 2003 device
When I do it here, I get a standard file picker, showing the directory \Program Files\nsbasic\ce\controls\WM George, In v8.0.2a, I do not see the list of controls when Right clicking on Resources. Can you explain more exactly how to get this list show up. Joe --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: We'll see if we can make it easier. We did make it better based on your suggestion: if you right click on Resources, it brings up the list of controls, which you can then select. Jim, NO, you will have to manually include all the controls by hand that you use in your project. Working out which DLL file to include for the control you use is documented within the TechNotes. I did suggest to George when we were beta testing v8.0 to include a GUI window in the desktop IDE to allow the user to select from a list of controls and it would auto put the selected controls in the Resource section. Just to make it easier for the user. For new comers to using v8.x it would make it much easier. Joe --- In nsbasic...@yahoogroups.com, cschuchert cschuchert@ wrote: 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 joes@ 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