Solved

Run vbscript from vb.net code

Posted on 2007-12-05
7
2,046 Views
Last Modified: 2008-02-01
I am trying to run vbscript from a vb.net web app but have no idea how. Can this be done? If so, any examples would be great. If not, what are my alternatives?
0
Comment
Question by:gabulish
7 Comments
 
LVL 4

Expert Comment

by:MeCanHelp
ID: 20414639
You need to add a script block to your code. Use help insdie of IDE search for script block.
0
 

Author Comment

by:gabulish
ID: 20414731
it didnt return anything of value. I've looked everywhere I can think of but haven't been able to find any information regarding my question
0
 
LVL 10

Assisted Solution

by:Alpesh Patel
Alpesh Patel earned 50 total points
ID: 20415061
you can do each and everything in the asp.net what u can do in the vbscript so why u need that
if you need vbscript for client side then its different matter
thanx
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:gabulish
ID: 20415154
I know - I dont have time to recode the script in ASP.
0
 
LVL 10

Expert Comment

by:Alpesh Patel
ID: 20415545
then u cant do bcoze both the ASp.net framework and ASP engine work on different scenario

thanx
0
 
LVL 28

Assisted Solution

by:iboutchkine
iboutchkine earned 50 total points
ID: 20418964
save script as batch file and run the process (this batch file)
0
 
LVL 4

Accepted Solution

by:
J1H1W1 earned 150 total points
ID: 20420869
Add a reference to the "Windows Script Host Object Model" (on the "COM" tab)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question