PC Review


Reply
Thread Tools Rate Thread

Bitmap.FromHicon

 
 
Urs Vogel
Guest
Posts: n/a
 
      22nd May 2004
Hi

I tried to load icons from the url.ddl or shell32.dll using the
Bitmap.FromHicon() method, but since the samples for this method in the MSDN
Library don't work, I couldn't figure out how to achieve this. I need this
for the favorites lists in an embedded browser in our app.

Any samples or hints of how to load an icon by image index from an existing
DLL ?

If an icon name must be supplied, hints of how to retrieve the resource
names from a DLL would be appreciated, too.

Thanks, Urs


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      22nd May 2004
* "Urs Vogel" <(E-Mail Removed)> scripsit:
> I tried to load icons from the url.ddl or shell32.dll using the
> Bitmap.FromHicon() method, but since the samples for this method in the MSDN
> Library don't work, I couldn't figure out how to achieve this. I need this
> for the favorites lists in an embedded browser in our app.


<URL:http://vbaccelerator.com/article.asp?id=4567>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Urs Vogel
Guest
Posts: n/a
 
      22nd May 2004
Thx

"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> * "Urs Vogel" <(E-Mail Removed)> scripsit:
> > I tried to load icons from the url.ddl or shell32.dll using the
> > Bitmap.FromHicon() method, but since the samples for this method in the

MSDN
> > Library don't work, I couldn't figure out how to achieve this. I need

this
> > for the favorites lists in an embedded browser in our app.

>
> <URL:http://vbaccelerator.com/article.asp?id=4567>
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'System.Drawing.Bitmap.Bitmap()' Error Fir5tSight Microsoft Dot NET 7 23rd Jun 2006 11:44 AM
copy a portion of a bitmap to another bitmap (via picturebox or other method) ? Mad Scientist Jr Microsoft VB .NET 2 31st Jan 2005 02:26 PM
Extract portion of a bitmap to display, not entire bitmap. Alex Gray Microsoft C# .NET 2 22nd Feb 2004 01:42 PM
Question on how to access bitmap: Public Function getBitmap() As Bitmap Michael Murphy Microsoft VB .NET 2 7th Oct 2003 01:54 PM
extract OLE bitmap from table and save as a bitmap file Brett Rawcliffe Microsoft Access 1 19th Jul 2003 03:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:15 AM.