请问.... 使用MODEM的AT命令你可以参考MSCOMM控件 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 对Private Sub mnuDial_Click() On Local Error Resume Next Static Num As String Num = "1-206-936-6735" ' This is the MSDN phone number ' Get a number from the user. Num = InputBox$("Enter Phone Number:", "Dial Number", Num) If Num = "" Then Exit Sub ' Open the port if it isn't already open. If Not MSComm1.PortOpen Then mnuOpen_Click If Err Then Exit Sub End If ' Enable hang up button and menu item mnuHangUp.Enabled = True tbrToolBar.Buttons("HangUpPhone").Enabled = True ' Dial the number. MSComm1.Output = "ATDT" & Num & vbCrLf ' Start the port timer StartTimingEnd Sub 求ActiveX控件源代码! datagrid中的datasouce属性是否只能设定一次? 关于文本的打印! 关于“帐套”的问题!!! 向数据库中写入一条记录的问题 在线求助,关于listview保存到access的问题 如何判断combobox里的内容变化? 急!!!!!!谁能教我用vb6.0+access做排课系统啊,毕业设计 急!急!急! 散分 见鬼了,昨天我用setwindowpos... 在VB中用代码建立Access数据表时,关于定义字段小数位数的问题! 我有spread6的测试版,没有6的注册码;我有spread3.5的注册码,没有3.5的测试版,那位帮帮我啊!
Private Sub mnuDial_Click()
On Local Error Resume Next
Static Num As String
Num = "1-206-936-6735" ' This is the MSDN phone number
' Get a number from the user.
Num = InputBox$("Enter Phone Number:", "Dial Number", Num)
If Num = "" Then Exit Sub
' Open the port if it isn't already open.
If Not MSComm1.PortOpen Then
mnuOpen_Click
If Err Then Exit Sub
End If
' Enable hang up button and menu item
mnuHangUp.Enabled = True
tbrToolBar.Buttons("HangUpPhone").Enabled = True
' Dial the number.
MSComm1.Output = "ATDT" & Num & vbCrLf
' Start the port timer
StartTiming
End Sub