Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Wednesday, February 19, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
2/19/2025 3:58:13 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!
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: First attempt at .Net Extension
Andrew Grandin
Posts: 272
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?
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
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
[
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 © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 2/19/2025 4:46:38 PM