VB6 silently removes huge chunks of control data from forms

My project can have 130 controls (total number of all labels, text fields, etc.) in SSTab (4 tabs). The project loads fine, it works fine, I don’t see any errors or warnings at any time, but when I save the form using SStab on it, the SStab data is not saved (it completely disappeared). Usually the corresponding part of the .frm file looks like this:

   Begin TabDlg.SSTab SSTab1 
     Height = 8895
     [1550 more lines of code for all the controls]
     Width = 540
   End
   Begin VB.Menu FileMenu

But recently, it has been trimmed to:

   Begin TabDlg.SSTab SSTab1 
   Begin VB.Menu FileMenu

This is very unpleasant! In my VB IDE frame, sstab and all controls are, are edited, run / compiled in order, there are no error messages at any time, but when you save the file, 1550 lines of sstab precious data just disappear - again, with no warnings or error messages. Therefore, if you exit and restart the IDE, you will receive a form loading error because now 60% of the code is missing. The log file indicates the first error it found (in this case, Begin TabDlg endlessly) - there is no other information. (The log file was created after the code was deleted and saved, so it makes sense that this does not help.)

, , , , , , , , ( ) . , ( , , ).

SStab 4 . IDE, , ( ). , , .

, / VB.

- - ?

+3
6

UserControl . MUCH. , , , .

+3

, .

, VB6, , ? , , .log. , Myform.frm, Visual Basic Myform.log. , , .

Windows, , - VB6 IDE?

- ? , - FRM FRX. FRM , , , , VB6. FRM ? - , FRX, .

, , IDE - . , , . , . , , . , " ".

+2

, .FRM , .FRX

+2

, , VB6 255 ( 256) . , ?

. , 10 , label1, label2, label3 .. (0) (9) .

, SSTAB, - , / . , , , , waaaayyyyy (, , ). , SSTAB IDE, ?

, , , , .

+1

, SAVE .

, , , .

..

1) ,

2) (),

3) ?

- > =

- > = 2,

, 2 (, ..).

, .

+1

! ., , .

VB '94 (VB3), 5 6 , VB6. , , : . , .

, , replace/rebuild ( ) . , . , , .,. , , , .

., , . , , . ( , Win-tel, NAS UNIX!)

: Controls.Count = 62, - 255, . ! ( , !)

+1

Source: https://habr.com/ru/post/1705839/


All Articles