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.60 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[17:45]<ggyjzgx>has anybody worked a little on Office add ins ?
[17:51]<cjfmfusyjg>Motörhead :)
[17:52]<cjfmfusyjg>minux, du borde ändra ditt charset
[17:53]<dyguw>ColdFusion: Hmm?
[17:53]<cjfmfusyjg>"<minux> ColdFusion: Är du ifrån Sverige?" :p
[17:53]<dyguw>ColdFusion: Default charset i mIRC/Windows XP :)
[17:53]<cjfmfusyjg>ISO-8859-2 (Central Europe) ;)
[17:54]<dyguw>ColdFusion: Vet ej var jag ändrar det i mIRC :)
[17:54]<cjfmfusyjg>vut nu funkade ä för dig iaf :)
[17:54]<dyguw>How very nice =) ÅÄÖ åäö
[17:54]<cjfmfusyjg>kör x-chat här, simplet
[17:55]<cjfmfusyjg><minux> How very nice =) ÅÄÖ åäö
[17:55]<dyguw>Ah =)
[17:55]<cjfmfusyjg>var skyst att börja med när man var nub, sen kört vidare p? det ^^
[17:57]<dyguw>Finally, the base for my business concept is done.
[18:03]<svzz[wjzc]>damn c# controls has some very very weird behaviors when bound...
[18:04]<dnscr>heh
[18:04]<dnscr>StaZ[work] that is?
[18:05]<cjfmfusyjg>I could give a few examples hehe
[18:05]<cjfmfusyjg>forinstance the tabcontrol
[18:05]<svzz[wjzc]>for each record of my main form that i show... i create several objects, one for each row of a filtered datarow... so each record i enter, i clear the panel containing them and recreate new... MyPanel.Controls.Clear(); makes my Main Navigator freak out... if i foreach the contols collection, and call .dispose on each element, when there are 3 elements it makes the navigator freak out...
[18:05]<dnscr>i currently have bound dataGridView , which's one columns keeps coming back to the first position
[18:05]<svzz[wjzc]>if in my foreach i do MyPanel.controls[0].dispose() everything works fine
[18:05]<dnscr>heh
[18:05]<svzz[wjzc]>but i have to do a .clear after the foreach
[18:07]<svzz[wjzc]>is it possible in a property SET to see from where the "value" comes from?
[18:14]<cjfmfusyjg> string deleteStr = "DELETE FROM CONTACTPERSONROW WHERE FK_ContactPerson = " + fk_ContactPerson;//
[18:14]<cjfmfusyjg> if (fk_InvoiceLocation == -1 && fk_ServiceLocation >= 0)
[18:14]<cjfmfusyjg> deleteStr += " AND WHERE FK_ServiceLocation =" + fk_ServiceLocation;
[18:14]<cjfmfusyjg>am I doing something wrong there?
[18:16]<cjfmfusyjg>anyone?
[18:16]<wyfaj>drop the WHERE after AND
[18:16]<cjfmfusyjg>oki
[18:16]<wyfaj>and lookup "parameterized queries" if you care about security.
[18:17]<wyfaj>+data
[18:17]<cjfmfusyjg>perfect thanks works now
[18:18]<cjfmfusyjg>dont actually care for this project but will do anyway :)
[18:21]<dyguw>ColdFusion: What kind of software are you writing?
[18:27]<ggyjzgx>Damn #@!
[18:28]<cjfmfusyjg>minux, confidential :p hehe, but will be privatly used, by some tecnichans regestering and updating stuff and scheduling tasks with offlinedatabases
[18:28]<ggyjzgx>why the fuck microsoft examples cannot be compiled half of the time ?!?!?!?
[18:28]<dyguw>ColdFusion: I suspect it has something to do with economics :) Due to the use of an InvoiceLocation variable in the above SQL query.
[18:28]<cjfmfusyjg>enioreh, I've never failed a compilation of a ms example
[18:28]<dyguw>enioreh: Of course they can.
[18:29]<cjfmfusyjg>well not relly, that's just a bonus for them so they fast and easy can see who they are to bill for their work on some place
[18:29]<dyguw>ah
[18:29]<dyguw>I see now.
[18:30]<cjfmfusyjg>gtg, bbl
[18:32]<gyaj>Hi
[18:32]<aauddygs>Yo
[18:32]<gyaj>How to prevent an application to be started two times ?
[18:32]<dyguw>nico: Mutex.
[18:33]<dyguw>nico: Google for application mutex and so on'
[18:34]<gyaj>with visual studio 2005 it's possible to disable an application of being started two times no ?
[18:34]<drdyrrr>you'd have to code that into your application
[18:34]<dyguw>nico: No stupid, you'll have to write it yourself like with everything else.
[18:34]<dyguw>nico: Visual Studio can't create the application for you.
[18:34]<drdyrrr>best thing to do is to alloc a mutex with your app name at start-up and exit if you can't alloc.
[18:35]<drdyrrr>nice attitude minux
[18:35]<aauddygs>damieng: I think you're talking way above nico's head
[18:35]<dyguw>damieng: I am sick of stupid people asking stupid questions. E.g. can Visual Studio create an application for me?
[18:35]<dyguw>jcummins: Indeed he is.
[18:35]<ggyjzgx>hmm ..
[18:35]<ggyjzgx>Error 1 The type 'Microsoft.Office.Core.CommandBars' is defined in an assembly that is not referenced. You must add a reference to assembly 'Office, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Documents and Settings\seb\Mes documents\Visual Studio 2005\Projects\VipexOutlook\VipexOutlook\Connect.cs 100 13 VipexOutlook
[18:35]<dyguw>nico: Do you understand what we are saying?
[18:36]<dyguw>enioreh: Paste-bin you silly moron.
[18:37]<dyguw>enioreh: Btw, the error tells you what to do.
[18:37]<sdnffdxdlld>what would the repercussions be for not setting the sql data type on input perameters?
[18:37]<dyguw>enioreh: Add a reference to Office.
[18:37]<ggyjzgx>there's already a reference to office
[18:38]<dyguw>enioreh: Then something else is wrong, go google for it.
[18:38]<aauddygs>smellyhippy: runtime errors if type checking isn't enforced
[18:38]<ggyjzgx>Microsoft.Office.Core , and Microsoft.Office.Interop
[18:38]<sdnffdxdlld>is it enforced by default on 2005?
[18:38]<ggyjzgx>ok :)
[18:39]<sdnffdxdlld>oh wait I've already solved this problem
[18:39]<sdnffdxdlld>nm
[18:39]<sdnffdxdlld>thanks jcummins :)
[18:42]<awjzdd>gotta figure out teh name for teh new software
[18:42]<awjzdd>i just deployed
[18:42]<awjzdd>:-D
[18:43]<gyaj>minux>I have read somewhere that visual studio has an option to disable an application from being started two times !
[18:43]<aauddygs>nico: just code it yourself. Don't rely on vs.net to do anything for you.
[18:47]<svzz[wjzc]>what is the "PROPER" way to remove all the controls from a Panel's controls collection knowing that inside the controls of the collection there are bound controls?
[18:48]<svzz[wjzc]>mypanel.clear() doesn't do, it makes my Navigator freak out for a reason i ignore
[18:48]<svzz[wjzc]>* mypanel.controls.clear()
[18:49]<awjzdd>wooohoo
[18:49]<awjzdd>came up with a name for the new software
[18:50]<awjzdd>T.I.T.S. (Title Insurance Tracking Software)
[18:50]<svzz[wjzc]>lol
[18:50]<aauddygs>heh
[18:50]<aauddygs>nice
[18:50]<awjzdd>my boss approves, changing the assembly name
[18:51]<ycnr_>import tits.nipples;
[18:51]<drdyrrr>my pet project at home is codenamed meh
[18:51]<drdyrrr>I've got code here that says Node<T> where T: Leaf
[18:52]<aauddygs>using tits.nipples; tits.bind(this);
[18:52]<aauddygs>sorry
[18:52]<aauddygs>I'll shut up now :-)







