Load VB6 Ocx in FreeBasic

Windows specific questions.
Tolo68
Posts: 10
Joined: Mar 30, 2020 18:18
Location: Palma de Mallorca - Spain
Contact:

Load VB6 Ocx in FreeBasic

Postby Tolo68 » Nov 21, 2021 9:54

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: 164
Joined: Mar 20, 2009 17:03
Location: Italy
Contact:

Re: Load VB6 Ocx in FreeBasic

Postby exagonx » Nov 22, 2021 11:13

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'

Return to “Windows”

Who is online

Users browsing this forum: No registered users and 2 guests