fiogf49gjkf0d Thank you Raul and Ryan for the fast response.
Well I add the plugin on the .Net Extensions Manager like the tutorial said. It shows up on the dependencies tab. But next to the file name the icon shows the "unknown file type icon", perhaps this has something to do with...
-----------------.NET code----------------------------------------------------
<p>Imports System.Windows.Forms Imports Sage.SalesLogix.NetExtensions
Public Class Class1 Inherits Sage.SalesLogix.NetExtensions.BaseRunnable
Public Overrides Function Run(ByVal Args() As Object) As Object Dim msg As String = "Hello .Net-SalesLogix World!" & vbCrLf & vbCrLf & _ "Argument passed: " & IIf(Args.Length = 0, "None", Args(0)) & vbCrLf & _ "Current userid: " & SlxApplication.BasicFunctions.CurrentUserID() & vbCrLf & _ "Connection String: " & SlxApplication.ConnectionString
MsgBox(msg, ".NET MessageBox") Return Nothing End Function End Class
-----------------VBScript-----------------------------------------------------
<p>Sub Button1Click(Sender) Dim ext ext = Application.Managed.Create("ClassLibrary1", "Class1") Application.Managed.Run ext, "Hello from Architect" Application.Managed.Destroy ext End Sub
Thank you again! |