ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call2 method not found (ActiveX VI Method)

Solved!
Go to solution

I have the following problem. I have an executable which has ActiveX Server enabled.

 

the code below is of a Caller VI. the code was working properly before. When i have inserted a new Invoke Node on the block diagram, i dont see any methods.

i think the picture below says a lot.

 

Call2_notfound.png

 

Please help!!

thanks

RENN

 

LV2010Sp1 32bit

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 1 of 6
(3,913 Views)

any idea???

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 2 of 6
(3,881 Views)

Error from me!! solved

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 3 of 6
(3,873 Views)

Hello RENN,

 

its always a good idea to post the solution to a problem, in case someone else stumbles upon the same problem

 

Best Regards!

 

Moritz M.

0 Kudos
Message 4 of 6
(3,860 Views)
Solution
Accepted by topic author RENN

Hi Moritz M.

 

sure. i am happy to post the solution.

 

Normally the ActiveX server is registered automatically when the executable starts.

 

But since the old EXE and new EXE has the same name, at first i had to unregister the old activeX server, (See the link: http://support.microsoft.com/kb/297279) register the new one manually.

 

Its also well documented on NI support page below.

 

 

How Do I Register Type Libraries, ActiveX Controls, and ActiveX Servers? 

http://digital.ni.com/public.nsf/allkb/4F811A9B23F1D46E862566F700615B7A

 

 

i got the broken diagram in the caller VI (as i posted before) because the activeX Server (in my case the new executable) was not registered.

 

thanks for replying

 

RENN

 

 

Kudos always welcome for helpful posts 🙂
Message 5 of 6
(3,829 Views)

Hi RENN

 

By trying access call2 method the front panel was called up

But I can't deliver Param Names and Param Values into Exe, how to assemble correct format.

 

Brs

 

0 Kudos
Message 6 of 6
(2,401 Views)