5 replies
by blaine moore
When one object connects to the other object over the network, set up a property or set of functions.
Object A is the first app that wants to store a variable value on Object B
In A:
dim B as MyObjectB
set B = new MyObjectB
sub storeValue(string Var)
B.setValue(Var)
end sub
function retrieveValue()
retrieveValue = B.getValue()
end function
In B:
dim AVariable as String
public sub setValue(Var)
AVariable = Var
end sub
public function getValue()
getValue = AVariable
end function
If you need me to elaborate, just send me an email.
by dksj
There are lots of different methods of interprocess communication in Win32: Windows Sockets, remote procedure calls, NetBIOS, named pipes, mailslots, Distributed Component Object Model (DCOM), more...
Try using named pipes - see the msdn article (it has source code):
Q177696 HOWTO: Use Named Pipes in a Visual Basic 32-bit Program
Hope this helps
by dksj
by dksj
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending