Running An Executable

my questions are

1. How do I execute a program using asp (any scripting language), without the user taking any action.

2. To close the program (written in VB6) do I include something in the program itself, or do I close it w/ asp?

View Replies


ADVERTISEMENT

Oshell. And Running A Executable Via VBscript

what is the best way to run a file via vbscript. lets say I have a exe or batch file and I want to run it. how? and then.. how do I do this... Code:

var oShell = new ActiveXObject("Shell.Application");
...in vbscript?

View Replies View Related

Calling An Executable

I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send a file to another application server upon a certain type of data change.

Anonymous user posts the form - ASP code instantiates the COM+ component which is starting using a Domain User -Calls a method that creates the comma delimited data file and then calls the SFTP method.

View Replies View Related

Asp & Local Executable

i'd like to know if it is possible with asp to launch a local application (exe file like word or any else).

View Replies View Related

Launch Executable

I'd like to launch an executable file from a web page. Basically, the user
enters seven parameters and then clicks a button to generate a graph. The
input is written to a file and then read by the exe. The exe then generates
a graph based upon the input parameters.

I am reading about the Process class and wondering if that is the best
approach to this. Can you recommend a KB article?

View Replies View Related

Compliling ASP Project Into Executable

I am deploying many ASP apps and many of them are onto client internal
servers. I was wondering if there was an option to compile my entire ASP
project into an installation executable for easy deployment?

View Replies View Related

ASP/IIS Communicating With A VB Based Executable On The Webserver.

I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.

One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from

http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter input and does its thing and it all works, but I am aware
this is a very insecure way of doing this and I implemented this only as a
quick workaround so I could test implement it all then refine it for
deployment.

My question is, what is the best way for input to be passed from a web form
to an vb executable for it to do its thing. The exe will eventually
preferably run as a service, or at least all ways be active on the server,
and not starting for every request then ending, as I was hoping to allow for
sorting and queueing of requests passed to the exe, before they are
executed. Code:

View Replies View Related

Upload An Executable File Disguised As Gif Or Jpg

If I allow people to upload GIF or JPG files on my site, is there a technical possibility to upload an executable file disguised as gif or jpg and execute it on my server?

View Replies View Related

Adding Executable (.exe) To Html File

i am using frontpage 2003. I have an image that I have sliced in Photoshop, saved as an html and opened it with FP2K3. What I would like to do is find a way to add a .cmd or .exe or .bat file to a section of the html code. Can this be done?

What I am trying to do is pick either a hotspot or hyperlink and embedd the executable, so that when picked it runs. all it is really doing is rdp'ing to a session on the server.

View Replies View Related

Server Side Executable Fails

I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.' Code:

View Replies View Related

How Could I Run An Executable Through A Web Browser With A Simple Click And Execute..

How could I run an executable through a Web Browser with a simple click and execute interface?

View Replies View Related

Convert ASP Files To Executable Files

I have installed PWS in windows 98 in each of the system at various places and put my Sales program files in the WWWROOT directory in all the branches. I'm afraid that the users may tamper my ASP files. Is there any way of converting .ASP files to .exe files so that the dont see my program.

View Replies View Related

How To Call A COM Executable File From ASP File?

i am using vbscript in ASP and i wanted to call a COM executable file from that ASP file.
i would like to know the ways how to approach this problem.

i have read the articles given in
http://support.microsoft.com/defaul...kb;en-us;299714 and
http://msdn.microsoft.com/library/d...comtutorial.asp

i found those 2 pages were not 100% helpful for me as i am not using Visual Basic to create COM executable. i would like to see some examples or some other tutorials explaining the above question.

View Replies View Related

Asp Not Running

I've installed iis6.0 on win2003. All static content with
ssi etc rendered fine on the browser, but gives a 500
internal server error if i try access any asp page. The
log file says:

ASP_0134|Invalid_ProgID_attribute 80 - 127.0.0.1
Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1. 1.4322)
500 0 0

All the dll files are in place and I have enabled asp
scripting. Can anybody give me a clue as to where am I
going wrong?

View Replies View Related

Running ASP On A CD-ROM

I'm cobbling together an e-commerce site with thousands of items (spares, accessories etc) and want to distribute it as a catalog on CD. I don't fancy rewriting it to HTML. Is there any way to run the ASP and database on a CD-ROM. I've tried Dynamic-CD but it won't do the job and there is little or no help on their web site.

View Replies View Related

Running A VB Exe From ASP

I am trying to run a simple VB exe from the asp. I am using the following code

Set oWSH= Server.CreateObject("WScript.Shell")
oWSH.run "%COMSPEC% /C est est.exe",3, False

The exe is seen in the task manager. But it is not running. When I use this same command in the command window, it works fine. Can some please help me. It is for Intranet development. I am trying to run the exe in the server only.

View Replies View Related

ADO Running Under IIS

I have a new W2K3 box running IIS.Is there anything I have to install in order to use ADO?when I perform the following

Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open "mydsn"

I get the error

Provider error '80004005'
Unspecified error

View Replies View Related

IIS 5.1 Is Running

I had a windows xp professional and I install the windows component so that I can use the IIS 5.1 to test an ASP file. I went to start and click the run button and then type mmc. As soon as the mmc window opens I click the console but there is an error saying that there is nothing into it.

View Replies View Related

Running ASP.NET

I need to open asp.net solution files whose source location files have moved. I am creating new virtual directories on the fly (using vbscript) as part of a automated build process that are configured to point to my new source directory. The build is following because I get the following error

<b>Unable to open Web project 'Abc'. The file path 'c:dev...' does not correspond to the URL 'http://localhost/Abc'. The two need to map to the same server location. HTTP Error 404: Object Not Found.</b

I am getting around this in the build process by removing the <b>GlobalSection(ProjectConfiguration)</b> section from the *.sln file

Is there a proper way to avoid this error occuring

View Replies View Related

Running In Apache

is thier any way to run ASP files in apache just like php????? if yes how?

View Replies View Related

Running Frontpg.exe

Is there a way to open FrontPage automatically on a user's computer using a
web page?I wan't the user to be able to click a link or a button and have FrontPage
open to a specific URL. The FP permissions should take over from there.
I'm looking for the same kind of execution that you get when you type

View Replies View Related

Running Asp Code

I am very new to asp programing, so this may seem a silly question but here goes.
I am creating a page that will generate random lotter numbers. I have created the actual code to generate the numbers and have added the code to the top of the page. the problem is the code runs when the page loads and I want it to run only on the click of a button.
I read various starter tutorials and none seem to mention how to asign code to the click of a button.

View Replies View Related

Running A ASP File

I know there have been posts about this issue before, but I can't seem to find what I'm looking for. I'm not well versed in ASP, but in PHP there is a function called exec. This launches a process. I can call a PHP script from the command line and have it run in the background i.e.

<?php

exec(php myscript.php &);

?>

is there a way to do the same thing with ASP? I want to run an ASP script in the background

View Replies View Related

Error Running ASP In IIS

I am trying to run an ASP page in IIS 6.0 and I keep getting one of
two errors:

-2147467259 (0x80004005)
The remote procedure call failed and did not execute.

I have Win XP. It's been running fine for a long time and then
yesterday, for no apparent reason, I get this. I've tried the links
to asp.faq that I've seen others post and nothing works.

As a test, I created a simple ASP page with just '<%
Response.Write("Hello") %>' in it and still the error occurs so it's
not a scripting or database problem. DotNet seems to run fine and I
can run HTML pages, I also have Apache and can run PHP scripts with no
problem ... everything except classic ASP.

Any ideas? This is driving me crazy and I need IIS running because I
am falling behind in my work. As I mentioned, I've been running ASP
scripts on this machine for years and have never seen this problem.

View Replies View Related

IIS Is Not Running ASP.net 1.1 Version

I have Xp prof, IIs 5.1, .NET2003 on my machine.

I had the error "Visual studio.net has detected that the
specified web server is not runnning ASP.Net version 1.1.
Yow will be unable to run ASP.Net web applications or
services." in .NET 2003.

I fixed it by running the IIS mappings for ASP.NET,
aspnet_regiis -r. But I figured that my IIS had some issue
and I had to register the dll for IIS.

After doing that my .net is throwing the same
error, "Visual studio.net has detected that the specified
web server is not runnning ASP.Net version 1.1. Yow will
be unable to run ASP.Net web applications or services."

I ran the aspnet_regiis -r again it is overwriting the
1.1 .net framework scripts but the error in .Net is not
fixed.

I know my webserver is running Ok because I can develop
ASP pages using Visual Interdev and my default website is
running fine.

View Replies View Related

Running ASP Files

Recently, I made a few ASP files connecting to MS Access file with security, I used IIS to test ASP files.

After it is done, I want the ASP files are accessed for each person via network in the company computer with security.

How can I setup a network which allow the person to run the ASP files?

Do I need to create a partition for network drive to run the ASP file/a server for running it?

View Replies View Related

Asp Running On Linux

Here is a simple test class Ive built to try and find out, why another class I built (that works fine on my testing server running iis on xp) throws up an error on the live server running red hat 8.3 on linux, Im new to asp and only just now found out the live server is a linux box. Code:

View Replies View Related

Running Net Stop

I want to make a simple simple asp page. All I want is when the page loads
it does "net stop <service>". The code is below, it is not running as
IUSR_<machine>, I am authenticating as Administrator yet the service does
not stop.

The blank page just loads with no errors and the service remains
running, what am I missing? I am completely new to ASP, I just want one
simple page for this purpose. Code:

View Replies View Related

Running SQL Commands Using ASP.Net

I have been trawling the net to find a decent example of a way to connect to an sql 2000 server using asp.net and run a few commands.

One of the commands i need to run is: "EXEC sp_addlogin 'Albert', 'B1r12-36', 'forum2'"

how to do this, and display a 'successful' message on the page if the command completed successfully.

View Replies View Related

Error Running Asp

I installed pws(pws10a.exe) and tried running a sample asp code.I get nothing but a blank page.

View Replies View Related

Running ASP Scripts

I am setting up a new server for an already running website. The problem is the person before me ran ASP scripts on .html extension pages (The old machine is a windows 2000 server with IIS 5.0). Now when I transfer all the pages on to the new machine I am having trouble running the ASP scripts on the .html pages.

The pages work fine when I rename them to .asp. But with the ..html extension I cannot run the scripts. I am thinking that I am missing some settings or some dlls which take care of running the ASP scripts on the ..html page. But I do not know what I am missing. Please post if you know
anything about this.

View Replies View Related

Running Site On SSL

if there are any disadvantages for running my whole site on SSL server (i.e All pages would run on SSL after the user logs in to their account).PS: The service I provide on my site doesn't require users to login everyday to their account. So I don't expect that heavy load.

View Replies View Related

Web Server Not Running

I have just moved a project to my laptop and get the message "Visual Studio..NET has detected that the specified Web server is not running ASP.NET v1.1.You will be unable to run ASP.NET Web applications or services"

Presumably there is a d/l on MSDN to rectify this, but I can't find it. Does anyone know the URL?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved