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 2
Plugin Development
HOW TO: First plugin in 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="Albert" data-source="post: 780371" data-attributes="member: 67886"><p><strong>AW: HOW TO: First plugin in vb.net</strong></p><p></p><p>Hi celesta,</p><p>thanks for your explanation! It could make some things clearer for some people, but basically, the code is already present in the Resources/Examples/HelloWorldExamplePlugin. I think I'll add some more comments in the example plugin to clarify some of the entries.</p><p></p><p>In your posting, there are some errors:</p><ul> <li data-xf-list-type="ul">In MP2, we don't use WPF. We use MPF, which is very similar to WPF but in some points it is adapted to MP2.</li> <li data-xf-list-type="ul">The workflow files for the states and for the actions should have the extension .xml, not .xaml. XAML files are files containing visual code to be interpreted by the MPF engine.</li> <li data-xf-list-type="ul">In MP2, what you see in the UI is called a "screen", not "page". You code screens in XAML/MPF, screens are shown to the user and typically associated to a workflow state as visual representation of that internal state.</li> <li data-xf-list-type="ul">IDs: <strong>Please generate these IDs, don't fill them by hand with arbitrary characters!</strong> There are many GUID generators in the internet, for example <a href="http://www.guidgenerator.com/online-guid-generator.aspx" target="_blank">this one</a>.</li> </ul><p></p><p>I'll check if it makes sense to put your example VB file into the example plugin.</p></blockquote><p></p>
[QUOTE="Albert, post: 780371, member: 67886"] [b]AW: HOW TO: First plugin in vb.net[/b] Hi celesta, thanks for your explanation! It could make some things clearer for some people, but basically, the code is already present in the Resources/Examples/HelloWorldExamplePlugin. I think I'll add some more comments in the example plugin to clarify some of the entries. In your posting, there are some errors: [LIST] [*]In MP2, we don't use WPF. We use MPF, which is very similar to WPF but in some points it is adapted to MP2. [*]The workflow files for the states and for the actions should have the extension .xml, not .xaml. XAML files are files containing visual code to be interpreted by the MPF engine. [*]In MP2, what you see in the UI is called a "screen", not "page". You code screens in XAML/MPF, screens are shown to the user and typically associated to a workflow state as visual representation of that internal state. [*]IDs: [B]Please generate these IDs, don't fill them by hand with arbitrary characters![/B] There are many GUID generators in the internet, for example [URL="http://www.guidgenerator.com/online-guid-generator.aspx"]this one[/URL]. [/LIST] I'll check if it makes sense to put your example VB file into the example plugin. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
HOW TO: First plugin in vb.net
Contact us
RSS
Top
Bottom