FSO in eMbedded Visual Basic Tools will not work.

I am using the Microsoft eMbedded Visual Basic editor to develop an application for a handheld using PPC2003.  I wrote a very basic application to make sure the environment on the PPC was working correctly.  The simple program works fine, but as soon as I add the following line, the program will not run on my PPC.  I need to be able to use FSO, or some method to read from a text file.


*******
  Dim fso
  Set fso = CreateObject("Scripting.FileSystemObject")

********

It just gives a real generic error.  "An error was encountered while running the program"   Am I missing a .dll file or some sort of plugin?

HELP!
billymcquearyAsked:
Who is Participating?
 
ddepastinoCommented:
I am at a loss as to the interoperability of PPC2003 and dll files, can you register dll's with PPC like W2K/XP?
Is there a "Run" box on PPC?  If so you should be able to do a "Regsvr32 scrrun.dll" and be fine. Or try "C:\Windows\System32\Regsvr32.exe C:\Windows\scrrun.dll".
I will harrass my boss to get me one now as I am getting interested in what PPC is like.....

The second link I posted is apparently an alternate method of file access that is built into the PPC OS that will not need additional dlls but is more complicated than FSO.  It seemed pretty informative (6 sections altogether) and covered quite a few of the most common uses for FSO.

Post me your results in regards to Regsvr either way as I am curious if PPC is really an OS with a registry and the like.
0
 
ddepastinoCommented:
SCRRUN.dll is the file that contains that interface
In WinXP it is located inside the C:\Windows\System32 folder by default
0
 
billymcquearyAuthor Commented:
So do I just copy this file from my PC to the windows folder on my PPC?  Or is there a special file just for the PPC?  How do I make it work?

Thanks.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
ddepastinoCommented:
I found an app faq that claims it's that simple, I have not developed on that platform myself:

http://www.mpegtv.com/wince/msgbox/

Quothe the Lorax:
We recommend to place the msgbox dll in the home folder of your application (i.e. where your .exe resides), although you can also place it in the \Windows folder.
0
 
ddepastinoCommented:
0
 
billymcquearyAuthor Commented:
I put that dll file in the working direcory and the Windows directory, but still the same thing.  I'm wondering if I'm having this much trouble with working with files, the Serial Port portion will be a nightmare.  Any guesses?
0
 
billymcquearyAuthor Commented:
I went ahead and just upgraded to use Visual Studio 2005.  Thanks for your help though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.