|
-
Jul 18th, 2004, 09:59 AM
#1
Thread Starter
New Member
check state of a method all the time
Hello!
I want to make a Dialer in VB. NET so I added a ActiveX component to my VB .NET project.
Now there is a line.CallState() method in this component which holds the state of the telephone line. When the line.CallState() = 100 in this moment the phone connects to other side.
Now i don't how to check the state of line.CallState() all the time.
I want to make something like this If Line.CallState() == 100 Then
MsgBox("You are now connected").
But line.CallState() is in state 100 just a sec(or less). When I start to speak the line.CallState() changes in a diferent mode...
tnx for help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|