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 > dotnet general > june 2006 > threads for tuesday june 20

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

'System.Drawing.Bitmap.Bitmap()' Error
Posted by Fir5tSight at 6/20/2006 8:56:43 PM
Hi All, I used the following code in C#: using System.Drawing; //blah blah blah Bitmap bmp = new Bitmap(); bmp = (Bitmap)image.GetImage(); I got the compiling error: "'System.Drawing.Bitmap.Bitmap()' is inaccessible due to its protection level" Any advice on how to get rid...more >>


Newbie question: late-bound components
Posted by las NO[at]SPAM labapps.com at 6/20/2006 4:51:17 PM
I am transitioning from the COM world to .Net, and can't find an answer to a fundamental question. How do I late-bind to classes that did not exist at the time I wrote my application? I don't need to be spoon fed how to do it, but am having trouble navigating the documentation to find t...more >>

Designer Generated Code
Posted by Jessard at 6/20/2006 4:36:06 PM
Hi all, Can anyone give me an example of how to change what code the designer will generate when creating a typed dataset using the VS wizard? I have been informed that this is possible but have no idea where to look to be able to do this. For what I am doing, I do not wish to inherrit or...more >>

für_entity-base-classes
Posted by cody at 6/20/2006 3:58:54 PM
I have a baseclass named Entity. All stuff like Customer,Invoice,Article and so on will derive from this class. I have fields in the base class like "tablename" and "primarykeyname" which is used to create the database operations on the class. now the question is: how do I enable my base cla...more >>

Locking on async calls
Posted by Shak at 6/20/2006 3:42:56 PM
Hi all, I'm trying to write a thread-safe async method to send a message of the form (type)(contents). My model is as follows: private void SendMessage(int type, string message) { //lets send the messagetype via async NetworkStream ns = client.GetStream(); //assume client globally ...more >>

How much do I use try/catch statement in my code?
Posted by Back 9 at 6/20/2006 1:44:01 PM
I try to insert try/catch statement in every single method of my c# code to prevent the app from crashing not nicely. Do you think it is good idea? I remember that an artical says " do not overuse try/catch " but I don't remember the reason why I should overuser. I don't see the reason I shoul...more >>

Newbie needs help
Posted by PhillipLad at 6/20/2006 1:03:02 PM
Hello, I am using Visual Studio .NET 2002, but I want to be able to use some of the features in the .NET 2.0 framework like System.Collections.Generic. I updated my computer to the 2.0 framework, but in Visual Studio .NET, I am unable to use or see the 2.0 framework changes. Does anyone...more >>

How to kill a thread blocked on an interop call?
Posted by Christopher Carnahan at 6/20/2006 11:02:20 AM
I need to figure out how to terminate a thread while it is blocked trying to create a COM object via interop. In a worker thread, I do something like this: Type t = null; Object activatedObject = null; Legacy.IScheduled comObject = null; t = Type.GetTypeFromProgID(ProgID...more >>



How to work with Assembly Dependencies?
Posted by alexander.glass NO[at]SPAM gmail.com at 6/20/2006 10:39:23 AM
I have a strange problem and I cant fix it because I don't understand how assembly dependencies work. I created a project "project 1" that used two assemblies: "assembly xyz" and "assembly 123". I create a new project and add "assembly xyz" from the "project 1" folder. Now I am told that T...more >>

Converting Types from reflection
Posted by Larry R at 6/20/2006 10:36:56 AM
I am trying to use a config file to determine which class to use in the following statement: Dim tp as new TimePeriod ' this is a class that uses a strategy pattern tp. SetTimeStrategy ( new HourStrategy) 'HourStrategy is a "TimePeriodStrategy" type The above code works fine. What I need...more >>

remove a items that's been selected from a listview
Posted by Mike Johnson at 6/20/2006 9:55:02 AM
How do I remove a item that's been selected from a listview? I'm using Visual Basic 2005 express edition. Thanks ...more >>

Access Console Application from Managed Code
Posted by Will Asrari at 6/20/2006 8:33:59 AM
I am working on a project now for a client that requires all managed code. I have rewritten about 60% of the code and functionality in C# and have now come to the complicated part of picking apart the existing stored procedure and "managing" it. Two tasks that I am outing from the stored proc...more >>

Production vb6 and visual studio 2005 on the same machine
Posted by Tobin at 6/20/2006 8:17:02 AM
Hello, I'm developing production software in VB 6 sp5. We are looking to convert our software to visual studio 2005. Resources are limited and I would like to install 2005 on the same machine but am concerned about any components that may be installed in the process that will mess up my v...more >>

VS 2005 upgrade - detect previous release
Posted by Scott R at 6/20/2006 5:25:01 AM
I have purchased the VS 2005 professional upgrade. I would like to remove VS 2003 prior to installation. If I uninstall VS 2003, how does VS 2005 know I qualify for the upgrade pricing? ...more >>

Html Rendering in Winforms
Posted by ramesh at 6/20/2006 3:53:40 AM
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into windows form, but it should not be dependent on IE or mshtml. I didn't get such kind of control so fa...more >>

remoting using asp.net
Posted by rajesh at 6/20/2006 12:06:26 AM
hi can anyone send me code for doing the chat applicaion in asp.net webform using remoting. ...more >>

VB Express vs. ????
Posted by Alan Gillott at 6/20/2006 12:00:00 AM
Can anyone tell me the catch in VB.NET 2005. I've been trying to figure it out from the marketing gobbledegook. The biggest catch i can find is the reference to one click deployment (as meaningless a phrase as i can think of). does that mean i can't create a regular setup deployment? rules it, a...more >>


DevelopmentNow Blog