Page 2 of 2

Re: Diferencias HMG 3.x y Minigui

Posted: Sat Jul 21, 2018 10:21 am
by xixet
OK. Gracias por la información
Espero poder ponerme al día pronto. Tengo ilusión por desarrollar y actualizar viejos proyectos.

Un placer contactar con vosotros.

Volveré

Re: Diferencias HMG 3.x y Minigui

Posted: Fri Jul 27, 2018 12:15 pm
by dragancesu
Hello Grigory,

I use HMG for database, with MySQL work OK, but for Oracle not work correctly ( PostgreSQL don't test )
Harbour and Oracle work well

I look Minigui and not see demo with Oracle database, are Minigui work with Oracle thru OCILIB?

Regards
Dragan

Re: Diferencias HMG 3.x y Minigui

Posted: Fri Jul 27, 2018 1:04 pm
by gfilatov
dragancesu wrote: Fri Jul 27, 2018 12:15 pm ...
I look Minigui and not see demo with Oracle database, are Minigui work with Oracle thru OCILIB?
Hello Dragan,

Yes, it is.

Please take a look for the following answer from our Oracle expert Jacek Kubica at the Minigui forum:
Hi Ryszard!

> I need Help using Oracle.
> Can you explain me how to get to oracle database.
> I have got connectionstring , user and password.
> Server is installed on another machine.
> What do I have to install to use it and how ?
> Sorry but ithis is my first step with oracle.

> Regards.
> Richard Rylko.

First you need to have:
1. Oracle client instaled
2. OCILib http://WWW.ocilib.net instaled in (for example) C:\ocilib
(to create proper Harbour`s compilation only)
3. Harbour compiled with HB_WITH_OCILIB=C:\ocilib\include
then
4. Link your app with harbour`s sddoci.lib and ocilba.lib
and place ociliba.dll in your exe`s folder

simple connection to Orcle schema sample:

#include "hbrddsql.ch"
#include "hbcompat.ch"
#include "minigui.ch"
REQUEST SDDOCI, SQLMIX

< ... some main function here ...>

Function ORA_CONNECT( SCHEMA,USER,PASS )
Local lSuccess := .f.
DEFAULT SCHEMA TO "ORASCHEMA"
DEFAULT PASS TO "GUEST"
DEFAULT USER TO "GUEST"

IF RDDINFO( RDDI_CONNECT, { "OCILIB", schema, user,pass } ) <=0
MsgStop("Unable connect to the ORA server - schema "+SCHEMA +" as user: "+USER,"Error")
else
MsgInfo("Connected to database schema: "+SCHEMA)
lSuccess := .t.
ENDIF
Return lSuccess

--
Pozdrowienia,
Jacek Kubica
Hope that useful :idea:

Re: Diferencias HMG 3.x y Minigui

Posted: Fri Jul 27, 2018 4:22 pm
by jorge.posadas
Hola Grigory.

Is posible to get the BMP, ICON, PNG like you use in this app?
beacuse I like this.

Re: Diferencias HMG 3.x y Minigui

Posted: Fri Jul 27, 2018 5:14 pm
by gfilatov
Hola Jorge,

Happy Birthday!

> Is posible to get the BMP, ICON, PNG
The all recources (along with a source) of the Modest app are included in the Minigui distribution
(look at the folder \samples\Applications\Modest).

Re: Diferencias HMG 3.x y Minigui

Posted: Fri Dec 21, 2018 9:29 am
by inacihn
Hola Jorge y Grigory:

It is also possible to include JPG.

Testing the demo C: \ MiniGUI \ SAMPLES \ Advanced \ RichEditEx I found a flaw when changing the font size of the text, it automatically changes the font to "Arial".

Saludos,
Julio Meza