By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,939 Members | 1,602 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,939 IT Pros & Developers. It's quick & easy.

How can i call the exe file in webapp

P: n/a

Hi,

I want to run the calculator.exe file from my c# webapp.I did this by
using the hyperlink control and the location of the exe is the navigate
url and is working nice.

But it gives the dialog box telling ,'one or more files can harm your
computer ...' since it is opening on the IE. if i click the open button
the calc.exe is opened.

i want to eliminate /deactivate the asking dialog box and directly open
the calculator exe thru c# webapp .

Could u please tell me how can i do that.

Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
> i want to eliminate /deactivate the asking dialog box and directly open
the calculator exe thru c# webapp .

Could u please tell me how can i do that.
Sure. Design your own browser.

Existing browsers will not allow executable files to be downloaded without
acknowledgement from the user for security reasons. An executable file
downloaded from some server somewhere is a big security risk!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Raghu Raman" <ra************@rediffmail.com> wrote in message
news:u4**************@TK2MSFTNGP10.phx.gbl...
Hi,

I want to run the calculator.exe file from my c# webapp.I did this by
using the hyperlink control and the location of the exe is the navigate
url and is working nice.

But it gives the dialog box telling ,'one or more files can harm your
computer ...' since it is opening on the IE. if i click the open button
the calc.exe is opened.

i want to eliminate /deactivate the asking dialog box and directly open
the calculator exe thru c# webapp .

Could u please tell me how can i do that.

Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #2

P: n/a
Dear Spencer,
thx.

But your solution seems to be the Earth in size , Since am a new bie to
browser designing.
Could you pls tell me how can i design my own browser.
a drop in the ocean
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3

P: n/a
> Could you pls tell me how can i design my own browser.

Never designed one, sorry. It was a joke. I meant that no browser that is
available today will do what you want.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Raghu Raman" <ra************@rediffmail.com> wrote in message
news:Ol*************@TK2MSFTNGP14.phx.gbl...
Dear Spencer,
thx.

But your solution seems to be the Earth in size , Since am a new bie to
browser designing.
Could you pls tell me how can i design my own browser.
a drop in the ocean
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #4

P: n/a
You can't. It would mean a website can execute an EXE file without the
permission of the user.

Moreover I believe that with XP SP2 you can't launch local content (even an
local HTML page) from a web site that is in the Internet zone (and I believe
the user can't change this but can put your site into another zone but once
again it requires some action).

Welcome to the Wonderfull Web World ;-)

Patrice

--

"Raghu Raman" <ra************@rediffmail.com> a écrit dans le message de
news:u4**************@TK2MSFTNGP10.phx.gbl...

Hi,

I want to run the calculator.exe file from my c# webapp.I did this by
using the hyperlink control and the location of the exe is the navigate
url and is working nice.

But it gives the dialog box telling ,'one or more files can harm your
computer ...' since it is opening on the IE. if i click the open button
the calc.exe is opened.

i want to eliminate /deactivate the asking dialog box and directly open
the calculator exe thru c# webapp .

Could u please tell me how can i do that.

Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #5

P: n/a
No probs,

Thanks for that.

Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.