Jump to content

Open a library by name


Recommended Posts

QUOTE (Ton @ Jan 26 2009, 03:42 PM)

I want to get a reference to a library that already is in memory.

For a VI I would use 'Open Vi' with a string with the VI name.

Now I would like to do the same for a library. Unfortunately the App.Open Library method only accepts strings path.

There's a private property "App.Project.Librairies[]" that returns an array of references to all librairies in the current project window. With its name, you can sort it out. However, it won't work in RTE... I don't know of a more direct public method.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.