Re: Ad Rotator Windows Form by Dmytro
Dmytro
Tue Apr 26 02:09:40 CDT 2005
Well, IE anyway uses ActiveX controls to display these types of content, so
your control can do the same. More than that, you will most likely have to
author beforehand (or create dynamically) HTML placeholders for Flash files
or multimedia content if you want to show them in the Browser control.
Why I am so strongly recommend against hosting the browser control is just
because many people complain about a lot of hassle this involves. Just think
that if the user right-clicks over your AD rotator panel, the IE's pop-up
menu will be displayed and the user will be able to do whatever s/he is able
to do in that menu in real IE. The hot keys like F5 will also be intercepted
by the Browser control.
There *are* ways to prevent this, but you should be brave enough to delve
deeply into murky waters of advanced COM interop.
--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"SouthSpawn" <southspawn@aol.com> wrote in message
news:d6c0fd259fc79942ad88560dbe7fb5dd@localhost.talkaboutsoftware.com...
> Dmytro,
>
> I ponder that idea, but there might be times where the ad might be a flash
> file, mpeg movie, or other type of content. Therefore a picture box
> control
> wouldn't be the best approach. Any suggestions?
>
> Mark
>