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?
Jm2005Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.