here is my code. I want a way to automatically restart the program without having to exit and restart again. Any help would be greatly appreciated.
Option Explicit
Dim intEnd As Integer
Private Sub cmdExit_Click()
intEnd = 1
End
End Sub
Private Sub cmdStart_Click()...
Ok thnnkx but do u know how i can get the program to start over again?? I need to clear an LCD display and start over any help will be greatly appricated i would like to start over after 10 seconds!!!
Thank-you
I am using Visual Basic to display a message when a sensor triggers the com port. I have this part done, my problem is when the com port is triggered the program ends. Is there a way to reset the program after a predescribed time period has passed so the process can start all over again.
thank -you
I have no trouble writing to the display it has it's own microcontroller
I just use SER_SEND dll before but i don't know how to Put that in the code
Here is what i have so far
Option Explicit
Private Declare Function SER_OPEN& Lib "SERSEN04.DLL" (ByVal commPort&, ByVal baudRate&)...
Ok I can get that to work!! Now can you help me \.
I need to know what to type in the MSComm1.output = ???
to get "Caution Ahead" to be displayed on the LCD
Thankx
I need a way to detect if there is a voltage of 3.5V dc present on the Com port input line.
I have used a comparitor to convert the 3.5Vdc to serial data. What i need to know is what command do i have to use to check the com port for that 3.5 Vdc or see if there is nothing there???????
Thankx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.