-
Re: Corrupted form
Interesting the first frmMenu text file has proper values for top and left on the controls. I added those lines to it and it loaded just fine into my ide.
The new text file has top and left at 0, looks like it has been saved after the problem occurred.
I would also suggest the re-install route from here.
-
Re: Corrupted form
I just set back a recovery point from Saterday last week.
I was just loading an existing project and there was no problem.
So i hope, but do not believe, that the problem is over.
As mentioned before, on Sunday i sharede the C; drive with a new computer.
After that the problem started.
WoF, i always make a backup before i start wordking in the morning.
So, the backup was also not good. I now will change that habbit.
I have SB6 Prof Ed. and SP6 on an XP-computer.
If the problem exists i will re-install VB6 first.
Thanks you all a lot for your help so far.
I keep you posted.
Regards,
Herman
-
Re: Corrupted form
Backups are always a good thing but is also good to have more than one.
I created a program that runs on my system that checks for any files which have changed [e.g. archive bit set] when it finds one then it backups up the entire project which contains the modified file into a zipfile with the date as part of the filename then resets the flag.
The program is set to run everynight and the result is that I have several generations of backups on projects that have been modified several times. Once these get to a certian point I burn them to dvd for storage. I will likely never need them but is much better to have and not need than the reverse.
-
Re: Corrupted form
My hope was wrong. It does not work at all.
Something new is :
On the corrupted form i added a textbox and tried to change
the properties. For instance left-position = 8640
I changed that in 8620 and get a error "Invalid property value".
On the form ther is an existing Frame1.
The left value = 0
Trying to change that gives the same error.
So i think that i have to re-install VB6 and see what happens then.
I hope somebody will come with a good solution.
Thanks.
Regards,
Herman
-
Re: Corrupted form
DataMiser,
Did you already shared that wunderful backup programm with us?
-
Re: Corrupted form
Changing a position value should never give an "Invalid Property Value".
That sounds really weird, more so than we can properly load the forms.
I did like DataMiser and put the valid lines from the firs frmMenu post into the last one and had all those controls set into proper positions.
Reinstallation seems definitely the next thing to suggest.
-
Re: Corrupted form
Unfortuneately the backup program is something I threw together for my own usage and has many hard coded paths as well as references to 3rd party software.
-
Re: Corrupted form
This afternoon i removed VB6 and installed it again.
The problem is still exactly the same.
I hope there als still some suggestions.
Regards,
Herman
-
Re: Corrupted form
-
Re: Corrupted form
To day again removed VB6 and re-installed it two times.
Same problem.
Now i will try to install VB6 on a external drive.
Then i decided to install VB6 on my new computer with Windows 7 Home Premium.
I got a message that there was a know compatible problem.
Is it a problem to install VB6 on a Windows 7 computer?
-
Re: Corrupted form
You will likely need the enterprise version of vb6 to install of windows 7.
I have VS6 pro and that will not install on windows 7 due to the fact that the installer updates and/or uses Java VM which apparently is incompatible with Windows 7.
I downloaded VB6 Enterprise and that installed just fine. Haven't did much with it as of yet but seems to work as it should.
-
Re: Corrupted form
I have Visual Basic 6 Professional on My Windows 7 Ultimate. I cannot recall any problems I have encountered.
-
Re: Corrupted form
hmm.. Did you install from a stand alone VB6 disk or Visual Studio? In my case it is the visual studio installer that fails and will not let me choose which products to install but the standalone enterprise edition of VB works fine
-
2 Attachment(s)
Re: Corrupted form
Hannes, Thanks for your answer.
I installed VB6 on my computer under Windows 7 Home Premium.
It seems to work properly.
But, the errors are the same on the old computer.
Making a new project, run it all is ok.
Closing VB6
Run VB6 and open the last project.
The property Left = set to zero
Trying to change the property-left in 20 an error eccurs. See attached screenprints.
DataMiser. I installed it from MY original VB6 CD
-
Re: Corrupted form
Is this the same computer [e.g. dual boot] or a different pc?
It is a rather odd problem. I have been using Vb6 almost everyday for the last 10 years and have never saw such a thing.