473,395 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How execute a script from ASP.NET - VB

Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.
Aug 11 '06 #1
8 1184
Do you want the script to be executed on the client or on the server?

- Augustin

"Felipe" wrote:
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.
Aug 11 '06 #2
Server side.

"Augustin Prasanna" <Au**************@discussions.microsoft.comwrote in
message news:1B**********************************@microsof t.com...
Do you want the script to be executed on the client or on the server?

- Augustin

"Felipe" wrote:
>Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.

Aug 11 '06 #3
this was discussed yesterday in this very group under the subject

Call VBScript From .NET

Regards

John Timney (MVP)
"Felipe" <el******@gmail.comwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.

Aug 11 '06 #4
Try this
http://msmvps.com/blogs/omar/archive...02/106482.aspx

Ciao,
Jay

Felipe wrote:
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.
Aug 11 '06 #5
Thanks

"Jayender" <ja*********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Try this
http://msmvps.com/blogs/omar/archive...02/106482.aspx

Ciao,
Jay

Felipe wrote:
>Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.

Aug 11 '06 #6
Don't thank him too fast.
That information is mistaken because it only works for Javascript.

You can use Process.Start to run a vbs file on the server from ASP.NET.
You'll need to import System.Diagnostics.

http://msdn.microsoft.com/library/de...starttopic.asp

Be warned that you'll need to be very careful with security
if you're going to be running processes from the web.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Felipe" <el******@gmail.comwrote in message news:Or**************@TK2MSFTNGP03.phx.gbl...
Thanks

"Jayender" <ja*********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>Try this
http://msmvps.com/blogs/omar/archive...02/106482.aspx

Ciao,
Jay

Felipe wrote:
>>Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.


Aug 11 '06 #7
Cool,
it works
Thanks

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Don't thank him too fast.
That information is mistaken because it only works for Javascript.

You can use Process.Start to run a vbs file on the server from ASP.NET.
You'll need to import System.Diagnostics.

http://msdn.microsoft.com/library/de...starttopic.asp

Be warned that you'll need to be very careful with security
if you're going to be running processes from the web.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Felipe" <el******@gmail.comwrote in message
news:Or**************@TK2MSFTNGP03.phx.gbl...
>Thanks

"Jayender" <ja*********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googleg roups.com...
>>Try this
http://msmvps.com/blogs/omar/archive...02/106482.aspx

Ciao,
Jay

Felipe wrote:
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.

Thanks in advanced.



Aug 11 '06 #8
lol......wasn't that what you recommend that in the thread :)

--
Regards

John Timney (MVP)
"Felipe" <el******@gmail.comwrote in message
news:eV**************@TK2MSFTNGP03.phx.gbl...
Cool,
it works
Thanks

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Don't thank him too fast.
That information is mistaken because it only works for Javascript.

You can use Process.Start to run a vbs file on the server from ASP.NET.
You'll need to import System.Diagnostics.

http://msdn.microsoft.com/library/de...starttopic.asp

Be warned that you'll need to be very careful with security
if you're going to be running processes from the web.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Felipe" <el******@gmail.comwrote in message
news:Or**************@TK2MSFTNGP03.phx.gbl...
>>Thanks

"Jayender" <ja*********@gmail.comwrote in message
news:11**********************@h48g2000cwc.google groups.com...
Try this
http://msmvps.com/blogs/omar/archive...02/106482.aspx

Ciao,
Jay

Felipe wrote:
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.
>
Thanks in advanced.



Aug 11 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Larry Woods | last post by:
I need to execute a Windows script (wscript/cscript) from an ASP page for some administrative functions. Anyone doing this? If so, how? TIA, Larry Woods
3
by: Tomasz Ludwiniak | last post by:
Hi, I've little problem... I try to execute asp file ( which return XML file ) and use the result it in my asp script : set xml = Server.CreateObject("MSXML2.DOMDocument") xml.async=false...
1
by: Matt | last post by:
I used to execute a command line script in IIS 4 using Dynuexec. This is a third part server object I installed on the server (http://www.dynu.com/dynuexec.asp). I installed this object onto my...
3
by: Lyle Fairfield | last post by:
MS-SQL Server utilities Enterprise Manager and Query Analyzer will model almost any MS-SQL object as a simple script file with a default ".sql" extension. But how to "run these files? They are...
5
by: batham | last post by:
Hi Gurus, How can I execute a script during runtime. Here is my code, so how do I execute the new script during runtime which should be a part of the 'topDiv'. Thanks Help is appreciated. -...
9
by: sohan | last post by:
Hi, I want to know how to connect and execute a db2 query from inside a UNIX shell script. Details: We have a unix shell script. We need to execute multiple db2 sql queries from this shell...
4
by: Chr1s | last post by:
How do I execute a crontab command using php (not CLI) as user Joe? I don't have any problem getting output from commands such as 'ls' using passthru and exec but I am stumped with crontab. ...
8
by: M.L. | last post by:
Hello. I created a form using JS validation with the form tag as follows: <form name="form1" action="dynaform.php" method="post" onsubmit="return pvg_sub();"> The js validation script sends...
7
by: tanyali | last post by:
Hi guys, I wanna to execute a php page automatically in the background, or execute it in shell script, and set this script to execute as a cron job. so who knows either of the two questions...
2
by: Bogdan | last post by:
Hi, I'd like to display (i.e. make visible) a label after a submit button is clicked but only if the client-side validation is successful. If I did not care about the validation then I'd simply...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.