|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VB6 and Inet1
i am using Inet1 to capture the source code of a page by saying:
Quote:
but for some reason the code is being cut off and it does not show the whole page. |
|
#2
|
||||
|
||||
|
try to debug the code: where is it being cut off? is it after certain amount
of characters? what about other websites? what is the length of the output? |
|
#3
|
|||
|
|||
|
Quote:
The code is being cut at the same line every time the code is: <li class="menuHomeHovered"><a href i set it to read a different site and it put all of the code in. the output length is 2531 Characters. 63 lines |
|
#4
|
||||
|
||||
|
does any of the other sites have more than 2531 characters in the output?
have you tried showing the site output in message box or other control than RichTextBox? |
|
#5
|
|||
|
|||
|
Quote:
i set it to read a site and i got from <html> to </html> total characters = 9232. i have done richtextbox and a normal text box. the reason i am doing this is so i can locate a line to see if there is an update and i was going to use instr. but if there is another way... |
|
#6
|
||||
|
||||
|
very weird. maybe connection problem: when you browse to that URL
with your browser, do you see correct contents? do you have delay? |
|
#7
|
|||
|
|||
|
no delay and it loads just find. all pics are there and everyting
|
|
#8
|
|||
|
|||
|
i dont know if this is what you mean, but i do have a delay from when the page loads to when i get the source code.
|
|
#9
|
|||
|
|||
|
i found out if i put a refresh the browser right before i get the source code it pulls all of it, but the thing is it is a php site and there are hidden values, which means i get an alert and i want this to be remote. so i got to send in enter or something. any help on that would be nice as well
|
|
#10
|
||||
|
||||
|
I really don't know. if you say other websites are fine, it means the
problem is local to yahoo website only.. try with other components of VB, as far as I know you have XmlHttp as well. |
|
#11
|
|||
|
|||
|
ok, thank you for your help
|
|
#12
|
||||
|
||||
|
Quote:
![]() |
|
#13
|
|||
|
|||
|
I'd use the webbrowser control rather than the inet control. Maybe the inet control has some problem linking to the external stylesheet. Also I don't think an rtf control understands stylesheets.
I use the webbrowser control and haven't run across any websites that don't display properly in a VB form webbrowser window.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > VB6 and Inet1 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |