Visit our LabVIEW Wiki External Code Portal.
Tags |
(This content has not been tagged yet)
|
![]() |
Jun 12 2008, 06:37 AM
Post
#1
|
|||
![]() Very Active Premium Member ![]() Posts: 214 Joined: 1-January 08 From: Perth, Australia Member No.: 10325 Using LabVIEW Since:2006 LV:8.5.1 ,8.6 ,.
|
Just like you can open MS Word/Access etc.. with ActiveX can a Labview executable open the LabVIEW development environment using ActiveX
Can anyone post an example? [I can open using system exec using an absolute path, but want something relative] Is this the type library to call?
-------------------- all day...
|
||
|
|
|||
| Ad |
Jun 12 2008, 06:37 AM
Post
#
|
||
|
|
|
||
|
|
|||
Jun 12 2008, 07:16 AM
Post
#2
|
|||
![]() Very Active Premium Member ![]() Posts: 106 Joined: 18-November 04 From: Sydney, NSW Member No.: 1058 Using LabVIEW Since:1996 LV:8.0.1 ,7.1.1 ,6.1
|
-------------------- Regards
Kurt Friday
|
||
|
|
|||
Jun 12 2008, 09:36 AM
Post
#3
|
|||
![]() Very Active Premium Member ![]() Posts: 214 Joined: 1-January 08 From: Perth, Australia Member No.: 10325 Using LabVIEW Since:2006 LV:8.5.1 ,8.6 ,.
|
Thanks Kurt - bloody ripper.
Due to an error I couldn't get past the Automation Open VI when I linked the _Application ref. I thought I was doing something wrong i.e. maybe due to the object I was linking to! But your ref is the same and I ran your code and it worked fine! ![]() I have seen this before - I copied an Active X example and their ref worked, I tried to generate one in the same VI and it wouldn't work. Funnily enough - I can now create a ref that works! But my lappy still has the same problem! I am coding in 8.5, but I just ran a VMWare 8.2 copy and it has the same problem. 1) Has anyone else seen this? 2) Am i doing something wrong? 3) Is there anything I have to do (refresh type library)? Cheers JG -------------------- all day...
|
||
|
|
|||
Jun 12 2008, 11:24 AM
Post
#4
|
|||
![]() Very Active Premium Member ![]() Posts: 106 Joined: 18-November 04 From: Sydney, NSW Member No.: 1058 Using LabVIEW Since:1996 LV:8.0.1 ,7.1.1 ,6.1
|
No problem mate
Does the code I posted work on your laptop? At the moment I'm not sure what the issue could be, could you post that code you displayed? -------------------- Regards
Kurt Friday
|
||
|
|
|||
Jun 12 2008, 01:56 PM
Post
#5
|
|||
![]() Very Active Premium Member ![]() Posts: 214 Joined: 1-January 08 From: Perth, Australia Member No.: 10325 Using LabVIEW Since:2006 LV:8.5.1 ,8.6 ,.
|
No problem mate Does the code I posted work on your laptop? At the moment I'm not sure what the issue could be, could you post that code you displayed? Well, I have explicitly not put it on my laptop as I want to discover the problem (but I am sure if I do it will work). Funny thing is after I ran your code a few times, my refs that didn't work - worked! My code was exactly like yours. <edit> I have seen weirder things. I am going with bug? Have just ran 8.5.1 in VMWare - works fine no problems. Looks like I will upgrade methinks. Now I can finally play with Active that works!! </edit> This post has been edited by jgcode: Jun 12 2008, 02:07 PM -------------------- all day...
|
||
|
|
|||
![]() ![]() |
| Time is now: 19th November 2008 - 11:29 PM |