hi,
I would like to use createobject() in c# but it is not working same as vb.net.
my Problem.
step 1 : i created a dll in c# (server).
setp 2 : created a multiple client program and i have tried to access dll.
setp 3 : every client create it's own object and it is not accessing the previous created object.
could you please advice. How multiple clients access the same data?
Thanks & Regards
Rajesh kommineni

VulpesRank #55 · 29.2K reputationPosted Mar 17, 2014, 10:51 AM EDT
using VBI = Microsoft.VisualBasic.Interaction;
object obj = VBI.CreateObject(ProgId, ServerName);
Alternatively, you can achieve the same effect with this code: