Home All Groups Group Topic Archive Search About

VB.NET Problem: Setting the Mask and Picture Properties on a CommadBar without "LoadPicture"???

Author
6 Dec 2006 9:09 PM
samadams_2006
Hello,

I'm using "Visual Studio 2005" and VB.NET to be more exact.  I have the
following article which shows me how to set the mask and picture
properties for Office XP Commandbars:

http://support.microsoft.com/kb/286460/

The issue is the fact that this article is for Visual Basic 6 and I'm
running VB.NET.  The program fails to compile due to the LoadPicture
Method.

Is there anyone who has resolved this issue in VB.NET, namely applying
a Picture and a Mask on a CommandBar ?

Thanks
Sam

Author
7 Dec 2006 1:23 AM
Ken Tucker [MVP]
Hi,

http://support.microsoft.com/kb/824017

Ken
----------------------
<samadams_2***@yahoo.ca> wrote in message
Show quoteHide quote
news:1165439387.930372.226670@l12g2000cwl.googlegroups.com...
>
> Hello,
>
> I'm using "Visual Studio 2005" and VB.NET to be more exact.  I have the
> following article which shows me how to set the mask and picture
> properties for Office XP Commandbars:
>
> http://support.microsoft.com/kb/286460/
>
> The issue is the fact that this article is for Visual Basic 6 and I'm
> running VB.NET.  The program fails to compile due to the LoadPicture
> Method.
>
> Is there anyone who has resolved this issue in VB.NET, namely applying
> a Picture and a Mask on a CommandBar ?
>
> Thanks
> Sam
>