hi,
MsgInfo() show right Path+Filename
nRet is 42
this does open PRG File (with NPP++) but not TXT (with Notepad)
--
does DIRECTORY() return UNICODE or ANSI or OEM
do i use ShellExecute() wrong
total confuse ...
aDir := DIRECTORY( cPath + "\*.*", "DHS" )
oGrid:aSource := aDir
cFile := oGrid:aSource[nRow][nCol]
IF FILE(cPath + cFile )
// open with associate App
MsgInfo( TRIM( cPath+cFile ))
nRet := ShellExecute( oWnd:hWnd, "open", CHR(34)+ TRIM( cPath+cFile ) +CHR(34) )MsgInfo() show right Path+Filename
nRet is 42
this does open PRG File (with NPP++) but not TXT (with Notepad)
--
does DIRECTORY() return UNICODE or ANSI or OEM
do i use ShellExecute() wrong
total confuse ...
greeting,
Jimmy
Jimmy