Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #729
| From | "Farnsworth" <nospam@nospam.com> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: How to tell when an ocx method call is finished? |
| Date | 2012-01-28 14:25 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jg1i4a$1q8$1@speranza.aioe.org> (permalink) |
| References | <jfmopc$j7g$1@dont-email.me> <jfq9ml$kp8$1@speranza.aioe.org> <jfs83l$tnn$1@dont-email.me> |
"mike" <spamme9@gmail.com> wrote in message news:jfs83l$tnn$1@dont-email.me... > Seems that VB is not waiting for one method to complete before executing > another.. No, it's the OCX that is doing that, not VB. It can initiate the action and retunes immediately while doing the work in the background. A well designed OCX should have an event like "Complete" or "Status" that fires when the work is actually finished. > There's no documentation and I can't find anything in the Object Browser > that suggests there might be an indication that the ocx command is > complete. Then find another hardware, or perhaps spend weeks in learning how to talk to USB directly from VB, and decode what being sent and received. There are free tools that record everything being sent and received to the USB port. See "Software-only analyzers" at this link: http://www.lvr.com/development_tools.htm Main page: http://www.lvr.com/usb.htm The USB sniffer might give you some idea of what's going on. There are other useful tools in the first link that you may want to explore. Another option, is to use a parallel port solution, and I think you need two ports at least to cover all signals, but I am not sure. This page includes a DLL and a sample to allows you talk to "any" port from VB6: http://www.lvr.com/parport.htm Look for the heading "Programming Tools for Port I/O and Interrupts".
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
How to tell when an ocx method call is finished? mike <spamme9@gmail.com> - 2012-01-24 09:10 -0800
Re: How to tell when an ocx method call is finished? "Auric__" <not.my.real@email.address> - 2012-01-24 17:52 +0000
Re: How to tell when an ocx method call is finished? ralph <nt_consulting64@yahoo.net> - 2012-01-24 12:18 -0600
Re: How to tell when an ocx method call is finished? mike <spamme9@gmail.com> - 2012-01-24 23:29 -0800
Re: How to tell when an ocx method call is finished? "Farnsworth" <nospam@nospam.com> - 2012-01-25 20:19 -0500
Re: How to tell when an ocx method call is finished? mike <spamme9@gmail.com> - 2012-01-26 11:02 -0800
Re: How to tell when an ocx method call is finished? "Farnsworth" <nospam@nospam.com> - 2012-01-28 14:25 -0500
Re: How to tell when an ocx method call is finished? mike <spamme9@gmail.com> - 2012-01-28 15:01 -0800
Re: How to tell when an ocx method call is finished? "Farnsworth" <nospam@nospam.com> - 2012-01-29 22:42 -0500
csiph-web