|
|
#1 |
|
Junior Member
Join Date: Mar 06
Posts: 17
![]() |
Error 8020
I have a program I wrote in VB 6 and it has been used on XP machines. Now someone is installing it on a Vista machine. We are using a TRENDNET TU-S9 USB - Serial adapter. I download the newest Vista/XP drivers. It show up as a Prolific USB - Serial adapter. This is the same USB - Serial adapter we have used on XP machines. I installed the same driver on my XP machine and it works fine.
So is it a Driver issue or a Vista Issue? From Microsoft http://support.microsoft.com/kb/318784 If it is a adapter issue anyone have one they use with Vista and MSComm |
|
|
|
|
|
#2 |
|
Addicted Member
Join Date: Jan 09
Posts: 192
![]() |
Re: Error 8020
so the program you write on vb6 doesn't work with vista or what?
__________________
The taller the bamboo grows the lower it bends...
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 06
Posts: 17
![]() |
Re: Error 8020
The program runs fine until it trys to acess the Com port. Then it gives error 8020. This only happens in Vista 64 (so far) using the same USB to Serial adapter I used in the past and tested again with XP.
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 06
Posts: 39
![]() |
Re: Error 8020
I would say start by checking the COM number assigned to your USB-RS232 device in the control panel. Verify that your application is indeed opening up the correct COM port.
If everything is as expected, I would open hyperterminal and verify you are receiving data from the USB-RS232 device when expected. As a last resort, you can download portmon and "sniff" the RS232 line as well as see some other information... PortMon |
|
|
|
|
|
#5 | ||
|
Junior Member
Join Date: Mar 06
Posts: 17
![]() |
Re: Error 8020
This is in vista
I know what port number is assigned to the USB to Serial adapter. I checked in control panel. (Com for for the test) Everything see the comport it is just when I open it I get the problem. Im not sure using another program would be any help other than telling me that the com port works that that program. From http://support.microsoft.com/kb/318784 Quote:
Quote:
Again this only happens in Vista It has never happened in XP Pro or Home. |
||
|
|
|
|
|
#6 |
|
PowerPoster
Join Date: Dec 04
Posts: 11,790
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Error 8020
it may be as much a 64 bit problem, did you try with XP64?
__________________
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 |
|
|
|
|
|
#7 |
|
Addicted Member
Join Date: Jan 09
Posts: 192
![]() |
Re: Error 8020
try to use this software to debug your issue...
USBlyzer - Professional Software USB Protocol Analyzer or http://www.aggsoft.com/serial-port-m...2-analyzer.htm
__________________
The taller the bamboo grows the lower it bends...
|
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|