execute vb.net from ribbon button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
* Disclaimer: My entire knowledge of code comes from google and trial and error *
I've written a reasonably large program in vba which is able to modify nearly all aspects of any related drawing/model from open documents. I wanted to create this as an add-in and possibly distribute it but I'm having trouble finding support for the process.
I translated the code into vb.net and have created an .exe that functions perfectly. However, when implementing a button I've run into many issues.
I wasn't able to figure out how to create the button in my code, so I used a template created with Inventor add-in wizard. I imported all my forms and code to the template and have gotten the main form to show and function.
However, I noticed that when I first run the add-in from vs10 there are hundreds of errors showing up in the immediate window. The add-in still shows up, and functions so long as the code it runs is within the initial form. Any time the form calls code from a different form, or displays a different form, inventor crashes in its entirety.
I feel that I'm really close to being able to create an add-in that I can distribute, but I'm at a loss when it comes to implementing it from a button.
I've prettymuch checked out every resource I can find (which all seem to be quite outdated and terribly hard if not impossible to follow). And I can't seem to find a good walkthrough on how to take my .exe and turn it into an instalable add-in.