Diferencias HMG 3.x y Minigui

Forum help and suggestions to improve this forum.

Moderator: Rathinagiri

xixet
Posts: 4
Joined: Thu Feb 07, 2013 11:07 pm

Re: Diferencias HMG 3.x y Minigui

Post 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é
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: Diferencias HMG 3.x y Minigui

Post 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
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Diferencias HMG 3.x y Minigui

Post 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:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
jorge.posadas
Posts: 172
Joined: Mon May 19, 2014 7:43 pm
DBs Used: DBF, SQLite, MS-SQL, ACCESS, MariaDB (en proceso)
Location: Morelia, Mich. México
Contact:

Re: Diferencias HMG 3.x y Minigui

Post by jorge.posadas »

Hola Grigory.

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

POSADAS SOFTWARE
Jorge Posadas Ch.
Programador independiente
Morelia, Mich.
M é x i c o .
Movil +52 44 3734 1858
SKYPE: jorge.posadasch
Email: posoft@gmx.com
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Diferencias HMG 3.x y Minigui

Post 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).
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
inacihn
Posts: 23
Joined: Wed Oct 17, 2018 4:46 am
DBs Used: DBF

Re: Diferencias HMG 3.x y Minigui

Post 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
Post Reply