Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
09/12/06 16:48
Read: times


 
#124139 - Problems with MSComm32 under WindowsXP
Hi Forum members,
I am having an 8051 based product having a serial port that is connected to the PC Com1 Port. My PC has both Windows 98 and Windows XP on different partitions. I am having Visual Studio 6 (same version) in both the OS and in different partitions.

The 8051 Product that I am using, is developed by some other person,I just have to write the VB software. This product documentation has got some problem due to which I am not able to know the exact connecting string : "9600,x,y,z". By trying several combinations, it works with "9600,O,8,1"; AND with one more setting in MSComm, and that is MSComm.ReplaceParity="". (If I replace the above statement with MSComm.ParityReplace="?", then I get almost every charachter as "?")
I have tested this for about 8~10 hours and find that it works fine in Windows98. But in WindowsXP it returns a charachter "&h27" for every byte that is transmitted from this instrument and recieved by the PC. But the same code in Windows98 works absolutely fine.

I know this is not the forum for such a problem; but many of us have used VB6, and might have faced this problem, hence I request their suggestions regarding the above problem.
I have searched a lot in VBCode, CodeGuru, ... I have downloaded a latest version of MSComm32.OCX(for Windows98), copied it into Windows\System32, registered it, checked the entries in regedit to confirm that the registering is proper.....(phew!!!)...but still it gives the same problem.
It will be a great help if somebody gives some guidelines, links, etc. about this problem.

Thanking you all,

Mr. Kiran V Sutar
Mumbai INDIA.



List of 3 messages in thread
TopicAuthorDate
Problems with MSComm32 under WindowsXP            01/01/70 00:00      
   I would try...            01/01/70 00:00      
   Found the Solution !!!            01/01/70 00:00      

Back to Subject List