Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 4, 2024 
 
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!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Using SharpDevelop
Joe Lazaro
Posts: 3
 
Using SharpDevelopYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Using SharpDevelopYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Joe Lazaro
Posts: 3
 
Re: Using SharpDevelopYour last visit to this thread was on 1/1/1970 12:00:00 AM
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!
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/4/2024 7:44:44 AM