Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CreateObject("Scripting.FileSystemObject")

Posted on 1999-01-03
2
Medium Priority
?
386 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

610 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