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
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
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