Load VB6 Ocx in FreeBasic

Windows specific questions.
Post Reply
Tolo68
Posts: 105
Joined: Mar 30, 2020 18:18
Location: Spain

Load VB6 Ocx in FreeBasic

Post by Tolo68 »

Hi everyone

I need help with Axsuite to load an ocx made in VB6.
I have read the help but I do not understand it very well.

I made some OCX controls with VB6, one of them is in

https://www.softpedia.com/get/Programmi ... l#download

If you could give me an example explained with this control, and the steps I have to follow to create the files with AxSuite, and then load it into FreeBasic and access the properties.

Thank you very much and have a good day.

Greetings
exagonx
Posts: 315
Joined: Mar 20, 2009 17:03
Location: Italy
Contact:

Re: Load VB6 Ocx in FreeBasic

Post by exagonx »

Tolo68 wrote:Hi everyone

I need help with Axsuite to load an ocx made in VB6.
I have read the help but I do not understand it very well.

I made some OCX controls with VB6, one of them is in

https://www.softpedia.com/get/Programmi ... l#download

If you could give me an example explained with this control, and the steps I have to follow to create the files with AxSuite, and then load it into FreeBasic and access the properties.

Thank you very much and have a good day.

Greetings
You need include the file "bi" where are referred the activex you need.
In the file .bi are declared function and object that you can use in your program.

Usually, the OCX files are managed from visual studio with the list-key inside.
like this example

Code: Select all

Imports MySql.Data
'mysqllib.dll mysql.ocx'
Post Reply