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-28
[02:32]<rrpygay>Visual Web Developer ? auxilio ! ! !
[02:33]<sljjcn>notthing to do!
[02:33]<sljjcn>restarted sql
[02:33]<sljjcn>closed and reopened the progect
[02:33]<sljjcn>but still if i dran and drop the table no update or delete command!
[02:33]<sljjcn>someone knows why?
[02:33]<rgmznrs_>well snap
[02:35]<rrpygay>alguien sabe de un canal de C# en espaƱol ?
[02:35]<zj2-wzc>no
[02:38]<sljjcn>foud the reason!
[02:38]<sljjcn>on the table in sql was not declared the primary key!
[02:40]<rrpygay>thank you !
[02:40]<22vnax_>Is there a program that can list any exceptions that could possibly occur and were not caught?
[02:46]<zj2-wzc>bbtech_: I don't believe exception information is part of the assembly metadata so I would doubt such a tool exists
[02:46]<22vnax_>;(
[02:59]<zdzrvn>i need help from someone familliar with generic types and inheritance. i have something that wont compile, and i cant figure out why. it seems that things arent being inherited the way i expect them to be.
[02:59]<zdzrvn>i have a pasebin if anyone feels like taking a look
[03:00]<mggvrf_ffjss>paste it then :P
[03:00]<zdzrvn>http://pastebin.ca/102919
[03:01]<zdzrvn>the real pastebin seems to be down by the way...
[03:01]<zdzrvn>i dunno if its just me or what
[03:01]<zdzrvn>im just having bad luck all around ;)
[03:01]<zdzrvn>anyway, it dies at line 20
[03:02]<zdzrvn>it says T does not contain a definition for 'test'
[03:03]<zdzrvn>oh, wait. the indenting is all weird on this. let me fix it...
[03:03]<zdzrvn>http://pastebin.ca/102923
[03:05]<zdzrvn>it seems like inheritance doesnt work at all with generic types
[03:05]<mggvrf_ffjss>dunno. haven't studied generics yet
[03:05]<zdzrvn>but i cant find any documentation that says that
[03:07]<sz2yzgrzzsx>Notes to Inheritors When you inherit from Type, you must override the following members: GUID, InvokeMember(String,BindingFlags,Binder,Object,Object[],ParameterModifier[],CultureInfo,String[]), Module, Assembly, TypeHandle, FullName, Namespace, AssemblyQualifiedName, BaseType, GetConstructorImpl, GetConstructors(BindingFlags), GetMethodImpl, GetMethods(BindingFlags), GetField(String,BindingFlags), GetFields(BindingFlags), GetInterface(Stri
[03:08]<zdzrvn>sabiancrash: was that to me?
[03:09]<sz2yzgrzzsx>yah
[03:09]<sz2yzgrzzsx>your inheriting from a type right?
[03:10]<zdzrvn>well, its an object
[03:12]<sz2yzgrzzsx>won't you have to do something like
[03:12]<sz2yzgrzzsx>public class WMIPlugin2<WMIPluginOptions2> : Plugin2<WMIPluginOptions2>
[03:12]<zdzrvn>what line are you referring to?
[03:12]<zdzrvn>24?
[03:13]<sz2yzgrzzsx>yes
[03:14]<zdzrvn>i dont think so, but ill give it a shot
[03:14]<zdzrvn>i think i tried this actually
[03:14]<zdzrvn>nope, same problem
[03:14]<sz2yzgrzzsx>what is the error
[03:15]<zdzrvn>Error 1 'T' does not contain a definition for 'test' U:\Visual Studio 2005\Projects\NagiosPluginsNT\check_services_stopped\check_services_stopped.cs 31 39 check_services_stopped
[03:15]<sz2yzgrzzsx>k
[03:15]<zdzrvn>but maybe if i explain what im trying to do, someone can tell me a better way?
[03:15]<zdzrvn>ive only been writing c# for about a week
[03:16]<sz2yzgrzzsx>[Option("test", 't')] <-- is that being used properly
[03:16]<sz2yzgrzzsx>seems like that is your issue
[03:16]<zdzrvn>hmm
[03:17]<sz2yzgrzzsx>seems like the compiler is not lying
[03:17]<zdzrvn>but if i comment out line 20, it works fine
[03:18]<zdzrvn>look at line 21
[03:18]<zdzrvn>its the same thing
[03:18]<zdzrvn>the inheritance works there
[03:18]<zdzrvn>it only stops working on the generic type
[03:19]<zdzrvn>i just wish i had a reason why
[03:20]<zdzrvn>i cant find any documentation that would tell me why this is illegal
[03:20]<zdzrvn>maybe i need a constraint?
[03:24]<zdzrvn>ah ha! a constraint fixed it
[03:26]<mggvrf_ffjss>whats a constraint?
[03:26]<zdzrvn>http://msdn2.microsoft.com/en-us/library/d5x73970.aspx
[03:26]<kjr|jscjg>huh... I guess Rasmus was right after all... bastard
[03:28]<zdzrvn>"the compiler must have some guarantee that the operator or method it needs to call will be supported by any type argument that might be specified by client code."
[03:28]<zdzrvn>that is the key
[03:28]<zdzrvn>the compiler should give you a better error message
[03:32]<rxrcr>Kog, bout what?
[03:37]<sljjcn>good night to all
[03:38]<sdscr>I haev a asp.net page, with a sitemap, and every time i turn on securityTrimmingEnabled="true" in the web.config file, all the menu items disapear... any one why? only one should disapear
[03:49]<sz2yzgrzzsx>yah that is a shady error
[03:49]<sz2yzgrzzsx>reminds me of .net 1.0
[03:51]<-- czzzsu xzs fuyv (>Reboot")
[03:55]<sdscr>???? error?
[03:55]<sdscr>that the pages dont show up? I mean the links in the Menu Controls?
[04:29]<edjg>Hello.
[04:30]<edjg>I'm calling native code with P/Invoke, is there any way to catch when the native code calls exit(someint)?
[04:40]<slzygc_>is it just me or does this look a little cheap for a retail 3ghz p4 http://www.newegg.com/Product/Product.asp?Item=N82E16819116014
[04:42]<edjg>hmm
[04:42]<edjg>that's kind of old no
[04:42]<edjg>I'm too familiar with the old P4s, but I think that's an older core...
[04:44]<slzygc_>I dont know.. but I dont remember cpus that cheap a couple weeks
[04:44]<slzygc_>maybe that price drop intel announced has already came out
[05:13]<dzrrjgd>Is there any c# classses that is like a byte buffer with and Append() member?
[05:15]<dg1d0gya>hahaha, I'm bored
[05:20]<dzrrjgd>umm what?
[05:29]<dg1d0gya>...
[08:30]<rgugnw2006>Any good tutorials on learning C#. I just need to learn more about .NET, I am already pretty experienced with C++, Ruby, and ASM.
[08:56]<agvygaw0w>how do I cause a tooltip to show. right now, it only shows when the user hovers over the control
[08:57]<agvygaw0w>i want it to show when the form first loads
[09:01]<cjmgrug>what do you call the 'phenomenon' of 92 males and 0 females , disscussing a <insert topic> ?
[09:07]<kjr>chaka: what was he right about?
[09:07]<kjr>chaka: I was talking to Rasmus at the Yahoo! booth, and I had no idea who he was... I told him I had 8 years experience with it, and he thought I was probably exaggerating ;)
[09:07]<kjr>chaka: so he asked what the project was, and how I stored the info... I coulda sworn it was MySQL - but MySQL didn't exist in 98
[09:08]<kjr>chaka: so... I caught him after his BoF and was like 'well, now I have no idea...' he asked if it was mSQL, and I said I don't rightly remember... that was the end of that







