Launching Paint from different OS
-
Guys, I am writing a program that permits the user to launch paint from within my application if he/she chooses. Since my program must support a wide range of Windows OSs, I am faced with the dilemma that paint is located in different folders in different OSs. My question is, can I use the environment variable %SystemRoot% when specifying the location to launch? For example: C:\\%SystemRoot%\\System32\\mspaint.exe If this isn't the way to do it, any suggestions of a good way to do this?
-
Guys, I am writing a program that permits the user to launch paint from within my application if he/she chooses. Since my program must support a wide range of Windows OSs, I am faced with the dilemma that paint is located in different folders in different OSs. My question is, can I use the environment variable %SystemRoot% when specifying the location to launch? For example: C:\\%SystemRoot%\\System32\\mspaint.exe If this isn't the way to do it, any suggestions of a good way to do this?
If mspaint.exe consistently lives in the System32 folder, why bother with specifying the path? In other words, have you encountered a machine where typing mspaint.exe in the Run box did not work?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Guys, I am writing a program that permits the user to launch paint from within my application if he/she chooses. Since my program must support a wide range of Windows OSs, I am faced with the dilemma that paint is located in different folders in different OSs. My question is, can I use the environment variable %SystemRoot% when specifying the location to launch? For example: C:\\%SystemRoot%\\System32\\mspaint.exe If this isn't the way to do it, any suggestions of a good way to do this?
as David said, i doubt very strongly that mspaint.exe is not in the system path... so just launch
mspaint
as you launchnotepad
, and you'll be gone
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
Guys, I am writing a program that permits the user to launch paint from within my application if he/she chooses. Since my program must support a wide range of Windows OSs, I am faced with the dilemma that paint is located in different folders in different OSs. My question is, can I use the environment variable %SystemRoot% when specifying the location to launch? For example: C:\\%SystemRoot%\\System32\\mspaint.exe If this isn't the way to do it, any suggestions of a good way to do this?
[Message Deleted]
-
[Message Deleted]
-
-
[Message Deleted]
Err, I think you skipped the word Windows in the post. Read what you quoted once again ;)
Cédric Moonen Software developer
Charting control [v1.2] -
Err, I think you skipped the word Windows in the post. Read what you quoted once again ;)
Cédric Moonen Software developer
Charting control [v1.2]erm.... Deleted my message due to extreme stupidity and eagerness to answer... well that's my excuse anyway. :-)
Jonathan Wilkes Darka[Xanya.net]
-
Toi qui connais bien les STL, une idée concernant cela : http://www.codeproject.com/script/comments/forums.asp?msg=2162202&forumid=1647&mode=all&userid=29249#xx2162202xx On ne peut pas stocker de
fstream
dans unvector
?Don't follow any man spiritually, don't do anything that will get you in sh*t if god is real - Bradml[^]
-
Toi qui connais bien les STL, une idée concernant cela : http://www.codeproject.com/script/comments/forums.asp?msg=2162202&forumid=1647&mode=all&userid=29249#xx2162202xx On ne peut pas stocker de
fstream
dans unvector
?Don't follow any man spiritually, don't do anything that will get you in sh*t if god is real - Bradml[^]
Rage wrote:
On ne peut pas stocker de fstream dans un vector ?
Je pense que , on ne peux pas ! :rolleyes:, tu peux montrer les codes que tu utilise a stoker de fstream dans un vector ?
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
Rage wrote:
On ne peut pas stocker de fstream dans un vector ?
Je pense que , on ne peux pas ! :rolleyes:, tu peux montrer les codes que tu utilise a stoker de fstream dans un vector ?
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
:laugh: Learning French ? I didn't know that you could speak...
Cédric Moonen Software developer
Charting control [v1.2] -
:laugh: Learning French ? I didn't know that you could speak...
Cédric Moonen Software developer
Charting control [v1.2]oui bro je la parle tres bien :->;)
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
oui bro je la parle tres bien :->;)
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
hum, sauf que des fstream dans un vector, c'est possible ! pourquoi ce ne le serait pas d'ailleurs ?! ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
hum, sauf que des fstream dans un vector, c'est possible ! pourquoi ce ne le serait pas d'ailleurs ?! ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
c'est possible !
faux! possible suelment pour les pointers a la fstream. ;P
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
hum, sauf que des fstream dans un vector, c'est possible ! pourquoi ce ne le serait pas d'ailleurs ?! ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
(Note: the above is not blank, I am signing using French signs. Does not translate well to a forum, I guess...) Peace!
-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles -
toxcct wrote:
c'est possible !
faux! possible suelment pour les pointers a la fstream. ;P
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
(Note: the above is not blank, I am signing using French signs. Does not translate well to a forum, I guess...) Peace!
-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFilesJames R. Twine wrote:
(Note: the above is not blank, I am signing using French signs. Does not translate well to a forum, I guess...)
French please. I dont understand english.:rolleyes:
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc. -Marc Clifton. Best wishes to Rexx[^
-
:laugh: Learning French ? I didn't know that you could speak...
Cédric Moonen Software developer
Charting control [v1.2]Fetchez la vache!
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Hungarian notation FTW
-
Fetchez la vache!
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Hungarian notation FTW
Fetchez ? What's that Michael ? :-D Never heard of this word before (and French is my mother tongue :)). Is it a brutal translation from the english word 'fetch' ?
Cédric Moonen Software developer
Charting control [v1.2]