Page 1 of 1

shell execute , second try

PostPosted: Fri Mar 10, 2006 2:05 pm
by Frank Demont
Setting RTF to Wordpad MFC-aplication from configuration

shellexecute( oWnd:hwnd,"open",rtf-file,....)

has no effect.

Resetting RTF extension to microsoft word , and it works !!!!


How can we change this behaviour for shellexecute ?????

Frank

PostPosted: Sat Mar 11, 2006 2:23 am
by Jeff Barnes
Frank,

Both of these work for me:

SHELLEXECUTE(0,0,"C:\TEST\TEST.RTF",0,0,1 )

SHELLEXECUTE( oWnd:hwnd,"open","C:\TEST\TEST.RTF",0,0,1)


Make sure you have RTF files accosiated with WordPad.


Jeff