|
-
Jun 28th, 2000, 01:26 PM
#1
Thread Starter
Member
I'm having a problem ,
using vb5 I'm trying to map a network drive
using explorer. It works fine until the
(Map Network Drive) window opens then that
window doesn't recognize the commands.
The only thing I can think of is the problem
is that' That window is not linked to an .exe file.
-
Private Sub Form_Load()
Dim i
i = Shell("c:\windows\explorer.exe", 3) ' 3=maximized
SendKeys "%TN", True ' Opens the (Map)
' window fine
SendKeys "%P", True
OR ' Neather one of these work to change focus
SendKeys "{TAB}", True
End
End Sub
-
-
Also I haven't figured out how to send
three held down keys such as Crtl+Alt+Del
to shut down or reboot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|