all groups > vb.net upgrade > august 2003 >
You're in the

vb.net upgrade

group:

ImageCombo


ImageCombo Roberto Herrera
8/13/2003 7:42:59 PM
vb.net upgrade:
Hello all,

I'am a dotnet beginner and I need some help please
I like to know if I can use the ImageCombo of Visual Basic 6
in dotnet.
After using the wizard to migrate to dotnet. I can't figure how to make it
work in dotnet

Thanks a lot

Roberto

RE: ImageCombo adambr.online NO[at]SPAM online.microsoft.com
9/3/2003 10:54:34 PM
This should work very much the same as in VB6. I added this control to a
Windows Application, placed the control on a form, and added this code to
the Load event:

AxImageCombo1.ComboItems.Add(, , "Item1")
AxImageCombo1.ComboItems.Add(, , "Item2")
AxImageCombo1.ComboItems.Add(, , "Item3")
AxImageCombo1.ComboItems.Add(, , "Item4")

And it worked fine in the combo. You can only bind it to the VB6 imagelist
control, not the System.Windows.Forms version.

--
Adam Braden, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Roberto Herrera" <robertoherreagoicochea@yahoo.fr>
| Subject: ImageCombo
| Date: Wed, 13 Aug 2003 19:42:59 +0200
| Lines: 13
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <#Fr2LIcYDHA.2032@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
| NNTP-Posting-Host: 194.2.172.45
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:5117
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
|
| Hello all,
|
| I'am a dotnet beginner and I need some help please
| I like to know if I can use the ImageCombo of Visual Basic 6
| in dotnet.
| After using the wizard to migrate to dotnet. I can't figure how to make it
| work in dotnet
|
| Thanks a lot
|
| Roberto
|
|
|
AddThis Social Bookmark Button