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: 1825.50 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-03
[00:02]<lcs>dell bateries?
[00:02]<zyjvnz>well sony but yeah
[00:10]<vuwyluwy>i need a component which looks like http://doc.trolltech.com/4.0/images/windowsxp-treeview.png but simply with the columns and items, i don't need the treeview hierachy
[00:11]<vuwyluwy>and i can't get that result with a list view apparently :/
[00:11]<sxyg-rr>treeviw?
[00:12]<vuwyluwy>not list view, Shin-Ra?
[00:12]<sxyg-rr>that scrollbars?
[00:12]<vuwyluwy>a list view can have scrollbars too
[00:13]<sxyg-rr>well whatcha looking for
[00:13]<vuwyluwy>ok i'll do it asci style, wait a second
[00:15]<vuwyluwy>http://rafb.net/paste/results/CQdS5n27.html it should look like that where "Name, Bla, Bla2, Bla3" are columns and the rest are items
[00:16]<sxyg-rr>learn about Console.WriteLine And Console.Write
[00:17]<vuwyluwy>i'm looking for a graphical component. the asci thing was just for demonstrating how it should look like
[00:17]<sxyg-rr>Well there is GridView
[00:19]<vuwyluwy>not in Windows.Forms apparently
[00:19]<sxyg-rr>r u using mono?
[00:19]<vuwyluwy>no, windows with #develop
[00:19]<sxyg-rr>i hope thats not x-develop lol
[00:19]<rtdfyrrf>What's #develop?
[00:20]<vuwyluwy>SharpDevelop
[00:20]<sxyg-rr>ah
[00:20]<rtdfyrrf>Ah
[00:20]<furyrs_o`nnyf>Hello, I am new to c# and I am trying to create a text editor. I have the layout computer and text feild. What I need to do now is code the buttons, What code would I use for a "New" comand?
[00:20]<pzggjgg1000>'new'.
[00:21]<pzggjgg1000>Oh. You'd create a new TextField in a new.. whatever, and set it to the front.
[00:21]<sxyg-rr>I just got finished creating a test editor XD
[00:21]<sxyg-rr>text*
[00:21]<furyrs_o`nnyf>What would the code be for the button?
[00:22]<sxyg-rr>Lucias_O`Neil, pick up a book ;)
[00:22]<furyrs_o`nnyf>I got one coming in the mail.
[00:22]<sxyg-rr>Read it
[00:23]<sxyg-rr>how can you create a text editor if you don't learn the language
[00:23]<duvnwns>can someone tell me how to use the Calendar control in .NET (2.0) to highlight a certain time span between two Datetime objects [i.e. i don't want to use it for date selection, but rather for date display]
[00:24]<jusvygc>yes, someone can tell you!
[00:24]<jusvygc>however that person is not in thsi channel :(
[00:25]<sxyg-rr>and would would that be?
[00:25]<sxyg-rr>who*
[00:25]<jusvygc>Bill Gates
[00:25]<jusvygc>(aka Sir William Gates)
[00:26]<sxyg-rr>ah
[00:28]<sxyg-rr>he wouldn' know either. Cause he has a developer leader and team to do tht for him. His name is just on it
[00:28]<jusvygc>I think he'd know more than you'd suspect :P
[00:29]<jusvygc>I think like all developers he still pulls out Visual Studio and fools around !
[00:29]<sxyg-rr>i guess
[00:35]<duvnwns>explain Karim
[00:35]<duvnwns>what do you mean multiple
[00:36]<duvnwns>all of these vars are the same type? C# is an object oriented language
[00:37]<vuwyluwy>why don't you return an array of strings?
[00:38]<duvnwns>Karim, each method is not meant to do multiple things
[00:38]<duvnwns>in terms of design
[00:49]<yffyvya>http://rafb.net/paste/results/ZP9qOV41.html <- how can I fix this? I'm using anonymous delegate in BeginInvoke but it's not working properly.
[00:49]<jusvygc>please describe your problem in english. what's the problem
[00:49]<jusvygc>?
[00:49]<vuwyluwy>doesn't the .net library come with a XML-RPC class/module?
[00:49]<yffyvya>see the url
[01:03]<yffyvya>anyone? it prints 0 10 10 10 10 ... instead of 0 1 2 3 4 5. it's like anonymous function keeps getting the updated value of i rather than the one I "passed" to it
[01:08]<vufvuzn>illitic: considered using "Invoke" instead of "BeginInvoke"?
[01:08]<vufvuzn>something that blocks, rather than executing asynchronously
[01:09]<jusvygc>Is it possible to control the color of a control when it's not Enabled?
[01:09]<jusvygc>When I change this control to Enabled=false, it turns gray. How can I prevent it from changing color?
[01:13]<yffyvya>vulture well I want it to execute asynchronously
[01:13]<vufvuzn>illitic: why's that?
[01:14]<vufvuzn>then save the value you want in a temporary before you fork.. problem is that you don't do that so when the invoked code gets called (at some later time) it gets the value of 'i' at _that_ time
[01:14]<yffyvya>i dont want a socket thread to wait for displaying to finish
[01:14]<jusvygc>illitic: what is the problem exactly?
[01:14]<jusvygc>It sounds like you might want multiple threads.
[01:15]<yffyvya>output is 0 10 10 10 10 ... instead of 0 1 2 3 4 5. http://rafb.net/paste/results/ZP9qOV41.html
[01:15]<vufvuzn>he has them, he's just having a little difficulty understanding the semantics of asynchronous execution
[01:15]<vufvuzn>illitic: try "int x = i;" as the first line inside the loop & then use x in your delegate
[01:17]<jusvygc>illitic: I know why you're getting htat problem. I answered you the other place you asked :P
[01:18]<jusvygc>You don't seem to be responding now though
[01:28]<pzrrnrvqt0wr>wtf
[01:28]<jusvygc>WTF!
[01:28]<jusvygc>WTF mode is really hard to play.
[01:28]<pzrrnrvqt0wr>hey guys
[01:28]<jusvygc>Hello.
[01:30]<yffyvya>vulture that worked, thanks to both
[01:31]<jusvygc>Damn. I need to play more WOW.
[01:31]<jusvygc>Stupid programming keeps getting in the way =]
[01:31]<pzrrnrvqt0wr>i got a db table with ~ 2K entries, which i load into memory and then, lineary go through the table and highlight records which have "issues" according to some convention.
[01:31]<pzrrnrvqt0wr>i added a simple regex
[01:31]<jusvygc>Project2501a: What kind of database?
[01:31]<pzrrnrvqt0wr>Regex onlyLetters = new Regex( @"^\w+" );
[01:32]<pzrrnrvqt0wr>JustinC: SQL2K5
[01:32]<pzrrnrvqt0wr>that doesn't really matter, cuz all the processing is done locally.
[01:32]<jusvygc>How do you load it into memory? SQL server almost certainly doesn't load it into memory.
[01:32]<pzrrnrvqt0wr>...
[01:32]<pzrrnrvqt0wr>i use an sql data adapter and fill a datatable with it.
[01:32]<jusvygc>Oh, so you mean REALLY load it.
[01:33]<jusvygc>I thought you just meant like open it or something :P
[01:33]<pzrrnrvqt0wr>YA RLEY!
[01:33]<pzrrnrvqt0wr>;)
[01:33]<pzrrnrvqt0wr>no.
[01:33]<pzrrnrvqt0wr>i assign then the datatable into a datagrid's .DataSource
[01:33]<pzrrnrvqt0wr>http://rafb.net/paste/results/cNuvuz80.html
[01:34]<pzrrnrvqt0wr>^-- my program has been stuck in this method for like ~ 45 mins now
[01:34]<jusvygc>2K entries shouldn't take that long. Maybe you should run a profiler on it and see where the time went.
[01:34]<pzrrnrvqt0wr>and the machine i'm running it on, is like a dual amd x2







