shell execute , second try

shell execute , second try

Postby Frank Demont » Fri Mar 10, 2006 2:05 pm

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 Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Jeff Barnes » Sat Mar 11, 2006 2:23 am

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
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests