LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When I open an autorefnum I get an error 3005.

Using the same dll, vis created on LV 6.1 work in 7.0
Creating the same vi using the same ActiveX control
generates an error 3005 when I try to open the Autorefnum
0 Kudos
Message 1 of 5
(4,767 Views)
Hello doug80910,

Thank you for contacting National Instruments.

Try looking at the Knowledge Base (KB) linked below. The problem solved in that KB is similar to the one you describe. Replace steps 4-6 of the solution with the appropriate steps for your ActiveX object.

http://digital.ni.com/public.nsf/websearch/0463975E3201B51386256D9E00536FCD?OpenDocument

Let me know if this does not solve your problem.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(4,767 Views)
I do not have access to the cited page. I was able to
get my Autorefnum open but I consider it a defect that I cannot get the refnum open unless I check "show only creatable objects". I choose the same object in either case but only when "show only..." is selected does the resulting object work.
0 Kudos
Message 3 of 5
(4,767 Views)
Doug 80910,

I apologize for the false link. I tried to link you to an internal only page. I will list the steps below in case you are still interested. (Again, replace steps 4-6 with the appropriate steps for your activeX object)

1 On the front panel, open the Controls Palette and select Refnum»Automation Refnum.

2 Right-Click on the refnum and select ActiveX Class»Browse....

3 Select Show Creatable Items only.

4 In the Type Library drop-down menu, select "Microsoft Internet Controls".

5 Click on the plus sign next to "InternetExplorer (InternetExplorer.Application.1).

6 Select the "IWebBrowser2" from that header.


Additionally, the reason you can only open the refnum when you check the "show only creatable objects"
is that the object is dependant on other objects. By selecting "show only..." you are taking these dependencies into account.

I hope this helps,

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(4,767 Views)
Sean,

Thank you for the follow up.
0 Kudos
Message 5 of 5
(4,767 Views)