LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

call a visual basic dll

You dont need to have a bat file register the dll. There is a check box for "Register Files as ActiveX Servers" which will register the files in that file group for you when you install it using the dist kit. This is also true for 7.1.

For 8.0, we change the dist kit significantly so it's a little different to set up. This option is now present in a right-click menu option for the file when it is added to the dist kit.
Bilal Durrani
NI
0 Kudos
Message 11 of 13
(1,093 Views)

Hi, thank you so much for those advices! It is a real pleasure to read all this informations!

But i still have a problem for opening my VisualBasic DLL with LabWindows.

I have created an instrument with ActiveX server and it is good, i can read function and opening message popup wrote in visual Basic.

The problem is that i that i can't opening frame (graphical interfaces), the visualbasic function ".show" is not taken in consideration!

I'am searching since one week, please, can anybody help me?

PS: sorry for my bad english speaking!

Benoît

0 Kudos
Message 12 of 13
(1,050 Views)
Hello Benoit,

I would check out the following KnowledgeBase: Why Do I Receive a Run-time Error Message: "Non-modal forms cannot be displayed in t... and specifically try to call the form in a modal way using the keyword vbmodal in the Show method call. 

Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 13 of 13
(1,019 Views)