|
-
Jul 24th, 2012, 05:16 PM
#1
Thread Starter
Addicted Member
-
Jul 24th, 2012, 06:10 PM
#2
Re: Windows XP Problems
vb6 is a 32bit application i do not think that is the problem.
i think it is some api calls in the program that does not work on win xp and works on win7 can you copy all declarations of the API's
-
Jul 24th, 2012, 06:26 PM
#3
Thread Starter
Addicted Member
Re: Windows XP Problems
With some research I found that the computer I'm compiling on, which is Windows 7 Professional X64 Service Pack 1 has known issues when trying to run the program you compiled on Windows XP. Something referring to a corrupted ADO connection when attempting to make the connection.
If you find the information I give you useful, please rate my post and tell me why you thought it was helpful. Thanks!
If your issue has been fixed, please come back to your thread and mark it Resolved. Thanks! 
-
Jul 24th, 2012, 09:34 PM
#4
Re: Windows XP Problems
so you are using ado? what error do you get on the xp system
-
Jul 25th, 2012, 05:49 AM
#5
Re: Windows XP Problems
it maybe that the references you are using for ado, do not exist in XP, you may need to find the appropriate compatibility libraries
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
-
Jul 25th, 2012, 07:21 AM
#6
Re: Windows XP Problems
There's a known problem with using ADO and the like when W7 SP1 is used to create the App - it works on W7 but not anything 'lower' I think it's an MDAC problem - search Dilettante's posts, I'm sure he has documented the issue (I would, but I'm just going out)
(Of course, if you're not at SP1 on W7 then I don't think that's going to be the problem.)
EDIT: Ah here it is: http://www.vbforums.com/showthread.p...t=mdac+windows
-
Jul 25th, 2012, 01:35 PM
#7
Thread Starter
Addicted Member
-
Jul 25th, 2012, 04:43 PM
#8
Re: [RESOLVED] Windows XP Problems
could you post the link for the patch to help others?
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
-
Jul 25th, 2012, 06:42 PM
#9
Re: [RESOLVED] Windows XP Problems
As far as I know there has never been a true fix for this in the sense of undoing the damage Win7 SP1 causes. So he probably installed the hack from KB2640696 which you must use by referencing the new version of Msado60.tlb it installs.
This is the same thing we covered a long while back in Win 7 SP1 Breaks ADODB Binary Compatibility which a simple search should have turned up. It's a little shocking that people are still only now stumbling upon the issue.
-
Jul 26th, 2012, 01:54 AM
#10
Re: [RESOLVED] Windows XP Problems
 Originally Posted by dilettante
which a simple search should have turned up. .
See Post#6
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
|