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

Вниз

WebBrowser   Найти похожие ветки 

 
viol-2   (2002-03-06 14:58) [0]

Как загрузить рисунки при загрузке файла из streama???


 
Zak   (2002-03-25 14:55) [1]

Тоже такая же проблема...
Я пока что делаю так:
создаю на диске файлы.. и уже их загружаю :) хы...
Хотел бы знатьможет можно как нижь по другому?!


 
kig   (2002-03-26 19:44) [2]

Смотрите в MSDN описание к Asynchronous Pluggable Protocols.


 
Ghost.   (2002-03-27 09:11) [3]

Чета несовсем понятно..куда нужно загрузить рисунки?


 
Ghost.   (2002-03-27 09:13) [4]

Виноват..поспешил непрочел заголовок


 
YP   (2002-03-27 11:00) [5]

To Kig. Извиняюсь за невежество, Async. Plug. Pro. (ASP) позволяет описать свой собственный формат данных, который будет понимать IE? Т.е. можно будет подпихивать IE страницы и их элементы в обход HTTP? Т.е.IE не будет открывать сокеты, соединяться с сервером и слать ему GET и др., точнее, IE можно заставить все это не делать?
Я правильно понял?


 
kig   (2002-03-28 16:12) [6]

То YP
Именно так (только APP; ASP - ассоциации сразу с Active Server Page). Собственный формат - именно так работает просмоторщик CHM - тот же MSDN.

Вот выдержки из MSDN по поводу APP:

"Asynchronous pluggable protocols enable developers to create pluggable protocol handlers, MIME filters, and namespace handlers that work with Microsoft® Internet Explorer 4.0 and later and a URL moniker. This article covers the pluggable protocol functionality exported by the Urlmon.dll dynamic-link library (DLL). For information about the other APIs exported by the Urlmon.dll, see the URL Monikers and URL Security Zones articles.

...

Benefits
Applications can use pluggable protocol handlers to handle a custom Uniform Resource Locator (URL) protocol scheme or filter data for a designated MIME type.

The ability to handle a custom URL protocol scheme using a pluggable protocol handler allows developers to implement new or custom protocol schemes for Internet Explorer 4.0 (and later) and for applications that use URL monikers. The default pluggable protocol handler included with Internet Explorer handles existing protocol schemes, such as HTTP and FTP.

Pluggable MIME filters can be used to filter data for a particular MIME type. Unlike standard pluggable protocol handlers and pluggable namespace handlers, which only provide data, pluggable MIME filters both read and provide data. The pluggable MIME filter"s implementation of the IInternetProtocolSink interface reads the data downloaded by the pluggable protocol handler. After the data has been processed, the pluggable MIME filter"s implementation of IInternetProtocol allows the system to retrieve the processed data.

Scenarios
Let"s say that a new protocol scheme has been introduced and your company wants to provide support for users of Internet Explorer 4.0 and later. Pluggable protocols allow you to provide a new protocol handler that will be called for any requests that use the new protocol scheme.
...

About URLs and Namespaces
A URL follows the syntax described in RFC 1738, which specifies a protocol scheme followed by a scheme-specific portion (<scheme>:<scheme-specific portion>). For example, in the URL http://www.microsoft.com/, "http" is the scheme and "//www.microsoft.com/" is the scheme-specific portion.

The beginning section of the scheme-specific portion of the URL contains the server name. This portion of the URL is often referred to as the URL namespace.

About Pluggable Protocols
Internet Explorer uses two mechanisms for registering new URL protocol handlers. The first method is to register a URL protocol and its associated application so that all attempts to navigate to a URL using that protocol launch the application (for example, registering applications to handle mailto: or news: URLs). The second method uses the Asynchronous Pluggable Protocols API, which allows you to define new protocols by mapping the protocol scheme to a class.

Asynchronous pluggable protocols offer three ways to map a protocol scheme to a class:

Permanently registering an asynchronous pluggable protocol handler in the registry. The handler is used for any URLs with the specified scheme (such as HTTP, FTP, and so on).
Temporarily registering a pluggable namespace handler. The handler is used for any URLs with a particular protocol scheme.
Permanently or temporarily registering a MIME filter. The handler manipulates the data stream it receives and returns a data stream for any resources of the specified MIME type
..."


Т.е в свой программе можно перекрыть известные схемы (HTTP, FTP и т.д.) и предоставлять данные по запросам IE своим путем - ну например читая все с из файлов с зашифрованными данными. (HELP CHM так и делает - только у него данные сжаты).

Так же можно регристрировать собственные схемы - типа MyHTTP...

Ну и собственные MIME фильтры...



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

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

Наверх





Память: 0.47 MB
Время: 0.079 c
1-30755
Толик
2002-05-30 12:25
2002.06.10
Application.Title


4-31035
mixVictor
2002-04-05 23:49
2002.06.10
Установка курсора


1-30874
Dishar
2002-05-28 23:20
2002.06.10
PageControl и TabSheet...


1-30859
Erlan
2002-05-29 15:20
2002.06.10
Насчет Bitmap


3-30728
sanilo
2002-04-24 10:28
2002.06.10
DBGrid&CheckBox





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский