Search found 20 matches: otmp

Return to advanced search

Re: ADO SQL slow after idle for a while

>>>
otmp:open(SQLCommando,ADO_SQL_Connectionstring)

>>>
If you want speed, do not use connection strings, use connection object which is already open.
by nageswaragunupudi
Fri Nov 04, 2016 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO SQL slow after idle for a while
Replies: 5
Views: 1173

Re: Imagenes en Postgress - SOLUCIONADO

... { "nombre", "dato" }, { cFileNoPath(cFile), HB_Base64Encode( uData, LEN( uData ) ) } ) y: uData:= HB_Base64Decode( oTmp:dato ) StrFile( uData, cFile ) Shellexecute( , "open", cFile ) o sea en vez de usar strhexa(), usar base64...() Espero te sirva. Salu2, ...
by Ariel
Fri Apr 24, 2015 10:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagenes en Postgress - SOLUCIONADO
Replies: 24
Views: 5998

Re: SQL Recordset delete problem

What is otmp?

EMG
by Enrico Maria Giordano
Fri Nov 09, 2012 1:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL Recordset delete problem
Replies: 10
Views: 2830

Re: capturar error db ADO

... aca va la funcion bien hecha... gracias a devguru...!!! // ---------------------------------------------- FUNCTION AdoError(oCon, oError) LOCAL oTmp, x, n, xstrerror x:=ocon:errors:count() FOR n=0 to x-1 // oAdoErrors xstrerror:="Descrip.: "+ocon:errors:item(n):Description+CRLF xstrerror:=xstrerror+"SQLState: ...
by diegopolverelli
Thu Nov 17, 2011 8:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: capturar error db ADO
Replies: 1
Views: 496

capturar error db ADO

... de datos. Utilicé primero la funcion showerror que figura en los post, y luego la adoerror. Les paso ambas: FUNCTION AdoError(oCon, oError) LOCAL oTmp FOR EACH oTmp IN oCon:Errors // oAdoErrors IF oError == nil oError := ErrorNew() oError:Description := "Error desconocido ADO" ELSE oError:SubCode ...
by diegopolverelli
Thu Nov 17, 2011 7:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: capturar error db ADO
Replies: 1
Views: 496

Re: Brushed Group Object

... left ) oGroup:=TGroup():New( 5, 5 , 15, 50, "Label1", oDlg, NIL, NIL,.F. , .F. , NIL ) STATIC FUNCTION GROUP_TEST(oGroup) local oBrush, oTmp DEFINE IMAGE oTmp FILENAME c_path + "\Bitmaps\Fantasy2.jpg" oBrush := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, oGroup:nWidth, oGroup:nHeight, ...
by ukoenig
Fri May 27, 2011 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brushed Group Object
Replies: 5
Views: 1563

Re: MDI without caption

... see in the Include-file, I think it is not possible on MDI-frame. Instead, to show just a empty Screen, You can use a Dialog like : DEFINE IMAGE oTmp FILENAME c_Path + "\bitmaps\Backgrd.jpg" DEFINE DIALOG oDlg FROM 0, 0 TO 720, 1004 PIXEL ; // TRANSPARENT ; STYLE WS_POPUP | WS_VISIBLE ...
by ukoenig
Sun Apr 24, 2011 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MDI without caption
Replies: 6
Views: 1428

Re: xBrowse Image-viewer DOWNLOAD Release 1.3 !!!

... DIALOG oDlg1 FROM 0, 0 TO 720, 1004 PIXEL ; STYLE WS_POPUP | WS_VISIBLE | WS_DLGFRAME | WS_THICKFRAME oBrush1 := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, 1004, 720 , .T. ) ) oDlg1:Setbrush( oBrush1 ) oTmp:End() 2. Changing the Image-format-filter, didn't detect a Directory-switch from Default ...
by ukoenig
Thu Apr 21, 2011 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Image-viewer DOWNLOAD / Update Release 1.5 !!!
Replies: 11
Views: 3847

Re: xBrowse Image-viewer DOWNLOAD Release 1.2 !!!

... FROM 0, 0 TO 720, 1004 PIXEL ; // TRANSPARENT ; STYLE WS_POPUP | WS_VISIBLE | WS_DLGFRAME | WS_THICKFRAME oBrush1 := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, 1004, 720 , .T. ) ) oDlg1:Setbrush( oBrush1 ) oTmp:End() Best Regards Uwe :lol:
by ukoenig
Thu Apr 21, 2011 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Image-viewer DOWNLOAD / Update Release 1.5 !!!
Replies: 11
Views: 3847

Re: Project : Programming a Image-viewer with xBrowse

... on a defined Template-area ( only 1 Dialog ) http://www.pflegeplus.com/pictures/templ22.jpg Load the Template : DEFINE IMAGE oTmp FILENAME c_Path + "\bitmaps\Template1.jpg" DEFINE DIALOG oDlg1 FROM 0, 0 TO nScrheight - 38, nScrwidth - 7 PIXEL TRANSPARENT ; STYLE ...
by ukoenig
Mon Apr 11, 2011 9:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Project : Programming a Image-viewer with xBrowse
Replies: 34
Views: 7979

Re: All in One : Win-, Dlg-, Fld-Backgrd., Font-Edit UPD. 2.2a

... it to use them as Window-background. LOCAL aRect3 := GetSysmetrics( 1 ) // Screen-Height LOCAL aRect4 := GetSysmetrics( 0 ) // Screen-Width LOCAL oTmp DEFINE IMAGE oTmp FILENAME c_Path + "\bitmaps\" + cImage1 oBrush := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, aRect4, aRect3, .T. ) ...
by ukoenig
Wed Feb 16, 2011 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win, Dlg, Bar, Btn, Fld-Painter and Font-Edit => UPDATE 2.2a
Replies: 9
Views: 2930

Shutdown a prog. and restart it again within the program ?

... := c_Path + "\bitmaps\Back3.jpg" ELSE here maybe possible, to close Window 1 ??? ( 2. call of MAIN() ) ENDIF ... ... DEFINE IMAGE oTmp FILENAME cImage1 oBrush1 := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, 1024, 768 - 145, .T. ) ) DEFINE WINDOW oWndMain FROM 1, 1 TO 20, 70 ; TITLE ...
by ukoenig
Sat Dec 11, 2010 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Shutdown a prog. and restart it again within the program ?
Replies: 10
Views: 4359

Re: How to keep IMAGE-quality using => ResizeBmp(... ?

... much. It works perfect now. My Final working Solution to adjust the Image ( Brush ) to Dialog-Size : STATIC FUNCTION FDIALOG() LOCAL oDlg, oBrush, oTmp ... ... DEFINE DIALOG oDlg FROM 150, 150 TO 520, 650 PIXEL ICON oIco BRUSH oBrush ; TITLE "Transparent STSAY on Dialog from code" // ...
by ukoenig
Tue Jun 29, 2010 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep IMAGE-quality using => ResizeBmp(... ?
Replies: 4
Views: 899

Re: How to keep IMAGE-quality using => ResizeBmp(... ?

Uwe:

Daniel Garcia-Gil wrote:ResizeBmp( oTmp:hBitmap, 580, 400, .T. ) // last parameter switch to max Quality, by default is FALSE


the parameter is to ResizeBmp no to Brush

oBrush := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, 580, 400, .T. ) )
by Daniel Garcia-Gil
Tue Jun 29, 2010 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep IMAGE-quality using => ResizeBmp(... ?
Replies: 4
Views: 899

Re: How to keep IMAGE-quality using => ResizeBmp(... ?

... used as DIALOG-Background http://www.pflegeplus.com/pictures/quality7.jpg Maybe the Parameter .T. doesn't work ? DEFINE IMAGE oTmp FILENAME c_path + "\SYSTEM\" + W_IMAGE oBrush := TBrush():new( ,,,, ResizeBmp( oTmp:hBitmap, 580, 400 ), .T. ) DEFINE DIALOG oDlg FROM ...
by ukoenig
Tue Jun 29, 2010 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep IMAGE-quality using => ResizeBmp(... ?
Replies: 4
Views: 899
Next

Return to advanced search