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.
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.
Re: VB6 Bugs when working on Home xp 2002 version?
What do you mean "Not working"? You need to be more specific. ;)
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.
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.
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.
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.
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?
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. ;)
Re: VB6 Bugs when working on Home xp 2002 version?
So how to create a package/install it in another sysytem?
Thanks.
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.
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