Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Command bar button FaceID Icon

Geek News

Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/8/2006 1:52:21 PM
I know that Command bar button have property FaceId, and if i assign
this property to some value (472 for example) an icon appears. Is it
possible to register my icon in system somehow, so it would have an Id?

thanks a lot

Donald

Re: Command bar button FaceID Icon
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/8/2006 2:34:49 PM
No. For putting your own icon (actually a 16x16x256 color BMP file) on a
button you use the .PasteFace method for Outlook 2000 or later or the .Mask
and .Picture properties for Outlook 2002 or later.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139406741.639870.270330[ at ]g14g2000cwa.googlegroups.com...
[Quoted Text]
>I know that Command bar button have property FaceId, and if i assign
> this property to some value (472 for example) an icon appears. Is it
> possible to register my icon in system somehow, so it would have an Id?
>
> thanks a lot
>
> Donald
>

Re: Command bar button FaceID Icon
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> 2/8/2006 2:55:13 PM
You can't technically create a new face id for a custom icon. What you can
do is use the PasteFace to paste a new image from the clipboard to the
button. Here are some links that could get you pointed in the right
direction.

http://www.rdpslides.com/pptfaq/FAQ00495.htm

http://hacks.oreilly.com/pub/h/2553
http://www.c-sharpcorner.com/UploadFile/amit_agrl/AddingPictureToButtonOnOutLookCommandBar.doc08242005065744AM/AddingPictureToButtonOnOutLookCommandBar.doc.aspx?ArticleID=cd482428-0d39-4a7a-957a-2b57677c1e79

http://msdn2.microsoft.com/ms268747.aspx


Regards,

Thaddaeus
"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139406741.639870.270330[ at ]g14g2000cwa.googlegroups.com...
[Quoted Text]
>I know that Command bar button have property FaceId, and if i assign
> this property to some value (472 for example) an icon appears. Is it
> possible to register my icon in system somehow, so it would have an Id?
>
> thanks a lot
>
> Donald
>


Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/8/2006 3:11:53 PM
i going this in outlook 2003

trying with this code in a COM add-in for outlook 2003 but it doesn't
work becuase it doesn't find the command LoadPicture.

Any help please

Donald

Sub DisplayNewImage( )
Dim cbar As CommandBar
Dim cbarctrl As CommandBarControl
Dim pImage As IPictureDisp
Dim pMask As IPictureDisp
Dim sImageFile as String
Dim sMaskFile as String

sImageFile = "C:\Documents and Settings\My Documents\tarsier.bmp"
sMaskFile = "C:\Documents and Settings\My Documents\mask.bmp"

Set cbar = CommandBars.Add(Name:="My Picture",
Position:=msoBarFloating)

Set cbarctrl = cbar.Controls.Add(Type:=msoControlButton)
Set pImage = stdole.StdFunctions.LoadPicture(sImageFile)
Set pMask = stdole.StdFunctions.LoadPicture(sMaskFile)

cbarctrl.Picture = pImage
cbarctrl.Mask = pMask

cbar.visible = True

End Sub

Re: Command bar button FaceID Icon
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> 2/8/2006 5:27:25 PM
What it looks like you are trying to do is load the picture from the
clipboard. If the picture and mask are not in the clipboard you cannot get
them out of the clipboard.

Here is my code that does what you are trying to do.
using stdole
/// <summary>

/// AxHost2 is a derivative of AxHost for getting IPictureDisp from a .NET
image type

/// </summary>

internal class AxHost2 : AxHost

{

public AxHost2() : base(null)

{}

new public static IPictureDisp GetIPictureDispFromPicture(Image image)

{

return (IPictureDisp) AxHost.GetIPictureDispFromPicture(image);

}

}

public static void AssignButtonImageAndMask(ref CommandBarButton button,
string imageName, string imageMask)

{

//adds a custom icon to the face

ResourceManager rm = new ResourceManager(typeof(OutlookUtilities).Namespace
+ <ResourceImageFileName> typeof(OutlookUtilities).Assembly);

using (Bitmap bmp = (Bitmap) rm.GetObject(imageName))

{

if (bmp != null)

{

button.Picture = AxHost2.GetIPictureDispFromPicture(bmp);

}

}

using (Bitmap bmp = (Bitmap) rm.GetObject(imageMask))

{

if (bmp != null)

{

button.Mask = AxHost2.GetIPictureDispFromPicture(bmp);

}

}

}

That bit of code should help you along.



Regards,

Thaddaeus.

"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139411513.273997.307920[ at ]f14g2000cwb.googlegroups.com...
[Quoted Text]
>i going this in outlook 2003
>
> trying with this code in a COM add-in for outlook 2003 but it doesn't
> work becuase it doesn't find the command LoadPicture.
>
> Any help please
>
> Donald
>
> Sub DisplayNewImage( )
> Dim cbar As CommandBar
> Dim cbarctrl As CommandBarControl
> Dim pImage As IPictureDisp
> Dim pMask As IPictureDisp
> Dim sImageFile as String
> Dim sMaskFile as String
>
> sImageFile = "C:\Documents and Settings\My Documents\tarsier.bmp"
> sMaskFile = "C:\Documents and Settings\My Documents\mask.bmp"
>
> Set cbar = CommandBars.Add(Name:="My Picture",
> Position:=msoBarFloating)
>
> Set cbarctrl = cbar.Controls.Add(Type:=msoControlButton)
> Set pImage = stdole.StdFunctions.LoadPicture(sImageFile)
> Set pMask = stdole.StdFunctions.LoadPicture(sMaskFile)
>
> cbarctrl.Picture = pImage
> cbarctrl.Mask = pMask
>
> cbar.visible = True
>
> End Sub
>


Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/8/2006 6:48:05 PM
hi there,

I don't want to do it with copy and paste i am using Outlook 2003.

I want to do it using .picture and .mask.

Any help please

Donald

Re: Command bar button FaceID Icon
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/8/2006 7:03:10 PM
See if this helps: http://support.microsoft.com/?kbid=286460

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139411513.273997.307920[ at ]f14g2000cwb.googlegroups.com...
[Quoted Text]
>i going this in outlook 2003
>
> trying with this code in a COM add-in for outlook 2003 but it doesn't
> work becuase it doesn't find the command LoadPicture.
>
> Any help please
>
> Donald
>
> Sub DisplayNewImage( )
> Dim cbar As CommandBar
> Dim cbarctrl As CommandBarControl
> Dim pImage As IPictureDisp
> Dim pMask As IPictureDisp
> Dim sImageFile as String
> Dim sMaskFile as String
>
> sImageFile = "C:\Documents and Settings\My Documents\tarsier.bmp"
> sMaskFile = "C:\Documents and Settings\My Documents\mask.bmp"
>
> Set cbar = CommandBars.Add(Name:="My Picture",
> Position:=msoBarFloating)
>
> Set cbarctrl = cbar.Controls.Add(Type:=msoControlButton)
> Set pImage = stdole.StdFunctions.LoadPicture(sImageFile)
> Set pMask = stdole.StdFunctions.LoadPicture(sMaskFile)
>
> cbarctrl.Picture = pImage
> cbarctrl.Mask = pMask
>
> cbar.visible = True
>
> End Sub
>

Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/8/2006 9:44:24 PM
i look at that page but i can't do:

Set oPic = LoadPicture(App.Path & "\circle.bmp")

because I can't find 'LoadPicture' in VB.net as my project is a COM
add-in for outlook 2003

thanks again

Donald

Re: Command bar button FaceID Icon
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/8/2006 11:26:13 PM
Because you don't have a reference to the Win32 library where that method
lives or because of http://support.microsoft.com/kb/150034/?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139435064.569938.303080[ at ]z14g2000cwz.googlegroups.com...
[Quoted Text]
>i look at that page but i can't do:
>
> Set oPic = LoadPicture(App.Path & "\circle.bmp")
>
> because I can't find 'LoadPicture' in VB.net as my project is a COM
> add-in for outlook 2003
>
> thanks again
>
> Donald
>

Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/8/2006 11:35:56 PM
'LoadPicture' is just not available in vb.net so how do i get round
this?

Donald

Re: Command bar button FaceID Icon
"Josh Einstein" <josheinstein[ at ]hotmail.com> 2/9/2006 2:05:18 AM
Thaddaeus gave you an example of the only known way to do this in .NET. It's
the only way to get an IPictureDisp from a System.Drawing.Image object. Your
reply to him stated that you didn't want to use Copy/Paste but his example
showed you how to use Picture and Mask, not Copy/Paste.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139441756.218084.279110[ at ]g43g2000cwa.googlegroups.com...
[Quoted Text]
> 'LoadPicture' is just not available in vb.net so how do i get round
> this?
>
> Donald
>


Re: Command bar button FaceID Icon
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 2/9/2006 5:27:39 AM
Also note that if you are using the Word editor, PasteFace is your only
option: IPicture object cannot be marshaled across thee process boundaries:
Word inspectors live in the ewinword.exe process space rather than
outlook.exe
Also note that you can save the clipboard contents before copying a bitmap
to the clipboard and restore it afterwards. Babelfish sample COM add-in
source code (url below) has a utility class to do that (Delphi) - see
uSaveClipboard.pas file.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Josh Einstein" <josheinstein[ at ]hotmail.com> wrote in message
news:%23rCiK1RLGHA.500[ at ]TK2MSFTNGP15.phx.gbl...
[Quoted Text]
> Thaddaeus gave you an example of the only known way to do this in .NET.
> It's the only way to get an IPictureDisp from a System.Drawing.Image
> object. Your reply to him stated that you didn't want to use Copy/Paste
> but his example showed you how to use Picture and Mask, not Copy/Paste.
>
> --
> Josh Einstein
> Einstein Technologies
> Microsoft Tablet PC MVP
> Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
> www.tabletoutlook.com
>
>
> "donald" <jonathan[ at ]dorling.biz> wrote in message
> news:1139441756.218084.279110[ at ]g43g2000cwa.googlegroups.com...
>> 'LoadPicture' is just not available in vb.net so how do i get round
>> this?
>>
>> Donald
>>
>
>


Re: Command bar button FaceID Icon
"Josh Einstein" <josheinstein[ at ]hotmail.com> 2/9/2006 8:33:20 AM
Be cautious about saving/restoring the clipboard contents because it can
have unintended side effects. For example, if the data object is a large
object on another machine (like in RDP) or in another process (like a 300mb
bitmap in photoshop) then you might introduce long unexpected blocks in your
application and spikes of memory use and the user will have no idea what is
going on since they didn't initiate a clipboard operation.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> wrote in message
news:ubZyZlTLGHA.3984[ at ]TK2MSFTNGP14.phx.gbl...
[Quoted Text]
> Also note that if you are using the Word editor, PasteFace is your only
> option: IPicture object cannot be marshaled across thee process
> boundaries: Word inspectors live in the ewinword.exe process space rather
> than outlook.exe
> Also note that you can save the clipboard contents before copying a bitmap
> to the clipboard and restore it afterwards. Babelfish sample COM add-in
> source code (url below) has a utility class to do that (Delphi) - see
> uSaveClipboard.pas file.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Josh Einstein" <josheinstein[ at ]hotmail.com> wrote in message
> news:%23rCiK1RLGHA.500[ at ]TK2MSFTNGP15.phx.gbl...
>> Thaddaeus gave you an example of the only known way to do this in .NET.
>> It's the only way to get an IPictureDisp from a System.Drawing.Image
>> object. Your reply to him stated that you didn't want to use Copy/Paste
>> but his example showed you how to use Picture and Mask, not Copy/Paste.
>>
>> --
>> Josh Einstein
>> Einstein Technologies
>> Microsoft Tablet PC MVP
>> Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
>> www.tabletoutlook.com
>>
>>
>> "donald" <jonathan[ at ]dorling.biz> wrote in message
>> news:1139441756.218084.279110[ at ]g43g2000cwa.googlegroups.com...
>>> 'LoadPicture' is just not available in vb.net so how do i get round
>>> this?
>>>
>>> Donald
>>>
>>
>>
>
>


Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/9/2006 10:33:59 AM
I try very think in this topic but i still can't get it working. I
don;t want to use the copy and paste because the user will loss there
clipboard and if you try so save it, it could be 300mb as explain
above.

So could some one who got it working post there code up. The code i
have is:

Dim path As String = "C:\Visual Studio
Projects\DC\DMCRM\icons\AddTelephoneCall.ico"

Dim imgconv As ImageConverter
Dim img As System.Drawing.Image

img = System.Drawing.Image.FromFile(path)
Dim a As stdole.IPictureDisp =
imgconv.ImageToIPicDisp(img)

.Picture = a

Public Class ImageConverter
Inherits System.Windows.Forms.AxHost

Public Sub New(ByVal pGUID As String)
MyBase.New(pGUID)
End Sub

Public Shared Function ImageToIPicDisp(ByVal value As
System.Drawing.Image) As stdole.IPictureDisp
Return
System.Windows.Forms.AxHost.GetIPictureDispFromPicture(value)
End Function

Public Shared Function IPicDispToImage(ByVal value As
stdole.IPictureDisp) As System.Drawing.Image
Return
System.Windows.Forms.AxHost.GetPictureFromIPictureDisp(CType(value,
Object))
End Function
End Class


the code get a error on this line ' .Picture = a'

any help please

Donald

Re: Command bar button FaceID Icon
"Josh Einstein" <josheinstein[ at ]hotmail.com> 2/9/2006 11:23:40 AM
As far as I know, you have to use a bitmap type of image.
(System.Drawing.Bitmap) Not an icon.

--
Josh Einstein
Einstein Technologies
Microsoft Tablet PC MVP
Tablet Enhancements for Outlook 2.0 - Try it free for 14 days
www.tabletoutlook.com


"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139481239.824084.252610[ at ]g43g2000cwa.googlegroups.com...
[Quoted Text]
>I try very think in this topic but i still can't get it working. I
> don;t want to use the copy and paste because the user will loss there
> clipboard and if you try so save it, it could be 300mb as explain
> above.
>
> So could some one who got it working post there code up. The code i
> have is:
>
> Dim path As String = "C:\Visual Studio
> Projects\DC\DMCRM\icons\AddTelephoneCall.ico"
>
> Dim imgconv As ImageConverter
> Dim img As System.Drawing.Image
>
> img = System.Drawing.Image.FromFile(path)
> Dim a As stdole.IPictureDisp =
> imgconv.ImageToIPicDisp(img)
>
> .Picture = a
>
> Public Class ImageConverter
> Inherits System.Windows.Forms.AxHost
>
> Public Sub New(ByVal pGUID As String)
> MyBase.New(pGUID)
> End Sub
>
> Public Shared Function ImageToIPicDisp(ByVal value As
> System.Drawing.Image) As stdole.IPictureDisp
> Return
> System.Windows.Forms.AxHost.GetIPictureDispFromPicture(value)
> End Function
>
> Public Shared Function IPicDispToImage(ByVal value As
> stdole.IPictureDisp) As System.Drawing.Image
> Return
> System.Windows.Forms.AxHost.GetPictureFromIPictureDisp(CType(value,
> Object))
> End Function
> End Class
>
>
> the code get a error on this line ' .Picture = a'
>
> any help please
>
> Donald
>


Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/9/2006 12:54:30 PM
this is a bitmap type of image.

I look in to this and i don;t think it is Converting the image to a
ImageToIPicDisp in the right way.

Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/9/2006 1:14:14 PM
just so you know i get this error message:

System.Runtime.InteropServices.COMException (0x80004005): Unspecified
error
at Microsoft.Office.Core._CommandBarButton.set_Picture(IPictureDisp
ppdispPicture)
at DC.Connect.createBar() in C:\Visual Studio
Projects\DC\DMCRM\Connect.vb:line 853

line 853 is .Picture = a

thanks

Donald

Re: Command bar button FaceID Icon
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> 2/9/2006 4:25:38 PM
I did some research on what you were trying to do. According to a thread I
found at ureader.com. Ken Slovak said that IPictureDisp constraint is that
the image must be a 16x16 256 color BMP. Other wise you might get the error
that you are experiencing.

If I were you I would convert your .ico to a .bmp and try to run the program
again. Or, go ahead and add the image to a resource file inside your add-in
and use a resource manager to pull the appropriate image out of and then use
the IPictureDisp code that you already have to render the image on the
commandbar button.

It's an idea, for what it's worth

Thaddaeus.

http://support.microsoft.com/kb/288771
"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139481239.824084.252610[ at ]g43g2000cwa.googlegroups.com...
[Quoted Text]
>I try very think in this topic but i still can't get it working. I
> don;t want to use the copy and paste because the user will loss there
> clipboard and if you try so save it, it could be 300mb as explain
> above.
>
> So could some one who got it working post there code up. The code i
> have is:
>
> Dim path As String = "C:\Visual Studio
> Projects\DC\DMCRM\icons\AddTelephoneCall.ico"
>
> Dim imgconv As ImageConverter
> Dim img As System.Drawing.Image
>
> img = System.Drawing.Image.FromFile(path)
> Dim a As stdole.IPictureDisp =
> imgconv.ImageToIPicDisp(img)
>
> .Picture = a
>
> Public Class ImageConverter
> Inherits System.Windows.Forms.AxHost
>
> Public Sub New(ByVal pGUID As String)
> MyBase.New(pGUID)
> End Sub
>
> Public Shared Function ImageToIPicDisp(ByVal value As
> System.Drawing.Image) As stdole.IPictureDisp
> Return
> System.Windows.Forms.AxHost.GetIPictureDispFromPicture(value)
> End Function
>
> Public Shared Function IPicDispToImage(ByVal value As
> stdole.IPictureDisp) As System.Drawing.Image
> Return
> System.Windows.Forms.AxHost.GetPictureFromIPictureDisp(CType(value,
> Object))
> End Function
> End Class
>
>
> the code get a error on this line ' .Picture = a'
>
> any help please
>
> Donald
>


Re: Command bar button FaceID Icon
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> 2/9/2006 4:41:06 PM
Here are a couple of VB style answers to your question and help your
quandry.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office05022002.asp

http://support.microsoft.com/?scid=kb;en-us;288771&spid=2488&sid=251

Regards
Thaddaeus.
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> wrote in message
news:uEuiTWZLGHA.2036[ at ]TK2MSFTNGP14.phx.gbl...
[Quoted Text]
>I did some research on what you were trying to do. According to a thread I
>found at ureader.com. Ken Slovak said that IPictureDisp constraint is that
>the image must be a 16x16 256 color BMP. Other wise you might get the
>error that you are experiencing.
>
> If I were you I would convert your .ico to a .bmp and try to run the
> program again. Or, go ahead and add the image to a resource file inside
> your add-in and use a resource manager to pull the appropriate image out
> of and then use the IPictureDisp code that you already have to render the
> image on the commandbar button.
>
> It's an idea, for what it's worth
>
> Thaddaeus.
>
> http://support.microsoft.com/kb/288771
> "donald" <jonathan[ at ]dorling.biz> wrote in message
> news:1139481239.824084.252610[ at ]g43g2000cwa.googlegroups.com...
>>I try very think in this topic but i still can't get it working. I
>> don;t want to use the copy and paste because the user will loss there
>> clipboard and if you try so save it, it could be 300mb as explain
>> above.
>>
>> So could some one who got it working post there code up. The code i
>> have is:
>>
>> Dim path As String = "C:\Visual Studio
>> Projects\DC\DMCRM\icons\AddTelephoneCall.ico"
>>
>> Dim imgconv As ImageConverter
>> Dim img As System.Drawing.Image
>>
>> img = System.Drawing.Image.FromFile(path)
>> Dim a As stdole.IPictureDisp =
>> imgconv.ImageToIPicDisp(img)
>>
>> .Picture = a
>>
>> Public Class ImageConverter
>> Inherits System.Windows.Forms.AxHost
>>
>> Public Sub New(ByVal pGUID As String)
>> MyBase.New(pGUID)
>> End Sub
>>
>> Public Shared Function ImageToIPicDisp(ByVal value As
>> System.Drawing.Image) As stdole.IPictureDisp
>> Return
>> System.Windows.Forms.AxHost.GetIPictureDispFromPicture(value)
>> End Function
>>
>> Public Shared Function IPicDispToImage(ByVal value As
>> stdole.IPictureDisp) As System.Drawing.Image
>> Return
>> System.Windows.Forms.AxHost.GetPictureFromIPictureDisp(CType(value,
>> Object))
>> End Function
>> End Class
>>
>>
>> the code get a error on this line ' .Picture = a'
>>
>> any help please
>>
>> Donald
>>
>
>


Re: Command bar button FaceID Icon
"donald" <jonathan[ at ]dorling.biz> 2/9/2006 5:10:27 PM
Hi there,

thanks for your reply's but i try it as a 256 color 16x16 bitmap and no
luck at all.

As for the 2 web link they both use LoadPicture which is not available
in vb.net

i am using vb.net 2003 with office outlook 2003

thanks

Donald

Re: Command bar button FaceID Icon
"Thaddaeus Parker" <tparker[ at ]microlinkllc.com> 2/9/2006 6:42:50 PM
I am at a loss for your problem. I wish that I could give you a more
definitive answer to your problem.

Thaddaeus.

"donald" <jonathan[ at ]dorling.biz> wrote in message
news:1139505027.234033.213190[ at ]z14g2000cwz.googlegroups.com...
[Quoted Text]
> Hi there,
>
> thanks for your reply's but i try it as a 256 color 16x16 bitmap and no
> luck at all.
>
> As for the 2 web link they both use LoadPicture which is not available
> in vb.net
>
> i am using vb.net 2003 with office outlook 2003
>
> thanks
>
> Donald
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net