Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: TRY THIS!.. Pin
Hessam Jalali7-Aug-07 23:15
Hessam Jalali7-Aug-07 23:15 
GeneralRe: TRY THIS!.. Pin
dianenacario7-Aug-07 23:21
dianenacario7-Aug-07 23:21 
GeneralRe: TRY THIS!.. Pin
dianenacario7-Aug-07 22:58
dianenacario7-Aug-07 22:58 
AnswerRe: TRY THIS!.. Pin
m@u7-Aug-07 22:50
m@u7-Aug-07 22:50 
GeneralRe: TRY THIS!.. Pin
dianenacario7-Aug-07 22:57
dianenacario7-Aug-07 22:57 
AnswerRe: TRY THIS!.. Pin
Luc Pattyn7-Aug-07 23:16
sitebuilderLuc Pattyn7-Aug-07 23:16 
QuestionC# class questions Pin
choadvach7-Aug-07 21:45
choadvach7-Aug-07 21:45 
AnswerRe: C# class questions Pin
originSH7-Aug-07 22:25
originSH7-Aug-07 22:25 
choadvach wrote:
0x10036FA


and

choadvach wrote:
3


are ints. Ints != IntPtr's.

As the error message you'll get states, "Cannot implicitly convert type 'int' to 'System.IntPtr'. An explicit conversion exists (are you missing a cast?)".

Generally something is not given an implicit coversion if it's deemed unsafe. Forcing the use of an explicit cast ensures you know that the cast is happening.

if you don't want to have to cast then pass in an IntPtr ... one of the constructors on IntPtr takes an Int Smile | :)

IntPtr ip = new IntPtr(3);
GeneralRe: C# class questions Pin
choadvach7-Aug-07 23:12
choadvach7-Aug-07 23:12 
QuestionMulti Language Windows base Software Pin
Abubakarsb7-Aug-07 21:25
Abubakarsb7-Aug-07 21:25 
AnswerRe: Multi Language Windows base Software Pin
Hessam Jalali7-Aug-07 21:43
Hessam Jalali7-Aug-07 21:43 
AnswerRe: Multi Language Windows base Software Pin
lmoelleb7-Aug-07 21:51
lmoelleb7-Aug-07 21:51 
QuestionDataset format inconsistency. Pin
M. J. Jaya Chitra7-Aug-07 20:52
M. J. Jaya Chitra7-Aug-07 20:52 
AnswerRe: Dataset format inconsistency. Pin
dotman17-Aug-07 23:25
dotman17-Aug-07 23:25 
AnswerRe: Dataset format inconsistency. Pin
kabeervh8-Aug-07 1:05
kabeervh8-Aug-07 1:05 
QuestionHow i can save a form and send it through mail. Pin
sundeep.A7-Aug-07 20:25
sundeep.A7-Aug-07 20:25 
AnswerRe: How i can save a form and send it through mail. Pin
kabeervh8-Aug-07 1:07
kabeervh8-Aug-07 1:07 
QuestionHow can i declare a global variable which can be used in the multiple projects Pin
nicolus7-Aug-07 20:22
nicolus7-Aug-07 20:22 
AnswerRe: How can i declare a global variable which can be used in the multiple projects Pin
Hessam Jalali7-Aug-07 21:11
Hessam Jalali7-Aug-07 21:11 
AnswerRe: How can i declare a global variable which can be used in the multiple projects Pin
Urs Enzler7-Aug-07 22:24
Urs Enzler7-Aug-07 22:24 
QuestionGetting the Name of the Method Which Invoked the Current Method Pin
vvijaykrishna7-Aug-07 20:10
vvijaykrishna7-Aug-07 20:10 
AnswerRe: Getting the Name of the Method Which Invoked the Current Method Pin
originSH7-Aug-07 22:53
originSH7-Aug-07 22:53 
QuestionC# Colorizer for HTML Code Pin
Michael Sync7-Aug-07 20:02
Michael Sync7-Aug-07 20:02 
AnswerRe: C# Colorizer for HTML Code Pin
Paul Conrad12-Aug-07 6:42
professionalPaul Conrad12-Aug-07 6:42 
GeneralRe: C# Colorizer for HTML Code Pin
Michael Sync12-Aug-07 15:02
Michael Sync12-Aug-07 15:02 

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.