When do you get this error? You are correct - there was an error in the samples in Tech Note 9. It has been corrected.
>NO luck. > >OK I'm trying to use new file system. > >Sub CEF030_Load > > ' clipped from example tech note 9 > AddObject "newObjects.utilctls.SFMain", "Main" > filename = "\My Documents\AcuTrack\pdaPickList.txt" > myExtensionName = FS.GetExtensionName(filename) 'result is ".txt" > MsgBox myExtensionName > >End Sub > >I get error 126, so I still have some setup error. Help appreciated. >And should not myExtensionName = Main.GetExt......?? > > >--- In [email protected], "joespan123" <j...@...> wrote: >> >> Hi, >> >> Try adding the "filesystem" and "file" object outside of the Load event. >> >> Add it as first line in your global code. >> >> Cheers >> Joe >> >> --- In [email protected], "georgeewalters" <gwalters@> wrote: >> > >> > Using this code >> > >> > Sub CEF030_Load >> > AddObject "filesystem" >> > AddObject "file" >> > filename = "\My Documents\pdaPickList.txt" >> > file.Open filename,4,3,3,124 'direct, read/write, locked, reclen >> > End Sub >> > >> > I get an AddObject error: >> > >> > Could not create non-visual control ("filesystem") because >IClassFactory coult not be obtained. >> > >> > I must have something setup wrong or missing on this new iPAC 211(WM >5.2). Any help would be appreciatied. >> > >> > > > > >------------------------------------ > >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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
