|
-
Apr 18th, 2008, 04:01 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] How can i get the current ie home page in text1?
How can I get the current "IE" home page to read out in text1 .
Live life to the fullest!!
-
Apr 18th, 2008, 04:19 PM
#2
Fanatic Member
Re: How can i get the current ie home page in text1?
Code:
Private Function ReadKey(Value As String) As String
Dim b As Object
On Error Resume Next
Set b = CreateObject("wscript.shell")
r = b.RegRead(Value)
ReadKey = r
End Function
Private Sub cmdShowHomePage()
Text1.Text = ReadKey("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page")
End Sub
-
Apr 18th, 2008, 04:36 PM
#3
Thread Starter
Fanatic Member
Re: How can i get the current ie home page in text1?
thank you that works great !!!
 Originally Posted by GRPsuper9
Code:
Private Function ReadKey(Value As String) As String
Dim b As Object
On Error Resume Next
Set b = CreateObject("wscript.shell")
r = b.RegRead(Value)
ReadKey = r
End Function
Private Sub cmdShowHomePage()
Text1.Text = ReadKey("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page")
End Sub
Live life to the fullest!!
-
Apr 18th, 2008, 04:38 PM
#4
Fanatic Member
Re: How can i get the current ie home page in text1?
Yap, no problem . Give me some Rep+ if u want
-
Apr 18th, 2008, 05:23 PM
#5
Fanatic Member
Re: How can i get the current ie home page in text1?
Please mark this threat as Resolved when you get the chance.
-
Apr 18th, 2008, 09:22 PM
#6
Thread Starter
Fanatic Member
Re: [RESOLVED] How can i get the current ie home page in text1?
Live life to the fullest!!
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
|