jgcode Posted June 13, 2008 Report Share Posted June 13, 2008 Just like you can open MS Word/Access etc.. with ActiveX can a Labview executable open the LV development environment using ActiveX Can anyone post an example? Is this the type library to call? Quote Link to comment
Kurt Friday Posted June 13, 2008 Report Share Posted June 13, 2008 Try this Download File:post-1058-1213255078.zip Quote Link to comment
jgcode Posted June 13, 2008 Author Report Share Posted June 13, 2008 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 Quote Link to comment
Kurt Friday Posted June 13, 2008 Report Share Posted June 13, 2008 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? Quote Link to comment
jgcode Posted June 13, 2008 Author Report Share Posted June 13, 2008 QUOTE (SciWare @ Jun 12 2008, 07:24 PM) No problem mateDoes 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! :headbang: 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!! :beer: dude </edit> Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.