473,396 Members | 1,770 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,396 software developers and data experts.

wsh VS aspexec

which is better to use?

dim wsh
set wsh = Server.CreateObject("WScript.Shell")
wsh.run "c:\build.exe", 1, True
set wsh = nothing
--or--

Dim Executor
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = "c:\build.exe"
Executor.ShowWindow = True
Executor.ExecuteWinApp
Set Executor = nothing
Jul 19 '05 #1
0 1494

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

Similar topics

3
by: fdp3 | last post by:
Hi, I need to run an exe on my server from a web-page, presumably using asp, does anyone know how I can do this because with this script (below) I get an error : ' permissions denied ' I give...
1
by: Chris Malone | last post by:
I have a small ASP program that runs srvinfo.exe remotely on whatever server you put into the form field. I'm utilizing the aspexec.dll. Here is the code: <html> <head><title>ASPExec Server...
2
by: Gary D. Rezek | last post by:
Hi All, First of all I'm mostly an MS Access guy (and novice learning MSSQL guy) and put on this project because of personnel changes, etc and because of db experience. I've only been doing this...
6
by: Dave Karmens | last post by:
What is the preferred method of executing .bat or .exe via ASPs
4
by: Stan Sainte-Rose | last post by:
Hi guys, I would like to run a vbs script from an asp page. I ve tried many directions but no one works.. The first was : Dim oShell Set oShell = Server.CreateObject("WSCript.shell")...
8
by: Vinod | last post by:
Hi, I have a problem, i am calling an exe from asp program. Its not working fine. When i execute the exe through the dos program directly i get the desired result. My exe will convert files in...
1
by: Uday | last post by:
hi everyone, I searched in faq's but couldn't find and solution... so here I post the popular question.. Env: Win2003 server / IIS6.0 Simple ASP page that runs a batch file. When I run the...
0
by: northof40 | last post by:
Hi - I have a requirement to run a .EXE from within a ASP page. From reading the archives it seems like ASPExec.dll from serverobjects.com has been recommended in the past but this is not longer...
7
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am doing a migration for our web program from IIS 5.0 to IIS 6.0 One thing I was baffled is aspexec component. I didn't change the code, but it seems the following code doesn't work...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.