Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Run vbscript from vb.net code

Posted on 2007-12-05
7
Medium Priority
?
2,076 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 150 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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 150 total points
ID: 20418964
save script as batch file and run the process (this batch file)
0
 
LVL 4

Accepted Solution

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

886 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