@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> yo
<1> hey.
<2> how do I convert char array to string? .ToString() gives me System.Char[]
<1> new String(c)
<2> that works. I'm converting string to char array to swap two characters. any better way of doing it?
<1> just two?



<2> yeah
<1> char c = s[4]; s[4] = s[5]; s[5] = c;
<1> oh wait that doesn't work
<2> nope
<3> Anyone uses Visual Studio 2005?
<1> Yes.
<3> Ok great. Check this screenshot..where did all my options go? http://www.mindgem.se/trash/what.jpg
<3> I can't browse to where I want to save the project and there use to be a "add to current project" tab option too.
<1> resize the window?
<3> It's not that. you can clearly see that there is no scroll to the right
<1> it's weird yeah.
<1> never saw that.
<3> I can't find a DEFAULT value settings for the thign either
<3> ya its CRAZY!
<3> Solved it!
<4> how can I get the err number when something is caught?
<4> I get the error message but not the number
<1> there's no error number
<1> unless you do VB
<4> that ****s man, how am I supposed to distinguish one error from another?
<4> for example, in the drive combobox, there can be a few errors, drive unavailable for exmaple
<1> Cl***Name ?



<4> Microsoft.VisualBasic.Compatibility.VB6.DriveListBox
<1> no
<1> you can distinguish by cl*** name
<1> in .NET
<4> im only working with that cl***
<1> I dunno enough about VB to help you. that's why this is #csharp :)
<4> well its the same concept in C#, how can a specific error be caught
<1> try { } catch (FileNotFoundException e) { ...} catch (InvalidDriveException) { }
<4> the function only gets the basic error handler
<4> i guess it doesnt matter?
<4> I had no idea...
<4> how can I find out all the error cl***es?
<4> relevant to that
<4> its all in System.IO?
<1> help specifies them
<1> each method has a list of exceptions it throws.
<4> interesting
<4> im looking at the DriveListBox package in the object browser, I don't see any exception cl***es
<1> maybe thatone now
<1> as I said
<1> I dunno about VB
<1> not
<4> Orz
<4> its understandable though


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #csharp
or
Go to some related logs:

#computers
G15 Launchcast
#gentoo
bill hicks quotes back to sleep
#delphi
#beginner
qmailqueue in qmail2
#italy
avoid black women
#computers



Home  |  disclaimer  |  contact  |  submit quotes