11/25/2024 5:22:43 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
|
|
|
|
Using SharpDevelop
Posted: 04 Oct 06 12:04 PM
|
fiogf49gjkf0d I would be interested to know if anyone is able to get .NET extensions compiled in SharpDevelop to work in SalesLogix 7. I was able to follow along with Ryan's introduction article to create a class library with a subclass of BaseRunnable, build a DLL, add it to SLX via the extension manager, and then add a button on a form to invoke it.
When I click the button I created, I do not get the MessageBox popup. Nothing appears to happen except on the first click I see my hard drive LED light up for a moment. I double and triple checked the button script to make sure that I had typed in the namespace and class name correctly, and I had Debug set to "On Error" in the client. I would have expected some kind of error message if there was something wrong with my plugin. |
|
|
|
Re: Using SharpDevelop
Posted: 04 Oct 06 12:49 PM
|
fiogf49gjkf0d I just tested the sample out with SharpDevelop and it worked fine for me. Your problem is likely the script that launches it (make sure you have the fully-qualified name (Namespace.Classname). Also, sometimes it helps to close the client completely after adding the .NET Extension assembly. |
|
|
|
Re: Using SharpDevelop
Posted: 04 Oct 06 1:48 PM
|
fiogf49gjkf0d Ryan, after I went through it a second time I realized that I had botched one key instruction in your article: "When we add our assembly, it is given a name or title based on the file name. This is how we will refer to the assembly from within SalesLogix." I had the ClassLibrary.Class parameter to Application.Managed.Create correct, but the title parameter was incorrect which is why nothing would happen when I clicked my button. Live and learn.
I would just make one small addition to your article. In SharpDevelop I had to go to the Project menu and add a reference to System.Windows.Forms, or else I could not call MessageBox. Maybe you felt this was too obvious and omitted it intentionally, but it would be helpful to have anyway for the sake of newbies.
Thank you very much for your .NET Extensions introductory article. This web site has been a great resource! |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|