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: 1809.36 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-19
[00:40]<zgzzcydjvgev>argh
[00:40]<kjr>GoatCheez: how many?
[00:40]<gjrvcxnne>just one
[00:40]<gjrvcxnne>in the begining if anything
[00:40]<kjr>GoatCheez: only ever one?
[00:40]<kjr>or 0 or 1
[00:40]<zgzzcydjvgev>iTunes hijacks my cd drive while other things are burning and causes disc burns to fail :(
[00:40]<kjr>GoatCheez: in that case, you'd want -?...
[00:40]<gjrvcxnne>0 or 1
[00:40]<kjr>although, I'm not sure if - is valid
[00:41]<kjr>because in a class it's a range
[00:41]<kjr>you might want to try escaping it
[00:42]<gjrvcxnne>soooooooooo (\-)\d\.\d{n,m} ?
[00:45]<gjrvcxnne>that COULD work....
[00:46]<zgzzcydjvgev>well
[00:46]<zgzzcydjvgev>Int64, not Int32
[00:46]<gjrvcxnne>well, see i have a bunch of string in a hashtable to match against, and one textbox for input, i want to use the strings in the hashtable to match against the text box to validate the input depending on what is selected in alistview
[00:46]<zgzzcydjvgev>would let you evaluate a larger number
[00:46]<gjrvcxnne>i COULD change those regex's to delegateds
[00:47]<zgzzcydjvgev>use a MaskedTextBox :)
[00:47]<gjrvcxnne>err delegates, but i already am doing that for another part, and it'd be nice to show customers how to use regex's in textbox validation
[00:47]<zgzzcydjvgev>to restrict input to a certain format
[00:47]<gjrvcxnne>how oudl masking help?
[00:47]<gjrvcxnne>ahhhh
[00:47]<gjrvcxnne>didn't know about that
[00:47]<gjrvcxnne>probably a MUCH better method
[00:47]<zgzzcydjvgev>:D
[00:47]<zgzzcydjvgev>yeah
[00:47]<gjrvcxnne>ummmm
[00:48]<zgzzcydjvgev>handled internally by the MaskedTextBox control and thus should be easier and faster (both in development and use/runtime)
[00:48]<gjrvcxnne>i assumed it was a property or something..
[00:48]<gjrvcxnne>ohhhh
[00:48]<zgzzcydjvgev>its a different control than TextBox
[00:49]<gjrvcxnne>how does the masking work
[00:49]<gjrvcxnne>and i'm still not finding it anywhere
[00:49]<gjrvcxnne>(HAS TO BE .NET 1.0)
[00:49]<gjrvcxnne>lemme guess
[00:50]<gjrvcxnne>it's new in 2
[00:50]<zgzzcydjvgev>oh
[00:50]<zgzzcydjvgev>it might be
[00:51]<gjrvcxnne>is there a website that's like there to simply create regex match strings?
[00:51]<zgzzcydjvgev>probably
[00:51]<gjrvcxnne>I can't fiddle through MS's poor documentation
[00:51]<gjrvcxnne>is there a site with better?
[00:51]<zgzzcydjvgev>theres also tools to do that
[01:04]<zgzzcydjvgev>lol
[01:05]<-- rjrvcxrrr xrs fuy>http://www.jpg.com")
[01:31]<zndy_wjfnz>Anybody know how to fill a datagridviewcombobox with data, depending on the value selected in another combobox in the same row?
[01:33]<zndy_wjfnz>for example: if the user selects "toys" the combobox will be filled with "bears, pencils, dolls". If the user selects "sports" the combox will be filled with "balls, clothing, bikes, rackets"
[01:35]<al->what's the datasource? a database?
[01:35]<zndy_wjfnz>yes
[01:35]<al->can't you change the query in a change event on the combobox to do that?
[01:36]<zndy_wjfnz>I change the query, but I can't figure out where to bind the dataset to. If I bind it to the column, it works for the first row, but throws an exception for the next. And I can't seem to bind it to a specific cell
[01:37]<zndy_wjfnz>ftr: I have it bound to the CellValueChanged eventhandler atm
[01:40]<cfudsd>i registered some domains, including windowsscripting.info , to build a portal site of loyal windows scripting technologies users, only to just recieve a letter from a law firm saying i'm infringing on the windows (TM) trademark
[01:42]<zndy_wjfnz>they refer to the trademark id etc, look that up, to see who was first. If you were first, you are the legite owner. But you prolly loose anyway because of the money it costs to get a decent lawyer
[01:42]<zndy_wjfnz>they refer to the trademark id etc, look that up, to see who was first. If you were first, you are the legite owner. But you prolly loose anyway because of the money it costs to get a decent lawyer
[01:42]<cfudsd>its windows, its their trademark.. but i think its fair use.. as its in the contenxt of windowsscripting.info, where like a book that has windows in its title, it speicifically says they are not MS, and MS owns the trademark.. but its about windows
[01:43]<cfudsd>and this a community site about windows and their products, and the lwa says "diluting" the trademark, yet as a commnity site, it is enriching not diluting
[01:43]<cfudsd>but its not worth fighting
[01:43]<zgzzcydjvgev>they cant sue you based on the domain name
[01:43]<zgzzcydjvgev>only the content hosted on the domain name
[01:44]<zgzzcydjvgev>if you have a disclaimer at the bottom that says "Microsoft is a trademark of Microsoft Corporation", you should be fine
[01:44]<zgzzcydjvgev>erm
[01:44]<zgzzcydjvgev>"Windows is a trademark of Microsoft Corporation"
[01:44]<zndy_wjfnz>isn't Windows Scripting a registered trademark too? I assumed that when I read your line
[01:44]<cfudsd>nope, the mail just says windows is the trademark
[01:44]<zndy_wjfnz>ah okay
[01:44]<cfudsd>that is being infringed
[01:44]<zndy_wjfnz>in that case: ignore my message :)
[01:45]<cfudsd>and "windows powershell" on another of the sites i have
[01:45]<-- sgvgzs xzs fuyv (>/dev/brain")
[01:45]<zgzzcydjvgev>should have registered "windowscripting.info" :)
[01:45]<cfudsd>without the s?
[01:46]<zndy_wjfnz>:p
[01:46]<zgzzcydjvgev>yeah
[01:46]<zgzzcydjvgev>"windows" is their trademark
[01:46]<zgzzcydjvgev>"window" is not
[01:46]<cfudsd>well they did sue a teenager in canada called MIKE ROWE, who registered MIKEROWESOFT.COM
[01:47]<cfudsd>and all his content was only about his own stuff
[01:47]<zgzzcydjvgev>successfully sue?
[01:47]<cfudsd>well intimdated him to pull it :)
[01:47]<zgzzcydjvgev>if they did, they must have paid the judge off
[01:48]<zgzzcydjvgev>thats just scare tactics, and its illegal
[01:48]<zgzzcydjvgev>ignore stuff like that
[01:48]<cfudsd>i think its a case of the left hand not knowing what the right is doing.. i think this IP law firm, just prowls for all domains with the word windows in it :), i need to contact my contacts inside MS directly and see what they say
[01:50]<cfudsd>it just caught me off guard, the last thing i expected after building a good relationship with MS , allowing them to use my product whenever they showed off their product and teched, and similar sort of conferences
[01:54]<vj2nxe[r]>it seems that partial classes can't get checked for custom attributes (or they get overlooked or something) in .net 2.0 - any way around this?
[01:59]<-- dyrnnprd wrs puyv> i mean the other left <-")
[02:40]<rxrcr>tobehz, there's got to be a way around that. Avalon's got a few partials within it
[02:41]<rxrcr>I've defined tons of custom avalon controls which are split between xaml and code, and specified localization and collection related attribs
[02:47]<vynvyvq>there are many people in the java world that feel when you create new instances of objects you should do your best to do it in an interface method
[02:47]<vynvyvq>err
[02:47]<vynvyvq>a factory method
[02:47]<vynvyvq>are there a lot of people that agree with that for C#?
[02:47]<rxrcr__>tobehz, did you get my comments about attributes?
[02:48]<rxrcr>ohwell
[02:52]<nvzzfzsv>tieTYT2: yes, pretty much all such java design principles apply to C# as well







