I am using Active View in C# Application. In fact, it works but when I close/open some different forms the axPbd components raise an exception like
"Rpc server is unavailable" in a line:
MyTrend = (PBSymLib.Trend)Trend1Display.Symbols.Add(PBObjLib.pbSYMBOLTYPE.pbSymbolTrend);
Sometimes I got "QI for IEnumVARIANT failed on the unmanaged server"
I was trying to refresh the component like:
axPbd3.DisplayURL = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + "\\pdi\\trend3.pdi"; axPbd3.Refresh();
It didnt help and really, really brings a lot of problem.
Please help with it.