Link to home
Create AccountLog in
Avatar of Norm-al
Norm-alFlag for United States of America

asked on

Dial a phone number from delphi grid

I have a grid that is launched in the field as one of our mobile apps that users access via VPN and RDP connections. One of the features we have is a single click to launch email client. Can I do something similar and clicking on a phone number launches the local machine's phone client? How?
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
There is Async Professional components or Dial - Up component at Torry which can help you if you have modem and if you wan to dial directly.

Try this example to run default: http://www.swissdelphicenter.ch/torry/showcode.php?id=1943
Avatar of rinfo
rinfo

I think what you need to do is to check if cell click was on the phone number column.
If it is get the cell value which is phone number.
Then call the dialing client passing the phone number as the parameter. You would need shell execute function to start phone client exe.
Avatar of Norm-al

ASKER

@rinfo
How do I "call the dialing client passing the phone number as the parameter. You would need shell execute function to start phone client exe."

Users are accessing the grid via VPN and RDP connection. Once they click on a phone number, i need it to pass that via VPN/RDP somehow and determine local phone client to start.

??
Do you mean clients are running application on their system which has a grid having a column containing phone numbers.In that case as suggested by other experts you need to create service in the server( system to which clients rpd)  which will respond to client request for dialing a particular number.
A pointer in this direction is the following articles.
http://www.lnssoftware.ca/blog/?p=149
try and understand and adopt it for your requirement.
your in a rdp session ?
impossible

you'll need to connect in a different way
the program on the rdp accesses data > access this date directly, not using rdp
> the vpn is still an option, not the rdp