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.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-31
[05:29]<zndy_wjfnz>eh okay... Then I don't get your question. Do you want to wait for the childform to close, then execute a method? Or let the child call a method in the parent?
[05:29]<zndy_wjfnz>ic
[05:29]<zndy_wjfnz>then use ShowDialog();
[05:32]<22vnax>Remi_Woler: thanks that did the trick :)
[05:32]<zndy_wjfnz>:)
[05:33]<cgyzls>Remi_Woler.. last time you hear from me.. I swear
[05:33]<zndy_wjfnz>:P
[05:33]<zndy_wjfnz>NP
[05:33]<cgyzls>label1.update() isn't working :(
[05:33]<zndy_wjfnz>I started the same way a long while ago
[05:34]<cgyzls>hehe yea
[05:34]<cgyzls>public void Set_Lab1(string str){MessageBox.Show("Inside Set_Lab1"); label1.Text = "fuck"; label1.Update();}
[05:35]<cgyzls>see.. when I call that from another class.. I see the messagebox.. but the label doesn't update
[05:35]<cgyzls>oops.. forgot I had the text set to that
[05:35]<cgyzls>lol
[05:36]<zndy_wjfnz>and it is better to use .Refresh() iirc
[05:36]<cgyzls>neither are working
[05:36]<zndy_wjfnz>not if you have both values set to the same :p
[05:36]<zndy_wjfnz>and call that from within the method
[05:37]<cgyzls>huh? it is
[05:38]<zndy_wjfnz>knirps: try replacing: label1.Text = "fuck"; with: label1.Text = str;
[05:40]<cgyzls>yeah okay.. but the label still says label1
[05:44]<cgyzls>and i'm calling Set_Lab1("hello");
[05:44]<zndy_wjfnz>You see the MessageBox?
[05:44]<cgyzls>yeah
[05:45]<zndy_wjfnz>if so: add a breakpoint on the Update/Refresh line, and see what the value of label1 is
[05:51]<cgyzls>okay.. when I finally get to the label1.text = str; line in debugger
[05:51]<cgyzls>str == "ha" and label1.text = "label1"
[05:52]<cgyzls>man I love this debugger
[05:53]<cgyzls>label1.Update(); doesn't do anything
[05:53]<cgyzls>or seem to do anything
[05:55]<zgzzcygnv>hmmm i just thought of a good FPS handle... "Kick.Ass(Name[])"
[05:55]<zgzzcygnv>a spinoff on "kicking ass and taking names"
[05:55]<cgyzls>lol that is good
[05:58]<zgzzcygnv>:)
[06:01]<rrd2uppnw>where is a good place to paste ... pastebin doesnt seem to be posting
[06:01]<zgzzcygnv>theres one in the fsking topic
[06:03]<rrd2uppnw>is it possible to make a datagridview look like this ? URL: http://www.nomorepasting.com/paste.php?pasteID=66017
[06:04]<zndy_wjfnz>nopez
[06:05]<zndy_wjfnz>a row is a row. You can't combine 2 rows partially
[06:05]<rrd2uppnw>what would be the best way to get this effect
[06:06]<zndy_wjfnz>i have absolutely no clue... Neither would I know of a situation where you would need something like this
[06:07]<zndy_wjfnz>well, i know something... If it is only about displaying data, you could use a Forms.WebBrowser components, and let your html create the lay-out
[06:17]<cgyzls>When I step into Control.Update(); it doesn't do anything.. any idea why?
[06:17]<zndy_wjfnz>try Refresh()
[06:18]<cgyzls>I did. still does nothing
[06:18]<cgyzls>even in the debugger.. it just goes to the next line
[06:18]<cgyzls>and i'm Stepping in.. but for some reason it just steps over those 2
[06:19]<cgyzls>I even tried to invalidate the control first
[06:22]<cgyzls>four balls?
[06:23]<22vnax>Can someone tell me what my problem is? --> http://www.pastecode.com/2289
[06:23]<22vnax>I'm just trying to get the id of an auto incremented column after an insert
[06:23]<22vnax>its crashing on my cast to an int
[06:28]<zndy_wjfnz>bbtech: not sure about your situation, but the sql code to get the auto increment id is SELECT LAST_INSERT_ID();
[06:29]<22vnax>Server was unable to process request. ---> 'LAST_INSERT_ID' is not a recognized function name.
[06:30]<zndy_wjfnz>hmm
[06:34]<zndy_wjfnz>i use MySQL, but iirc, they use the same language for that
[06:39]<22vnax>Remi_Woler: the @@IDENTITY was correct...I needed to do a Convert.ToInt32( instead of a cast
[06:39]<zndy_wjfnz>oh okay
[06:44]<zndy_wjfnz>phew, looks like my project is fi-na-ly done :o
[06:52]<cgyzls>mine cant even change text in label :o
[07:25]<zgzzcygnv>whats the quickest way to pull a range of items out of an array, in sequential order?
[07:26]<zgzzcygnv>eg if i have byte[] Something = new byte[5] { 0, 1, 2, 3, 4 }; and i want to make a new byte[] containing Something[1] to Something[4], how would i do that?
[07:30]<jcynsdjcyn>Hm, do you guys help with Managed DirectX, or would I have to go to a DirectX channel for that?
[07:41]<vzznfuno90>hi
[07:42]<vzznfuno90>does anyone know how to save anything to .txt through c# code?
[07:42]<vzznfuno90>?
[07:43]<nnzjpfrr>uhm
[07:45]<nnzjpfrr>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiotextwriterclasstopic.asp
[07:56]<vzznfuno90>hi
[07:56]<vzznfuno90>does anyone know how to append a file?
[07:58]<nnzjpfrr>oh my god
[07:58]<nnzjpfrr>tareque840
[07:58]<nnzjpfrr>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiotextwriterclasstopic.asp
[07:58]<nnzjpfrr>read that for fucks sake...
[08:00]<jcynsdjcyn>zeroflag: He was disconnected before you sent it last time
[08:00]<jcynsdjcyn>[00:42:26] * tareque840 (n=khaled@toronto-HSE-ppp3969135.sympatico.ca) Quit (Read error: 104 (Connection reset by peer))
[08:00]<jcynsdjcyn>[00:43:11] <zeroflag> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiotextwriterclasstopic.asp
[08:01]<nnzjpfrr>~~
[08:02]<nnzjpfrr>he's probably pingouting right now and didn't get my last message either. :P
[08:15]<vzznfuno90>zeroflag: i got it but i am ashamed of the rudness of your manner.. are from US ARMY?
[08:16]<zgzzcygnv>LOL!!
[08:16]<zgzzcygnv>looks like someone is new to the internet
[08:16]<vzznfuno90>JOKEZ!!
[08:17]<vzznfuno90>ma grandmom used internet before your birth and me!? thot of it en ma momz stomach...:)
[08:17]<vzznfuno90>lol
[08:17]<zgzzcygnv>nice english fuckface
[08:17]<zgzzcygnv>oh wait you have numbers in your name, go back to the AOL chatroom you came from.
[08:18]<vzznfuno90>me not americano
[08:18]<zgzzcygnv>no, really?
[08:18]<zgzzcygnv>gtfo.
[08:18]<vzznfuno90>i am from island tuti
[08:19]<zgzzcygnv>we should bomb there next
[08:19]<zgzzcygnv>"they have WMDs! *bomb*"
[08:20]<vzznfuno90>AnarkiNet where are you from?
[08:21]<zgzzcygnv>some country thats alot better than the shithole you are from
[08:21]<zgzzcygnv>same with zeroflag
[08:21]<zgzzcygnv>his country is definately alot better than your shithole
[08:21]<svlnvnz>i've change various times the Pack(1,2,3,4,8) value in the structlayout attribute on an unsafe struct but the marshal.sizeof remain the same
[08:21]<svlnvnz>it's normal?







