Your Products have been synced, click here to refresh
i some how ended up back on this page, in the method "StartPCDMIS()", I noticed that i should have used a different command to check when PC-DMIS is ready... so here's the Edit:
bool StartPCDMIS() { try { Type pcdObjType = Type.GetTypeFromProgID("PCDLRN.Application"); this.pcdApp = Activator.CreateInstance(pcdObjType); int timeout = 100; // the number of seconds to wait... pcdApp.WaitUntilReady(timeout); return true; //pc-dmis started } catch { return false; // an error occured } }
i some how ended up back on this page, in the method "StartPCDMIS()", I noticed that i should have used a different command to check when PC-DMIS is ready... so here's the Edit:
bool StartPCDMIS() { try { Type pcdObjType = Type.GetTypeFromProgID("PCDLRN.Application"); this.pcdApp = Activator.CreateInstance(pcdObjType); int timeout = 100; // the number of seconds to wait... pcdApp.WaitUntilReady(timeout); return true; //pc-dmis started } catch { return false; // an error occured } }
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |