Click here to Skip to main content
15,909,498 members
Home / Discussions / C#
   

C#

 
Questionbyte array To text box is it possible? Pin
gwithey5-Aug-09 1:24
gwithey5-Aug-09 1:24 
AnswerRe: byte array To text box is it possible? Pin
musefan5-Aug-09 2:16
musefan5-Aug-09 2:16 
QuestionConvert String To Unix Timestamp Pin
iNutR5-Aug-09 0:27
iNutR5-Aug-09 0:27 
AnswerRe: Convert String To Unix Timestamp Pin
Christian Graus5-Aug-09 0:31
protectorChristian Graus5-Aug-09 0:31 
GeneralRe: Convert String To Unix Timestamp Pin
iNutR5-Aug-09 0:36
iNutR5-Aug-09 0:36 
GeneralRe: Convert String To Unix Timestamp Pin
Christian Graus5-Aug-09 0:39
protectorChristian Graus5-Aug-09 0:39 
GeneralRe: Convert String To Unix Timestamp Pin
iNutR5-Aug-09 0:41
iNutR5-Aug-09 0:41 
GeneralRe: Convert String To Unix Timestamp Pin
Christian Graus5-Aug-09 0:47
protectorChristian Graus5-Aug-09 0:47 
iNutR wrote:
but you cant convert a string to a long.


What on earth makes you think that ?

iNutR wrote:
remember, i need to convert the string into a int/long/double whatever, but i keep getting errors


int.Parse and long.Parse can both return the number you gave me. So, can Convert.ToInt32, or Convert.ToIn64. Convert.ToInt16 gives an over flow error.

The maximum value of int is 2147483647.

Perhaps you need to tell us the exact error you're getting, because converting these numbers to int or long works just fine.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: Convert String To Unix Timestamp Pin
iNutR5-Aug-09 0:54
iNutR5-Aug-09 0:54 
GeneralRe: Convert String To Unix Timestamp Pin
Christian Graus5-Aug-09 1:00
protectorChristian Graus5-Aug-09 1:00 
GeneralRe: Convert String To Unix Timestamp Pin
Michael Bookatz5-Aug-09 2:35
Michael Bookatz5-Aug-09 2:35 
GeneralRe: Convert String To Unix Timestamp Pin
stancrm5-Aug-09 0:52
stancrm5-Aug-09 0:52 
GeneralRe: Convert String To Unix Timestamp Pin
iNutR5-Aug-09 0:57
iNutR5-Aug-09 0:57 
GeneralRe: Convert String To Unix Timestamp Pin
Christian Graus5-Aug-09 1:01
protectorChristian Graus5-Aug-09 1:01 
GeneralRe: Convert String To Unix Timestamp Pin
iNutR5-Aug-09 1:47
iNutR5-Aug-09 1:47 
GeneralRe: Convert String To Unix Timestamp Pin
Michael Bookatz5-Aug-09 2:36
Michael Bookatz5-Aug-09 2:36 
AnswerRe: Convert String To Unix Timestamp Pin
Luc Pattyn5-Aug-09 4:26
sitebuilderLuc Pattyn5-Aug-09 4:26 
Questionsocket disconnection Pin
Vivek Vijayan5-Aug-09 0:23
Vivek Vijayan5-Aug-09 0:23 
AnswerRe: socket disconnection Pin
Christian Graus5-Aug-09 1:07
protectorChristian Graus5-Aug-09 1:07 
GeneralRe: socket disconnection Pin
Vivek Vijayan5-Aug-09 3:50
Vivek Vijayan5-Aug-09 3:50 
GeneralRe: socket disconnection Pin
kstls5-Aug-09 5:40
kstls5-Aug-09 5:40 
QuestionStore uint value in int [solved] Pin
Xmen Real 4-Aug-09 23:49
professional Xmen Real 4-Aug-09 23:49 
AnswerRe: Store uint value in int [solved] Pin
Super Lloyd5-Aug-09 0:12
Super Lloyd5-Aug-09 0:12 
GeneralRe: Store uint value in int [solved] Pin
Xmen Real 5-Aug-09 0:25
professional Xmen Real 5-Aug-09 0:25 
QuestionArrays Pin
Bandisto4-Aug-09 23:37
Bandisto4-Aug-09 23:37 

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.