Sorry if i offended, wasnt my intention. The help for VS.NET is quite lacking, in my opinion. I
spent quite some time figuring this all out myself. If you give it a while, it will all make
"Rasool" <rasool_omidakhsh@translink.bc.ca> wrote in message
news:ePjndiCjDHA.3204@tk2msftngp13.phx.gbl...
> Thanks. You are absolutely right. I am VB6 oriented and need to change my
> way of thinking towards VB.NOT. By the way how come I could not find not
> even a single line of code regarding this in the help file? Am I using Help
> too VB6 too?
>
>
> "Rick Mogstad" <rick@NOSPAM.computetosuit.com> wrote in message
> news:ONEtuhTiDHA.3556@tk2msftngp13.phx.gbl...
> > you are thinking too VB6.
> >
> > Fonts are an object, just like everything else in .NET
> >
> > MyLabel.Font = New Font("Wingdings",...)
> >
> >
> >
> >
> >
> > "Rasool" <rasool_omidakhsh@translink.bc.ca> wrote in message
> > news:e6jGGmSiDHA.548@TK2MSFTNGP11.phx.gbl...
> > > Do you mind showing me a piece of code that does it. As far as I know
> the
> > > font property requires system.drawing.font not a simple text. My problem
> is
> > > that I can not figure out how to use system.drawing.font to change the
> font
> > > of a label.
> > >
> > > "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
> > > news:e7eQlISiDHA.2960@TK2MSFTNGP11.phx.gbl...
> > > > Use the 'Font' property.
> > > >
> > > > --
> > > > Bob Powell [MVP]
> > > > C#, System.Drawing
> > > >
> > > > September's edition of Well Formed is now available.
> > > >
http://www.bobpowell.net/currentissue.htm > > > >
> > > > Answer those GDI+ questions with the GDI+ FAQ
> > > >
http://www.bobpowell.net/gdiplus_faq.htm > > > >
> > > >
> > > >
> > > > "Rasool" <rasool_omidakhsh@translink.bc.ca> wrote in message
> > > > news:#xyQGNRiDHA.2408@TK2MSFTNGP12.phx.gbl...
> > > > > I can't believe I am asking this but how the heck can we change the
> font
> > > > of
> > > > > a label now?
> > > > > It use to be so simple.
> > > > >
> > > > > Me.Label1.FontName = "Wingdings 3"
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>