Solved

Run vbscript from vb.net code

Posted on 2007-12-05
7
2,058 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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