... saves the files starting with w and wmf or emf in a windows folder
you can set the folder change the function FWSavePreviewToPDF( oPreview, cPDF, lOpen ) you found on Prev2Pdf.prg
I use this
function FWSavePreviewToPDF( oPreview, cPDF, lOpen )
local cOrient, oPDF
local n
cPdf:= oApp:cPdfTemp ...
Search found 21 matches: lopen
Searched query: lopen
- Wed Nov 09, 2022 9:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problems with Preview
- Replies: 14
- Views: 2124
- Tue Feb 11, 2020 4:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Close Activated Dialog by oWnd:oTimer
- Replies: 4
- Views: 1046
Re: Close Activated Dialog by oWnd:oTimer
Dear Uwe,
I got the solution as your recommendation, it works fine now. The lOpen will be .F. in the Main procedure (Home) after return from sub-dialog.
Thanks for an idea.
Dutch
I got the solution as your recommendation, it works fine now. The lOpen will be .F. in the Main procedure (Home) after return from sub-dialog.
Thanks for an idea.
Dutch
- Mon Feb 10, 2020 3:02 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Close Activated Dialog by oWnd:oTimer
- Replies: 4
- Views: 1046
Re: Close Activated Dialog by oWnd:oTimer
... I need to return to main windows (close all sub dialog), If user does not use for specific time.
You can use a logical var for each dialog ( lOpen := .T. or .F. )
Maybe a solution You are looking for
I have still a question to
How can I set the vars lOpen{1], lOpen{2] or lOpen{3] to .F. in ...
You can use a logical var for each dialog ( lOpen := .T. or .F. )
Maybe a solution You are looking for
I have still a question to
How can I set the vars lOpen{1], lOpen{2] or lOpen{3] to .F. in ...
- Thu May 23, 2019 4:17 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: uso de ADS y DBFCDX ?
- Replies: 2
- Views: 499
Re: uso de ADS y DBFCDX ?
... de una DB DBUSEAREA( [<lNewArea>], [<cDriver>], <cName>, [<xcAlias>],[<lShared>], [<lReadonly>]) y también al crear una nueva DB, DBCREATE( <cDatabase>, <aStruct>, [<cDriver>], [<lOpen>], [<cAlias>] ), eso podría permitirte manipular tus DB con otro RDD
No se si te entendi bien
saludos
Marcelo Vía
No se si te entendi bien
saludos
Marcelo Vía
- Wed Aug 01, 2018 3:07 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySql Connection status?
- Replies: 4
- Views: 977
MySql Connection status?
I would like to check the MySql server connection status.
I try
oCn:Connect()
oCn:lOpen
Both are returning .T. after connect but after I disconnect internet/intranet (lost the connection). It is still returning .T.
How can I know the connection status? Because, I will use oCn:Close(), oCn:Connect ...
I try
oCn:Connect()
oCn:lOpen
Both are returning .T. after connect but after I disconnect internet/intranet (lost the connection). It is still returning .T.
How can I know the connection status? Because, I will use oCn:Close(), oCn:Connect ...
- Fri Jul 01, 2016 9:32 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
- Replies: 76
- Views: 36267
FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
... nError // Last error ( 0 = no error)
cError // Last error in the selected language
cSqlInfo // Last sql execution informatuon in selected language
lOpen // If connection is open or not.
ReadWrite:
lLog DEFAULT .f. // If .t. all sql statements and results are logged to <exename>.log
Cargo // read ...
cError // Last error in the selected language
cSqlInfo // Last sql execution informatuon in selected language
lOpen // If connection is open or not.
ReadWrite:
lLog DEFAULT .f. // If .t. all sql statements and results are logged to <exename>.log
Cargo // read ...
- Mon Jul 14, 2014 4:02 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Icono pequeño
- Replies: 5
- Views: 1080
Re: Icono pequeño
... otras tres funciones que a lo mejor te pueden ser de utilidad.
HB_FUNC( READICONFILE ) // ReadIconFile( LPSTR cFile, BOOL lSmall, BOOL lOpen ) { SHFILEINFO sfi ; UINT uFlag = SHGFI_ICON + IF( hb_parl( 2 ), SHGFI_SMALLICON, SHGFI_LARGEICON ) + IF( hb_parl( 3 ...
HB_FUNC( READICONFILE ) // ReadIconFile( LPSTR cFile, BOOL lSmall, BOOL lOpen ) { SHFILEINFO sfi ; UINT uFlag = SHGFI_ICON + IF( hb_parl( 2 ), SHGFI_SMALLICON, SHGFI_LARGEICON ) + IF( hb_parl( 3 ...
- Tue Aug 20, 2013 8:35 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: several minor bugs FWH 13.07
- Replies: 10
- Views: 2562
several minor bugs FWH 13.07
... prg:
when you click on Factor combobox, nothing is changed.
Also, cTitles for Msg*** functions are not translated,
prv2pdf.prg:
DEFAULT lOpen := MsgYesNo( FWString( "View" ) + ' ' + cPDF + " (Y/N)?" )
(Y/N) should also be translated, and removed last ? as in Spanish, French or Italian ...
when you click on Factor combobox, nothing is changed.
Also, cTitles for Msg*** functions are not translated,
prv2pdf.prg:
DEFAULT lOpen := MsgYesNo( FWString( "View" ) + ' ' + cPDF + " (Y/N)?" )
(Y/N) should also be translated, and removed last ? as in Spanish, French or Italian ...
- Tue Oct 19, 2010 2:57 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Capturar numero telefonico con fivewin
- Replies: 12
- Views: 5488
Re: Capturar numero telefonico con fivewin
... function Main()
local oDlg, ofig1
local cLocalNum := "123456789"
local oHand
local lOpened := .f.
*----------------------------------------------------------------------------*
cNumber = Space( 20 )
SET 3DLOOK ON
LoadPredPhones ...
local oDlg, ofig1
local cLocalNum := "123456789"
local oHand
local lOpened := .f.
*----------------------------------------------------------------------------*
cNumber = Space( 20 )
SET 3DLOOK ON
LoadPredPhones ...
- Sun Feb 21, 2010 10:35 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Se necesita ayuda en el wiki !
- Replies: 12
- Views: 6090
Re: Se necesita ayuda en el wiki !
... LoadCursor()
LoadIcon()
Loadlib32()
LoadLibrary()
LoadMenu()
LoadResource()
LoadString()
LoadValue()
LocalShrink()
LogEvent()
LogStatics()
lOpen()
LPToDP()
lRMDir()
lWRunning()
lXor()
LZCopyFile()
MakeWin()
MapDialogRect()
MCIGetErrorString()
MCISendCommand()
MCISendString()
MdiCtrlAdjust ...
LoadIcon()
Loadlib32()
LoadLibrary()
LoadMenu()
LoadResource()
LoadString()
LoadValue()
LocalShrink()
LogEvent()
LogStatics()
lOpen()
LPToDP()
lRMDir()
lWRunning()
lXor()
LZCopyFile()
MakeWin()
MapDialogRect()
MCIGetErrorString()
MCISendCommand()
MCISendString()
MdiCtrlAdjust ...
- Tue Feb 02, 2010 2:47 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ayuda sobre TVIDEO y DIALOGS
- Replies: 10
- Views: 2145
Ayuda sobre TVIDEO y DIALOGS
... FullScreen(.T.),;
oVideo:Play() }
ACTIVATE DIALOG oDlg;
ON INIT ( oVideo:oMci := TMci():New( "MPEGVideo!", cFile, oVideo ),;
oVideo:oMci:lOpen( cFile,,oVideo ),;
oVideo:Play() ,;
oVideo:SetFocus(),;
oDlg:Center() );
VALID ( Salir( oDlg, oVideo ) )
oVideo:End()
DeleteObject( oVideo ...
oVideo:Play() }
ACTIVATE DIALOG oDlg;
ON INIT ( oVideo:oMci := TMci():New( "MPEGVideo!", cFile, oVideo ),;
oVideo:oMci:lOpen( cFile,,oVideo ),;
oVideo:Play() ,;
oVideo:SetFocus(),;
oDlg:Center() );
VALID ( Salir( oDlg, oVideo ) )
oVideo:End()
DeleteObject( oVideo ...
- Thu Dec 31, 2009 11:53 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: TXT to SQL
- Replies: 1
- Views: 696
TXT to SQL
... adUseClient
:ncursortype := adOpenStatic
:cSelect := "SELECT * FROM dbo.clientes"
END
oRs:Open()
//Verify that the connection is open.
IF !oRs:lOpen
MsgInfo("Conexion error")
ENDIF
//insertions in the SQL DB.
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN(::cFicheroR) / 554 ...
:ncursortype := adOpenStatic
:cSelect := "SELECT * FROM dbo.clientes"
END
oRs:Open()
//Verify that the connection is open.
IF !oRs:lOpen
MsgInfo("Conexion error")
ENDIF
//insertions in the SQL DB.
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN(::cFicheroR) / 554 ...
- Thu Dec 31, 2009 11:10 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: TXT to SQL
- Replies: 5
- Views: 1169
TXT to SQL
... ncursortype := adOpenStatic
:cSelect := "SELECT * FROM dbo.clientes"
END
oRs:Open()
//Comprueba que la conexión está abierta.
IF !oRs:lOpen
MsgInfo("Error de conexión")
ENDIF
//Hago las inserciones en la BD SQL.
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN ...
:cSelect := "SELECT * FROM dbo.clientes"
END
oRs:Open()
//Comprueba que la conexión está abierta.
IF !oRs:lOpen
MsgInfo("Error de conexión")
ENDIF
//Hago las inserciones en la BD SQL.
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN ...
- Mon Dec 28, 2009 5:05 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Error al compilar con el buildx
- Replies: 12
- Views: 2691
Error al compilar con el buildx
... Datasource := o
:ncursorlocation := adUseClient
:ncursortype := adOpenStatic
:cSelect := "Select * FROM clientes"
END
oRs:Open()
IF !oRs:lOpen
MsgInfo("ERRRO")
ENDIF
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN(::cFicheroR) / 554 ) STEP 1
::cLine := SUBSTR ...
:ncursorlocation := adUseClient
:ncursortype := adOpenStatic
:cSelect := "Select * FROM clientes"
END
oRs:Open()
IF !oRs:lOpen
MsgInfo("ERRRO")
ENDIF
::cFicheroR := Memoread("Info.txt")
FOR ::nLine := 1 TO INT(LEN(::cFicheroR) / 554 ) STEP 1
::cLine := SUBSTR ...
- Mon May 26, 2008 5:26 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: About end of file (txt)
- Replies: 3
- Views: 881
About end of file (txt)
Hello
Look that code please
Resp := LOpen("TEXTO.TXT",0)
Do While .t.
Resp1 := cFReadLine(Resp)
========> why i can test end of file to abort this while?
Loop
Enddo
Thanks
Wanderson.
Look that code please
Resp := LOpen("TEXTO.TXT",0)
Do While .t.
Resp1 := cFReadLine(Resp)
========> why i can test end of file to abort this while?
Loop
Enddo
Thanks
Wanderson.