Posted 16 September 2017, 6:17 am EST
Hi,
I have a cell in flexgrid 7.0, which contain email address of employee. Can I open email client (outlook in my case) when user double click the cell text.
Please send me a sample code.
Thanks in advance.
Forums Home / ComponentOne / ActiveX Edition
Posted by: newsgroup_archive on 16 September 2017, 6:17 am EST
Posted 16 September 2017, 6:17 am EST
Hi,
I have a cell in flexgrid 7.0, which contain email address of employee. Can I open email client (outlook in my case) when user double click the cell text.
Please send me a sample code.
Thanks in advance.
Posted 16 September 2017, 6:17 am EST
I found this solution:
Private Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Dim sdata as string
sdata = “mailto:suhant@aol.com”
ShellExecute Me.hwnd, “open”, sData, _
vbNullString, vbNullString, 1
Is there any better way of doing…pls. let me know.
“Sushant” wrote:
>
>Hi,
>
>I have a cell in flexgrid 7.0, which contain email address of employee. Can I open email client (outlook in my case) when user double click the cell text.
>
>Please send me a sample code.
>
>Thanks in advance.
>
>
Posted 28 July 2022, 5:11 pm EST
Double-clicking a message to open a new window or tab is a normal operation. If you have the Message Pane turned on a single click will display the message there. Pressing F8 toggles the message pane on and off. Double-clicking a message to open a new window or tab is a normal operation.
This May Work, Peter