It returns "ISFMain"
--- In [email protected], "George Henne" <gh@...> wrote: > > What happens if you do MsgBox TypeName(FS)? > > Let's see if the object is created properly. > > >Hi George, > > > >Thanks for looking into this. > > > >I've tried various ways and I always get the error. > > > >I also changed FileIO.nsb by adding another button to use "CopyFile", > >and I get the same error there. > > > >Let me know if you want the FileIO.nsb so you can test it. > > > >Best regards, > >Edgard > > > >--- In [email protected], "George Henne" <gh@> wrote: > >> > >> Is the file "tmp.ini" present in root (\)? You need to give full > >> pathnames to files in Windows CE. > >> > >> >Hi, > >> > > >> >I'm trying to copy a text file from the device to the storage card. > >> >The line of code is: > >> > > >> > FS.CopyFile "tmp.ini",pIniFileName,1 > >> > > >> >I'm getting the following error: > >> > > >> >Microsoft VBScript runtime error - line 1198, char 3 > >> >File name of class name not found during Automation operation > >> > > >> > > >> >I know the FileStream object is working because I previously use other > >> >methods... for example I create the "tmp.ini" file with it: > >> > > >> > Set tmpFile = FS.CreateFile("tmp.ini") > >> > > >> >And this code is working. > >> > > >> >I have NSBasic 8.2.0a on the desktop. On the device NSBasic reports > >> >being version 8.0.0 on the device's nsbasic editor "About NSBasic/CE" > >> >menu option. I doubt this has anything to do with the "CopyFile" > >> >problem, but I thought I'd mention it just in case. > >> > > >> >Thanks, > >> >Edgard > >> > > >> > > >> > > >> >------------------------------------ > >> > > >> >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 [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.
