Home > Software engineering >  Vb6 collapse, form load error
Vb6 collapse, form load error

Time:02-23

Xp sp3, vb6 sp6

1 copy the backup for project 2

In project 2 to edit form1, edit the code and redesign of controls, in the process, when performing a second save vb6 collapse,
Re-open the project 2, open the form1 tip load error and other form can be normal open, log for
Line 3001: attribute List cannot be set in the WTTXT,
Line 3001: attribute ItemData cannot be set in the WTTXT,
Line 3094: attribute List cannot be set in the SBFDZCMB,
Line 3094: attribute ItemData cannot be set in the SBFDZCMB,

Are the combobox control, but in the process of editing is involved the two controls,
And combobox control more than the two in the form1


No problem project 1

Comparing two form1. FRM lines 3001 and 3094 there is no difference, but the two form1. File size change a lot FRM and form1. Usd

Project 1 form1. FRM for 601 K form1. Usd 3.85 K
Project 2 form1. FRM form1 is 605 k. The usd 692 b


Can copy and paste the code, but layout is in trouble again,

Ask: is there any way to solve this problem?

CodePudding user response:

Use notepad to open. FRM files, compare the two files
  • Related