Hi,<br>
<br>
I am having a problem with the MSComm control hogging processor time. I have an app that automatically pages people based on certain conditions, and I use MSComm to connect to the modem and perform the paging. Problem is, when it is waiting for a response after sending various strings to the modem, I can't use other programs because the MSComm seems to be demanding the processor's attention. I am using a do..until loop looking for certain strings from the MSComm's Input property, but I have included DoEvents in the loop so as not to disable other programs while the loop is running. I thought that DoEvents would take care of the problem that I am having, but apparently I am wrong here.<br>
<br>
Am I missing something here? Is there some way in VB to set the priority level of a program (as far as the processor is concerned)? Any help here would be greatly appreciated.<br>
<br>
Thanks in advance,<br>
<br>
-Marc
<br>
I am having a problem with the MSComm control hogging processor time. I have an app that automatically pages people based on certain conditions, and I use MSComm to connect to the modem and perform the paging. Problem is, when it is waiting for a response after sending various strings to the modem, I can't use other programs because the MSComm seems to be demanding the processor's attention. I am using a do..until loop looking for certain strings from the MSComm's Input property, but I have included DoEvents in the loop so as not to disable other programs while the loop is running. I thought that DoEvents would take care of the problem that I am having, but apparently I am wrong here.<br>
<br>
Am I missing something here? Is there some way in VB to set the priority level of a program (as far as the processor is concerned)? Any help here would be greatly appreciated.<br>
<br>
Thanks in advance,<br>
<br>
-Marc