DLL

Jun 9 2008 1:49 PM

Hey frnds, I create DLL as follows-


Public Class Class1
    Public Function add(ByVal x As Integer, ByVal y As Integer)
        add = x + y
    End Function
End Class


[b]
Calling DLL[/b]
Imports ClassLibrary1
Module Module1

    Sub Main()
        Dim sum As Integer
        Dim obj As New Class1
        sum = obj.add(10, 20)
        Console.WriteLine("Sum=" & sum)
        Console.ReadLine()
    End Sub

End Module

Above DLL is working Correctly.I want to ask that Suppose there are two computers  NODE1 & NODE2 in Networking. Suppose we create the above prog.in NODE1 ,Is it possible to call DLL in NODE2. Without writing the above Program.
   If Yes,Then How???

 


Answers (1)