Re: Dialer[.]exe discussion
Hi
is there something called excel dialer in MS Excel?
Re: Dialer[.]exe discussion
VB6 provides you with MSComm32.ocx to do this. To dial a number typed into a TextBox the code would look like.....
Code:
Private Sub Command1_Click()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
MSComm1.Output = "ATDT" & Text1.Text & vbCrLf
End Sub
Re: Dialer[.]exe discussion
Quote:
Originally Posted by
CDRIVE
VB6 provides you with MSComm32.ocx to do this. To dial a number typed into a TextBox the code would look like.....
Code:
Private Sub Command1_Click()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
MSComm1.Output = "ATDT" & Text1.Text
End Sub
Hi
thanks for your reply, i tried this code. but it does not show me this window when i press command1
is there something needed i need to configure to view this window? I only need to see this window on the click of a button. and nothing else
http://www.vbforums.com/
Re: Dialer[.]exe discussion
MSComm is a self contained control to access RS232. It is not an interface to the windows dialer. You can build a complete terminal from it.
Re: Dialer[.]exe discussion
Quote:
Originally Posted by
CDRIVE
MSComm is a self contained control to access RS232. It is not an interface to the windows dialer. You can build a complete terminal from it.
Hi
please see this video,
Code:
http://www.exceldialer.com/howtouse.htm
When they click on cell it shows the third screen. i want similar like that on my button click.
Re: Dialer[.]exe discussion
If you insist on accessing the windows dialer via VB then Shell it. I don't see the point though.
Re: Dialer[.]exe discussion
Quote:
Originally Posted by
CDRIVE
If you insist on accessing the windows dialer via VB then Shell it. I don't see the point though.
Hi,
how can i shell only this part of dialer.exe ? when clicking on a button? and the phone number is written in a textbox
http://img59.imageshack.us/img59/9229/90875736.jpg
:wave:
Re: Dialer[.]exe discussion
Shelling Dialer.exe is IMO low grade so lets stick with MSComm. The code that I posted lacked a vbCrLf at the end of the AT Command. I modified it the day that I posted it but you may not have caught it. It should look like this.
Code:
Private Sub Command1_Click()
MSComm1.CommPort = 3 ' Change to the port you're using!
MSComm1.PortOpen = True
MSComm1.Output = "ATDT" & Text1.Text & vbCrLf
End Sub
Note: I changed the port to COM3 because Windows internal modem usually defaults to COM3. Make sure that your internal modem settings have the speaker turned on, so you can hear it dialing.
BTW, dialing is one of the easiest things you can do with MSComm. ;)
Re: Dialer[.]exe discussion
Hi,
im getting Invalid Port Number. Can i send you a PM please?
Re: Dialer[.]exe discussion
You haven't stated whether you're using an internal or external modem or virtual or real serial ports. Your Device Manager will list your ports. If you're using the internal modem the Device Manager will list the port it's assigned to.
I do not answer topics via PM's.