Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Auto Open (http://www.programmingforums.org/showthread.php?t=10588)

crawforddavid2006 Jun 30th, 2006 7:49 PM

Auto Open
 
Can a C++ app automaticly open when downloaded?

Wizard1988 Jun 30th, 2006 8:12 PM

No and I hope they won't anytime soon.

nemesis Jul 1st, 2006 8:09 AM

Why would you want to do that? I hope your not writing anything that might harm other peoples computers.

It would be a real security problem if websites could download and run an exe on your computer. Just imagine how easy it would be to make a virus or take control of the computer its been downloaded to.

Soulstorm Jul 1st, 2006 9:15 AM

Quote:

Originally Posted by crawforddavid2006
Can a C++ app automaticly open when downloaded?

Someone is trying to make a virus... :)

Well, the sort answer is no.

uman Jul 2nd, 2006 10:43 AM

Yes, if the user clicks "open this file" instead of "save file" when downloading it.

By the way, what in the world does this have to do with C++? The answer would be the same no matter what language you use.

nemesis Jul 2nd, 2006 12:30 PM

Quote:

Originally Posted by uman
Yes, if the user clicks "open this file" instead of "save file" when downloading it.

Thats not automatic! So clearly you are not helping the OP with his problem and are suggesting something that is different.

And who cares where he posted it. He could have posted it up his dogs ass for all i care.

uman Jul 2nd, 2006 12:44 PM

Yes, that would be automatic, from the user's perspective. They wouldn't have to go navigate through the filesystem, find the program, and run it. He didn't ask, "can a C++ app automatically download when a webpage loads", he asked, "can a C++ app automatically open when downloaded?" I answered his question. To clarify: Yes, if the user wants it to, but the programmer can't make it happen.

I never commented on where he posted it. i commented that it has nothing to do with C++. The entire text of his post was: "Can a C++ app automaticly open when downloaded?"

uman Jul 2nd, 2006 12:46 PM

By the way, aren't you the same one who just now got chided by DaWei for exactly what you're telling me not to do?

Hypocrisy?

Wizard1988 Jul 2nd, 2006 12:48 PM

I think that the OP got an answer. You guys should stop arguing.

crawforddavid2006 Jul 2nd, 2006 3:47 PM

Its not a virus. I am trying to make a program that will delete this file on a computer when a user logs on. I work for a school district that uses a relatively large network and I am trying to save time by doing this instead of having to go through and delete it manually.


All times are GMT -5. The time now is 8:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC