Search found 31 matches: sth

Return to advanced search

Re: Variable substitution in MS Sql Substring() Function

... is an index on CINumber, this query will be absolutely optimizable, it should fly. If the code is not numeric you can change the where limits to sth according to.
by Carlos Mora
Tue Feb 09, 2016 11:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Variable substitution in MS Sql Substring() Function
Replies: 6
Views: 1353

Re: Download file via html5

... the website publishes content so a procedure can be made to browse it. What software is running in the server? Just a webserver like Apache? Or sth else?
by Carlos Mora
Tue Dec 15, 2015 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Download file via html5
Replies: 9
Views: 1566

Re: hb_xrealloc can't reallocate memory

... buffer. Then just keep replacing the spaces in the string with text until it is full, then write to disk. +1, access to the filesystems is always sth to be avoided. Take into account that the memory problem comes from a growing string, there is no problem handling lots of smaller, 80 char strings, ...
by Carlos Mora
Thu Sep 03, 2015 7:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_xrealloc can't reallocate memory
Replies: 21
Views: 7440

Re: hb_xrealloc can't reallocate memory

It's not necesary to be in an endless loop or sth like that to be in trouble with memory reallocation. Clipper and [x]Harbour do a great job managing memory for us. Those who have written programs in low level languages as C or Pascal know what ...
by Carlos Mora
Wed Sep 02, 2015 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_xrealloc can't reallocate memory
Replies: 21
Views: 7440

Re: PUBLIC var declaration issue

... Warning W0001 Ambiguous reference 'CDATE' MENU.prg(22) Warning W0001 Ambiguous reference 'CDATE' 1 Files, 2 Warnings, 1 Errors what is sth spected: MEMVAR is the declaration, PUBLIC is the runtime (executable) code to create cDate. PUBLIC and PRIVATE commands get translated to sth like ...
by Carlos Mora
Mon Aug 31, 2015 8:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6548

Re: HB_hbrun()

... on how important is your concern about having include files stored on disk. 1) Store them in resources, and, when you are about to compiling sth just dump them into cYourAppDir\include, and use thet dir. Delete it after use. 2) Before compiling, read the target source into a buffer, replace ...
by Carlos Mora
Mon May 11, 2015 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_hbrun()
Replies: 2
Views: 567

Re: Change Font undefined SAY

... every child control in your dialog, then check the id (-1) and type (Static) of that control to identify your target(s), and then change the font. Sth like    // oDlg your Dialog and oFont the font to set to   hCtrl := GetWindow( oDlg:hWnd, GW_CHILD )   WHILE hCtrl != 0      IF GetClassName( ...
by Carlos Mora
Thu May 07, 2015 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Font undefined SAY
Replies: 10
Views: 1695

Re: Add Color to a Group Frame

Hi Antonio, I need help with sth i don't know what to do. I've been trying to do the group coloring using TPanel, and i thought i got it, but there is a big problem :( : cannot use the mouse over the area covered by the TPanel Here is my ...
by Carlos Mora
Thu Apr 23, 2015 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Color to a Group Frame
Replies: 19
Views: 4873

Re: Hash Table

... post, that was ["field"] in first term, then [index]. The code you posted is [index]["field"], isn't it? Let me suggest sth: In Harbour you can write code of hashes straight in your code like we used to do with arrays, but using the => operator, so the whole inner ...
by Carlos Mora
Tue Apr 07, 2015 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hash Table
Replies: 9
Views: 2773

Re: How to open wmf files?

Hi Antonio, It would be interesting to have the Otto procedure, having sth as automatic as posible. I'm not particulary worried about image files, making a thumbnail for an image is something more or less easy to do, imagemagic can do it's 'magic' i think. ...
by Carlos Mora
Wed Apr 01, 2015 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to open wmf files?
Replies: 14
Views: 4229

Re: ADO Exclusive open

... share any data, but it's up to the driver, not ADO. Probably it would be easier to use some "dirty trick" like a locking semaphore or sth like that, adapted to the engine. Regards
by Carlos Mora
Tue Mar 24, 2015 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Exclusive open
Replies: 6
Views: 1403

Re: change a number ( negative and positive)

Ciao Silvio, May be I'm missing sth, but what about, instead of elseif cnOpe == "±"   nMemo := if(nval>0,-nval,Abs(nval) )  try elseif cnOpe == "±"   nMemo := -nval  that ...
by Carlos Mora
Mon Nov 10, 2014 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change a number ( negative and positive)
Replies: 6
Views: 988

Re: En tiempo de compilacion...

... match patterns are one of the weakest point of current PP. Even such simple code: #xcommand CMD <x> [IN [GET] [PUT]] => ? #<x> CMD sth IN PUT GET Is not well preprocessed. 20. rule have to begin with non empty token or the rule will never be used. Generate warning for such rules? ...
by Antonio Linares
Tue Aug 26, 2014 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: En tiempo de compilacion...
Replies: 3
Views: 1600

Ribbon drawing

Probably I'm doing something wrong, but I can't see where. I'm building a MDI window with a Ribbon Bar, sth that looks easy, but the groups aren't painted right at program star. When the mice passes over it, the problem disapears: Image with problem: http://img198.imageshack.us/img198/9991/5czo.png ...
by Carlos Mora
Mon Nov 04, 2013 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon drawing
Replies: 5
Views: 1503

Re: Prototype missing?

... which cannot be changed by user code. So this code should be changed to: const char * pszValue = hb_parc( 1 ); Now if compiled code tries to make sth like: pszValue[ index ] = 'X'; what is illegal in Harbour, xHarbour and also in Clipper for pointers returned by _parc() function then compiler ...
by carlos vargas
Sun Oct 02, 2011 1:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Prototype missing?
Replies: 35
Views: 8252
PreviousNext

Return to advanced search