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 <appnameCo.>...that 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to