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.23 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-11
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Next >
[18:54]<cjmgrug>yea, code everything in c# and use VB as the stooge :p
[18:54]<ljzvrwnw>Liquid-Silence, so now you're an expert. http://www.soulsphere.org/stuffage/bf.net/ for your compiler.
[18:55]<svzz[wjzc]>hey guys my IDE gives me a very, very stupid error : http://rafb.net/paste/results/kmkCrb71.html anybody know how i could resolve that?
[18:57]<svzz[wjzc]>i just don't get what the frekaing hell is the designer looking into the form load
[18:57]<fyfuym-syfggag>Moridin8: correct
[18:57]<svzz[wjzc]>this code also gives me the warning : "Error goddamit"
[18:57]<svzz[wjzc]>so am i missing something?
[18:58]<fyfuym-syfggag>what ide?
[18:58]<svzz[wjzc]>VC# 2005 express
[18:58]<fyfuym-syfggag>oh
[18:58]<svzz[wjzc]>it won't let me design form1, and gives me a warning : the text of my exception in form 2
[18:59]<svzz[wjzc]>... it's simple polymorphism no!?
[18:59]<fyfuym-syfggag>heh
[18:59]<fyfuym-syfggag>you broke it
[18:59]<svzz[wjzc]>can i repair it?
[19:00]<mjzymygo>Staz: it's the IDE being shite
[19:00]<svzz[wjzc]>Moridin8 even the warning?
[19:00]<fyfuym-syfggag>with a hammer and some super glue
[19:00]<fyfuym-syfggag>yeah
[19:00]<svzz[wjzc]>>_<
[19:00]<svzz[wjzc]>somebody... kill me please
[19:00]<svzz[wjzc]> - Adam Sandler.
[19:00]<fyfuym-syfggag>but you might need a repair guy
[19:00]<fyfuym-syfggag>StaZ[work]: close vs2005
[19:00]<fyfuym-syfggag>and open it again
[19:00]<fyfuym-syfggag>its a vs2005 issue
[19:00]<fyfuym-syfggag>not a code issue
[19:00]<mjzymygo>StaZ: check the 'this.DesignMode' property
[19:01]<gjeed>i want to send only one string in a aspx page but Response.Write doesnt omit the rest of the page; anyone know howto clear a aspx page?
[19:01]<mjzymygo>Gozzy: hit Response.End
[19:01]<zyccus>"Somebody, please, shoot me in the head!" -- Cat from Red Dwarf
[19:01]<zyccus>Response.Clear() first
[19:01]<mjzymygo>rikkus: having fun at work ;)
[19:01]<svzz[wjzc]>aw... need to go for lunch, see you after hehe
[19:05]<fyfuym-syfggag>rikkus: htf does hinheriting work in vb.net
[19:05]<fyfuym-syfggag>I have a form called form2
[19:05]<fyfuym-syfggag>that inherits syste......form
[19:05]<zyccus>Liquid-Silence: same way as in C#
[19:05]<fyfuym-syfggag>and then form1 inherits Form2
[19:05]<fyfuym-syfggag>but its tell me to get lost
[19:05]<zyccus>Moridin8: It's just realloc
[19:05]<fyfuym-syfggag>because the base class
[19:05]<fyfuym-syfggag>its different
[19:05]<gjeed>great, thx Moridin8
[19:05]<fyfuym-syfggag>Public Class Form2
[19:05]<fyfuym-syfggag> Inherits System.Windows.Forms.Form
[19:06]<fyfuym-syfggag>Public Class Form1
[19:06]<fyfuym-syfggag> Inherits Form2
[19:06]<fyfuym-syfggag> Inherits Form2
[19:06]<fyfuym-syfggag>errr
[19:06]<fyfuym-syfggag>erm ok
[19:06]<zyccus>Liquid-Silence: sorry, never tried inheriting from Forms... I'd expect weird stuff to happen because Forms is an unmanaged wrapper
[19:06]<fyfuym-syfggag>it works
[19:07]<fyfuym-syfggag>rikkus: yeah I saw that now
[19:07]<fyfuym-syfggag>brb
[19:08]<mjzymygo>rikkus: VB.NET's ?: equivalent IIF():
[19:08]<mjzymygo>public static object IIf(bool Expression, object TruePart, object FalsePart)
[19:08]<mjzymygo>{
[19:08]<mjzymygo> if (Expression)
[19:08]<mjzymygo> return TruePart;
[19:08]<mjzymygo> return FalsePart;
[19:08]<mjzymygo>}
[19:08]<mjzymygo>*lol*
[19:09]<zyccus>yes, it evaluates both arguments and is sick - it's for compatibility with VB6
[19:09]<zyccus>you also have to cast the retval
[19:09]<zyccus>unless you're a VB6 coder and simply avoided Option Strict
[19:10]<mjzymygo>which is so dumb as to be DUMB in .net
[19:10]<zyccus>you can use it from C# if you like
[19:11]<mjzymygo>I know... like i'd want to
[19:11]<zyccus>I bet you use it all the time
[19:12]<mjzymygo>;) of Cooooourse I do...
[19:12]<mjzymygo>like ?: isnt good enough
[19:14]<maxgg>hi
[19:14]<mjzymygo>rikkus: have you seen what VB.NET compiles ReDim Preserve to?
[19:15]<mjzymygo>rikkus: and have you looked at the runtime use of 'CopyArray' in the Microsoft.VisualBasic.CompilerServices namespace of the M$.VB.dll
[19:33]<-- 2funn xrs fuyv (">home")
[19:33]<ymuggjotot0>Is there any way to compile Java source code into .NET ?
[19:35]<zyccus>how about http://www.ikvm.net/ ?
[19:35]<mjzymygo>idunno85850: using the Java to C# conversion tool ... maybe
[19:35]<zyccus>not quite what you asked, but perhaps useful
[19:38]<cxrfnm>how about J# ?
[19:39]<al->anyone know of any mysql drivers that are not gpl'd?
[19:39]<al->maybe lgpl or some other license, but not the gpl.
[19:51]<lnvnzxu>i'm a little surprised the mysql connector is GPL
[19:52]<fyfuym-syfggag>:(
[19:52]<cyffm-r-vjg>did it taist bad?
[19:53]<fyfuym-syfggag>fark man lemon juice is evil
[19:58]<dy>hi, is anyone aware of a static analysis tool for c# code?
[20:00]<mjzymygo>yi: as in code metrics?
[20:02]<mjzymygo>wb mo`
[20:02]<dy>no, as in like lint
[20:02]<d0`>hi
[20:02]<d0`>im at the lab :)
[20:02]<d0`>/dns 137.122.90.144
[20:02]<mjzymygo>yi: vs2k5 Team System for developers comes with one.
[20:02]<d0`>oops
[20:02]<mjzymygo>yi: there is FX cop too.
[20:03]<mjzymygo>and something called Lattix, but I don;t know much about that
[20:04]<zgzzcygnv>http://atheism.about.com/b/a/257839.htm







