|
-
Aug 25th, 2006, 01:25 PM
#1
Thread Starter
Hyperactive Member
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.
-
Aug 25th, 2006, 02:13 PM
#2
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.
-
Aug 25th, 2006, 02:21 PM
#3
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 25th, 2006, 02:49 PM
#4
Thread Starter
Hyperactive Member
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.
-
Aug 25th, 2006, 03:08 PM
#5
Re: VB6 Bugs when working on Home xp 2002 version?
 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.
-
Aug 25th, 2006, 03:17 PM
#6
Thread Starter
Hyperactive Member
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.
-
Aug 25th, 2006, 03:26 PM
#7
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.
-
Aug 25th, 2006, 03:55 PM
#8
Thread Starter
Hyperactive Member
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?
-
Aug 25th, 2006, 04:02 PM
#9
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 25th, 2006, 04:07 PM
#10
Thread Starter
Hyperactive Member
Re: VB6 Bugs when working on Home xp 2002 version?
So how to create a package/install it in another sysytem?
Thanks.
-
Aug 25th, 2006, 04:10 PM
#11
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Aug 26th, 2006, 07:12 AM
#12
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|