About
Pricing
Community
Teams
Start Free Trial
Log in
isnoend2001
asked on
7/20/2008
close windows explorer window from vb
How can i close a windows explorer window from vb
Visual Basic Classic
7
1
Last Comment
isnoend2001
8/22/2022 - Mon
Mike Tomlinson
7/20/2008
What version VB?..
isnoend2001
7/20/2008
ASKER
vb6 sp6
zzzzzooc
7/20/2008
Project -> References -> "Microsoft Internet Controls"
Private Sub Command1_Click()
Dim sw As New ShellWindows
Dim s As InternetExplorer
For Each s In sw
If (s.LocationName = "Control Panel") Then
s.Quit
End If
Next
End Sub
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
ema20
7/20/2008
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
isnoend2001
7/20/2008
ASKER
zzzzzooc: not internet explorer, windows explorer
ema20:
I will check your solutation in the AM, gotta sleep
zzzzzooc
7/21/2008
>>not internet explorer, windows explorer
They are both shell-windows.
isnoend2001
7/22/2008
ASKER
thanks that works
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.