HMGSCRIPT 2012: Programming For The Web in The Right Way :)
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5477
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
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.
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
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.
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
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
HMGSCRIPT R30
Enjoy!- 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.
- Attachments
-
- hmgscript.r30.zip
- (1.62 MiB) Downloaded 789 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5477
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
It looks very nice Roberto. Thanks.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Well... since the basic needed things are in place, I'm working on tunning.rathinagiri wrote:It looks very nice Roberto. Thanks.
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.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
I have no answers for this.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.
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)
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
HIRoberto Lopez wrote:HMGSCRIPT R30
Enjoy!
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
Regards/Saludos, Carlos (bcd12a)
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
I've just downloaded it for test and all is working ok.Carlos Britos wrote:HIRoberto Lopez wrote:HMGSCRIPT R30
Enjoy!
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
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
I've downloaded with Chrome and Firefox; no problem.
Regards
--
Esgici
Regards
--
Esgici
Viva INTERNATIONAL HMG 

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Hi Carlos Britos !
Please: clear browser cache and temp files...
Then try again...
Regards
Please: clear browser cache and temp files...
Then try again...
Regards
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
HiChacal.GO wrote:Hi Carlos Britos !
Please: clear browser cache and temp files...
Then try again...
Regards
Ok, done but no luck

Regards/Saludos, Carlos (bcd12a)