LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System.Runtime.Remoting

I am using Labview 8.5 and have Microsoft .Net 2.0 installed
 
How do I call the following from "System.Runtime.Remoting" in Labview?
 
RemotingConfiguration.Configure(this.ConfigFile, false)
 
I am able to call other static methods such as the MessageBox.show() from the System.Windows.Forms.MessageBox but I can't find the RemotingConfiguration.Configure from the browsable list using Labview.
 
Thanks,
 
0 Kudos
Message 1 of 4
(3,078 Views)
You need to select "mscorlib" from the dropdown list of libraries. Then, scroll down in the list of objects to System.Runtime.Remoting and select it to expand it, and then select RemotingConfiguration. Then you can select the appropriate static method.
Message 2 of 4
(3,054 Views)
The method I followed to find this function was to navigate to C:\Windows\Microsoft.Net\Framework\v2.0.50727\ and select mscorlib.dll, which is the dll where this method is found (as indicated by the MSDN at: http://msdn2.microsoft.com/en-us/library/ms223161(VS.80).aspx). 

Once the correct .dll is used, the System.Runtime.Remoting.RemotingConfiguration can be easily found.  If you create an ApplicationId, then create an invoke node from this you will find the RemotingConfiguration.Configure function you are looking for with a filename and boolean input.  Cheers!
0 Kudos
Message 3 of 4
(3,051 Views)
Thanks that works perfectly
0 Kudos
Message 4 of 4
(3,039 Views)