Click here to Skip to main content
16,004,924 members
Home / Discussions / C#
   

C#

 
QuestionHow to send MDNS Query over UDP to get Domain Name Pointer (PTR)? Pin
Jakob Farian Krarup29-Nov-07 22:29
Jakob Farian Krarup29-Nov-07 22:29 
AnswerMessage Closed Pin
18-Oct-12 3:39
professionalLeo Chapiro18-Oct-12 3:39 
GeneralRe: How to send MDNS Query over UDP to get Domain Name Pointer (PTR)? Pin
Jakob Farian Krarup18-Oct-12 8:55
Jakob Farian Krarup18-Oct-12 8:55 
Questionconvert string to Int Pin
minniemooo29-Nov-07 22:17
minniemooo29-Nov-07 22:17 
AnswerRe: convert string to Int Pin
m@u29-Nov-07 22:21
m@u29-Nov-07 22:21 
AnswerRe: convert string to Int Pin
GuyThiebaut29-Nov-07 22:22
professionalGuyThiebaut29-Nov-07 22:22 
AnswerRe: convert string to Int Pin
Vasudevan Deepak Kumar29-Nov-07 22:27
Vasudevan Deepak Kumar29-Nov-07 22:27 
AnswerRe: convert string to Int Pin
Pankaj - Joshi29-Nov-07 22:33
Pankaj - Joshi29-Nov-07 22:33 
I don't say all of the answer you got above are wrong but they may be create
problem (Error) If any user input any text in the textbox I.e. instead of numbers any other input will throw an error.

So you have to make your own function...I also done this
please use

public static int ToInt(object obj)
{
string s = ToStr(obj);
return (s.Length > 0 ? int.Parse(s) : 0);
}


Regards
Pankaj Joshi

If you want to shape your dreams into reality, please wake-up...

GeneralRe: convert string to Int Pin
Christian Graus29-Nov-07 22:44
protectorChristian Graus29-Nov-07 22:44 
GeneralRe: convert string to Int Pin
Pankaj - Joshi29-Nov-07 23:07
Pankaj - Joshi29-Nov-07 23:07 
GeneralRe: convert string to Int Pin
moon_stick30-Nov-07 1:12
moon_stick30-Nov-07 1:12 
AnswerRe: convert string to Int Pin
Christian Graus29-Nov-07 22:41
protectorChristian Graus29-Nov-07 22:41 
AnswerRe: convert string to Int Pin
PIEBALDconsult30-Nov-07 3:27
mvePIEBALDconsult30-Nov-07 3:27 
QuestionParsing MIB files! Pin
Dawid Mazuruk29-Nov-07 22:09
Dawid Mazuruk29-Nov-07 22:09 
AnswerRe: Parsing MIB files! Pin
Vasudevan Deepak Kumar29-Nov-07 22:13
Vasudevan Deepak Kumar29-Nov-07 22:13 
GeneralRe: Parsing MIB files! Pin
Dawid Mazuruk29-Nov-07 22:33
Dawid Mazuruk29-Nov-07 22:33 
QuestionDLL secutiry Christian Graus Please help Pin
Pankaj - Joshi29-Nov-07 21:33
Pankaj - Joshi29-Nov-07 21:33 
AnswerRe: DLL secutiry Christian Graus Please help Pin
Vasudevan Deepak Kumar29-Nov-07 22:02
Vasudevan Deepak Kumar29-Nov-07 22:02 
GeneralRe: DLL secutiry Christian Graus Please help Pin
Pankaj - Joshi29-Nov-07 22:15
Pankaj - Joshi29-Nov-07 22:15 
GeneralRe: DLL secutiry Christian Graus Please help Pin
Vasudevan Deepak Kumar29-Nov-07 22:25
Vasudevan Deepak Kumar29-Nov-07 22:25 
GeneralRe: DLL secutiry Christian Graus Please help Pin
Pankaj - Joshi29-Nov-07 23:12
Pankaj - Joshi29-Nov-07 23:12 
GeneralRe: DLL secutiry Christian Graus Please help Pin
Colin Angus Mackay29-Nov-07 22:31
Colin Angus Mackay29-Nov-07 22:31 
GeneralRe: DLL secutiry Christian Graus Please help Pin
Pankaj - Joshi29-Nov-07 23:42
Pankaj - Joshi29-Nov-07 23:42 
GeneralRe: DLL secutiry Christian Graus Please help Pin
J4amieC29-Nov-07 22:34
J4amieC29-Nov-07 22:34 
GeneralRe: DLL secutiry Christian Graus Please help [modified] Pin
Pankaj - Joshi29-Nov-07 22:35
Pankaj - Joshi29-Nov-07 22:35 

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.