IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.61 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[13:51]<sdz>minux, express editions?
[13:51]<dyguw>No, Pro.
[13:52]<sdnffdxdlld>ahhhh wilco, just the dude I was hoping for
[13:52]<dyguw>w
[13:52]<dyguw>Welcome Wilco.
[13:53]<dyguw>I'll head off to the bank now.
[13:53]<dyguw>See you guys later.
[13:56]<sdnffdxdlld>I'm off to grab some food and a plant box for my window sill
[13:56]<sdnffdxdlld>bbiab
[14:06]<zyccus>damieng: found a house yet?
[14:08]<tdlnr>the ref is the same as the &foo in C++?
[14:12]<sdnffdxdlld>ref means pass by reference rather than by value
[14:18]<lcs>so its the same
[14:27]<rnzrnf_->rikkus: thx already found it on my own
[14:27]<rnzrnf_->how can i convert a long to bytes?
[14:29]<rnzrnf_->nvm, found the bitconverter
[14:29]<lyfuym-wjzc>brb
[14:32]<vzdgdvd>hi. does anyone know how to customize the snap space for the windows forms editor?
[14:37]<jyvnzs>whats the required key length for rijndael
[14:42]<tdlnr>hey is making structs public good programming practice?
[14:43]<2uc>private struts dont help much, IMHO
[14:45]<tdlnr>using private really doesn't really help just like you said.maybe on certain things but not alot of things
[14:45]<lcs>yeap
[14:47]<tdlnr>do you use structs or classes really?
[14:47]<tdlnr>i just happen to prefer classes over structs imho
[14:50]<lcs>struct is the same thing as class
[14:50]<tdlnr>i like the idea of the partial classes . Does that man that partial gives a little bit more security?
[14:51]<tdlnr>strcuts you can do like struct foo{ public double bar1 = 1; public double bar2 = 2;}
[14:51]<tdlnr>structs*
[14:51]<tdlnr>can't*
[14:51]<tdlnr>my typing is bad this morning i need sleep
[14:52]<jyvnzs>so is your design phillosophy
[14:52]<tdlnr>but with classes you can. So you have a little more freedom with classes than strcuts but sometimes you lose performance with classes than you do with structs
[14:53]<tdlnr>i knew i'd be flame :(
[14:53]<jyvnzs>because you knew you didnt know what you were talking about?
[14:54]<tdlnr>i guess iono im falling asleep anyway its 6:52 and i need some sleep
[14:54]<lcs>yes, go to sleep
[14:55]<tdlnr>and give up on programming since ill probably never understand it anyway
[14:58]<sdnffdxdlld>dont expect to get programmign right away ... it takes a lot of practice
[14:58]<jyvnzs>especially with jerks like me trolling about
[14:59]<lcs>after 2 years of programming, you will notice that everything you wrote is written up side down
[14:59]<lcs>Jivers: ;D
[15:00]<sxmb>hi
[15:01]<sxmb>i've got a problem with databound combobox
[15:01]<sxmb>when i change the dataset the combobox stays the same
[15:05]<dnscr>how do you bind it?
[15:10]<rnzrnf_->is ther an equivalent to uint8 ?
[15:10]<sxmb>this.comboBox3.DataSource = this.ds;
[15:11]<sxmb>the number of rows in the dataset changes
[15:11]<sxmb>but not in the combobox
[15:11]<xgzjygg>Hi
[15:12]<dnscr>Shadda use BindingSource
[15:13]<dnscr>that is ShdB ..
[15:13]<sxmb>k
[15:13]<drdyrrr>omfg i've just agreed to buy a house
[15:25]<sxmb>wouldn't it be the same if i'd use a binding source
[15:25]<sxmb>since the dataset is above the binding source
[15:25]<sxmb>my dataset changes corectly
[15:26]<sxmb>but the combobox does not update
[15:29]<dnscr>how hard it is two try?
[15:30]<sdnffdxdlld>you around dude?
[15:30]<sdnffdxdlld>ooo you joined just before i wanted you lol
[15:31]<drdyrrr>Thinking of naming it Seas Harp
[15:31]<dnscr>:D
[15:35]<sdnffdxdlld>I'm using a return value in my Sql Server stored proc to tell my app how the execution went but if I use a data reader I cant get the return value until i've closed the connection, which is after i'm done with the data and so the return values is a bit useless
[15:35]<sdnffdxdlld>anyone know of an alternative method i could use for communicating the status?
[15:35]<sdnffdxdlld>I suppose I could always append it as a column on thr row
[15:36]<dnscr>exception if 2005?
[15:37]<sdnffdxdlld>an exception isnt right for telling my app that the current record is still valid and doesnt need updating
[15:37]<dnscr>a that kind of info..
[15:37]<sdnffdxdlld>yer
[15:39]<sdnffdxdlld>thinking about it the appending a column is a fairly clean way of doing it and should perform well
[15:40]<dnscr>hm
[15:40]<jyvnzs>why does pressing on a button on my form close the form
[15:40]<dnscr>how large is the data?
[15:40]<jyvnzs>why would that happen
[15:41]<jyvnzs>http://pastehere.com/?aajwen
[15:41]<jyvnzs>here's the handler
[15:41]<jyvnzs>Valid() == false
[15:41]<jyvnzs>form still closes
[15:41]<sdnffdxdlld>this is just for retriving a single item
[15:42]<sdnffdxdlld>but thinking about it this will work well for multiple records as well ... before I was just populating each one by one (yeah crappy i know but it was the prototype :P)
[15:43]<jyvnzs>have a look
[15:44]<dnscr>smellyhippy hehe
[15:44]<dnscr>Jivemonkey are you sure that Valid is false?
[15:44]<dnscr>Jivers..
[15:44]<jyvnzs>yeah
[15:44]<jyvnzs>i'm sure
[15:45]<jyvnzs>what gives?
[15:46]<jyvnzs>no ideas eh
[15:46]<jyvnzs>you think i'm nuts dont you
[15:46]<jyvnzs>think Valid() isn't really false
[15:46]<jyvnzs>i'm staring at the breakpoint, its as false as weapons of mass destruction
[15:47]<jyvnzs>form closes because it damn well feels like it, instructions be damned
[15:47]<jyvnzs>because .net's winforms programming model is obtuse and behaves unexpectedly depending on which quadrant the moon is in
[15:47]<dnscr>have you slept recently?
[15:48]<jyvnzs>no
[15:48]<jyvnzs>how can i sleep when something as simple as a button press, causes a form to randomly close
[15:48]<jyvnzs>and wastes a half hour of my time
[15:48]<jyvnzs>maybe longer







