Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Сети";
Текущий архив: 2003.02.03;
Скачать: [xml.tar.bz2];

Вниз

Как получить HTML код   Найти похожие ветки 

 
pwlusa   (2002-12-05 06:52) [0]

Мне необходимо чтобы моя программа вытаскивала с определенного сайта html код, и записывала его например в Memo.
Спасибо заранее!


 
Song   (2002-12-05 08:19) [1]

NMHTTP.Get()


 
pwlusa   (2002-12-05 12:45) [2]

Если можно подробнее.


 
Reindeer Moss Eater   (2002-12-05 13:55) [3]

Подробнее чем это уже нельзя


 
pwlusa   (2002-12-06 06:32) [4]

Ну пример то можно написать?


 
Reindeer Moss Eater   (2002-12-06 09:14) [5]

NMHTTP.Get(Your_URL_String)


 
pwlusa   (2002-12-06 10:10) [6]

Это я понял уже. Как мне перенести текст в Memo?


 
Reindeer Moss Eater   (2002-12-06 10:14) [7]

У мемо есть свойство Lines.
У свойства Lines есть свойство Text и методы Add,AddStrings

С их помощью можно управлять содержимым Memo
Например Memo1.Lines.Text:="Ля Ля Ля";


 
Anatoly Podgoretsky   (2002-12-06 10:15) [8]

А чем пример от Song © (05.12.02 08:19) не устраивает, может тебе пока подождать с программированием?


 
Song   (2002-12-06 10:32) [9]

Applies to
TNMHTTP component

Declaration
procedure Get(URL: string); virtual;

Description
The Get method retrieves the document specified by the URL parameter.

If InputFileMode is TRUE, the document retrieved by the Get method is stored in the file that is specified by the Body property, and the header is stored in the file that is specified by the Header property.

If InputFileMode is FALSE, the document retrieved by the Get method is stored in the Body property as a string. The header is stored in the Header property as a string.

Parameters:
The URL parameter specifies the document to retrieve.

Note:
If the operation is successful, the OnSuccess event is called, passing CmdGET as the Cmd para

До сих пор не понятно?


 
Kornet   (2002-12-06 13:40) [10]

Есть хороший пример: $DELPHI_ROOT\Demos\FastNet\Http


 
Stef   (2002-12-09 22:04) [11]

aaaaaa



Страницы: 1 вся ветка

Форум: "Сети";
Текущий архив: 2003.02.03;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.01 c
1-4877
Nikolay Enby
2003-01-24 22:35
2003.02.03
TNotifyIconData


14-5234
Sergey13
2003-01-15 13:31
2003.02.03
Возможен ли в России культ личности ВВП?


1-4952
Shicoy
2003-01-26 21:48
2003.02.03
Преобразование строки


1-4909
Kokopelli
2003-01-24 14:55
2003.02.03
Второй экземпляр проложения...


3-4818
Сергей Крылов
2003-01-17 16:33
2003.02.03
Настройка парметров BDE





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский