CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 56
  1. #31
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    DataMiser, it is complete other PC.
    But the problem is exactly the same.
    On the older computer i also am working almost every day
    with VB6 and this problem has never been there before.
    So, i am getting verry confused and desperade.

  2. #32
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Corrupted form

    If you open the form now with a text editor is it showing the 0 in the various settings?
    If so have you tried manually changing them with a text editor, saving, then reloading the project?
    Always use [code][/code] tags when posting code.

  3. #33
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: Corrupted form

    This is relly weird.
    Like DataMiser I'm now using VB6 since more'n ten years, carrying it from Win98 to WinXP to even XP64 and did never encounter such a thing...

    Let's ask where are the buttons and labels and all the intrinsic controls located?
    They are in the VB-Runtime library, as I think. It wa MSVBVM60.dll as I recall..
    or maybe tere is a VBRun300.dll???

    What happens when you reinstall VB6? If there is already afile of this name, will the installer overwrite the existing file?
    AsI recall MSVBVM60.dll was already part of XP wen installig it. If ths file bears an error there i one thing you can do.
    Search google for "VB runtime files" which will lead to a place on micrsoft where you can download VBRun60.exe which will reinstall the rntime files on your computer. Maybe that helps...

  4. #34
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: Corrupted form

    sorr for the poor typing... Ithink my wireless keyboard just runs ot of batery.

  5. #35
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Corrupted form

    The VB300 is pretty much obsolete, used only for programs written in VB3 so should be of no concern here.

    If the same thing is happening on a second machine then I would not suspect the VB runtime files at all, Perhaps a 3rd party dll or ocx, or an addin that was installed, or perhaps a virus of some sort that happens to be on both machines. Beyond that I can't think of anything.
    Always use [code][/code] tags when posting code.

  6. #36
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Corrupted form

    btw I am assuming that these projects that were tried on different PCs were also saved to different {local} hard drives. If not then there may be some other things to look at.
    Always use [code][/code] tags when posting code.

  7. #37
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Corrupted form

    DataMiser, I installed it from the VB 6 disk.

    Also been using VB6 for ages, also confused

    Stupid questions....

    Did you install VB6 with full Admin rights, is your UAC still on?

    Are all your other programs working properly?

    Do you have a virus scanner?

    What service pack of VB6 are you on?

  8. #38
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    DataMiser at 06:54
    When i open the form with a texteditor left and top is on 0
    When i change the zeros settings and i load the form, the message is showing
    Error during loading. So i would say is must happen showing the form.
    Attached form1good. This is when saving and everything is fine.
    Then i close VB6 and open vb6 again and load the project.
    Showing the form the message is coming. Saving the form result is the Form1False. The zero's are back.
    Attached Files Attached Files

  9. #39
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    WoF 7:14 and 7:15
    It indeed is in the MSVBVM60.dll
    I did re-install VB6 a few tims the last days.
    I asume that while de-installing all the installed file are removed.

    Strange is further then when i put in a sub with:
    form1.label1.left = 100
    form1.lavel1.top = 200
    this works ok.

    WoF i would like my typing and Englisch was as good as yours.

  10. #40
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    DataMiser 08:10 and 08:15
    Indeed, i installed VB6 on different machines and to their own (different) drives.
    One machine runs under Windows XP Home and the other one under Window7 Home Premium.

    It started last Sunday and i cannot remember instelling a third party programm, dll or what so ever.

  11. #41
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    HannesTheGreat at 8:15
    I installed it with Admin rights.
    I am sorry, but i do not understand what you mean with UAC
    As far as i can see, all ather programs are working fine.
    My virusscanner is AVG and Windows Firewall
    Service pack 6

  12. #42
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Corrupted form

    The VBruntimes would not have been uninstalled as they are part of the windows XP install and may be used by many other programs.

    UAC=User Access Control on windows Vista and windows 7. Installing with admin rights with UAC enabled[defaul] means that you right click on the setup and choose run as admin otherwise you are not really installing as admin even though your account is set to have admin access.

    Different machines, different OS, different drives, different file sets, hmm. Not a lot it can be.

    Just for giggles have you tried it with SP5?
    Always use [code][/code] tags when posting code.

  13. #43
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: Corrupted form

    Or even without any ServicePack? Just plain installation and tried out if the error persists?

    If you install on a new machine and the error is coming up, it must be something in the installation files...

  14. #44
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    So, finally its working again.
    I cannot tell you what was exact the problem.
    This weekend my son came to assist me.
    We again tryed severel things but nothing was ok.
    Then we made a backup and cleaned the pc. Formatted the drives
    en installed XP again. And after that VB6 and SP 5 and SP6.
    Same problem.
    Then my son changed the msvbvm60.dll on my computer with the one of his computer. (same date)
    Now it seems to work properly.
    I am hopefull and walk araund with a, very small, smile.
    Thanks you all a lot for your support.
    Regards,
    Herman

  15. #45
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Re: Corrupted form

    The smile is completly gone.
    Same problem again.
    I found a verry strange thing.
    There is a module in my project call mdlAlgemeneSubs. (enclosed)
    When i open it with a texteditor the text is complete.
    However, when i open it in VB6 there is only one line.(enclosed AlgSubsText1)
    What happens here and why?
    Regards,
    Herman
    Attached Images Attached Images
    Attached Files Attached Files

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured