AnsweredAssumed Answered

vrf VEE file size increasing

Question asked by esfreitas on Feb 24, 2003
Hello Shawn,

Your trick is very interesting.
I have an MSFlexGrid ActiveX Object in my program and I solved the problem
clearing it when I exit the program: MSFlexGrid.Clear();

Anyway it's a very strange behavior, and probably a VEE bug, because each
time I tried to save my program without writing anything, it more than
doubled in file size. It looks like VEE doesnt see the previous state and
records again the control's state.

I think Agilent should implement an option in the 'Preferences' menu where
we could have the choice to save or not the state of a control.

Thanks
Eduardo Freitas
PT Inovao, S.A. - Plo de Lisboa
Laboratrio de Calibrao e Ensaio


-----Original Message-----
From: Shawn Fessenden [mailto:s_fessenden@hotmail.com]
Sent: 24 de Fevereiro de 2003 16:49
To: VEE vrf
Subject: [vrf] Re: VEE file size increasing


Andy (and Ed)

>*** Can anyone else in the VRF
>list confirm this behaviour?

Yup. It happens. VEE saves the state of the control along with your program
(just in case it's important - which it's usually not). To prevent this from
happening in the first place, always clear out any control data properties
before saving your VEE program.

To get rid of the extra baggage once it's already there:

  1) Make a back up copy of your VEE program.
  2) Open your program in Notepad or other ASCII text editor.
  3) Search for '(state' (without the single quotes).
  4) Now you can do one of two things:
     a) Delete everything from the left paren all the way to the
        right paren (3M is an awful lot!).
     b) Search for ')' from that position and delete backwards.
        I like doing it this way because I usually fall asleep with
        the Ctrl-PgDn key pressed and wind up deleting too much.
  5) Resave from Notepad.
  6) Open in VEE to make sure it worked.

Would anybody like a utility to do this?
-SHAWN-


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


---
You are currently subscribed to vrf as: esfreitas@ptinovacao.pt
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".

If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes