VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



emails someone, open webpage or opens file from command button

by Tony [email protected] (8 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 15th June 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

emails someone, open webpage or opens file from command button

Rate emails someone, open webpage or opens file from command button



' emails someone
ShellExecute hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, conSwNormal
'open webpage 
ShellExecute hwnd, "open", "http://sparalwww.google.com", vbNullString, vbNullString, conSwNormal
'Open file
ShellExecute hwnd, "open", "file://c:\file.txt", vbNullString, vbNullString, conSwNormal

Download this snippet    Add to My Saved Code

emails someone, open webpage or opens file from command button Comments

No comments have been posted about emails someone, open webpage or opens file from command button. Why not be the first to post a comment about emails someone, open webpage or opens file from command button.

Post your comment

Subject:
Message:
0/1000 characters