|
-
Jun 15th, 2010, 01:24 PM
#1
Thread Starter
Fanatic Member
-
Jun 15th, 2010, 01:26 PM
#2
Thread Starter
Fanatic Member
Re: Dialer[.]exe discussion
Hi
is there something called excel dialer in MS Excel?
Last edited by chunk; Jun 15th, 2010 at 01:35 PM.
-
Jun 15th, 2010, 07:48 PM
#3
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
Last edited by CDRIVE; Jun 16th, 2010 at 08:23 AM.
Reason: Forgot vbCrLf
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Jun 15th, 2010, 09:59 PM
#4
Thread Starter
Fanatic Member
Re: Dialer[.]exe discussion
 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
-
Jun 15th, 2010, 10:12 PM
#5
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.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Jun 15th, 2010, 10:17 PM
#6
Thread Starter
Fanatic Member
Re: Dialer[.]exe discussion
 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.
-
Jun 16th, 2010, 11:18 PM
#7
Re: Dialer[.]exe discussion
If you insist on accessing the windows dialer via VB then Shell it. I don't see the point though.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Jun 22nd, 2010, 10:26 PM
#8
Thread Starter
Fanatic Member
Re: Dialer[.]exe discussion
 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

-
Jun 23rd, 2010, 09:06 AM
#9
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.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
-
Jun 23rd, 2010, 11:25 PM
#10
Thread Starter
Fanatic Member
Re: Dialer[.]exe discussion
Hi,
im getting Invalid Port Number. Can i send you a PM please?
-
Jun 24th, 2010, 07:31 AM
#11
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.
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
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
|