|
-
May 11th, 2005, 09:52 AM
#1
Thread Starter
New Member
How do I create a MIME viewer for IE in VB6?
Hi
I've searched high and low on the net to figure out how to make an MIME viewer in VB 6.0 (as an activex dll) but I can't find any good examples/tutorials on this topic.
I have covered a lot docs on MIME handling in IE, so registry settings and the mechanisms surrounding MIME is covered.
Making ActiveX dll's in VB is not a problem either.....
Specificly I'm trying to make an tiff viewer, I've got an image control that will be hosted by this activex.
O yes, I do know theres a lot of tif viewers on the market as an alternative, but this is not the issue at this point.
The scenario is:
A web server is (IIS w/asp pages) is returning a binary stream w/Response.BinaryWrite and Response.ContentType = "image/tiff", other MIME types might also be implemented (home made ones with application/.... is also a feature needed, thats the reason for building one instead of buying one in the first case)
My real headache is the following.
When IE has resolved the MIME type through the local registry settings, and found my activex dll, what kind of interface should I use to catch the incoming data stream ??? I guess it's passed through the OLE interface somehow, but how/where ? Or am I on a wild goose chase here ??? Is this only achieveable in VC++ (as ATL/COM lib)
I do have examles on this in VC++, but then, I'm quite more experienced in VB than VC++.
Any examples, ref sites, information is greatly appreciated.
Thanks in advance....
IvarL :-)
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
|