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
ADVERTISEMENT
I'm using Javascript for my site, using Dreamweaver to create the pages. On my SQL Server I have created a DTS package that first recreates a table and then imports an Excel file.
I have created a Stored Procedure to launch this package. This part works great if launched from Query Analyzer. I want a user to be able to push a button which will launch the Stored Procedure and then return the results of how many records were imported.
View Replies
View Related
From an asp page, i'm trying to auto-open a pop-up page if something exists. I can do this within access via vba using below code.
Anyone know how I could modify the below js to auto-lauch from asp?
sPage = "javascript:
resizeTo(478,500);moveTo(130,150);document.locatio n.href='http://myserver/myweb/mypopup.asp"
sApp = "c:Program FilesInternet Exploreriexplore.exe"
sCommand = sApp & " " & sPage & "'"
Call Shell(sCommand, 1)
View Replies
View Related
I work on an existing application in ASP, which requires an access to DBAccess. I work on Win2K Professional and launch ISS. I have created both an administrator and a user count. The fact is that I can't launch ASP file in a browser. It results in asking me whether I want to register the file or whether I want to open it with an application on the hard disk.
I use FrontPage to edit ASP files. Using this software allows me to see the result of html but not the results of query (using DBAccess). I have yet declared an ODBC source refering to my Access database. I have also nstalled IIS.
But I can launch it only when Administrator!?? I have declared a virtual path to my web pages. But impossible to attain them in Netscape or IE.
View Replies
View Related
I would like to run an ASP page each day at the same time automatically. it reads from my product data and ftps the data to another server.
I am running on a windows system with IIS I have no idea where to begin. Is there anything else I can do? it is not my own server so I don't have access to server. I can just ftp.
View Replies
View Related
I'm writing an intranet-only browser based application. I need to launch either a SETUP.EXE that is on a network drive or a shortcut on a local drive that points to the exe on the network drive
I already know how to launch a local exe, for example:
Set objApp = CreateObject("WScript.Shell")
objApp.Run "cmd /C CD C: & Program Files & SomeFolder & SETUP"
View Replies
View Related
I want to add an 'edit' link next to certain images that appears in my ASP application. When this link is clicked I want it to open an editor such as PhotoShop or MS Office Picture Manager with the picture. The only thing i can get it to do is to display the picture in the browser or ask me to download or execute the program.
I did some searching but couldn't find anything to help. It looks like other users with similar questions just gave up.
View Replies
View Related
I want to use vbscript to run a script multiple times and save its results to a text file. I have practically wrote this script before but only using a sql command wrote in to the script. However, this is a lengthy sql file so can not be directly entered in to the vbs script,s o I would like to run it using sqlcmd.
"SQLCMD -S "&WScript.Arguments(0)&" -i "&WScript.Arguments(1)
I have tried Googling this problem but found very little information about it. Any discussions online that I have found show no code and assume you already know how to do it.
I have found this so far:
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.Exec("sqlcmd -S "&WScript.Arguments(0)&" -i "&WScript.Arguments(1))
But how do I get hold of the results in to some kind of variable?
View Replies
View Related
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
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
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
View Related
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
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
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
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
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
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 interface?
View Replies
View Related
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
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