473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How can i call the exe file in webapp


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
5 4648
> 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
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
> 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anakim Border | last post by:
App servers such as quixote, webware and skunkweb (just to name a few) offer a clean environment to develop Python webapps. I have some problems, however, understanding their security model. My...
2
by: Zhang Weiwu | last post by:
Hello. We recently designed a webapp and because most HQ staff use FF, we designed it based on FF. Now we extend this webapp to allow sub-offices in other cities to use the webapp, they use IE, and...
1
by: Vasu | last post by:
Hi, I have a requirement to download a file from the web site using a client tool. Iam writing a C# program to download using WebRequest, HttpRequest, WebResponse and so on. The problem...
0
by: aure_bobo | last post by:
Hi all, I'm currently developing an ASP.NET 1.1 C# Webapp. I have some objects which contains the differents parameters of my web app. These objects are instanciated in my code, in a static...
4
by: Erich | last post by:
Hi, everybody! I would like that my WebApp generates a text-file in my ISP, so I could download it and import it to another application. Does anybody know how can I write a text file running...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
0
by: Thomas | last post by:
Hi all, I recently migrated all projects which are in .net 1.1 to 2.0 and everything seems to work correctly except one assembly reference problem. The project in my team is organized we have Web...
2
by: joer.banno | last post by:
Hi, In a webapp I'm writing I need to know if another webapp is running (both of which are asp.net), is there a way that you can check for the presence of another webapp? The problem is that...
15
by: patf | last post by:
Hi - experienced programmer but this is my first Python program. This URL will retrieve an excel spreadsheet containing (that day's) msci stock index returns. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.