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.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-06
[08:56]<dzzajqq>if isConnected sounds better
[08:57]<kuggys>But Connected and Disconnected are two diffrent things.
[08:57]<kuggys>But.. yeah.
[09:06]<afd>awwww
[09:06]<afd>.net documenting tools suck :(
[09:06]<afd>all of them :-/
[09:06]<afd>ndoc stopped, sandcastle can't make html, and doxygen just doesn't work right :-/
[09:07]<afd>i tried a commercial one but there is nowhere to set serial
[09:07]<afd>bah
[09:12]<kuggys>There's a large section on it... the most common suggestion is to just use an animated graphic.. just so the users think something is going on. Real progress bars are hard.
[09:13]<dzzajqq>heh, yeah I got it down, the thing is that when DocumentCompleted Event sends the signal, it does not always set the maxium and clean it
[09:15]<dzzajqq>http://monoport.com/784 I think that is a pretty good implementation
[09:16]<dzzajqq>nevertheless, its just for looks, there is absolutely no accuracy in browser progress bars
[09:16]<dzzajqq>it just makes you feel as if something is happening
[09:19]<kuggys>You can make some that really work.... they are just horribly hard.
[09:19]<kuggys>The most common solutions are using something AJAX
[09:19]<kuggys>Or just doing a full blown postback, and checking the status.
[09:20]<dzzajqq>not worth the effort. I just want it because of the bling factor
[09:20]<kuggys>There's a lib called ajax.dll, it's pretty simple
[09:20]<kuggys>You have to write a little bit of JS, and that's it.
[09:21]<dzzajqq>AqD: tried ghostdoc?
[09:21]<afd>what's it??
[09:21]<afd>it's not listed on sharptoolbox?
[09:22]<afd>oh it's not
[09:22]<afd>i want one that generate web pages from xml comments
[09:22]<afd>i'm using sandcastle but still need to work on content tree
[09:23]<dzzajqq>I did not knew the .NET dev community was so big
[09:23]<dzzajqq>it seems as most people are adopting it for creating windows app
[09:23]<dzzajqq>why wont Microsoft drop Basic then?
[09:23]<cfudsd>#sql
[09:27]<vufvuzn>marco22: because basic & .NET are orthogonal (they kind of exist independently of one another)
[09:27]<vufvuzn>which is kind of by design - so those who wereusing VS pre-.NET can have some degree of migration to .NET
[09:29]<dzzajqq>but it will eventually be phased out?
[09:29]<vufvuzn>not necessarily, maybe more people will move to C# as they realise they've learnt most of the concepts with VB.NET anyway.. *shrugs*
[09:30]<vufvuzn>but .NET is meant to be a multilanguage platform, so I assume they'll keep doing stuff with other languages (C++/CLI, VB.NET, etc)
[09:31]<kuggys>C++/CLI has it's uses... I mean even Pacal.Net and Cobal.Net are used.
[09:35]<dzzajqq>C# is just nice and flexible to code with.
[09:37]<kuggys>I wrote in MC++.... it's flexable... just a PITA.
[09:37]<kuggys>you end up have to put __ all over the place
[09:38]<kuggys>And you have to manually box stuff.
[09:54]<kuggys>And the blasted #undef new!
[10:37]<cj2nz>Hey I have an asp.net 2.0 project that has a webservice in it and I'm getting this error: 'StableWizard.XMLCache, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'StableWizard.WebServiceData, Version=1.0.4.35989, Culture=neutral, PublicKeyToken=1bff9ad76bafba0f' which has a higher version than referenced assembly 'StableWizard.WebServiceData, Version=1.0.4.30043, Culture=neutral, Publi
[10:37]<cj2nz>cKeyToken=1bff9ad76bafba0f'
[10:37]<cj2nz>But the reference is a project reference, the version it wants is the version I have, I don't see how they can be different
[10:38]<cj2nz>is there a way to fix it?
[10:38]<kuggys>your StableWizard.WebServiceData is out of date according to that
[10:40]<cj2nz>Kunnis, Yeah but its not, its the very latest and every project in my solution is referencing it as a project
[10:40]<cj2nz>not a binary reference
[10:40]<kuggys>StableWizard.XMLCache need StableWizard.WebServiceData, Version=1.0.4.35989 but it's only finding StableWizard.WebServiceData, Version=1.0.4.30043
[10:41]<kuggys>But look at StableWizard.XMLCache what does it reference?
[10:42]<kuggys>And what is the name of your Webservice, just to make it easier to talk about.
[10:45]<cj2nz>InfoService
[10:45]<cj2nz>I pulled the files down into the wrong directory off of vss but that shouldn't have mattered
[10:45]<kuggys>Okay, look at what XMLCache refs, not infoservice.
[10:45]<cj2nz>It was referencing the right one
[10:46]<cj2nz>but i'm fixing the directory to see if it effected it
[10:46]<kuggys>Which it are you talking about?
[10:46]<cj2nz>WebService Data was pulled down into the wrong directory
[10:50]<jnnajdnv>how can i assign the nodes from treeview1 to treeview2 (why treeview2=treeview1 doesn't get me the expected result, linke string2=string1) ?
[10:51]<cj2nz>Hmm, I moved them into the right directory and rebuilt and it worked
[10:51]<cj2nz>Thanks for helping me undertsand what the error meant
[10:51]<kuggys>Np
[10:56]<dzzajqq>bye all, nice crowd and channel
[11:14]<jnnajdnv>how can i assign the nodes from treeview1 to treeview2 (why treeview2=treeview1 doesn't get me the expected result, linke string2=string1) ? :)
[11:48]<znmnzz>*yawn*
[11:48]<znmnzz>4:40am, time to sleep
[11:57]<szgdzzajs>if I wanted to return an array of strings I would do public string[] myfunc right?, also if no parameters are need, is the () needed?
[12:02]<mracn>yes and yes
[12:02]<mracn>unless you use a property, which is not recommended unless the method is indeed a property
[12:09]<szgdzzajs>thank
[12:11]<szgdzzajs>how would I append strings to an array, as in Ruby's myarray << "data". (this is string[] mylist)
[12:11]<szgdzzajs>specifically, is there a method to append ?
[12:12]<szgdzzajs>without having to specify an index
[12:13]<mracn>regular arrays aren't dynamic
[12:13]<mracn>if you know the size of the array beforehand, you may do this:
[12:13]<szgdzzajs>crapola!
[12:13]<mracn>string[] myList = new string[n];
[12:13]<mracn>myList[i] = foo;
[12:13]<mracn>myList[i+1] = bar;
[12:13]<mracn>etc..
[12:14]<mracn>if you do not know the size of the list before hand, you should use List<> or ArrayList if in pre 2.0
[12:14]<mracn>ie:
[12:14]<szgdzzajs>yeah each of my array items is a newline of text in a file
[12:14]<mracn>List<string> myList = new List<string>();
[12:14]<mracn>myList.Add(foo);
[12:14]<mracn>myList.Add(bar;
[12:14]<szgdzzajs>oh that is nicer
[12:14]<mracn>of course with the parenthesis I forgot at the last one ;o)
[12:15]<mracn>if you're not in .net 2.0 though, you have to use ArrayList
[12:15]<mracn>which can be a pain, since it's not generic
[12:15]<mracn>ArrayList myList = new ArrayList();
[12:15]<mracn>myList.Add(foo);
[12:15]<mracn>myList.Add(bar);
[12:15]<mracn>so far so good
[12:15]<szgdzzajs>i am in 2.0 :)
[12:15]<mracn>but when we want a string from the list we have to do this:
[12:15]<mracn>string myString = (string)myList[i];
[12:16]<mracn>this casting dance can quickly evolve into dirty code







