Solved

Run vbscript from vb.net code

Posted on 2007-12-05
7
2,051 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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