- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
I assume you're using that loop as some way to make the computer wait a moment betwen sending commands. Yes, you are incrementing twice but that's not your problem. The problem is that the loop isn't doing anything. Counting to 10 (even 100 or 1000) is fast, very fast. RS232 …
MSComm32 is not part of all versions of VB If you got MSComm32 in your version then you may also deploy it. If you didn't get MSComm and you added it manually yourself then it may work on your development computer but you won't have the developer license so deployment …
If you're getting a message saying that the port is closed then you're probably trying to close it twice and the error happens the second time. Before closing check that it's actually open. If MSComm1.PortOpen = True Then MSComm1.PortOpen = False [I]<<snip>>[/I]
1000hz ? What he probably means the "Carrier" signal. Use MSComm32 or a 3rd party comm control such as [URL="http://www.axis-controls.com/mscomm32"]Comm32[/URL] and dial the other computer like this. Comm1.Settings = "9600,n,8,1" Comm1.RTSEnable = True Comm1.DTREnable = True Comm1.PortOpen = True Comm1.Output = "ATDT 1234567890" ' Replace that with the number you …
The End.
MikeStump