|
-
Oct 1st, 2000, 03:54 AM
#1
Hi,
When I try to follow the link of a web page:
string = "http://jump.altavista.com/rs.go?Sony+digital+camera&pg=q&qe"
b = inet1.openurl(string)
I get "string" from the hyperlink property of the link.
But when I try to run the program it says that the URL is malformed.
Does anyone know why?
-
Oct 1st, 2000, 04:04 AM
#2
Fanatic Member
Don't use string as a variable name.
-
Oct 1st, 2000, 11:29 AM
#3
Actually I didn't use string as variable name, I used
a as the variable name for the string.
Funny thing is that when I call webbrowser1.navigate a, it works, but when i use inet.openurl(a) it won't - uRL is malformed.
-
Oct 1st, 2000, 12:17 PM
#4
Try this:
Code:
Private Sub Command1_Click()
theURL = Inet1.OpenURL("http://jump.altavista.com/rs.go?Sony+digital+camera&pg=q&qe", icString)
ReturnStr = Inet1.GetChunk(2048, icString)
Do While Len(ReturnStr) <> 0
DoEvents
theURL = theURL & ReturnStr
ReturnStr = Inet1.GetChunk(2048, icString)
Loop
End Sub
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
|