AnsweredAssumed Answered

Re_VRf-Irritations

Question asked by VRFuser on Jun 5, 1997
send q Re_VRf-Irritations ww vrf groves_m

from: Greg Goebel / HP-MXD
      gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to:   VRf-Mike Groves
date: Thursday, 05 June 1997 1555 MDT

> To: HP VEE Reflector <hpvxd_xc@hpislsup.lvld.hp.com>
> Subject: VRf - Irritations
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Status: RO
>
> From:     mike.groves@ericsson.com
> To:       VEE Reflector
> Subject:  Multiple VEE's and won't Maximize
> Platform: Windows NT 4.0 on Vectra Pentium PC with VEE 4.0
>
> I've got two questions that are more annoyances rather than
> severe problems.
>
> First, I know NT and VEE both allow you to run multiple copies of
> the same VEE program at one time, so how does one defeat this added
> blessing?  My program that production test runs, controls a good
> amount of expensive test equipment.  The program expects the
> equipment states to be exactly where it put them without any
> extra time wasted re-checking.  Running two or more programs at
> the same time, could prove disastrous.
>
> I guess one quick and dirty way would be to set an environment
> variable that SET's VEE=ON, or something like that and check for
> it when you run.  But if a program is abnormally terminated it
> would not clear this and another copy would then refuse to go.
> Same with a temporary file used as a flag.
>
> Any other ideas?  Can NT (or 95) itself be queried to find out
> if another VEE program is already running?

We can't think of any clean way of doing this.  You might have batch files
that create dummy files as flags, but synchronization gets tricky on this
(if you crash VEE you can't run it again until you kill the flag file).

> And on a less important (but more irritating) subject, you offer
> start-up switches that can control the size and position of the
> window when it runs.  I can find nothing to force VEE to MAXIMIZE
> its window.  Is this difficult to implement or something?
>
> Also, RunTime has NO window position/size switches available at
> all, and worse yet, if I set Run Maximized in a shortcut properties
> box, VEE always overrides that and does what it wants anyway.
>
> Any plans for future enhancements along these lines?

The lab guys say that a Maximized option is on the list.  We know about the
lack of position + geometry in Runtime and I think this one will be fixed
quickly ... not so sure about Maximized.

> Thanks,
> Mike

If you have more questions, let us know.

[<>]

Outcomes