Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > december 2005 > threads for sunday december 11

Filter by Day: 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

Barcode Reader Plugged in Keyboard
Posted by Serdar C. at 12/11/2005 11:24:12 PM
hello everyone, i have a question about retrieving data from a bar code reader plugged in keyboard port (ps/2) i really dont know how to retrieve data from keyboard, i tried some methods but all i could get was getting key values like "F7 key", or "Shift key"... can someone tell me how to ret...more >>

Creating Generic object at runtime
Posted by kumar.senthil NO[at]SPAM gmail.com at 12/11/2005 11:15:11 PM
Hi, I would like to know whether we can create a generic object at runtime using the type obtained using reflection. Type myType = Type.GetType("Namespace.Class"); MyClass<myType> test1 = new MyClass<myType>(); Basically, i need to create the generic object at run time and the typ...more >>

ComboBox question - display more than one field
Posted by gsb58 NO[at]SPAM hotmail.com at 12/11/2005 10:58:46 PM
Hi! In MS ACCESS 2000 it is possible to set the rowsource to display two or many fields from the tblCustomers in a combobox. How can I do the same with a ComboBox in C# (SQL DB) say...on a frmOrder where I have a combobox that looks up values from tblCustomers? Me.Name ...more >>

Converting html page to image
Posted by Steven Hill at 12/11/2005 8:08:59 PM
Hello All! Has C# any classes to convert html page to gif or tif? Anyone could please, give how to do it? Br Wew ...more >>

Update and AcceptChanges
Posted by perspolis at 12/11/2005 7:53:13 PM
Hi all when I call Update method of SqlDataAdaptor it calls AcceptChanges automatically.is it possible to prevent calling AcceptChanges?? I know I can use GetChanges method but because in my table the primary key is auto number when I merge back the changes, it shows the channges twice in DataG...more >>

teach me c# 10$/hour
Posted by michael horthum at 12/11/2005 6:38:32 PM
i want to learn c# from someone who knows it well. you should connect to my desktop with netsupport (rdp doesn't work) and coach mw with skype. a student who needs a little extra income is fine, i'm not looking for a industry professional to ask higher rates. first i would like to start w...more >>

switch, case, and how it sometimes lets you fallthrough
Posted by Benny Raymond at 12/11/2005 5:24:14 PM
I'm confused as to how fallthrough is limited in switch. For example the following works: string switch_test = "a"; switch (switch_test) { case "a": case "b": case "c": doSomething(a); break; } but the following does not work: string switch_test = "a"; switch (s...more >>

Beginner interface question
Posted by ^MisterJingo^ at 12/11/2005 4:41:05 PM
I've been reading up on interfaces, one example I came across showed that you can hide a method implemented from an interface from the class which implements it. To use it, you must cast to the interface type e.g.: interface IFoo { void display(); } class Blah : IFoo { void IFoo.d...more >>



How do I create an XML file for my VB 2005 App?
Posted by dm1608 at 12/11/2005 2:42:49 PM
I would like to plug in a bunch of static, but related, information into a XML file that can be used by my VB.NET 2005 utility application. I would like to do something like: <shortname> <longname> <description> <version> <dateupdated> </shortname> <shortname> <longname...more >>

Mouse Move Event problems
Posted by Marc Noon at 12/11/2005 2:00:23 PM
I'm fighting a problem with mouse move event and need serious help. I have a form, when it is not visibile I want it to recognize when the mouse is on the far right side of the desktop screen or another app. Then I want to make my form visible again. Is this possible with managed code. I'v...more >>

DragDrop
Posted by Meelis at 12/11/2005 1:54:24 PM
Hi Is it possible and when, then how? I wanna drag/move picturebox on a winform and drop in another place? Problem is i wanna see picturebox contents while dragging. Regards; Meelis ...more >>

Copy, Paste and Cut in C#?
Posted by Mateusz Rajca at 12/11/2005 8:28:02 AM
Hello, How can I add copy paste and cut to my browser in C#? I have the menu items labeled Copy, Paste and Cut. Now I just need the code? Mateusz...more >>

Access Modifiers
Posted by Roy Gourgi at 12/11/2005 8:17:41 AM
Hi, Is it possible to declare a variable or array in the class that is accessible to all the methods in the class? For the example below, I would like to make the variable lnVar1 accessible to both methods m1 and m2 but I am getting an error. Is there another way to do this? Thanks Roy ...more >>

Why is there a differnce between Print Preview and Print to printe
Posted by Gidi at 12/11/2005 7:58:02 AM
Hello, I've created a Document which i want to print using the PrintDocument class. In the document i draw some strings, and lines. When I PrintPreviewing my document (using the PrintPreview class) everything is ok, excatly as i draw it. but when i'm sending it to the printer, some of the st...more >>

What code should I write to hide the TaskBar?
Posted by Mateusz Rajca at 12/11/2005 7:30:02 AM
Hello, What code should I write to hide the taskbar? Mateusz...more >>

int? question
Posted by ^MisterJingo^ at 12/11/2005 4:04:30 AM
I saw this code on the net and was curious if anyone could tell me what the '?' directly proceding the int does? int? i = null; object o = i; if (o == null) Console.WriteLine("Correct behaviour - you are running a version from Sept 05 or later"); ...more >>

Facade Classes ????
Posted by Dave Johnson at 12/11/2005 3:56:15 AM
I had a problem in my OO Design, the idea is that i have a DataRepository Class That i want to only inherit from it speacial methods accourding to the child class, like i want the Client Class to just inherit GetClientInfo() from the DataReposiotry Class and the Order Class just inherits GetOrde...more >>

ascii encoding
Posted by edi sol at 12/11/2005 1:46:39 AM
Hi, I want to convert byte array to a string using ascii encoding. I use asciiEncoding.GetChars (asciiEncoding is ascii encoding instance). I want symbols greater than 127 to be represented with '.' symbol (not with '?') or another. How could I do this? Thanks. ...more >>

Number of references to an instance
Posted by Jason Bell at 12/11/2005 12:00:00 AM
How can I find out how many references to an instance exist at any given time? I want to make it so that when the number of references is one, a countdown starts (that one reference being the one held by the resource manager). This way I can ensure that objects are only deleted if they hav...more >>

Convert to C#
Posted by Bob Miller at 12/11/2005 12:00:00 AM
Hello. I need to convert some small Java source to C#. Can anybody help me? ============================================================================================ private SocketChannel getNBConnSock(SocketAddress local, SocketAddress remote, Selector sel) throws Exception { Socket...more >>

Hide MDI Client ControlBox
Posted by Saso Zagoranski at 12/11/2005 12:00:00 AM
Hi, In .NET 2.0 I have a MDI (parent) form with a menu and a toolbar. I also have a MDI child form displayed in the mdi parent form. The problem is, that when I maximize the child form it's ControlBox gets shown between the top and the menu of the parent box, which looks really bad (at le...more >>

system icon problem
Posted by joycsharp at 12/11/2005 12:00:00 AM
how to get the system registe icon with the file extension name. ...more >>

CInternetSession equivalent in C#
Posted by Barry at 12/11/2005 12:00:00 AM
Hi Does anyone know which is the equivalent class in C# for the MFC class "CInternetSession". TIA Barry ...more >>


DevelopmentNow Blog