Dim strSysDirPath As String
Dim vRetval As Double Private Sub Form_Load()
'Setup the string to receive the name of the system directory
strSysDirPath = String$(145, Chr$(0))
strSysDirPath = Left$(strSysDirPath, _
GetSystemDirectory(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 End Sub这是MSDN里的东东。:)
Dim vRetval As Double Private Sub Form_Load()
'Setup the string to receive the name of the system directory
strSysDirPath = String$(145, Chr$(0))
strSysDirPath = Left$(strSysDirPath, _
GetSystemDirectory(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 End Sub这是MSDN里的东东。:)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货