Solved

CreateObject("Scripting.FileSystemObject")

Posted on 1999-01-03
2
378 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

763 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now