Reply to thread

AW: HOW TO: First plugin in vb.net


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:

  • 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: Please generate these IDs, don't fill them by hand with arbitrary characters! There are many GUID generators in the internet, for example this one.


I'll check if it makes sense to put your example VB file into the example plugin.


Top Bottom