Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ Problem Pin
occcy26-Jan-04 2:13
occcy26-Jan-04 2:13 
GeneralRe: GDI+ Problem Pin
Heath Stewart26-Jan-04 3:04
protectorHeath Stewart26-Jan-04 3:04 
GeneralRe: GDI+ Problem Pin
Heath Stewart26-Jan-04 3:09
protectorHeath Stewart26-Jan-04 3:09 
GeneralRe: GDI+ Problem Pin
leppie26-Jan-04 6:06
leppie26-Jan-04 6:06 
GeneralSharing process resources Pin
Jucovschi Petru25-Jan-04 22:57
Jucovschi Petru25-Jan-04 22:57 
GeneralRe: Sharing process resources Pin
OmegaSupreme26-Jan-04 0:57
OmegaSupreme26-Jan-04 0:57 
GeneralOrganization of ideas Pin
Shree25-Jan-04 21:01
Shree25-Jan-04 21:01 
GeneralRe: Organization of ideas Pin
Colin Angus Mackay26-Jan-04 1:00
Colin Angus Mackay26-Jan-04 1:00 
GeneralProblem about IP Multicast Pin
Korby25-Jan-04 18:22
Korby25-Jan-04 18:22 
GeneralRe: Problem about IP Multicast Pin
Heath Stewart26-Jan-04 3:02
protectorHeath Stewart26-Jan-04 3:02 
GeneralMultithreading issue Pin
maria_p25-Jan-04 8:51
maria_p25-Jan-04 8:51 
GeneralRe: Multithreading issue Pin
Colin Angus Mackay25-Jan-04 11:22
Colin Angus Mackay25-Jan-04 11:22 
GeneralRe: Multithreading issue Pin
maria_p26-Jan-04 1:53
maria_p26-Jan-04 1:53 
GeneralRe: Multithreading issue Pin
Heath Stewart26-Jan-04 2:53
protectorHeath Stewart26-Jan-04 2:53 
GeneralRe: Multithreading issue Pin
Heath Stewart26-Jan-04 2:54
protectorHeath Stewart26-Jan-04 2:54 
GeneralWierd irregularities between C# and VB.net Pin
dalm25-Jan-04 8:44
dalm25-Jan-04 8:44 
I'v been converting some classes I wrote in VB.net to stick them in a C# DLL, but have come accross some wierd irregularities in the .net architecture.

Firstly, the C# compiler will not allow me to explicity pass the value of one numerical variable into an enumerated data type, whereas VB allowed it, and MSDN swears blind it should. For instance:

VB: mnFog(x, y) = Convert.ToByte(sChar) - works fine
C#: mcFog[nLocX, nLocY] = Convert.ToByte(sChar); - Cannot implicitly convert type 'byte' to 'ThisEnum'

The enum in question is derived from a byte.

Secondly, C# just doesnt "see" some methods and properties which VB can use. For instance, in Microsoft.Data.Odbc the OdbcDataReader has an Item collection which allows its user to retrieve a field by its SQL name, instead of its column number (like the .Get[Type]() functions).

See for yourself, reference the DLL, find "Microsoft.Data.Odbc.OdbcDataReader.Item" in the object browser, then try and use it.

Has anyone else experienced these sort of problems?
GeneralRe: Wierd irregularities between C# and VB.net Pin
Nick Parker25-Jan-04 9:14
protectorNick Parker25-Jan-04 9:14 
Questionhow to avoid panel flicker ? Pin
Member 1088757825-Jan-04 6:11
Member 1088757825-Jan-04 6:11 
AnswerRe: how to avoid panel flicker ? Pin
colderthanfusion25-Jan-04 11:04
colderthanfusion25-Jan-04 11:04 
GeneralRe: how to avoid panel flicker ? Pin
JockerSoft26-Jan-04 4:40
JockerSoft26-Jan-04 4:40 
QuestionHow can I get the name of current theme from OS? Pin
rafamarmar25-Jan-04 5:22
rafamarmar25-Jan-04 5:22 
AnswerRe: How can I get the name of current theme from OS? Pin
Hauptman(n)25-Jan-04 6:11
Hauptman(n)25-Jan-04 6:11 
AnswerRe: How can I get the name of current theme from OS? Pin
Nick Parker25-Jan-04 6:23
protectorNick Parker25-Jan-04 6:23 
AnswerRe: How can I get the name of current theme from OS? Pin
Heath Stewart26-Jan-04 2:41
protectorHeath Stewart26-Jan-04 2:41 
GeneralCompiling .aspx.cs and .cs files in visual studio .net Pin
Member 52585824-Jan-04 22:14
Member 52585824-Jan-04 22:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.