Solved

CreateObject("Scripting.FileSystemObject")

Posted on 1999-01-03
2
381 Views
Last Modified: 2010-05-03
exactly as the syntax in Vb6 help i use :
1.Dim FileSys
2.Set FileSys = CreateObject("Scripting.FileSystemObject")
that's working great on my machine.
after installing the application succesfully on another machine - the application works allright, EXEPT of this
2 lines. line 2 generates a runtime error.
what is the problem ?
the other machine have ie4 exactly as my machine does.
the instalation was smooth with no problems.
should i include reference to something in my app ?
to what ? and why it's works without it on my machine?
0
Comment
Question by:AnswerTheMan
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 210 total points
ID: 1453666
Seems like you have installed the scripting services on your machine and the other machine does not have that installed.

Go to http://msdn.microsoft.com/scripting/default.htm?/scripting/windowshost/

to get the latest version of the Windows scripting host and install it on the other computer.
0
 
LVL 5

Author Comment

by:AnswerTheMan
ID: 1453667
Thanks a LOT. spent last 6 hours trying to figure it out with no result.
first time i use that Scripting in an application, and had no idea how it works.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to open Waze.com/livemap from address saved in DB? 26 210
Visual Studio 2005 text editor 10 44
TT Auto Dashboard 13 95
Export Data to Different .csv Files 26 114
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question