473,326 Members | 2,023 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,326 software developers and data experts.

way to download a client exe app to the client and run it?

Hi guys!

I would like to tell the user browsing my website download a setup for an
exe app

(if that doesn't exist on his pc or if his version is different than the one
on the server),

and then run that exe from inside an aspx page,
is this possible and, if so, could someone provide me with some instructions
please?

Thanks in advance!

Jun 17 '07 #1
13 1219
patrickdrd wrote:
Hi guys!

I would like to tell the user browsing my website download a setup for an
exe app

(if that doesn't exist on his pc or if his version is different than the one
on the server),

and then run that exe from inside an aspx page,
is this possible and, if so, could someone provide me with some instructions
please?

Thanks in advance!
Just link to the file.

--
Göran Andersson
_____
http://www.guffa.com
Jun 17 '07 #2
Well ok, that would tell the client's browser to download the file,
but is there a way to run the exe (that resides in the client) afterwards
from the server app?
Jun 17 '07 #3
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:01**********************************@microsof t.com...
Well ok, that would tell the client's browser to download the file,
but is there a way to run the exe (that resides in the client) afterwards
from the server app?
No, for fairly obvious security reasons...

How about I put a link to FORMAT.COM which you can download, and then my
website runs format c:...
--
http://www.markrae.net

Jun 17 '07 #4
Thanks once again Mark for your help!

I understand that,
what if the client exe resides in the server,
could that have access to the client's printer etc?

"Mark Rae" wrote:
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:01**********************************@microsof t.com...
Well ok, that would tell the client's browser to download the file,
but is there a way to run the exe (that resides in the client) afterwards
from the server app?

No, for fairly obvious security reasons...

How about I put a link to FORMAT.COM which you can download, and then my
website runs format c:...
--
http://www.markrae.net

Jun 17 '07 #5
Hello patrickdrd,

Nope. till u download that file it can't have access to the client's printer.
why not to show the content for the user as asp.net page, and then user can
print this information

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

pThanks once again Mark for your help!
p>
pI understand that,
pwhat if the client exe resides in the server,
pcould that have access to the client's printer etc?
p"Mark Rae" wrote:
p>
>"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:01**********************************@microso ft.com...
>>Well ok, that would tell the client's browser to download the file,
but is there a way to run the exe (that resides in the client)
afterwards
from the server app?
No, for fairly obvious security reasons...

How about I put a link to FORMAT.COM which you can download, and then
my website runs format c:...

-- http://www.markrae.net

Jun 17 '07 #6
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
Thanks once again Mark for your help!
Welcome.
I understand that,
OK.
what if the client exe resides in the server,
could that have access to the client's printer etc?
Absolutely not.
--
http://www.markrae.net

Jun 17 '07 #7
Someone suggested that I should use activex,

can somebody provide me with some hints, example or whatever would help me?

Jun 17 '07 #8
Hi,
If you are using .NET version 2 then you can go for Click Once
Deployment.ClickOnce, part of version 2.0 of the Microsoft® .NET Framework,
allows you to deploy Windows-based rich client apps to a desktop by placing
the application files on a Web or file server accessible to the client and
providing the user with a link.For more details refer below links:
http://msdn2.microsoft.com/en-us/lib...3d(VS.80).aspx
http://msdn.microsoft.com/msdnmag/is.../05/ClickOnce/
Search for "click once deployment c#" in google and you will get further links
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"patrickdrd" wrote:
Hi guys!

I would like to tell the user browsing my website download a setup for an
exe app

(if that doesn't exist on his pc or if his version is different than the one
on the server),

and then run that exe from inside an aspx page,
is this possible and, if so, could someone provide me with some instructions
please?

Thanks in advance!
Jun 18 '07 #9
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:3C**********************************@microsof t.com...
Someone suggested that I should use activex,

can somebody provide me with some hints, example or whatever would help
me?
Without wishing to be too dismissive or discouraging, you're completely
wasting your time with this...

Yes, it *would* be possible to write an ActiveX control (or Java applet)
which would do what you want, no-one with any sense would ever use it
because of the huge potential security risk involved.

Think about it - would *you* allow a website to download a piece of software
onto your machine which would allow it to run executables locally...? I sure
as hell wouldn't!
--
http://www.markrae.net

Jun 18 '07 #10
some hints please? regarding activex...

(I can talik over to the client and tell him config to allow access for my
activex)
Jul 10 '07 #11
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:C8**********************************@microsof t.com...
some hints please? regarding activex...
What do you want to know, specifically...?
http://www.c-sharpcorner.com/UploadF...iveXInNet.aspx
http://msdn2.microsoft.com/En-US/library/aa752035.aspx
http://msdn2.microsoft.com/en-us/library/ms885903.aspx
http://www.dosadi.com/ax_design_notes.htm
http://msdn2.microsoft.com/en-us/lib...96(VS.60).aspx
http://forums.microsoft.com/MSDN/Sho...43024&SiteID=1
http://www.experts-exchange.com/Secu..._21378058.html
(I can talk over to the client and tell him config to allow access for my
activex)
Maybe a better approach would be for you to explain to the group exactly
what your requirements are, and maybe we can come up with a better
solution...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 10 '07 #12
Maybe a better approach would be for you to explain to the group exactly
what your requirements are, and maybe we can come up with a better
solution...
I guess you're right (obviously...),
well, my asp.net 2005 website
(which would be run from a partner's store eventually),
sells goods,
and the partner needs to know when sth is sold and print his own receipt for
the money he collects automatically (because his employees might forget to do
so),
that receipt is printed using his own client exe app,
and he suggested that I should launch his exe from my web site!

So, what do you guys suggest?

Thanks in advance (once more...)!
Jul 10 '07 #13
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:29**********************************@microsof t.com...
I guess you're right (obviously...),
well, my asp.net 2005 website
(which would be run from a partner's store eventually),
sells goods,
and the partner needs to know when sth is sold and print his own receipt
for
the money he collects automatically (because his employees might forget to
do
so),
that receipt is printed using his own client exe app,
and he suggested that I should launch his exe from my web site!

So, what do you guys suggest?
Does your client *really* need to receive printed hard-copy receipts in
real-time...? What is the purpose of these receipts, other than to give to
the customer making the purchase? Surely you are using some sort of database
to track stock and record sales etc...?

Does he even need to receive printed receipts at all? Would a simple web
page showing sales against time not be enough for him?

What exactly is "his own client exe app"...? How does it work? How does it
know what to print? When an employee makes a sale, how does the receipt get
printed...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 10 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: atse | last post by:
Hi, I want the MP3 audio files to be able to download by users only. Even I set the pages validated by session, anyone still can type the download url to get my files without access of the pages...
3
by: Du Dang | last post by:
i wanna create a bot to download wallpaper from a website cuz there are thousands of pic availiable and right click and "save as" ain't fun no more so far i got this from google +++++++++++ ...
3
by: Skwish | last post by:
Hi, I would like to download all the files from a folder (of various types i.e. ..txt, .dll, .dat, etc.). I tried Dim MyDir As IO.Directory Dim path As String = Me.MapPath(".") & "\Data" Dim...
2
by: Sleepy | last post by:
I am wanting to allow a client to download a file from a web server and save it on their local PC. The only way that I have found to do this is to use HTTP headers. I am using the code shown below...
4
by: hoenes1 | last post by:
Hi, in my ASP.NET App, I have a list of files which the user can download on click (using Response.BinaryWrite()). the problem is, that once a download has started, the user can't navigate in...
5
by: Stanav | last post by:
Hello all, Thanks in advance for any replies... Now, my question is: Is it possible to do a multiple files download for a single response event on an aspx page? If there is, please give me some...
6
by: Jatin | last post by:
Hey Guys I have a web application that allows users to download files. But the files are not hosted on the webserver. The files are stored on external servers and are referenced by a URL/URI....
2
by: Jan Paul van de Berg | last post by:
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my...
2
by: xander.zone.3x | last post by:
How can we download data in tables in a html page into a csv file using client side Javascript. I should click a button and a table's data should be downloaded into a csv in local drive. The os...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.