Results 1 to 12 of 12

Thread: VB6 Bugs when working on Home xp 2002 version?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    292

    VB6 Bugs when working on Home xp 2002 version?

    HI, everyone.

    Someone knows if there is somekind of bugs when working with VB6 over Microsoft Xp home Edition 2002 version.
    Because when i´m working on this windows xp version some applications that i´ve created in Windows 2000 are not working.

    Thanks a lot.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Bugs when working on Home xp 2002 version?

    Are you installing the applications, or just copying them?

    If you are just copying them, that is the problem - see the relevant topic in our Classic VB FAQ (link below) for an explanation of what you need to do.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VB6 Bugs when working on Home xp 2002 version?

    What do you mean "Not working"? You need to be more specific.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    292

    Re: VB6 Bugs when working on Home xp 2002 version?

    HI RobDog888

    I have for example, download the multi column treeview control from vbaccelerator and it works fine when i run the code in the windows 2000, and when i´m trying to run the same code in the windows xp home edition 2002 it display´s the following error:

    run time error '91':
    Object variable or with block variable not set

    This error it´s displayed now in the Xp for the applications that were created in the windows 2000.

    I have allready installed the VB 6 updates and run times and here hare still beeing displayed.

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Bugs when working on Home xp 2002 version?

    Quote Originally Posted by em07189
    I have allready installed the VB 6 updates and run times and here hare still beeing displayed.
    That isn't good enough - you need to use an installation package for your application, so that any extra controls beyond the basics (especially ones like the one you downloaded) are installed properly.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    292

    Re: VB6 Bugs when working on Home xp 2002 version?

    HI si_the_geek!

    The multi column treeview control from vbaccelerator shouldn´t work in the windows 2000 and windows xp after your register the ocx?

    I have downloaded the full source code and register the ocx and it woks fine when running it with VB6 in the windows 2000.
    Now when i try to do the same with VB6 in the windows xp home edition the error i have mentioned above is displayed.

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Bugs when working on Home xp 2002 version?

    No, you need to install it properly - as that ocx file requires other files to also be installed. The chances are that your program requires other controls/DLL's/etc that you arent aware of too.

    Rather than do things the long way round (install VB updates, VB runtimes, ocx files, etc), do it the easy (and correct) way and create an installion package. It will find all required files, and also install them properly on the client computer.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    292

    Re: VB6 Bugs when working on Home xp 2002 version?

    HI again si_the_geek.

    I'm not talking about compiled code here, i'm talking about running a program.

    I think this is not because of the installion package, installed package it´s used when you have finish your application and what to distribute ,right?

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VB6 Bugs when working on Home xp 2002 version?

    Bottom line is that if you want to do anything on another system, you need to package/install it. Doesnt matter if its for testing or the final product. There are dependancy file(s) that are needed and registered. If you want to work harder and slower then dont create a setup package.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    292

    Re: VB6 Bugs when working on Home xp 2002 version?

    So how to create a package/install it in another sysytem?

    Thanks.

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VB6 Bugs when working on Home xp 2002 version?

    In the Application Deployment forum there is a FAQ with several good freeware installer programs that you can use. The P&D Wizard is the easiest but not the most professional looking.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  12. #12
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: VB6 Bugs when working on Home xp 2002 version?

    you are still running this as a project in the vb6 ide?

    post the code where it breaks
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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