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
May 2008
June 2008


all groups > dotnet framework > april 2007 > threads for april 15 - 21, 2007

Filter by week: 1 2 3 4 5

Socket Problem: Exclusive Bind
Posted by MagicBox at 4/21/2007 5:35:06 PM
Hello all, I'm developing a TCP/IP message based client and server. Now, with the server I have a strange problem which I can't get rid of without using a strange work-around. The server is intended to exclusively bind to a given interface and port. No other application (or the same appl...more >>

naive question on applicatonrunnig from USB drive
Posted by GS at 4/21/2007 9:46:43 AM
is it possible for a regular(not power nor admin) XP user to run dotnet applcation from USB drive even if the host does not have dotnet run time?. if so how? I am thinking of C# on .net 2 ...more >>

Embedding UserControl in HTML on Vista
Posted by Glenn at 4/21/2007 6:28:02 AM
I have a Windows control library with a UserControl that is being embedded into an HTML page with an OBJECT tag. This control requires a configuration file and I have been successfully using a LINK tag to point IE to the configuration file. If you're not sure what I'm talking about this page...more >>

Time Setting - HELP!!!
Posted by Daniela at 4/20/2007 6:24:01 PM
My computer is stuck in the date : 21st April 2005 and I can't change it to 2007. Tried synchronizingmanually with internet server and it didn't work either! What can I do??? Thanks...more >>

MethodBuilder.CreateMethodBody
Posted by shark at 4/20/2007 4:27:25 PM
Hi, MethodBuilder.CreateMethodBody creates the body of the method using a supplied byte array of Microsoft intermediate language (MSIL) instructions. Is there any way to create and compile method at runtime created from byte[] of c# code? i.e. public int sum(int a, int b) { return a+b; ...more >>

Name Visability in XAML & Code Behind
Posted by hufaunder NO[at]SPAM yahoo.com at 4/20/2007 4:08:22 PM
In XAML you can give a name to each element so you can access it in the code behind file. This works fine for a WPF application but not a Windows Form application. Here is what I do: 1) Create a new WinForm application project 2) Add a new WPF User Control 3) In the XAML file give the grid a ...more >>

Printing Question
Posted by JB at 4/20/2007 1:48:02 PM
Hi Please forgive this basic question, as I am not a coder. I need to know how to Print an ASP web page in an application that has a printer button in the application not the browsers print button, however I don't want the URL printed on the page and I don't want the date printed. Is this s...more >>

Hooking ObjectDataSource Up to a Shared Generic Method
Posted by Aeden Jameson at 4/20/2007 1:17:19 PM
Hi Folks, I'm working with the ObjectDataSource class and I'm stuck on how I can specify a shared generic method of my DAO in the SelectMethod property of an ObjectDataSource. For example, I have Public Class Repository Public Shared Function GetByID(Of T)(ByVal ID As Object) As T ...more >>



ASP Pgm pls Rectify the problem
Posted by neeraja.ec NO[at]SPAM gmail.com at 4/19/2007 9:40:19 PM
hi i'm neeraja i'm new to Dotnet subject nd i'm getting one exception while running one ASP Pgm pls rectify the problem and what actually is.... help me out here is my pgm: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using...more >>

Managed vs Unmanaged Bare Bones Performance Test
Posted by adhingra at 4/19/2007 1:50:01 PM
At our company we are currently at a decisive point to choose between managed and unmanaged code on the basis of their performance. I have read stuff about this on various blogs and other websites. Then I decided to take my own test as I am more concerned with basic performance at this point. ...more >>

Add managed assemblies to GAC programmatically?
Posted by Jeff Johnson at 4/19/2007 11:59:00 AM
Let's pretend I really really really don't like ClickOnce and I want to implement my own updating process. Let's also say that I want the update process to be able to add new assemblies to the GAC. Since gacutil.exe no longer comes with the .NET framework by default, I can't simply shell out t...more >>

How to use WeakReference (dot net 1.1)
Posted by Rolf Welskes at 4/19/2007 12:00:00 AM
Hello, I have the following fundamental problem. Say I have a class ClsA and a class ClsB When the system works many objects of ClsB are generated, used and then freed. Now I have from any object clsB01 for example to inform all other existing objects clsB02, clsB03 etc. For this I have a ...more >>

Remember Me Checkbox via login control
Posted by Frank Miverk at 4/18/2007 1:49:22 PM
Hi, My boss is having a fit over the fact that the "Remember Me" checkbox doesn't stay checked when he visits the site after the initial visit. Any tips on how I might go about doing this? Thx, Frank ...more >>

How to determine a string is in valid dateTime format
Posted by Andrew at 4/18/2007 1:20:00 PM
Hello, friends, What is the best way to determine a string is in valid dateTime format? Thanks a lot....more >>

Any recommendations on a good .NET Reflection reference book?
Posted by roybrew NO[at]SPAM att.net at 4/18/2007 7:03:22 AM
Does anyone have any recommendations for a good .NET Reflection reference book? I'm not interested in "intro" books. I need to go a little deeper than that. ...more >>

.NET 2.0 Framework fails to install
Posted by H=E5vard_Olerud_Eriksen at 4/18/2007 6:34:52 AM
I keep getting the message: [04/18/07,15:18:42] Error 25015.Failed to install assembly 'C:\WINDOWS \Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll' because of system error: 0x80131107 [04/18/07,15:19:31] ***ERROR EVENT*** : Custom Action Failure:Action ended 15:19:31: when I ...more >>

Thread Abort and Unhandled Exception Event
Posted by pawel.kedzior NO[at]SPAM gmail.com at 4/18/2007 12:16:01 AM
Hi In .NET 2.0 unhandled exceptions in separate threads cause raising unhandled exception event and terminating the process. This is true for most exceptions, but not for ThreadAbortException, what is reasonable. I have verified this with following example: class Program { priv...more >>

WCF & WF & SmartClient
Posted by hufaunder NO[at]SPAM yahoo.com at 4/17/2007 9:31:00 PM
I'm new to wcf & wf and try to get a handle on how all this should be used, in particular for a smart client like an email program, a trading platform, etc. For something like that you have the common 3 tiers: 1) Some GUI that has certain buttons, i.e. send email/stock order. There might be d...more >>

Database Designer in VS .NET 2003?
Posted by victorcamp at 4/17/2007 5:25:01 PM
I've noticed that the Add Database, Add Table, Add View, etc., right-click menu items are not available in the Server Explorer in Visual Studio .NET 2003. The connection and binding to my SQL Server 2005 works fine. When I check Visual Studio 2005 (not .NET), the Server Explorer does have thos...more >>

Export Restrictions on .NET ??
Posted by Emby at 4/17/2007 3:07:46 PM
There used to be restrictions on the export of "enhanced encryption" (which usually meant encryption with a strength greater than 40-bit) to certain "restricted countries" (Cuba, Iran, Iraq, Libya, North Korea, Sudan, Syria and Vietnam - the list varies over time) But v2.0 of the ,NET fram...more >>

Framework Bug: KeyedCollection<T>
Posted by Chris Mullins [MVP] at 4/17/2007 12:10:50 PM
KeyedCollection is a very handy little class, that unforutnatly has a nasty bug in it. The bug (which I ran across) causes the following code to fail: if (!rooms.Contains(room)) _rooms.Add(room); The problem is that contains returns "false", but then Add throws an exception because...more >>

WIA to .Net
Posted by Mike Partain at 4/17/2007 10:07:40 AM
Anyone know why WIA has not been moved to .Net? As best as I can tell, the current WIA (WIA automation) is a pre-XP designed API. Yes, I know about the com interop stuff - it does not work for the real world. Are there any inexpensive alternatives? I worked for a company that purchased 3r...more >>

How to access Lotus Organizer 6 data using C# ?
Posted by Lilian at 4/17/2007 9:12:03 AM
Hi, A customer using a SQL Express 2005 database wishes to import contract data from his Lotus Organizer 6. As I do not own this software I have no idea about the way it stores its data and how I can access it ? (ODBC or something else ?) Thank you for your help...more >>

upgrade .NET version with ClickOnce?
Posted by Ben at 4/17/2007 8:50:02 AM
Hello, I've written an application in .NET 2.0 and used ClickOnce deployment. I've set the prerequisites options to 'download from component vendor's website'. When users try to install it via the web, if they haven't got .NET framework installed at all, then it asks them whether they want t...more >>

Forms and Labels
Posted by Allen Maki at 4/17/2007 12:00:00 AM
Hi Everybody, I am new to Famework Programming and I need your help. In Visual C++ .NET Forms. Labels. If I want to add XXXX to the label, I can do that through the "Text" property in the property editor. But I want to add the XXXX during run time. In other words I w...more >>

How to do P2P
Posted by Donald Adams at 4/17/2007 12:00:00 AM
I need to create an application that can connect from our customer (who uses a proxy server and only allows connections out via http) to our server and if our server has a change of information can send events back to the client app. Both Messenger and Skype work well in this environment. ...more >>

XML reader issues....
Posted by Lloyd Dupont at 4/17/2007 12:00:00 AM
I have a XML document (not of my making) which starts like that: ========== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ......................... =========...more >>

Is this CLS compliant?
Posted by Andrew at 4/16/2007 3:38:01 PM
Hello, friends, I defined a C# class like the follows in .net 2.0: [Serializable] public class ContractInfo { private string number; private string transCode; private int? vcCode; private DateTime? termFrom; private DateTime? termTo; ...more >>

List generic collection
Posted by AVL at 4/16/2007 5:28:05 AM
hi, i'm a new bie to .net 2.0.. ive used a list geeneric collection of strings in my code. i would like to append all the strings to get a single value.... I've found the foreach() iteration method...for List collection.. any good sampels on how to use it and how is it beneficial than normal ...more >>

add info file to click once application
Posted by send2dudi NO[at]SPAM gmail.com at 4/16/2007 4:14:52 AM
Hi all I have an application that is installed using click once. I am trying to add a documentation file that will be added to the Start->Programs->My App How do i do that? Thanx ...more >>

print the current time on the screen
Posted by Allen Maki at 4/15/2007 3:04:27 PM
Hi everybody, I need help. I want to print the current time on the screen. After research I managed to run the codes below in regular C++. But I could not make it to run in .NET Framework environment. Can anybody tell me how to make these codes to work in .NET Framework or sho...more >>

displaying Windows media center
Posted by Kristina at 4/15/2007 7:26:01 AM
When I go from XP to Media Center the monitor turns black but I can here the sound -- morongo...more >>


DevelopmentNow Blog