Join us at IRC!
One mans freedom fighter, another's terrorist.
Wednesday, May 23, 2012
Navigation
Members Online
Total Online: 25
Web Spiders: 15
Guests Online: 23
Members Online: 2

Registered Members: 70160
Newest Member: Furtif
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

accepting files in C/C++

onejerlo
Member



Posts: 145
Location:
Joined: 02.11.08
Rank:
Elite
Posted on 28-10-10 13:10
Problem Statement:
When a Html file is double clicked,Windows starts Firefox and passes the file to it.

I have created a tiny html reader and set it as my default browser.

But when any html file is double clicked,the reader pops open,BLANK,and an error pops up saying:[My fault Error,rectified thanks to spyware]"There was a problem sending the command to the program"

How do I tell the Prog. to accept the file?

I prefer C to C++.

Thanks in advance for suggestions/answers.:)


While you read this message,corrupt politicians are gobbling up your hard earned money;rebels,armies and terrorists are torturing and killing hundreds of innocent men;companies are exploiting millions of people and ruining the environment,people are fighting each other on the basis of color,creed and religion and your nation is being slowly destroyed.

But whats REALLY worrying,is that I write color instead of colour.

Edited by onejerlo on 28-10-10 15:51
Author

RE: accepting files in C/C++

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 28-10-10 15:39
You did not get a popup saying "Error passing the file to the program", post the real error.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: accepting files in C/C++

onejerlo
Member



Posts: 145
Location:
Joined: 02.11.08
Rank:
Elite
Posted on 28-10-10 15:50
My bad,it says:"There was a problem passing the command to the program"

Thanks for that Spyware..I was writing it from memory..not a very good thing..considering the fact that I am unable to even remember the names of my friends.:)


While you read this message,corrupt politicians are gobbling up your hard earned money;rebels,armies and terrorists are torturing and killing hundreds of innocent men;companies are exploiting millions of people and ruining the environment,people are fighting each other on the basis of color,creed and religion and your nation is being slowly destroyed.

But whats REALLY worrying,is that I write color instead of colour.
Author

RE: accepting files in C/C++

stealth-
Member



Posts: 995
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 29-10-10 00:48
I'm not entirely familiar with how this works, but iirc this error is caused by the DDE connection failing. DDE is a windows feature it uses to see if the program is already running to avoid popping up two separate instances, and I think your program must have support for it or else it will fail. DDE can be turned off, however I don't have a clue how.


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
http://www.stealth-x.com
Author

RE: accepting files in C/C++

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 29-10-10 02:32
stealth- wrote:
I'm not entirely familiar with how this works, but iirc this error is caused by the DDE connection failing. DDE is a windows feature it uses to see if the program is already running to avoid popping up two separate instances, and I think your program must have support for it or else it will fail. DDE can be turned off, however I don't have a clue how.


If you google things, at least google properly: http://bit.ly/6IFUEB




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Author

RE: accepting files in C/C++

stealth-
Member



Posts: 995
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 29-10-10 02:46
spyware wrote:
If you google things, at least google properly: http://bit.ly/6IFUEB


Well, I generally try not to just google things for other people. I'm not a human google proxy. >.>


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
http://www.stealth-x.com
Author

RE: accepting files in C/C++

onejerlo
Member



Posts: 145
Location:
Joined: 02.11.08
Rank:
Elite
Posted on 29-10-10 13:29
Works GREAT!!
Thanks!!

This is why I love HBH!!!:)


While you read this message,corrupt politicians are gobbling up your hard earned money;rebels,armies and terrorists are torturing and killing hundreds of innocent men;companies are exploiting millions of people and ruining the environment,people are fighting each other on the basis of color,creed and religion and your nation is being slowly destroyed.

But whats REALLY worrying,is that I write color instead of colour.
Author

RE: accepting files in C/C++

spyware
Member



Posts: 4190
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 29-10-10 13:35
stealth- wrote:
Well, I generally try not to just google things for other people. I'm not a human google proxy. >.>


Sorry, it rather seemed like you googled the error and found the problem, but not the answer. I guess this wasn't the case.




"The chowner of property." - Zeph
“Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.”
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
http://bitsofspy.net
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.