How can i open "xxxxx.bmp" through Program
-
hello... I want to open some "Output.bmp" in MSpaint, when i click "Display" button.How it is Possible????? Thanks in advance... KEEP SMILING.....
-
hello... I want to open some "Output.bmp" in MSpaint, when i click "Display" button.How it is Possible????? Thanks in advance... KEEP SMILING.....
-
hello... I want to open some "Output.bmp" in MSpaint, when i click "Display" button.How it is Possible????? Thanks in advance... KEEP SMILING.....
I am assuming that Output.bmp is in D:\somefolder Now, try this:
ShellExecute(NULL, _T("open"), _T("mspaint.exe"), _T("D:\\Somefolder\\Output.bmp"), NULL, SW_SHOW);
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
hello... I want to open some "Output.bmp" in MSpaint, when i click "Display" button.How it is Possible????? Thanks in advance... KEEP SMILING.....
SehllExecute or CreateProcess are helpfuls for you.
-
I am assuming that Output.bmp is in D:\somefolder Now, try this:
ShellExecute(NULL, _T("open"), _T("mspaint.exe"), _T("D:\\Somefolder\\Output.bmp"), NULL, SW_SHOW);
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
Thanks...Its working Fine.... Thanku...
-
Thanks...Its working Fine.... Thanku...
Good that it worked. You're welcome.
phanindra varma wrote:
Thanku
Please don't use SMS language on these boards. My sincere request. :)
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP