Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, May 1, 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: Can .net extenion use VB.net?
Jordan
Posts: 61
 
Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 10 12:43 PM
fiogf49gjkf0d

Can .net extenion use VB.net?

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 10 1:21 PM
fiogf49gjkf0d

Absolutely. This article will show you some code samples in VB.NET in addition to C# http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=83


 


Ryan

[Reply][Quote]
Jordan
Posts: 61
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Nov 10 3:56 PM
fiogf49gjkf0d

Thanks Ryan so much.


Do you have some ideas about the following requirement?


I'd like to open a Microsoft GP form from a SalesLogix form. For example, there is a SLX form on which there is a button. When the button is clicked, the SLX code will invoke/open a Microsoft GP form which is an external windows form. Is it possible? BTW, our system is SLX lan version 7.0.1 


Thanks


 



 


 


 

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Nov 10 5:06 PM

Whether or not this is posible depends 100% on GP. Is there a way to programatically invoke a dialog in GP? Does it expose this in some way?

[Reply][Quote]
Jordan
Posts: 61
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Nov 10 1:58 PM

Quote:
Originally posted by Ryan Farley


Whether or not this is posible depends 100% on GP. Is there a way to programatically invoke a dialog in GP? Does it expose this in some way?



Hi Ryan,


We got an info about a 3rd-party tool whose APIs can be used to invoke a MS GP form -- http://mohdaoud.blogspot.com/2009/10/practical-example-on-dynamics-continuum.html


Based on your experience, can we use the tool in our Lan SLX 7.0.1 to open a MS GP form. Is taht possible? Can we use the .net extension to call the APIs of the tools which is able to open the GP forms?


Thanks


Jordan


 


 

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Nov 10 2:17 PM
fiogf49gjkf0d

Hi Jordan. Well, yes and no. It is a COM library, and the .NET Extensions platform in the SalesLogix client does not do any sort of COM registration. Best choice is to attempt to use it via RegFree COM. This means you'll create a COM manifest for the library and then use that as if it were COM, without actually registering it on the machine. Some DLLs don't work that great with RegFree COM, and to be honest I've not done it with a .NET Extension so not sure how that would work out. But, that is the best route to try. You can google "Registration Free COM" to get some info on how to do it (it's not that hard to do).


If that doesn't work well from a .NET Extension, then you'd likely have to go the route of providing an installer to install and register the COM component on the desktops.


Once you've done either of those, it would work great from a .NET Extension.

[Reply][Quote]
Jordan
Posts: 61
 
Re: Can .net extenion use VB.net?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Nov 10 11:13 AM
fiogf49gjkf0d

Quote:
Originally posted by Ryan Farley


Hi Jordan. Well, yes and no. It is a COM library, and the .NET Extensions platform in the SalesLogix client does not do any sort of COM registration. Best choice is to attempt to use it via RegFree COM. This means you'll create a COM manifest for the library and then use that as if it were COM, without actually registering it on the machine. Some DLLs don't work that great with RegFree COM, and to be honest I've not done it with a .NET Extension so not sure how that would work out. But, that is the best route to try. You can google "Registration Free COM" to get some info on how to do it (it's not that hard to do).


If that doesn't work well from a .NET Extension, then you'd likely have to go the route of providing an installer to install and register the COM component on the desktops.


Once you've done either of those, it would work great from a .NET Extension.



Hi Ryan,


Thanks so much for the response.


It looks like the tool "Dynamics Continuum" mentioned in the article is a common COM like ADO. Maybe it is pretty good for SLX, since the SLX can use the COM directly through vbscript dircetly instead of .net extension. What do you think about that? 


Thanks


Jordan



 


 


 


 

[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/1/2024 6:24:07 PM