newbee need help with code

  • Thread starter Thread starter Danny Ni
  • Start date Start date
D

Danny Ni

Hi,

The following is a valid c# statement:
e.Item.BackColor = Color.FromArgb(0xff, 0xff, 0x99);

can somebody translate it to VB.Net?


TIA
 
August 10, 2004

I don't program in C#, but just remove the simi-colon at the end, and
I think it is fine!


Joseph MCP
 
No, it does not.
I got error message "Overloaded resolution failed...."
 
e.Item.BackColor = Color.FromArgb(&HFF, &HFF, &H99)

Tom Dacon
Dacon Software Consulting
 
e.Item.BackColor = Color.FromArgb(&HFF, &HFF, &H99)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top