INTERACT FORUM

Windows => Plug-in Development => Topic started by: gappie on October 23, 2009, 06:22:03 am

Title: im a bit in the dark, how to GetLibrary?
Post by: gappie on October 23, 2009, 06:22:03 am
i tried several things and i think i miss something very obvious. i want to get the name and the path of the library that is running now.

all help appreciated

 :)
gab
Title: Re: im a bit in the dark, how to GetLibrary?
Post by: pbair on October 23, 2009, 10:23:11 am
The following works for me with vb.NET

Code: [Select]
Dim mediaCenterRef as MediaCenter.MCAutomation
Dim LibraryName as string
Dim LibraryPath as string

mediaCenterRef.GetLibrary(LibraryName, LibraryPath)

Title: Re: im a bit in the dark, how to GetLibrary?
Post by: gappie on October 23, 2009, 11:44:05 am
 :) works for me to!..
thank you very much. i was thinking a bit to complicated.

now i can let my plug do its things in only one lib.

im happy
 :)
gab