|
-
Apr 7th, 2004, 05:16 AM
#1
Thread Starter
Lively Member
-
Apr 7th, 2004, 06:25 AM
#2
Set a reference to Microsoft Internet Controls
VB Code:
Private Sub Command1_Click()
Dim ies As SHDocVw.ShellWindows
Dim ie As SHDocVw.InternetExplorer
Set ies = New SHDocVw.ShellWindows
For Each ie In ies
ie.Refresh
Next
Set ies = Nothing
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 7th, 2004, 06:43 AM
#3
Thread Starter
Lively Member
Hi, thank you for the quick reply, but i tryed the code above, but i got an error as stated below
Compile error:
User-defined type not defined
im guess its becasue i dont know how to "Set a reference to Microsoft Internet Controls"
does this mean add the componets "rosoft Internet Controls"?
if so, i already did that. if i may ask, could you walk me thru this procress, please?
Julie Luvs

-
Apr 7th, 2004, 06:55 AM
#4
Above the Components menu (Project->Components), there is a References menu, which brings up your reference list. References are a bit different than components.
You must add the reference to Microsoft Internet Controls, not the component, in order for that code to work. Although having both should cause no problems.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2004, 11:24 PM
#5
Thread Starter
Lively Member
-
Apr 13th, 2004, 07:29 AM
#6
Thread Starter
Lively Member
anyone?
Julie Luvs

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
|