-----Original Message-----
What code do i need to use if i want to call my default
web browser from vb.net and mail client?
.
in visual basic you can write this code
'//SHELLEXECUTE:The ShellExecute
'function opens or prints a specified file.
'The file can be an executable file or a
'document file.
'//SW_SHOWNORMAL = 1:Activates and displays a
'window. If the window is minimized or
'maximized, Windows restores it to its
'original size and position. An application
'should specify this flag when displaying the
'window for the first time.
Public Sub Label1_Click()
'//ShellExecute(
'hwnd>> handle to parent window
'lpOperation>> pointer to string that specifies operation
to perform
'lpFile>> pointer to filename or folder name string
'lpParameters>> pointer to string that specifies
executable-file parameters
'lpDirectory>> pointer to string that specifies default
directory
' nShowCmd>>whether file is shown when opened
')
ShellExecute hwnd, vbNullString, "www.microsoft.com" _
, vbNullString, vbNullString, SW_SHOWNORMAL
End Sub