call vbscript subs and functions form VB.NET

  • Thread starter Thread starter Günther Rühmann
  • Start date Start date
G

Günther Rühmann

Hi together,

I´d like to know if it´s possible to call vbscript subs or functions from
vb.net. The vbscctipt code is in a file within the same project.

If not: is it possible to convert vbsctipz code to vb.net code ?

Thanks
 
Hi Gunther,

This is possible with help of the Microsoft Script Control.
 
Hi together,

I´d like to know if it´s possible to call vbscript subs or functions from
vb.net. The vbscctipt code is in a file within the same project.

If not: is it possible to convert vbsctipz code to vb.net code ?

In VB6 I did this through a Script Control (mmscript.ocx).

It should work in .Net too, but I haven't tried yet, nor have I tried
to find out if there's another (more .Net-alike) way.
 
Thank You
Guenther

Dmitriy Lapshin said:
Hi Gunther,

This is possible with help of the Microsoft Script Control.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Günther Rühmann said:
Hi together,

I´d like to know if it´s possible to call vbscript subs or functions from
vb.net. The vbscctipt code is in a file within the same project.

If not: is it possible to convert vbsctipz code to vb.net code ?

Thanks
 
Thank you.
Guenther


Lucvdv said:
In VB6 I did this through a Script Control (mmscript.ocx).

It should work in .Net too, but I haven't tried yet, nor have I tried
to find out if there's another (more .Net-alike) way.
 
* "Günther Rühmann said:
I´d like to know if it´s possible to call vbscript subs or functions from
vb.net. The vbscctipt code is in a file within the same project.

If not: is it possible to convert vbsctipz code to vb.net code ?

You may want to use the scripting control, you will find a VB6 sample
here:

<http://www.thescarms.com/vbasic/Scripting.asp>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top