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?
Who is Participating?

Take a look at this:
In VB6 you can add a reference to Microsoft Scripting Runtime Under the Project > references Menu.
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?
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.