Search found 120 matches: lsuccess

Return to advanced search

New FTDN June/Junio 2008 (8.06)

... HandleEvent() message WM_UPDATEUISTATE, added support for controls TBtnBmp when placed on button bars. * Enhancement: CLASS TTrayIcon new DATA lSuccess to check if the tray icon was properly set. This allows to perform an oTray:SetIcon() from time to time. If oTray:lSuccess is .F., then I can ...
by Antonio Linares
Fri Jun 27, 2008 11:33 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2008 (8.06)
Replies: 1
Views: 3010

James Bott wrote:if hDC > 0


Code: Select all  Expand view
if hDC != 0


Look inside printer.prg.

James Bott wrote:lSuccess := resetDC( hDC )


Code: Select all  Expand view
lSuccess := DeleteDC( hDC )


It is needed when CreateDC() is used.

EMG
by Enrico Maria Giordano
Fri Jun 13, 2008 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing from report preview.
Replies: 16
Views: 3393

... "ODBC", "DsnLoginID", "nn", cName) cPass := oIni:Get( "ODBC", "DsnPassWord", "xxxxxxxx", cPass) oOdbc := TOdbc():New(cDsn, cName, cPass) If !oOdbc:lSuccess .OR. lError(,,, .t.) oOdbc:ShowErrorList(LoadValue(1051, CH)) // ODBC session not successfully initialized, aborting... oOdbc:End() Return(.f.) ...
by marzio
Wed May 28, 2008 9:51 am
 
Forum: All products support
Topic: ODBC con FWH
Replies: 1
Views: 910

Small TTray enhancement

... changes below in TTray.prg: 14. CLASS TTrayIcon 15. 16. DATA oTray 17. DATA oWnd 18. DATA oIcon 19. DATA cCaption DATA lSuccess // <-- 20. 21. DATA bLClicked .... 124. c := oTray:cBuffer 125. 126. ::lSuccess := ...
by Davide
Sat May 24, 2008 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small TTray enhancement
Replies: 8
Views: 1634

... Try this: //--- Is drive ready? FUNCTION ISREADY( cDrive ) LOCAL cCurPath := CURDRIVE() + ":\" + CURDIR() LOCAL lReady := LCHDIR( cDrive + "." ) lSuccess:=.f. IF lReady LCHDIR( cCurPath ) lSuccess:= .T. ENDIF RETURN lSuccess
by James Bott
Mon Mar 31, 2008 6:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check if a drive exists
Replies: 36
Views: 7346

Alvaro,

do you mean directories or a folder control ?

Directories can be created with lMkDir (cDir) -> lSuccess.
by StefanHaupt
Wed Jun 27, 2007 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create folders to upload files
Replies: 4
Views: 1178

... HARBOUR HB_FUN_INSERTMENU( PARAMS ) // ( hMenu, nIdItem, nFlags, nNewItem, cPrompt ) --> lSuccess { _retl( InsertMenu( ( HMENU ) _parnl( 1 ), _parni( 2 ), _parni( 3 ), _parni( 4 ), _parc( 5 ) ) ); } //----------------------------------------------------------------------------// ...
by saviotti
Fri May 18, 2007 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error ao atualizar para FWH 7.04
Replies: 29
Views: 9872

... oRdd := TRddOdbc():New("rtl_polling", "SA", "*****") *oRdd := TRddOdbc():New("Northwind", "SA", "*****") If !oRdd:oOdbc:lSuccess oRdd:oOdbc:ShowErrorList("ODBC session not successfully initialized, aborting...") oRdd:End() return nil Endif // oRdd:oOdbc:lAbort := .f. ...
by xhbcoder
Thu Dec 21, 2006 3:59 pm
 
Forum: FiveWin for CA-Clipper
Topic: updating table from ODBC
Replies: 14
Views: 6265

Five ODBC with Clipper

... example. ****************** Function LS_odbc() ****************** Local oODBC := TOdbc():New "DsnEntry", "YourName", "YourPassword") If !oOdbc:lSuccess oOdbc:ShowErrorList("ODBC session not successfully initialized, aborting...") oOdbc:End() return nil Endif *oDbf := oOdbc:Query( "SELECT * ...
by xhbcoder
Wed Dec 13, 2006 5:02 pm
 
Forum: FiveWin for CA-Clipper
Topic: About FiveWin ODBC
Replies: 7
Views: 3349

Capturar error en conexion Mysql por odbc

... tengo la siguiente funcion: function cargaSQL() public oRdd:= Trddodbc():New("subsec", "subsec", "xxxxx") public oODBC:= oRdd:oOdbc If oOdbc:lSuccess MSGINFO("Sistema inicializado correctamente","Conexión") else msgalert("El sistema no pudo abrir la base de datos, cerrando aplicacion...") ...
by RMC
Fri Oct 06, 2006 5:49 pm
 
Forum: FiveWin para CA-Clipper
Topic: Capturar error en conexion Mysql por odbc
Replies: 0
Views: 604

... el ejemplo samples\DateTime.prg. Gracias a Fernando Alsis! * Nuevo: En FWPPC, en la clase TWindow el método SaveToBmp( cBmpFileName ) --> lSuccess. Ahora puedes guardar cualquier ventana o control como en un fichero en disco con formato de mapa de bits "bitmap". * Mejora: La función ErrorSys() ...
by Antonio Linares
Sun Sep 17, 2006 10:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FiveWin 2.8 - September 2006
Replies: 1
Views: 3283

New FiveWin 2.8 - September 2006

... TTimePicker. Please review samples\DateTime.prg. Thanks to Fernando Alsis! * New: FWPPC, Class TWindow Method SaveToBmp( cBmpFileName ) --> lSuccess. Now you can save any window or control image as a bitmap file on disk. * Enhancement: ErrorSys() has been modified to support xHarbour "ARRAYRDD" ...
by Antonio Linares
Sun Sep 17, 2006 12:57 pm
 
Forum: WhatsNew / Novedades
Topic: New FiveWin 2.8 - September 2006
Replies: 1
Views: 3283

Pasar datos de una tabla DBF a una de access

... local aData := {} Local cnombre SET 3D LOOK ON sele 1 use \fwh\fenix\tventas.dbf browse() oOdbc := TOdbc():New( "fenix", "", "" ) If !oOdbc:lSuccess oOdbc:ShowErrorList("ODBC session not successfully initialized, aborting...") oOdbc:End() return nil Endif oDbf := TDbOdbcDirect():new( "SELECT ...
by EASYSOFT
Wed Aug 16, 2006 8:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar datos de una tabla DBF a una de access
Replies: 17
Views: 4882

Abrir un DBF de visual fox

... conectar a la bd por odbc: cuando hago esta sentencia : function cargaSQL() public oRdd:= Trddodbc():New("adm") public oODBC:= oRdd:oOdbc If oOdbc:lSuccess MSGINFO("Sistema inicializado correctamente") else MSGSTOP ("El sistema no pudo inicializarse, cerrando aplicacion...") oOdbc:showerrorlist() ...
by renemontano
Thu Apr 06, 2006 7:23 pm
 
Forum: FiveWin para CA-Clipper
Topic: Abrir un DBF de visual fox
Replies: 2
Views: 1351

Para Antonio Linhares (comm.c , BuildCommDCB, SetCommState)

... #ifdef __HARBOUR__ CLIPPER ENABLECOMMNOTIFICATION( PARAMS ) // ( nComDev, hWnd, nInBytes, nOutBytes ) // --> <lSuccess> #else CLIPPER ENABLECOMM( PARAMS ) // NOTIFICATION( nComDev, hWnd, nInBytes, nOutBytes ) #endif // --> <lSuccess> { _retl( EnableCommNotification( ...
by Gilson Lopes
Fri Oct 21, 2005 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio Linhares (comm.c , BuildCommDCB, SetCommState)
Replies: 0
Views: 2014
Previous

Return to advanced search