|
-
Jun 29th, 2001, 09:38 AM
#1
Thread Starter
New Member
Send SMS whitt VB
hi everyone,
i am trying an application where a visual basic program can communicate with mobile phones.
I would like to know how to give AT commands in visual basic code. how can a visual basic program identify if a mobile is connected to a serial port or no..
bye
Nuno
-
Jul 10th, 2001, 12:42 PM
#2
Hyperactive Member
Maybe MSCOM ocx can help you. Very useful is \SAMPLES\COMPTOOL\MSCOMM example.
But you have to know AT commands.
-
Jul 14th, 2001, 03:57 AM
#3
New Member
This would be a simple dial command for a modem, it stems from old basic, but it still works! Here goes:
code:
Open "COM1:9600,n,8,1" for RANDOM as #1
Print #1, "ATDT 5551212"
'A delay added here phone will disconnect upon close
Close #1
I don't know if that helps, but I hope it did! Good Luck!
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
|