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


ADVERTISEMENT

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

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 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

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

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

Calling Vb Exe

I have got a vb exe. I want to call that vb exe from an asp page. I have saved it in the server but I dont know how to execute that from the asp page.

View Replies View Related

Calling A Dll

I am running a project in which i use a web application writen in ASP to create some quizes, then i would like to call a compilor (dll) to compile the data i created and change it to .mms file in order to be able to send it to mobile device.

Can you please guide me on how to call the dll file from my ASP application?

View Replies View Related

Calling DLL

I have created an Active Server Component (ASC) as a bridge between ASP and my existing C++ DLLs that we use in our PC-based program. Our intent is to re-use as much code as possible.

when I call the ASC from ASP, and then call the DLL, the security profile that is specified in IIS is no longer associated with the process, and therefore, any "network-related" calls fail due to insufficient privileges.

I don't know if there is "another" way to call the DLL from the ASC or not, or any way tospecifically load a DLL with a certain security profile.

View Replies View Related

Calling Exe In Asp

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 the folder to encrypted files.

But when i call it thru asp program its not working fine. I have tried the
following method.

a) Calling the exe through shell program.
b) Calling the exe through ASPEXEC.
c) Calling the exe through the Batch Files.

I would like to know your suggestions.

View Replies View Related

Calling Sub

Here's a problem I can't solve.
Let n sub procedures A1, ... An

sub A1()
end sub
....
sub An()
end sub
....

I want to call indirectly one of them with a variable name like
this :

Ex :
myProc="A5"
Call myProc()
....

This doesn't work. Is there a way to solve this problem ?

View Replies View Related

Calling A Sub

i've got two pages. they have the same name for two sub procedures that do pretty much the same thing and have the same number and types of arguments. i either run one page, the other page or both. when i run page1 it somehow is accessing page2 even if it isn't called with an include statement.

page 1 is using the sub with the same name from another page even if it isn't included. so what's going on? is that normal? should i just make one page instead of 2? didn't think that sub's could jump accross pages that weren't included, but i could be wrong.

View Replies View Related

Calling Functions...

Where's the best place for me to include all my functions that I want to call throughout different pages? Should I just put them all in one ASP file and include that page on every page? Or use global.asa somehow (how??)?

Anyways, I was just wondering because I didn't want to slow things down if I could help it (I didn't know if having another big file attached to every page when I'm just using a small portion of it was very effective or not)

View Replies View Related

TypeMismatch Calling Sub

in my serverside vbscript I have:

call MySub();
......
......

then in the <Head>section I have:

sub MySub()
msgbox("Holding not found")
end sub

when I run it I get a typemismatch against the serverside call.

Anybody any ideas?

View Replies View Related

Calling SQL Script From ASP

I want to create tables in my database programatically. I know i can do it using adodb connection object. I have too many tables, views and stored procedures. If I have to write a code, I will have to write 1000 lines of code. I dont think, thats the best way to do it.

I already have a sql script for these tables, views and stored procedures. I want to know if i can execute that sql script directly from ASP.

I will explain the background, to give a better understanding of my situation. We have a website, which uses the existing database to generate reports. If we want to host that website (as a service) to third parties, we create a new database for every customer, create all the necessary tables, views and stored procedures in the new database. I want to make all the table creation programmatic. Is it possible?

View Replies View Related

Calling JScript

I'm working on a project and the designer guy uses templates for everything. THis is fine except I have to call a JScript function when the page loads and I have no access to the body tag. Is there a way to call the function as the page loads from a VBScript command?

View Replies View Related

Calling Function From Asp

I have the following problem. I want to call a JavaScript Function from ASP
I am reading back values from a db and based on those values I want to check a checkbox.
If the value in the db field in yes then I want to check the checkbox but if it's no I want to leave the
checkbox unchecked.
My alert box is displaying but Im getting an error at the line
document.getElementById("chkStatus").checked = "true";

View Replies View Related

Calling External Sub

Im wanting to call a sub funvtion on another page from vbs that is:

<SCRIPT LANGUAGE=vbscript RUNAT=Server>
sql="exec SomeStoredProc"
call DoConnection(sql)
Response.write(recordset.getstring)
call DBClose()
</SCRIPT>

the DoConnection sub is in another page called MyDBConnection in a folder call Common.

I know that I can use serverside includes and embed my con in the page using <%%> but I want the use runat server How can I make call to a function in an external page?

View Replies View Related

Calling A Serverside

I have a database and I use asp to load it into a html table.
The first cell of each row contains a button.
What I want is that when a user clicks the button it calls a serverside sub that inserts additional rows from an other table of my database. Problem is that I don't now how to call a sub from the onclick event of the button. And I don't know if it's possible to insert rows in a html table. Does anybody know how I should do this?

View Replies View Related

Calling PHP From ASP/vbScript

wrt: Server IIS5 and IIS6

There is an application composed of PHP scripts on my server - currenly
works fine.

The site is written is ASP/vbScript. Is there any method I can use to
call the PHP functionality from within my ASP pages?

e.g include or server.execute

Screen scraping works (for some values of 'work') but seems overkill.

View Replies View Related

Calling Function

I have an Empty Function on one of my pages, so when the user clicks(submits) on the empty button in the form, the shopping cart empties. This is on basket.asp.
Code:

If (CStr(Request.Form("Submit")) = "Empty") Then
emptybasket
end if

Above is the code that empties the basket on basket.asp. Below is the Submit button code.

View Replies View Related

Calling Function

We have an asp page on a webserver supporting asp pages.
How can we run/call a function on this page using an onclick or other event
from a control. For example, when an image is clicked or a combobox is
changed. We know how to run a javascript, but would be nice to run an asp
function.

View Replies View Related

Calling Subroutine

i have defined a procedure and want it to call on the onload event of body.

<%
sub a()
----
end sub
%>

how can i achieve this. is this possible or not.

View Replies View Related

Calling Applet

I want to be able to call an applet (or possibly a servlet) from an ASP page, passing a few simple parameters.

View Replies View Related

Calling ASP Pages

I have an application using asp and javascript. The javascript collects data and then needs to pass it to asp to store in the database. The way the original application was developed, all the data gets captured into a javascript array of records (similar to a recordset) and then each record in the array needs to go to the database. Currently I loop through the js array and open an asp window that writes to the DB then closes. This works but I get a flicker affect as this happens for each record. I'm looking for a better way to handle this - either to be able to send my entire js array of objects to ASP (don't know how to do this) or a way to invoke the asp code without opening then closing a new window everytime.YI - I recently posted a thread called "asp & javascript" that had some code snippets of what I'm currently doing.

View Replies View Related

Calling Last ID Field?

On the last line here i'm trying to some how get it to call the last ID keyfield entry...

ImageID = Request("ID")
If (Len(ImageID) = 0) then ImageID = "1"
If Not IsNumeric(ImageID) Then ImageID = "1"
If ImageID = "0" then ImageID = "1"
If ImageID>3 then ImageID = max(Len(ImageID))

This is basically for some max min links for a online comic here's what it links to

<a href="default.asp?id=<%=ImageID-1%>">< Backwards</a> -
<a href="default.asp?id=<%=ImageID+1%>">Forward ></a> -

All works fine apart from that.

View Replies View Related







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