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.67 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-24
[01:11]<vyzusdjvnev>hey i got a question why do i get a value of 20900.000 from a database row that is maked money? How can I have shown as 20900.00?
[01:19]<cjmgrug>Priest-of-Psi: you there?
[01:22]<ajsnlx>Hey guys, how do I send the output from a query directly to a printer?
[01:33]<vyzusdjvnev>anyone?
[01:33]<ajsnlx>anyone what?
[01:34]<vyzusdjvnev>hey i got a question why do i get a value of 20900.000 from a database row that is maked money? How can I have shown as 20900.00?
[01:35]<lxzjsvd>VirusDotNET: the row is a float/double right?
[01:35]<vyzusdjvnev>decimal
[01:35]<lxzjsvd>that too
[01:35]<lxzjsvd>String.Format should work
[01:35]<vyzusdjvnev>im having it shown through a GridView
[01:36]<lxzjsvd>neat
[01:36]<vyzusdjvnev>yeah
[01:36]<vyzusdjvnev>phrosty, do you know anything about GridView?
[01:37]<lxzjsvd>nope :)
[01:37]<vyzusdjvnev>oh
[01:44]<vyzusdjvnev>okay this is majorly pissing me off
[01:45]<vyzusdjvnev>if i had a mdf to the App_Data i have to have SQL Express installed but I have SQL Server Developer Edition installed though
[01:47]<rtdfyrrf>VirusDotNET, for the money question try making the field a smallmoney field.
[02:18]<rtdfyrrf>So, if I'm not using VS, how do I define my window dimensions and place objects on it?
[02:19]<sdgrl>moin, does anyone know how I can use visual studio 2005 to link a filetype to my application ?
[02:19]<y-gz>aTypical: the window is an object :)
[02:20]<y-gz>I would assume a container
[02:20]<txnjzd>aTypical: Adding objects to your forms Controls collection
[02:20]<rtdfyrrf>OK, but how do you do it?
[02:20]<rtdfyrrf>Can someone give me a quick 101 on it?
[02:20]<txnjzd>look at the code vs.net generates for a quick guide
[02:21]<rtdfyrrf>That's true.
[02:21]<y-gz>aTypical: http://shepherdsbush.dcs.hull.ac.uk/wiki/index.php/Creating_an_edit_form#Creating_a_Form
[02:23]<dbq>hi, i'm wondering how is it recommended to work in c# with sqlite?
[02:24]<rtdfyrrf>Thanks, i-nZ
[02:24]<dbq>i have found http://adodotnetsqlite.sourceforge.net/ and http://www.phpguru.org/static/SQLite.NET.html which is better, and is there something better ?
[02:26]<dbq>i see... :)
[02:28]<dbq>hmm http://sqlite.phxsoftware.com/
[02:29]<rtdfyrrf>DB2, why not use SQL Server Express?
[02:30]<dbq>aTypical: cause i need something ultra-light that can be containted in a single .dll with hassle-free configuration
[02:33]<sdgrl>howla, could someone please help me for a sec. My application saves datafiles and I want to be able to click on the files (with a certain extension) in explorer so that it opens my .net application
[02:33]<sdgrl>and I can't find any reference on the subject
[02:34]<vufvuzn>synap: "Tools->Folder Options->File Types" (in Windows Explorer)
[02:35]<vufvuzn>as for registering those programmaticaly, probably something in the registry (and maybe some higher level wrapper)
[02:35]<vyzusdjvnev>whats a web service?
[02:36]<dbq>http://en.wikipedia.org/wiki/Web_services
[02:39]<dbq>nobody uses sqlite here?
[02:39]<rgmznrs__>DB2, I do
[02:39]<rtdfyrrf>VirusDotNET, it's when your program attaches to another computer to perform some work. A simple example would be calculating UPS or FedEx delivery charges. Instead of you having that info on your server you attach a UPS system and bring the data back.
[02:40]<dbq>Andreas__: with what lib ?
[02:40]<rgmznrs__>DB2, hang on
[02:42]<rgmznrs__>DB2, this one -> http://sqlite.phxsoftware.com/
[02:42]<rgmznrs__>for .Net 2.0
[02:42]<rgmznrs__>so far it has worked like a charm
[02:43]<rgmznrs__>beware that it will return a database INT as a C# Int64 (long)
[02:43]<dbq>must i install the msi ?
[02:43]<rgmznrs__>no
[02:43]<rgmznrs__>you can get just the dll
[02:43]<rgmznrs__>add it as a reference
[02:43]<rgmznrs__>and you're good to go
[02:43]<dbq>is there any documentation (and code examples) for using it ?
[02:44]<dbq>and where is the .dll ? http://sourceforge.net/project/showfiles.php?group_id=132486&package_id=145568 has only the .msi and source
[02:46]<dbq>Andreas__?
[02:48]<rtdfyrrf>DB2, check this link - http://sqlite.phxsoftware.com/forums/thread/1493.aspx
[02:48]<rtdfyrrf>I think it has what you're looking for.
[02:48]<dbq>and also i'm new to vs2005, what is the builtin sql designer?
[02:49]<vyzusdjvnev>SpikeLite google Learn C# 2.0 ASP.NET Atlas Tutorials
[02:49]<slycnlyvn>Result: Free <b>Tutorials</b>, Articles, Examples, Code Snippets, Lists, and more <b>...</b> : http://aspalliance.com/
[02:49]<svlnvnz>hi all
[02:49]<rtdfyrrf>DB2, I'm new to programming all together so I'll be of no help there.
[02:49]<dbq>aTypical: thanks :)
[02:49]<svlnvnz>someone have used opencv with c#?
[02:49]<rtdfyrrf>No problem
[02:49]<dbq>any recommended link for working with ADO.NET ?
[02:49]<rtdfyrrf>w3schools has some good stuff
[02:51]<dbq>is this stuff thread-safe ?
[02:51]<dbq>the sqlite ado.net implmentation that is..
[02:53]<svlnvnz>i have an empty callback function that gets called from a direct show filter (com object), but gets called only one time before the app crash
[02:53]<svlnvnz>some hints?
[02:53]<rgmznrs__>DB2, yes, it is
[02:53]<svlnvnz>the callback function signature seems right
[02:53]<rgmznrs__>DB2, check out SQLite Administrator, good tool for managing your databases
[02:53]<rgmznrs__>while developing
[02:53]<dbq>Andreas__: ok, and can you a) recommend me on ado.net coding examples / tutorials ?
[02:54]<dbq>doesnt vs2005 have something internal for that?
[02:54]<svlnvnz>DB2: google-> msdn ADO.net
[02:54]<dbq>that i know, i was wondering if ppl have something else they can recommended
[02:55]<svlnvnz>mmm ok
[02:55]<rgmznrs__>DB2, well I took a class in university :)
[02:55]<dbq>heh
[02:55]<fnzjy>how about the samples the come with VS
[02:55]<dbq>maybe i'll take next semeter
[02:55]<rgmznrs__>our compendium is in norwegian though
[02:55]<dbq>Andreas__: you dont recommend the internal vs 2005 db designer?
[02:56]<rgmznrs__>DB2, I recommend Sharpdevelop instead of Visual Studio alltogether
[02:56]<dbq>i see
[02:56]<dbq>isnt it linux only?
[02:56]<rgmznrs__>not at all
[02:56]<dbq>i like eclipse the best :)
[02:56]<dbq>i'll give it a go tommorow
[02:56]<fnzjy>VS all the way
[02:56]<zgzzcygnv>yeah
[02:56]<dbq>welp, got to sleep
[02:56]<zgzzcygnv>VS kicks ass







