Page 25 of 28

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sat Jul 07, 2012 1:04 pm
by Rathinagiri
Hi,

I have tried to connect MySQL database via a Harbour module but I couldn't.

I have included the module file, which is getting compiled successfully.
MySQL.zip
(30.18 KiB) Downloaded 504 times
First, I don't know where to place libmysql.dll (can we use a dll?!) and I don't know whether 'c' calls are allowed inside a module prg file via #pragma.

The error I have got is:

Error
Description: Unknown or unregistered symbol
Filename:
Operation: MYSQL_QUERY
OsCode: 0
GenCode: 1
SubCode: 6101
SubSystem: BASE
Args: NIL
ProcName: HANDLER_HRBSCRIPT
ProcLine: 2723

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 3:35 am
by Roberto Lopez
HMGSCRIPT R30
- new: Browse 'nPageSize' optional parameter.

- new: Browse getPageSize() method().

- new: Browse loadPage( nPage ) method.

- new: Browse recordCount() method.

- new: Paged Browse demo.

- changed: TextBox setMask method renamed to setStringMask.

- changed: TextBox setCurrency method renamed to setNumericMask. Added new parameters.

setNumericMask ( nIintDigits , nDecimals , cDecimalSeparator ,
cGgroupSeparator , bAllowNegative, bLeftToRight,
cCurrencySymbol )

- new: TextBox setAsNumber(nValue) and getAsNumber() methods for numeric TextBox.
Enjoy!

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 9:38 am
by Rathinagiri
It looks very nice Roberto. Thanks.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 2:04 pm
by Roberto Lopez
rathinagiri wrote:It looks very nice Roberto. Thanks.
Well... since the basic needed things are in place, I'm working on tunning.

The paged Browse tabla has 10,000 records and the response is nearly instantaneous.

Despite my solution for big tables,, anyone can find his own, that fit better for his environment.

I've tested many different techniques, and the current appears to be the fastest one.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 2:07 pm
by Roberto Lopez
rathinagiri wrote:Hi,

I have tried to connect MySQL database via a Harbour module but I couldn't.

I have included the module file, which is getting compiled successfully.
First, I don't know where to place libmysql.dll (can we use a dll?!) and I don't know whether 'c' calls are allowed inside a module prg file via #pragma.
I have no answers for this.

Perhaps, you shoul try to contact the authors, directly or via the Harbour forums:
* Harbour Project source code:
* uHTTPD (Micro HTTP server)
*
* Copyright 2009 Francesco Saverio Giudice <info / at / fsgiudice.com>
* Copyright 2008 Mindaugas Kavaliauskas (dbtopas at dbtopas.lt)

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 4:32 pm
by Carlos Britos
Roberto Lopez wrote:HMGSCRIPT R30
Enjoy!
HI
I would like to test this, but I can´t download the file
I´ve tried with firefox 13, ie, opera, chrome
Only opera get a file ,but corrupted.
The strange thing, is I can get any file from the forum, only I can´t with hmgscripts R??.zip
Any idea how can I get it ?
thanks Carlos

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 4:47 pm
by Roberto Lopez
Carlos Britos wrote:
Roberto Lopez wrote:HMGSCRIPT R30
Enjoy!
HI
I would like to test this, but I can´t download the file
I´ve tried with firefox 13, ie, opera, chrome
Only opera get a file ,but corrupted.
The strange thing, is I can get any file from the forum, only I can´t with hmgscripts R??.zip
Any idea how can I get it ?
thanks Carlos
I've just downloaded it for test and all is working ok.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 5:01 pm
by esgici
I've downloaded with Chrome and Firefox; no problem.

Regards

--

Esgici

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 5:10 pm
by IMATECH
Hi Carlos Britos !

Please: clear browser cache and temp files...

Then try again...



Regards

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Sun Jul 08, 2012 7:04 pm
by Carlos Britos
Chacal.GO wrote:Hi Carlos Britos !
Please: clear browser cache and temp files...
Then try again...
Regards
Hi
Ok, done but no luck :( , I will try it tomorow from another pc.