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.40 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-01
[21:19]<ymuggjt0nt0n>Can anyone recommmend any tools for build automation?
[21:20]<sljjcn>someone knows if it is possible to change that setting at runtime?
[21:20]<azyfm>build automation: MSbuild or nant
[21:20]<azyfm>Settings properties with application scope are read-only
[21:21]<ymuggjt0nt0n>Nant? ok
[21:21]<azyfm>MSBuild is nice too, and what makes it even nicer is that the VS 2005 build project system uses it
[21:21]<azyfm>so any VS 2005 project file is automatically an MSBuild file
[21:22]<ymuggjt0nt0n>Are there any books that deal with GUI design patterns for .NET?
[21:22]<sljjcn>Arild so if i whant to connect to a database that the user have to find it in them hd is not possible?
[21:23]<azyfm>it just means you have to use the connection string you get from Settings as a default
[21:23]<azyfm>and set it properly through other means
[21:23]<sljjcn>Arid can u expalin me better?
[21:23]<sljjcn>sorry my english is not so good!
[21:24]<sljjcn>maybe with an example
[21:25]<sljjcn>i'm getting mad trying to change this setting...
[21:27]<azyfm>well, what are you using for data access, Spooke?
[21:27]<gjrvcxnne>Michael Casadevall is a douche
[21:27]<gjrvcxnne>an uber douche
[21:27]<sljjcn>ado .net 2.0 connection
[21:28]<sljjcn>a direct connection to the db...
[21:28]<gjrvcxnne>idunno: if you find any design patten books or urls, lemme know...
[21:28]<sljjcn>Arid are u thinking to an odbc connection...
[21:28]<azyfm>no
[21:29]<azyfm>you're using TableAdapters, then?
[21:29]<sljjcn>yes
[21:29]<sljjcn>and typed dataset too
[21:29]<azyfm>this is what I did: http://ankhsvn.com/svn/finalproject/trunk/tools/ErrorReport/ErrorReportExtractor/ErrorReportsDataSet.cs
[21:30]<azyfm>the .Connection of a TableAdapter is settable
[21:30]<sljjcn>yes
[21:30]<sljjcn>so at runtime i have to change all the ta settings!
[21:31]<azyfm>how many can there be?
[21:31]<sljjcn>not so mutch... 16 tables!
[21:33]<sljjcn>ConnectionScope.Connection
[21:33]<sljjcn>is a property of the class connection?
[21:33]<svzz[wjzc]>is there a way i can see the value of an object (the pointer, the adress it is pointing to)
[21:33]<azyfm>my own stuff
[21:33]<azyfm>not really, StaZ[work]
[21:33]<azyfm>what would you do with such information anyway?
[21:33]<svzz[wjzc]>check if 2 variables are pointing at the same object
[21:34]<azyfm>in the debugger?
[21:34]<svzz[wjzc]>yeah
[21:34]<azyfm>right click->Assign Object ID
[21:34]<ymuggjt0nt0n>Does anyone know of any books that deal with GUI design patterns in .NET/C#?
[21:34]<svzz[wjzc]>Arild thanks i'll try that out
[21:35]<rrd2uppnw>how do i enable foreach on my custon dictionary ?
[21:35]<azyfm>implement IEnumerable or IEnumerable<T>
[21:36]<azyfm>preferrably the latter
[21:36]<rrd2uppnw>ok.. thank you
[21:36]<sljjcn>Arid you think is better ann odbc connection or a direct connection to a db ???
[21:37]<sljjcn>*arild
[21:37]<azyfm>programming-wise, they look exactly the same
[21:37]<azyfm>that leaves it a question of performance and features, and you'll get more of both with a provider that's native to the DB you're using
[21:38]<sljjcn>thanks Arild
[21:56]<zslyzj>anyone here done asp.net?
[21:57]<zslyzj>I need some help with web controls please
[21:57]<svzz[wjzc]>ask your question directly
[21:57]<svzz[wjzc]>:P
[21:58]<rf2gzvgyg_zryr>hi!, i made a Windows service using c#, but when i try to tun it i get: "error 1075 the dependency service does not exist or has been marked for deletion" any ideas of what could be the problem or how could i solve it?
[21:59]<sdnffdxdlld>AlbertEin_ZaYa: does your service have a dependancy?
[21:59]<sdnffdxdlld>another service?
[22:00]<rf2gzvgyg_zryr>smellyhippy, no, AFAIK
[22:00]<rf2gzvgyg_zryr>is a simple service that runs a thread to check some stuff once in a while
[22:00]<rf2gzvgyg_zryr>i created a installer and run it
[22:00]<rf2gzvgyg_zryr>and i got that
[22:01]<sdnffdxdlld>hmmm :/
[22:02]<sdnffdxdlld>tried googling the error?
[22:02]<rf2gzvgyg_zryr>yes, no look, i only found entrys about specific service problems
[22:03]<sdnffdxdlld>hmmm yeah :\
[22:03]<sdnffdxdlld>bitchin
[22:03]<sdnffdxdlld>tried checking the service is installed properly?
[22:04]<azyfm>"net start" shows you all installed services
[22:04]<azyfm>or get-service if you are lucky enough to be using Powershell
[22:06]<rrd2uppnw>ok so i wrapped a datetime object, overrode the tostring() method, when that column is displayed in a gridview... nothing shows up... any ideas ?
[22:06]<zslyzj>It's mostly about custom designers, overriding CompositeControlDesigner .. I add an editableregion, but I get weird behaviour on editing contents of my container-based control.
[22:06]<zslyzj>Short story, a tab control .. <m:TabControl ID="t1"> <m:Tab id="tab1" Caption=".."></m:Tab></m:TabControl> ..
[22:06]<zslyzj>I can't use templates, because you can't have attributes on templates.
[22:06]<svzz[wjzc]>hey Arild, did i ever talk with you about my big problem of a Datagridview with a ComboBoxcolumn that displays a list of 2300 elements... the problem being that it loads and populate ONE combobox at time each time i focus on the row, instead of making One list and play with the pointers to show one populated list
[22:07]<rf2gzvgyg_zryr>Arild, what if the service is listed on the service window but not if i do a net start?
[22:07]<zslyzj>Any ideas please?
[22:07]<zslyzj>It all works runtime .. and in the designer, but *sometimes* the contents of the tabcontrol ( the tabs ) gets duplicated .. so I get double the amount of tabs within a tabcontrol.
[22:07]<zslyzj>The custom designer allows me to edit the selected tab visually, as a containercontrol, with the correct size and location.
[22:08]<zslyzj>?
[22:09]<azyfm>AlbertEin_ZaYa: That seems weird
[22:09]<zslyzj>Sorry I know it sounds a bit cloudy .. I've combed the net with google and posted in MS news areas, but it seems noone does things the way I do - almost no information on SetDesignerEditableRegionContent out there past the shitty MS documentation.
[22:09]<azyfm>StaZ[work]: Are you setting the .DataSource for the column multiple times?
[22:10]<azyfm>Good luck, Rspiro: custom designers are a well kept secret
[22:10]<zslyzj>how so?
[22:10]<azyfm>No one knows much about the subject
[22:10]<svzz[wjzc]>Arild nope i set the .DataSource on private System.Windows.Forms.DataGridViewComboBoxColumn clListing; directly
[22:11]<svzz[wjzc]>and i do that after the InitializeComponent(); (which adds that column to the datagridview
[22:11]<azyfm>how do you know it's populating the combo more than once?
[22:11]<svzz[wjzc]>because each time i enter a row it takes 5 seconds
[22:11]<azyfm>hm, getting nigerian scam mails purporting to be from London now
[22:13]<svzz[wjzc]>Arild it's okay that it takes 5 seconds to load the 2300 elements list, but only once, not each time i enter a row... thought the SelectedValues for each row renders correctly
[22:13]<zslyzj>ANy suggestions maybe?
[22:13]<azyfm>Rspiro: sorry
[22:13]<svzz[wjzc]>Arild i aldready did, didn't find anything very good, but help yourself, it might also be in the DataGridView or the DataGridViewCell
[22:14]<azyfm>DataGridViewComboBoxCell, more likely
[22:14]<svzz[wjzc]>hm right, sorry
[22:14]<azyfm>but DataGridViewComboBoxColumn.DataSource doesn't look promising...







