FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour shell execute , second try
Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
shell execute , second try
Posted: Fri Mar 10, 2006 02: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

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
shell execute , second try
Posted: Sat Mar 11, 2006 02: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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion