|
| |||||||||
| Tags: activex, com, createobject, interop, java, net, vbscript, wscrip, wscript |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| VBScript for .NET
Hi there, I am having small issue regarding the .NET Programing which i think can be solved by you. The problem is that i want to use the VBscript to the .NET but i don't know how to perform that. I have shifted from the JAVA background to the .NET so i am not well known being of the same. So any body have idea about the same can come forward to help me. Thanks in advance. Bye. |
|
#2
| ||||
| ||||
| Re: VBScript for .NET
According to me we cant use VBscript in the .net completely but some of the part can be access by the code. Depend on the need of yours try this out. I am posting here the code for the same hoping that it will sort your problem regarding the same. enjoy if it works. Code: set coll = CreateObject("System.Collections.Queue")
coll.Enqueue "Maqbool"
coll.Enqueue "Gaurav"
WScript.Echo coll.Dequeue()
WScript.Echo coll.Dequeue() |
|
#3
| ||||
| ||||
| Re: VBScript for .NET
Hey, I think you cant fine any method which will call the VBscript in the VB.NET as it was possible in the VB6. But you can build your own control to call the same which will execute the chosen VBScript as an external process and redirect I/O to the VB.NET application. Otherwise embed/use ActiveX control in your VB.NET app via COM interop. Thats all i know about the VBscript calling. So say thanks if it work for you and let me know. Bye ![]() |
|
#4
| ||||
| ||||
| Re: VBScript for .NET
Hi there, As per my knowledge it is not possible to share VB.NET code with VBScript. It can be only possible by exposing the .NET code as a COM object. For running the same in the .NET just turn off option strictly and define the code manually. But doing this is not worth it. so i will suggest you to go with the code manually and see that it work with you you or not. Thank you |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "VBScript for .NET" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run As Administrator from vbScript | Santiago Bruni | Vista Help | 4 | 30-09-2010 12:30 AM |
| help with vbscript | andrakis2 | Networking & Security | 3 | 24-08-2009 07:13 AM |
| How to set the vbscript setgateway | afidelino | Software Development | 3 | 19-08-2009 04:28 PM |
| Execute vbscript | Juan García | Windows Server Help | 4 | 15-05-2008 01:14 AM |
| VBscript not UAC and IE7 friendly | Deleauvive | Vista Help | 1 | 29-03-2008 02:32 AM |