How is this wrong?

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2007
Posts: 17
Reputation: JaedenRuiner is an unknown quantity at this point 
Solved Threads: 0
JaedenRuiner JaedenRuiner is offline Offline
Newbie Poster

How is this wrong?

 
0
  #1
Aug 21st, 2007
Okay,

I've read the documentation about Class INitializers, but they don't work for me.

  1. Public class FGBGColors
  2. 'Inconsequential class
  3. end Class
  4.  
  5. Public Class ColorTableClass
  6.  
  7. Private m_HdrClrs = New FGBGColors With { _ ' <- End of Statement Expected
  8. .ForeColor = Color.Black, _
  9. .BackColor = Color.Gray, _
  10. }
  11.  
  12. end class

NOw this is done identical to MSDN.com but that's site is such BS because this has never worked.

Jaeden "Sifo Dyas" al'Raec Ruiner
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC