hexagon logo

Report preview window, I don't want it!

Good morning all,

I'm attempting to make an operator dashboard using excel as the back end and driven through VBA. Pulls down a program from the server, copies it local, executes through PC-Dmis, prints pdf & hard copy... blah blah blah...

The idea behind this automation is to circumvent running through the operator mode where the floor staff has the opportunity to re-qualify probes, interrupt runs and in any other conceivable manner waste time. It's going well except for one small problem, the report preview. Ideally the only thing visible during the brief execution, aside from the pc-dmis "frame" would be the graphics display window (CadWindow). However the only thing visible instead is the report window (report preview, whatever). I've successfully hid the EditWindow and made the CadWindows visible by code, however can't find anything that controls the on screen report preview. According to the "PC-Dmis Basic Language Reference" the report mode should be controlled through the EditWindow, however hiding it only gets rid of the command window. Anyone have any insight? Perhaps a snippet of code? Many thanks!

CAD++ ver 2010 MR3
Parents
  • Tried this as a basic script in the beginning of the program (my Excel VBA didn't like it). It doesn't throw an error but it doesn't hide the window as the EditWindow.Visible=False did either. I've been told since originally posting this that until the 2015 release there was no object name assigned to the report window (the validity of this I doubt). There has to be a way to accomplish this, though until I find it I've just hid PC-Dmis altogether and added loading pictures into a user form. Thanks for the insight though!
Reply
  • Tried this as a basic script in the beginning of the program (my Excel VBA didn't like it). It doesn't throw an error but it doesn't hide the window as the EditWindow.Visible=False did either. I've been told since originally posting this that until the 2015 release there was no object name assigned to the report window (the validity of this I doubt). There has to be a way to accomplish this, though until I find it I've just hid PC-Dmis altogether and added loading pictures into a user form. Thanks for the insight though!
Children
No Data