Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , , ,

Sponsored Links



VBScript for .NET

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-12-2009
Member
 
Join Date: Nov 2009
Posts: 1,193
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.
Reply With Quote
  #2  
Old 03-12-2009
Raine's Avatar
Member
 
Join Date: May 2008
Posts: 3,287
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()
Reply With Quote
  #3  
Old 03-12-2009
chroma's Avatar
Member
 
Join Date: Apr 2008
Posts: 2,144
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
Reply With Quote
  #4  
Old 03-12-2009
Devasis's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,367
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 11:21 AM.