9/17/2026 11:05:33 AM
|
| |
| 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.
|
|
|
|
First attempt at .Net Extension
Posted: 03 Sep 09 5:28 AM
|
I have only now began experimenting with the .Net Extension in SLX 7.2. I have tried following the example found in DevLogix 111.7 (page. 247) but am having a problem.
When clicking the button on the SLX form nothing happens/opens. Out of curiousity i msgbox out the SLXExt, which is populated by:
SLXExt = Application.Managed.Create("SLX Extension 1", "SLX_Extension_1.MainForm")
and nothing/blank was returned. As this variable gets used in the next line:
rVal = Application.Managed.Run(SLXExt, Form.CurrentID)
i thought it would be expected to have a value. This may be the reason it doesnt work it may not. Any ideas? |
|
|
|
Re: First attempt at .Net Extension
Posted: 04 Sep 09 11:12 AM
|
If you're not getting anything back in the SLXExt variable then that means your extension is not being created/loaded. If this is the case then you can look at one of the following:
1) Ensure that .NET Extensions are properly registered on the machine. You can do this by running the "RegisterSLXNetExtentions.bat" batch file in your SalesLogix directory. 2) Make sure you've released the extension (unless you're running SLX as admin) 3) Make sure you're using the right values for the extension title and the namespace.classname parameters when calling create. 4) Make sure that the class you're loading (the namespace.classname you're passing as the second parameter) either inherits from BaseRunnable, or actually in your case since the class appears to be a form, that the form implements the IRunnable interface.
You can also refer to here as well for additional help: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=83
-Ryan |
|
|
|
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!
|
|
|
|
|
|
|
|