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.27 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-09
[18:11]<svzz[wjzc]>and sorry to be such a *insert an insult here* to you guys. :P
[18:12]<azyfm>nah, your questions are good
[18:12]<svzz[wjzc]>oh that's nice to know then! :)
[18:25]<svzz[wjzc]>my google-fu is weak today, what's the proper way to say "open this URL in default browser"... in VB6 i used the ShellExecute API
[18:31]<azyfm>System.Diagnostics.Process.Start
[18:31]<azyfm>it'll shellexecute by default
[18:32]<svzz[wjzc]>okay i wasn't so sure that was it
[18:36]<svzz[wjzc]>let's say i have a stored proc that returns 1 row with 1 column, always, and i need that in c#, so i build a SqlCommand object for it, that's ok... now to extract the value do i really need a DataAdapter, a Dataset and DataReader... all this for 1 value ?
[18:38]<azyfm>StaZ[work]: .ExecuteScalar
[18:38]<svzz[wjzc]>OHHHHH YEAH
[18:39]<svzz[wjzc]>i forgot about that one, saw that on my first tutorial about ADO.NET 2.0 lol
[18:39]<svzz[wjzc]>dumb me
[18:39]<svzz[wjzc]>even if it was a reader, a read can be obtained directly from a SqlCommand... damn i'm in the clouds!
[18:39]<svzz[wjzc]>(if that's an expression in english)
[19:04]<`d0>what ifI don't have the table name?
[19:04]<`d0>data_adapter.Fill(data_set,"myTable");
[19:05]<`d0>What should I place in myTable
[19:13]<mnzncs>so, is there a simple way to make a treeview with mulitple columns? i need it to be based on the plain .net 2.0 control because i ideally want to easily port it to mono
[19:36]<`d0>hi
[19:36]<`d0>What does this mean:
[19:36]<`d0>Inconsistent accessibility: return type 'DAO.IDatabaseAccessObject' is less accessible than method 'DAO.Factory.GetObject(int)'
[19:36]<`d0>I am trying to do a FActory PAttern
[19:37]<`d0>DAOFactory da = new DAOFactory();
[19:37]<`d0>It doesn't recognize DAOFactory
[19:41]<azyfm>the error means, for example, that you have a public method returning a type that's internal
[19:53]<vynvyv>haha
[19:53]<vynvyv>what a shitty way to say that
[19:55]<lxlwgnz>how do i make an x509 client certificate?
[20:01]<`d0>Hi,
[20:01]<`d0>Thanks Arild
[20:01]<`d0>it works
[20:02]<`d0>I have a question I am trying to make my database a new package..
[20:02]<`d0>Why do ?I need a control
[20:25]<mvjzzns>guys, i'm trying to learn C# and ASP.net to get a programming position at the company I work for. I'm a sufficiently advanced C/C++ programmer and I would just like to know what a good place for me to kind of dive head first into would be? how can i begin? are there any good tutorials for those new to C# but not new to programming?
[20:29]<svzz[wjzc]>when concatening(!?) strings, is it prefered to use mystr = String.Format("{0} {1}", str1, str2); or mystr = str1 + " " + str2; ??? (talking only about strings, not numbers)
[20:30]<azyfm>yes, it's preferred to use one of those
[20:31]<lznnvysx>Hey i want to use this code to login to azoogle.com http://rafb.net/paste/results/oW9aSY30.html
[20:31]<svzz[wjzc]>hm... i was kinda expecting a "the former" or "the latter" answer i must admit :P
[20:31]<lznnvysx>FormLoginGet("http://www.azoogleads.com", "msg=&login=digispace&Password=krishna11&Type=1&lmsg=&x=45&y=5", "https://www.azoogleads.com/az/getOffers.php" )
[20:31]<azyfm>for a one-off thing, it doesn't matter much either way
[20:31]<azyfm>I tend to prefer the former
[20:31]<lznnvysx>When i called it like that it still dont retunr the login page instead return a page with login unsuccessful
[20:31]<lznnvysx>Though username andpass is correct
[20:32]<svzz[wjzc]>Arild all right, thank you
[20:33]<azyfm>"The super-saturation and monoculture of IE6 from 2002 to 2004 created an incredibly rich, vibrant development platform where developers were free to push the capabilities of the browser to its limits."
[20:34]<lnvnzxu>my bullshitometer just pegged at 11
[20:34]<azyfm>lol
[20:35]<azyfm>http://www.codinghorror.com/blog/archives/000606.html
[20:54]<mnzncs>does anyone know of a .net XML-RPC library in public domain?
[21:03]<z1gm1z>sup
[21:05]<`d0>hi what is the difference between EXPLICITY implement Interface, or Implement Interface
[21:12]<lzjd>i assume that it allows you to differentiate if two interfaces conflict or something
[21:12]<azyfm>explicit interface implementation requires you to be at least 18 years old when using it or implementing it
[21:13]<pzjdyv>21 in some states
[21:15]<svzz[wjzc]>is there a built-in functionnality of a combobox that will make it accept only Items of the list, as in prompt an error if the text written does not correspond to an item in the list?
[21:15]<pzjdyv>yeah, i forgot what though
[21:15]<pzjdyv>poke around
[21:22]<vxznrm>StaZ[home], just set its DropDownStyle to DropDownList or whatever that is
[21:23]<svzz[wjzc]>no, the people should be able to write in it
[21:24]<svzz[wjzc]>my "Cities" drop down has 1500 rows, i don't think they'll lick clicking the city the want :D
[21:25]<`d0>how do you extend in C#?
[21:25]<pzjdyv>class Foo : Bar
[21:25]<`d0>thats implements
[21:25]<pzjdyv>class Foo : Bar, ICheese
[21:25]<pzjdyv>there is no need for separate syntax, a la java
[21:25]<svzz[wjzc]>lol cheese
[21:25]<`d0>?
[21:26]<`d0>When you : you implement
[21:26]<pzjdyv>it's quite obvious whether you're implementing or extending based on whether the target is a class or an interface
[21:26]<`d0>ah
[21:26]<svzz[wjzc]>`m0 class foo : bar, Icheese -> Foo implements bar and icheese, while i cheese and bar extends foo
[21:26]<`d0>.NET is sick
[21:26]<svzz[wjzc]>well that's how i see it
[21:27]<pzjdyv>um what?
[21:27]<pzjdyv>Foo extends bar and implements ICheese
[21:27]<svzz[wjzc]>right sorry
[21:29]<szzcyn>hi
[21:30]<azyfm>public interface ICheese{ void EmitSmell(); }
[21:30]<szzcyn>is there a good site to help me understand OOP properly :)
[21:32]<svzz[wjzc]>any tutorial about a OO language will have its section about OOP
[21:33]<szzcyn>yeah but none I really understand properly, i get class inheritance, a super class has methods that will be implemented, interfaces can be used to say they are "Moveable" and such, just its a bit gay
[21:34]<svzz[wjzc]>http://zone.ni.com/devzone/conceptd.nsf/webmain/DCAF6FDB7A3BC02486256D4F00721675 try this
[21:35]<szzcyn>tah :)
[21:36]<svzz[wjzc]>if you're kinda "visual" and wanna see some advanced example check this website it clearly explains some design patterns http://www.dofactory.com/Patterns/Patterns.aspx
[21:37]<szzcyn>yeah exactly :)
[21:37]<szzcyn>i am that, rather see an example rather than writing
[21:37]<svzz[wjzc]>well i find it clear, and they always have an 2 example, 1 with "real" code and one where objets have names that you can identify, like class Animal, class Cat
[21:38]<szzcyn>yeah, i draw a UML Class diagram in a job interview
[21:38]<szzcyn>i got the job
[21:38]<szzcyn>just not really "into" it
[21:38]<szzcyn>like i am with procedural based i.e. c
[21:38]<szzcyn>and C# is amazing
[21:38]<szzcyn>esp the visual c# 2005 ide
[21:38]<szzcyn>very intuative
[21:39]<svzz[wjzc]>yeah i love ti







