hi, you are right that i can use Shellexecute() and use Notepad.EXE i´m still learning Fivewin to i got to that Point where i want to "edit" TEXT File 1st Question is which Control to use under Fivewin , EDIT or GET with MULTILINE ...
hi, you can "close" a Window when know it´s "Title" PROCEDURE CloseWindow(cTitle)LOCAL hWnd := FindWindowEx(,,, cTitle )IF EMPTY(hWnd) MsgInfo("need Title of Windows to close")ELSE IF !( hWnd == 0 ) SetForegroun...
Hola gente ! Selecciono un archivo con shellexecute y pregunto si quiere o no abrirlo. Como hago lyego para cerrarlo ? Por Ejemplo shellexecute(nil,"open",cfile,,,1) if ! msgyesno("Planilla Correcta ?","???") // ...
... ) RETURN MsgStop( "O programa servidor já está aberto neste computador!", "Impossível Continuar!" ) ELSE ShellExecute( 0, "open", "letodb.exe",,, ) MsgInfo( "Sistema Leto em Atividade" ) ENDIF cServer:="//192.168.1.165:2812/" ...
hi Antonio, i saw in Taskmanager / User many "Editor" ... but i can´t "see" them ... hm so i change CODE to ShellExecute( 0, "open", "checkres.txt" ,,,SW_SHOW) and voila Notepad appear :D i guess also other have work but it was "hidden" ...
hi Antonio, This is working fine here: #include "FiveWin.ch"function Main() ShellExecute( 0, "open", "checkres.txt" )return nil it seems i have a big Problem while your Sample does not work on my PC (under 32 Bit OS ) :( i ...
... this i have a File TEXT.TXT but it still does not "open" IF FILE(cPath + cFile ) MsgInfo( cPath + cFile ) nRet := ShellExecute( oWnd:hWnd, "open", TRIM( cPath+cFile ) ) File() des exist MsgInfo() show full Path and Filename nRet is 42 ...
hi Enrico, I need a complete sample to test it here. #include "FiveWin.ch"FUNCTION MAIN()LOCAL oWndLOCAL aDir := DIRECTORY( "DSL*.*" )LOCAL cFile msginfo(hb_valToExp(aDir)) cFile := aDir[1][1] msginfo(cFile) DEFI...