Click to See Complete Forum and Search --> : CreateProcess()
sudhavelvizhi
March 21st, 2009, 03:00 AM
Can anyone say how to use CreateProcess() in VC++.
Also, how to display a jpeg image in picture box or anywhere on button click.
ovidiucucu
March 21st, 2009, 04:10 AM
Do a search in the forum and you'll find a lot of samples.
sudhavelvizhi
March 21st, 2009, 05:39 AM
Thank u...
I'm working a project in CLR->Windows Application Forms.
In that where shld i must place this CReateProcess(either .h file or .cpp file).
In .h file i hav to mention the namespace name.
How to do?
Sorry, i'm new to this.. so only i'm repeating it.
ovidiucucu
March 21st, 2009, 06:52 AM
[ Redirected thread ]
Alex F
March 21st, 2009, 07:35 AM
In C++/CLI you can use Process.Start method:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx
Select overload that meets your needs. It doesn't matter where to place this code - in .h or .cpp file.
sudhavelvizhi
March 23rd, 2009, 12:15 AM
Thank u sir, I hav got it...
Sir i hav another problem now...
Sir is it possible to open a text file content in a listbox, edit it and save it
Alex F
March 23rd, 2009, 09:11 AM
Yes, but this should be multiline TextBox, and not ListBix.
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.