?
Solved

CreateObject("Scripting.FileSystemObject")

Posted on 1999-01-03
2
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 840 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

764 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