SunQuest
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 7th, 2003, 11:48 AM
DTFan DTFan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Atlanta, GA
Posts: 18 DTFan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CallerID and Comm Port Question

I'm totally new to Visual Basic. I'm running VB 6.0. I'm attempting to create a program that will allow my computer to see the Caller ID of people that call the phone number of my computer. I've got a form which has only two items on it. It has an MSComm connection (called "MSComm1") and a text box. I am attempting to make this a simple as possible (nothing fancy). I just want the callerid information to appear in the text box when the call comes in. This is the code I have for the MSComm properties (in the code view):

Quote:

Private Sub MSComm1_OnComm()
' Open the serial port
MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,8,1"
MSComm1.PortOpen = True
MSComm1.InputLen = 0
MSComm1.InputMode = comInputModeText

txtCallerID.Text = MSComm1.Input

End Sub



Like I said, I'm new to VB and don't really understand what is going on. But right now, when a call comes in, the cursor in the text box just keeps blinking.

Can anyone help with with? Please?

Thanks in advance if you can.

DTFan

Reply With Quote
  #2  
Old August 12th, 2003, 11:58 AM
XOXOL XOXOL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 XOXOL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile maybe you find some answers there:

URL
URL
URL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > CallerID and Comm Port Question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway