Ok here’s my question… I’m trying to create a simple form with a listview box that has a few selections in it for simple administrative commands for the end users at my company. The problem I am having is trying to bring up the Windows Users And Password Control panel in Windows 2000 using Visual Basic 6.0SP4… The line of code that I have used is:
Private Sub autosizelabel_DblClick()
Dim dblReturn As Double
If autosizelabel.SelectedItem = “Change Your Windows Password” Then
dblReturn = Shell(“rundll32.exe shell32.dll,Control_RunDLL password.cpl”, 5)
End If
End Sub
When Double-Clicked the command does not execute, not even an vb runtime error message is displayed. I have looked through the Registry for anything .cpl and have come to a dead end. Any suggestions?
Thanks,
Paul Friedrichsmeyer
paulfr2@home.com