Link to home
Start Free TrialLog in
Avatar of FLUXWIRE
FLUXWIRE

asked on

parameters using IEexec.exe

Hi all!

from an web page, I am calling one desktop program through

ImageButton1.Attributes.Add("onclick","javascript:window.open('http://server/virtualdir/program.exe');");

it works very fine.

but i need to pass some information together. i try to put the parameter after the name of the program but the system changes to  program.exe%20param and it doesnt work.

im looking for:
1. how to read a cookie from a desktop program (one way)
2. how to put some information into the clipboard (from the web page) to get it back from the desktop program (other way)
3. ask the info from the user. (im using it now, but it is not a good solution. i want to do it automatically).

thx in advance
Avatar of nauman_ahmed
nauman_ahmed
Flag of United States of America image

Hi,

1.  Why you dont want to read the cookie from the ASP.NET?
2. What is the purpose of placing the information on the clipboard?
3.  The web applications rarely use an EXE.  More professional option would be to use a .NET Windows User control or Active X User control.  Executing an EXE on the server will utilize too much resources.

-Nauman.
Avatar of FLUXWIRE
FLUXWIRE

ASKER

Hi!
humm. i wasnt understood!
1. i want to read the cookie from a desktop application. if it is possible of course!
2. placing information on the clipboard has the same effect than put it on the cookies. I need to pass information from web page to one desktop application.
3. the desktop application is running locally. not on the server.
4. today, the web page is putting information on the server. then the desktop application is running normally and looking for this information on the server, indexed by machinename. this is not a good option because on the same machinename we can have many users. Then i need to collect the user information from the web page that call the desktop application.

thx in advance!
ASKER CERTIFIED SOLUTION
Avatar of nauman_ahmed
nauman_ahmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial