LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I embeded MyDLL(contained UIR) in VB form?

Hi.
I made an DLL(contained UIR) in CVI7.0
And I want to using DLL in VB.
So, I successed calling DLL in VB.
But UIR is popup style not embeded in VB form.
I wnat DLL's UIR is embeded in VB form like to buttons, graphs,..etc(controls).
Can I embeded dll's UIR in VB form?
If yes, how?

best regard!
-jecki
0 Kudos
Message 1 of 2
(3,009 Views)
Hi Jecki,

There is no easy way of embedding a CVI user interface in VB. A dll will look just like an exe and it will run in its own window.

Using the Windows SDK you could force the CVI window to be embedded in the VB application but it will still be running it it's own window and will have a task bar and everything. Just like a Word document looks.

What most people do is build the user interface in one language and the dll contains code that does not have a user interface. You may want to move to an approach like that.

I hope this helps, let me know if you have any further questions.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(3,009 Views)