| imho.ws |
![]() |
|
|
|
# 1 |
|
Member
Регистрация: 29.10.2002
Адрес: Estonia
Сообщения: 270
![]() |
Visual Basic & Reading HTML code from URL???
voobshem mne nado schitat' - HTML dokument ot nachala do konca i pomestit' ego v peremennuju
ispol'zuju dlja e'togo - Inet1.OpenURL "http://....", icString no on schitqvaet tol'ko pervye - 1238 simvolov a v drugom sluchae Inet1.OpenURL "http://...." Inet1.GetChunk (99999) - no ego tozhe do konca fajla ne hvataet =( proshu pomoshi!!
__________________
|
|
|
|
|
# 2 |
|
МОД-Оператор ЭВМ
Регистрация: 18.04.2002
Адрес: Питер
Сообщения: 4 343
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Код:
Dim strURL As String
Dim bData() As Byte ' Data variable
Dim intFile As Integer ' FreeFile variable
strURL = _
"ftp://ftp.microsoft.com/Softlib/Softlib.exe"
intFile = FreeFile() ' Set intFile to an unused
' file.
' The result of the OpenURL method goes into the Byte
' array, and the Byte array is then saved to disk.
bData() = Inet1.OpenURL(strURL, icByteArray)
Open "C:\Temp\Softlib.exe" For Binary Access Write _
As #intFile
Put #intFile, , bData()
Close #intFile
|
|
|
|
|
# 3 |
|
Member
Регистрация: 29.10.2002
Адрес: Estonia
Сообщения: 270
![]() |
RaZEr
Код:
Dim strURL As String
Dim bData() As Byte ' Data variable
Dim intFile As Integer ' FreeFile variable
strURL = "http://superchat.ee/"
intFile = FreeFile() ' Set intFile to an unused
' file.
' The result of the OpenURL method goes into the Byte
' array, and the Byte array is then saved to disk.
bData() = Inet1.OpenURL(strURL, icByteArray)
Open "C:\index.htm" For Binary Access Write _
As #intFile
Put #intFile, , bData()
Close #intFile
NB!! - mne nado schitat' imenno HTML code!
__________________
|
|
|
|
|
# 5 |
|
Member
Регистрация: 29.10.2002
Адрес: Estonia
Сообщения: 270
![]() |
RaZEr
da mail.ru chitaet - no problemma v tom chto mne imenno tot nado schitat' - i ja ne mogu ponjat' v chem problemma !? kak-to ved' mozhno - tem bolee esli sozdavat' InternetBrowser - to on ego v okoshke otkrqvaet - a mne nuzhno poluchit' Source =(
__________________
|
|
|