VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Launch the Windows Mail Control panel GUI

by Anonymous (267 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Sun 27th December 1998
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Launch the Windows Mail Control panel GUI

Rate Launch the Windows Mail Control panel GUI



Dim vRetval As Double

'Setup the string to receive the name of the system directory
strSysDirPath = String$(145, Chr$(0))
strSysDirPath = Left$(strSysDirPath, GetWindowsDirectory(strSysDirPath, Len(strSysDirPath)))

'Run the Mail Control Panel
vRetval = Shell(strSysDirPath & "\control.exe mlcfg32.cpl", 1)

'Do the rest of your work here. Note: Most developers will
'likely want to pause their application here until returning from
'the Control Panel
MsgBox vRetval


Download this snippet    Add to My Saved Code

Launch the Windows Mail Control panel GUI Comments

No comments have been posted about Launch the Windows Mail Control panel GUI. Why not be the first to post a comment about Launch the Windows Mail Control panel GUI.

Post your comment

Subject:
Message:
0/1000 characters