home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
NON-GUI plugin problem in MediaPortal interface - VB.NET
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Anonymous" data-source="post: 4475"><p>Frodo</p><p></p><p>There is a problem with the implementation of NON-GUI plugins. If you want to write a plug-in using VB.NET (as I was just starting), the "Stop" interface is a bit of a problem ... </p><p></p><p> Public Sub Stop() Implements Mediaportal.GUI.Library.IPlugin.Stop</p><p> Microsoft.VisualBasic.Interaction.MsgBox("Ben's plugin stopped.")</p><p> End Sub</p><p></p><p>Stop is a keyword in vb.net and the compiler throws an exception ("Keyword is not valid as an identifier"). Ends up that you can't implement the stop interface, which is required, and therefore can't write a plugin <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Can we change it to "Finish" or "Cleanup"? Perhaps even make it optional?</p><p></p><p>Ben</p><p></p><p>BTW - you guys do great work.</p></blockquote><p></p>
[QUOTE="Anonymous, post: 4475"] Frodo There is a problem with the implementation of NON-GUI plugins. If you want to write a plug-in using VB.NET (as I was just starting), the "Stop" interface is a bit of a problem ... Public Sub Stop() Implements Mediaportal.GUI.Library.IPlugin.Stop Microsoft.VisualBasic.Interaction.MsgBox("Ben's plugin stopped.") End Sub Stop is a keyword in vb.net and the compiler throws an exception ("Keyword is not valid as an identifier"). Ends up that you can't implement the stop interface, which is required, and therefore can't write a plugin :( Can we change it to "Finish" or "Cleanup"? Perhaps even make it optional? Ben BTW - you guys do great work. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
NON-GUI plugin problem in MediaPortal interface - VB.NET
Contact us
RSS
Top
Bottom