• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

Running Wscript Code in a VB6 program

I need to run vbscript code within a visual basic 6 program. I know the actual code types arent compatible. Is there a way to do this or to interpet the code as wscript?
0
Jm2005
Asked:
Jm2005
1 Solution
 
rettiseertCommented:
Hello

Take a look at this: http://www.rookscape.com/vbgaming/tutBQ.php
0
 
vinnyd79Commented:
In VB6 you can add a reference to Microsoft Scripting Runtime Under the Project > references Menu.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
You should be able to run just about any VBScript code in a VB6 app with little or no modifications...

Some things such as echoing back to a command prompt require more work but it's still possible.

What does your VBScript do?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now