Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

programs using FileSystemObject object (Scripting Library)

Status
Not open for further replies.

tyhand

Programmer
Jul 3, 2002
186
US
Hi all,

I'm about to distribute a program I wrote which uses the File System object (Scripting Library).

It's been suggested that I shouldn't rely on the FileSystemObject as the Scripting Library may not be available or working properly.

1)Should a user running my program have the Scripting Library already installed on their computer for my program to work?

2)If the Scripting Library isn't available on end user's cpu, how do I go about having it installed on their computer?

3)Are there any other known issues when distributing programs that rely on the Scripting Library and FileSystem object?

I'd rather resolve any of these issues than rewrite my program. Any and all help, suggestions or caveats are welcome. Thanks! Peace!

T Y H A N D
 
You need to package your program into a setup program which will take care of this for you. VB comes with the package and deployment wizard, you can find it under the start menu with the rest of the VB tools. If you do a keyword search in this forum for Installation Software, you'll find lot's of discussions on this.

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
>the Scripting Library may not be available or working properly

Generally the issue is that some companies (and individuals) may have deliberately disabled scripting, as it carries a security risk.

As far as redistribution of scrun.dll is concerned...you should have a look at the following:
 
You should also know that the FSO doesn't support UTF-8 Unicode (may not be a problem for you if you are just US English).

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 

Thanks to all for the responses.

Peace!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top