Search found 524 matches: shellexecute

Return to advanced search

Re: MEMO : EDIT or GET with MULTILINE

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 ...
by Jimmy
Tue Mar 28, 2023 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 570

Re: MEMO : EDIT or GET with MULTILINE

And you can't view the LOG file via Shellexecute ? :?
by Natter
Tue Mar 28, 2023 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MEMO : EDIT or GET with MULTILINE
Replies: 5
Views: 570

Re: Cerrar shellexecute

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...
by Jimmy
Thu Feb 09, 2023 9:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar shellexecute
Replies: 1
Views: 225

Cerrar shellexecute

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 ?","???") // ...
by pedroluis
Thu Feb 09, 2023 7:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar shellexecute
Replies: 1
Views: 225

DBF REDE/WEB WINDOWS 7/10/11

... ) 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/" ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 11009

Re: DIRECTORY() and ShellExecute()

Right, forgot that parameter, sorry.
by Enrico Maria Giordano
Sat Oct 22, 2022 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

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" ...
by Jimmy
Sat Oct 22, 2022 8:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

better clean those environment variables and lets see if that makes the difference
by Antonio Linares
Sat Oct 22, 2022 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

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 ...
by Jimmy
Sat Oct 22, 2022 7:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

Dear Jimmy,

This is working fine here:
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   ShellExecute( 0, "open", "checkres.txt" )

return nil
by Antonio Linares
Sat Oct 22, 2022 5:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

... 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 ...
by Jimmy
Sat Oct 22, 2022 4:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

hi,

have got Answer here
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42330

but still no Solution
by Jimmy
Sat Oct 22, 2022 12:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: DIRECTORY() and ShellExecute()

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...
by Jimmy
Fri Oct 21, 2022 9:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737

Re: get hBitmap from Image

hi Enrico,

you are right that it work with your CODE.

i do get Filename from DIRECTORY() and it have a German "Umlaut ü"

that´s why i ask for UNICODE, ANSI or OEM from DIRECTORY() to use with ShellExecute()
by Jimmy
Fri Oct 21, 2022 9:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: get hBitmap from Image
Replies: 14
Views: 975

Re: DIRECTORY() and ShellExecute()

I need a complete sample to test it here.
by Enrico Maria Giordano
Fri Oct 21, 2022 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() and ShellExecute()
Replies: 9
Views: 737
PreviousNext

Return to advanced search