IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-04-02 18:00:08
Channels: 41
Logged Lines: 6229042
Size: 1806.44 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-31
[00:07]<gxysvggz>nice
[00:09]<y-gz>what;s wrong with it ?
[00:10]<y-gz> public override string ToString() {return "hey"; }
[00:10]<y-gz>?
[00:11]<y-gz>eXistenZ: ?
[00:11]<gxysvggz>i-nZ, I wondered how it can overriden, but when I looked in the object browser, I noticed it is virtual. Thanks :)
[00:12]<gxysvggz>It is weird that all methods are declared virtual in the assemblies
[00:12]<gxysvggz>I think methods should be virtual by default
[00:12]<gxysvggz>that will be suggestion to C# 4 :)
[00:13]<y-gz>won't that have impact on the performance
[00:13]<y-gz>plus having everything virtual sounds stupid to me
[00:36]<ccf>new Thread(new ThreadStart(dire(this.txtChatSend.Text)))
[00:36]<ccf>that is not permited?
[01:04]<kfylsax>how can we start a thread when a function needs a string
[01:05]<vxznrm>ParameterizedThreadStart
[01:10]<fzymgpuf_syg>Anyone mind if I ask a vb.net question, it's more .net than vb and the vb.net room is very silent right now.
[01:12]<fzymgpuf_syg>Well, as no one has objected, my internal loop is only exicuting once, and it should be exicuting 20x. I have a logic problem but I can't find it :-\ Code is at http://www.nomorepasting.com/paste.php?pasteID=66004
[01:20]<fzymgpuf_syg>:)
[01:20]<y-gz>For x = 0 To x = (25 - strTmpValue.Length)
[01:21]<y-gz>this seems to be the problem
[01:21]<y-gz>I am not familiar with VB Syntax though
[01:22]<y-gz>For x = 0 To 25 - strTmpValue.Length
[01:22]<fzymgpuf_syg>I'm sure that's the problem, but I can't figure out why
[01:22]<y-gz>because you are reseting x
[01:22]<fzymgpuf_syg>ah, okay.
[01:22]<y-gz>For x = 0 To 25 - strTmpValue.Length
[01:22]<y-gz>will set x = 0 and then set it to 25 - blabla
[01:22]<y-gz>so at the end you will have
[01:23]<y-gz>for 25 - strTmpValue.Length to 25 - strTmpValue.Length
[01:24]<y-gz>oh btw
[01:24]<y-gz>prideful_sin:
[01:24]<y-gz>may be it should be
[01:24]<y-gz>For x = 0 To x <= 25 - strTmpValue.Length
[01:25]<y-gz>dunno agian VB
[01:25]<y-gz>:s
[01:33]<fzymgpuf_syg>thanks again i-nZ
[01:33]<fzymgpuf_syg>it worked perfectly your way
[01:59]<zndy_wjfnz>hmm, if I assign an object to another object (of the same type), it should become a reference to the same object, right?
[02:08]<txnjzd>yes
[02:08]<txnjzd>assuming they are reference types
[02:09]<zndy_wjfnz>dunno... I'm reading on on that now... But the 'main' object, is initialised with the new keyword
[02:10]<zndy_wjfnz>erm, was intended to have the new keyword :$ Fixed it :)
[02:11]<zndy_wjfnz>thanks for your input, it helped me find the problem
[02:35]<wgzmgr>hi guys
[02:36]<zndy_wjfnz>heya
[02:36]<wgzmgr>my VS2005 is on crack.
[02:36]<wgzmgr>I can't edit.
[02:36]<wgzmgr>as in
[02:36]<wgzmgr>I can type shit in
[02:36]<wgzmgr>but not use backspace, delete, pageup, pagedown or enter.
[02:36]<zndy_wjfnz>does it work in notepad?
[02:37]<wgzmgr>yes.
[02:37]<wgzmgr>well, it works in IRC, too.
[02:37]<zndy_wjfnz>hmm
[02:37]<wgzmgr>I've rebooted, tested under different solutions.
[02:38]<wgzmgr>disabled plugins.
[02:38]<zgzzcygnv>0_0
[02:38]<wgzmgr>I swear it's been smoking something.
[02:38]<wgzmgr>and I want whatever that is.
[02:39]<zndy_wjfnz>:D
[02:39]<wgzmgr>any ideas?
[02:40]<zgzzcygnv>checked if the file has "read only" set in it's attributes?
[02:42]<zndy_wjfnz>AnarkiNet: then the other keys [a-zA-Z] shouldn't work either
[02:43]<wgzmgr>yes, true.
[02:43]<wgzmgr>and I'm not getting anything down the bottom.
[02:43]<wgzmgr>Nevertheless, I'm forcing a recursive readonly unset across the board.
[02:43]<wgzmgr>I can save, too.
[02:45]<wgzmgr>WORK YOU BITCH!
[02:45]<zndy_wjfnz>weird
[02:46]<wgzmgr>I've rebooted and such.
[02:48]<wgzmgr>no ideas?
[02:49]<zndy_wjfnz>nopez...
[02:50]<zndy_wjfnz>If it works in notepad, your keyboard isn't broken. IF it insists after reboot, it's not something hanging. If other keys work, it's not read-only or something
[02:51]<wgzmgr>I should slap M$ for this.
[02:51]<wgzmgr>or switch to java..
[02:51]<2grgvdv>can a List<T> be serialized and deserialized?
[02:51]<2grgvdv>using XML
[02:53]<wgzmgr>does it implement ISerializable
[02:53]<vj2nxe>a List<T> can be serialized, yes
[02:54]<zgzzcygnv>Werdna tried uninstalling and reinstalling VS?
[02:54]<wgzmgr>but effort.
[02:54]<zgzzcygnv>or searching google groups?
[02:54]<wgzmgr>I'd rather not if I can avoid it.
[02:54]<wgzmgr>I tried some search terms, but it's a very hard issue to come up with terms for.
[02:57]<wgzmgr>I think I'll post to the msdn managed newsgroups.
[02:58]<2grgvdv>I've made a simple little paint program and the data to draw stuff are in List<Rectangle>, List<Pen>, and List<String> and I'm trying to learn how to save and open it. Anyone have points on a tutorial or something to help? I've been looking but haven't found much.
[02:59]<2grgvdv>I guess I probably want to use serialization with XML but that's about all i know.
[02:59]<wgzmgr>hm.. I'm just thinking; I uninstalled a whole bunch of crap yesterday
[02:59]<wgzmgr>maybe that's got something to do with it.
[03:02]<zgzzcygnv>you could run the VS2k5 setup and do the "repair" or whatever option
[03:07]<wgzmgr>don't have the cds on me
[03:08]<wgzmgr>I'm posting on the msdn forums.
[03:08]<wyfaj`>you're not using a beta version or anything?
[03:10]<2grgvdv>any tips?
[03:12]<wyfaj`>why save the objects?
[03:12]<wyfaj`>why not just save the actual image?







