Click here to Skip to main content
15,889,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to draw transparent rectangle in MFC Pin
saksp22-Feb-09 21:42
saksp22-Feb-09 21:42 
AnswerRe: how to draw transparent rectangle in MFC Pin
Code-o-mat22-Feb-09 22:17
Code-o-mat22-Feb-09 22:17 
AnswerRe: how to draw transparent rectangle in MFC Pin
Stuart Dootson22-Feb-09 22:21
professionalStuart Dootson22-Feb-09 22:21 
AnswerRe: how to draw transparent rectangle in MFC Pin
tyr200023-Feb-09 1:05
tyr200023-Feb-09 1:05 
AnswerRe: how to draw transparent rectangle in MFC Pin
mohini19893-Mar-09 20:48
mohini19893-Mar-09 20:48 
QuestionUse CreateProcess to execute a VBS file Pin
Erik22-Feb-09 20:17
Erik22-Feb-09 20:17 
AnswerRe: Use CreateProcess to execute a VBS file Pin
«_Superman_»22-Feb-09 21:15
professional«_Superman_»22-Feb-09 21:15 
AnswerRe: Use CreateProcess to execute a VBS file Pin
Stuart Dootson22-Feb-09 21:44
professionalStuart Dootson22-Feb-09 21:44 
Mr Superman's answer is probably what you want, but if you want or need more control over how your VBScript runs than opening it with ShellExecute (for example, should it have a console window or not?), you could construct a command line to execute it like, using cscript or wscript as the executable and pass your vbs file as a parameter.

For example:

wscript a.vbs would run the VB script without a console window.

cscript a.vbs //X would run the VB script with a console window and attached to a debugger (if there is one).

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Use CreateProcess to execute a VBS file Pin
CPallini22-Feb-09 22:15
mveCPallini22-Feb-09 22:15 
GeneralRe: Use CreateProcess to execute a VBS file Pin
Erik22-Feb-09 23:45
Erik22-Feb-09 23:45 
QuestionImage problem Pin
wenbingao22-Feb-09 20:16
wenbingao22-Feb-09 20:16 
AnswerRe: Image problem Pin
Chandrasekharan P22-Feb-09 20:39
Chandrasekharan P22-Feb-09 20:39 
GeneralRe: Image problem Pin
wenbingao22-Feb-09 20:46
wenbingao22-Feb-09 20:46 
AnswerRe: Image problem Pin
Stuart Dootson22-Feb-09 21:37
professionalStuart Dootson22-Feb-09 21:37 
GeneralRe: Image problem Pin
wenbingao22-Feb-09 22:14
wenbingao22-Feb-09 22:14 
GeneralRe: Image problem Pin
Stuart Dootson22-Feb-09 22:17
professionalStuart Dootson22-Feb-09 22:17 
GeneralRe: Image problem Pin
wenbingao22-Feb-09 22:25
wenbingao22-Feb-09 22:25 
QuestionLinker error message.... Pin
vanishaa22-Feb-09 20:13
vanishaa22-Feb-09 20:13 
AnswerRe: Linker error message.... Pin
Cedric Moonen22-Feb-09 20:27
Cedric Moonen22-Feb-09 20:27 
GeneralRe: Linker error message.... Pin
vanishaa23-Feb-09 1:00
vanishaa23-Feb-09 1:00 
GeneralRe: Linker error message.... Pin
Cedric Moonen23-Feb-09 1:05
Cedric Moonen23-Feb-09 1:05 
GeneralRe: Linker error message.... Pin
vanishaa23-Feb-09 2:22
vanishaa23-Feb-09 2:22 
GeneralRe: Linker error message.... Pin
Cedric Moonen23-Feb-09 2:53
Cedric Moonen23-Feb-09 2:53 
QuestionJulian date Pin
Vijjuuu.22-Feb-09 19:44
Vijjuuu.22-Feb-09 19:44 
AnswerRe: Julian date Pin
CPallini22-Feb-09 21:27
mveCPallini22-Feb-09 21:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.