Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

Start e-mail client

Does anybody know how to start the standard e-mail client and fill in a typical e-mail in VB6.

something like "sendto:test@test.com" in flash
1 Solution
Éric MoreauSenior .Net ConsultantCommented:
Use this:

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

Call ShellExecute(me.Hwnd, "open", "mailto:test@test.com", vbNullString, vbNullString, 1)

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now