LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet

> Related links

Visit our LabVIEW Wiki External Code Portal.


 
Reply to this topic Start new topic
> Can an EXE use Active to open LV Development Environment?
jgcode
post Jun 12 2008, 06:37 AM
Post #1


Very Active
***

Premium Member
Posts: 152
Joined: 1-January 08
From: Perth
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


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?
Attached Image

--------------------
all day...


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Jun 12 2008, 06:37 AM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
SciWare
post Jun 12 2008, 07:16 AM
Post #2


Very Active
***

Premium Member
Posts: 105
Joined: 18-November 04
From: Sydney, NSW
Member No.: 1058
Using LabVIEW Since:1996
LV:8.0.1 ,7.1.1 ,6.1
Australia Nothing Selected Nothing Selected


Try this

Attached File  OpenVI.zip ( 135.51K ) Number of downloads: 38

--------------------
Regards

Kurt Friday


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jgcode
post Jun 12 2008, 09:36 AM
Post #3


Very Active
***

Premium Member
Posts: 152
Joined: 1-January 08
From: Perth
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


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!
Attached Image
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! throwpc.gif
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...


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
SciWare
post Jun 12 2008, 11:24 AM
Post #4


Very Active
***

Premium Member
Posts: 105
Joined: 18-November 04
From: Sydney, NSW
Member No.: 1058
Using LabVIEW Since:1996
LV:8.0.1 ,7.1.1 ,6.1
Australia Nothing Selected Nothing Selected


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


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jgcode
post Jun 12 2008, 01:56 PM
Post #5


Very Active
***

Premium Member
Posts: 152
Joined: 1-January 08
From: Perth
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (SciWare @ Jun 12 2008, 07:24 PM) *
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! frusty.gif

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_mug.gif dude

</edit>

This post has been edited by jgcode: Jun 12 2008, 02:07 PM

--------------------
all day...


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   3 guy 6858 21st May 2003 - 09:59 PM
Last post by: Mark Hanning-Lee
No New Posts   5 JackHamilton 6477 12th August 2005 - 07:27 AM
Last post by: rolfk
No New Posts   1 seckley 4915 20th December 2002 - 04:36 AM
Last post by: Michael_Aivaliotis
No New Posts   0 Michael_Aivaliotis 4393 20th May 2003 - 09:10 PM
Last post by: Michael_Aivaliotis


Reply to this topicStart new topic

 




Time is now: 29th August 2008 - 12:31 PM