Avatar of Pbbarntt
Pbbarntt

asked on 

How to run vbscript in a VB2008 windows form

I've written several vbscript files to install a network printer on my client's machines. Well, since I have multiple scripts, I'm trying to consolidate them into one program that will allow a user to just select the printer they want to use and click install and have the script run. My problem is I don't quite know how to implement vbscript in vb.net. (I'm using visual studio 2008 to create the windows form). I know there are ways to just run the scripts by themselves from vb, but I would like everything to be in one self-sustained exe, So I want to know is there a way to run vbscript code inside of a vb.net form.

Any Ideas?
Thanks.
Microsoft Legacy OSScripting Languages.NET Programming

Avatar of undefined
Last Comment
Pbbarntt

8/22/2022 - Mon