colinasad,
I have been trying to do this for quite sometime. How did you get the mscomm control to work properly in Access 2007? I registered the mscomm32.ocx control using the macro RegisterActiveXControls. I placed the little telephone looking control onto my form. But when I go to the Code View and type in MSComm0. I see all the generic properties instead of the mscomm properties you mentioned above (CommEvent, PortOpen, CommPort, etc...).
I thought I remembered there being a great walk through somewhere on the web, but I can't find it. Any clue what I did wrong?
Thanks,
Josh
Main Topics
Browse All Topics





by: colinasadPosted on 2009-05-01 at 09:38:34ID: 24281097
Amazing,
after struggling with this all afternoon, composing my question to EE forced me to actually THINK!
I had copied my "initialising" settings from a web article which gave blow-by-blow reasons for each setting and they all seemed plausible.
I have just realised my "handshaking" is really "DTR/CTS". When I changed my code to ".Handshaking = comRTS" - all my scanned barcodes have appeared.
However, can someone still explain why I don't seem to be getting many "events" listed in my control's properties and how my input buffer is being emptied? Although I am reading the content OK, I am unsure how that clears it from the buffer.
Many thanks.