Re: Show images from resources in webbrowser component in c#
- From: "Peter Foot [MVP]" <feedback@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 16:13:05 +0100
If the resources are native file resources, you should be able to use the
res: protocol for the src urls. If the images are within a managed assembly
they aren't exported in this way. The only workaround at the moment would be
to temporarily write the images to a file, then delete them when you've
finished with them.
Peter
--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org
"Roland Hochmann" <r.hochmann@xxxxxxxxxxxxxx> wrote in message
news:4301fa60.30414343@xxxxxxxxxxxxxxxxxxxxx
> Sorry I deleted one line in first message...
>
> Hi all,
>
> we use the webbrowser control from Peter Foot (Opennetcf) to show
> offline content on PPC.
>
> We load alot of images inform of "imgsrc" statements from file.
>
> But we only can show them when loading from file, how can I load them
> from resources?
>
> Can Iextend the Control for that use?
>
> Our system is: VS 2003, c# with OpenNETCF for Pocket PC 2003
>
> best regards
>
> Roland Hochmann
>
>
> On Tue, 16 Aug 2005 14:34:07 GMT, r.hochmann@xxxxxxxxxxxxxx (Roland
> Hochmann) wrote:
>
>>Hi all,
>>
>>we use the webbrowser control from Peter Foot (Opennetcf) to show
>>offline content on PPC.
>>
>>But we only can show them when loading from file, how can I load them
>>from resources?
>>
>>Can Iextend the Control for that use?
>>
>>Our system is: VS 2003, c# with OpenNETCF for Pocket PC 2003
>>
>>best regards
>>
>>Roland Hochmann
>
.
- Follow-Ups:
- Re: Show images from resources in webbrowser component in c#
- From: Roland Hochmann
- Re: Show images from resources in webbrowser component in c#
- References:
- Show images from resources in webbrowser component in c#
- From: Roland Hochmann
- Re: Show images from resources in webbrowser component in c#
- From: Roland Hochmann
- Show images from resources in webbrowser component in c#
- Prev by Date: Bitmap + .Net Compact Framework
- Next by Date: Check for connection ?
- Previous by thread: Re: Show images from resources in webbrowser component in c#
- Next by thread: Re: Show images from resources in webbrowser component in c#
- Index(es):
Relevant Pages
|