Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > february 2007

Filter by week: 1 2 3 4

Installer problems on Windows Server 2003, COM not registered
Posted by suse2k5 NO[at]SPAM gmail.com at 2/28/2007 11:26:15 PM
Hello, I have problem with Windows installer. It works OK on Windows 2003 without problems and on Windows 2003 with service pack it fails. It *compiles fine* on dev machine (XP) and when executed (on XP too) it fails with following error: Installer error message: ---- The inner exception ...more >>

KB931836 (Feb 2007 DST update) breaks DateTime historical DST calculations
Posted by Finn Hart at 2/28/2007 3:28:23 PM
The United States Daylight Saving Time rules are changing in 2007 so that DST starts on the 2nd Sunday in March and ends on the first Sunday in November. The previous DST rule was "First Sunday in April through last Sunday in October". Microsoft just rolled out the "February 2007 cumulative t...more >>

create string array from dataread results
Posted by Chuck P at 2/28/2007 2:43:05 PM
I need to create a string array from a datareader in .net 2.0 I am using this: ArrayList al = new ArrayList(); using (SqlDataReader dr = cmd.ExecuteReader()) { while (dr.Read()) { al.Add(dr.GetString(0)); ...more >>

.net framework configuration through programming
Posted by syed_razi NO[at]SPAM hotmail.com at 2/28/2007 1:36:22 PM
Is it possible to set Local Intranet Zone code group's security level to FullTrust without going in the control panel to configure it? I have a VB 2005 app with a SQL backend database, but I can't get it to run from a network drive without changing the setting through .Net 2.0 Framework Config...more >>

.NET Client Submitting Tab Delimited String to C++ Server Loses Em
Posted by Matthew Wieder at 2/28/2007 1:03:20 PM
We have a .NET 2.0 Client (C#) that communicates with a C++ (2005) Server via TCP. The tab delimited strings "January\tFebruary" and "January\t\tFebruary" submitted by the client both arrive at the server as "January\tFebruary". We need to be able to preserve the existance of 3 elements ...more >>

Subject: .NET Generics and Dynamic Type Assignment
Posted by nettellect at 2/28/2007 6:31:20 AM
I have a simple situation in which I want to use generics along with dynamic type assignment. Following code snippet can explain in more detail But I am unable to do that will anybody help me why? namespace genericTest { public partial class Form1 : Form { public Form1() ...more >>

Start of installed ClickOnce-Application sometime causes reinstall
Posted by Sascha at 2/28/2007 5:51:26 AM
Hello ng, we have some strange behavior with our clickonce-applications. The applications were installed successfully. We can start it after installation without problems. But sometimes all installed apps on the client are away. The Shortcuts are in the startmenu but the specific icons are a...more >>

Accessing files on a network share
Posted by lasabo at 2/28/2007 12:47:18 AM
Hi, I'm Writing a smart-client application, when running both server and client on the same machine everthing works fine, but running the client on a different machine get me into trouble. I have written a very simple application just to figure out what goes wrong. The only ting it does is ...more >>



to get Keychar values from keydata
Posted by manini.chaudhari NO[at]SPAM gmail.com at 2/27/2007 10:39:03 PM
developped a UserControl and for this control I need to handle the + and - keys. The KeyPress event doesn't suit because I want to have an effet when the key is down and when the key is up. So, I handle the KeyDown and KeyUp events, but I received KeyCode and not the translated character. ...more >>

Window's Vista Controls
Posted by BrianTa at 2/27/2007 3:51:34 PM
Hi, I have VS2005 running on Windows Vista, and all seems to operate just fine - except the app I have created uses a scrollbar control added to a panel control. It operates correctly, but does not have the "look" of a Vista scrollbar. The RichTextBox I am using has Vista looking scrollba...more >>

How to show a form without giving it focus
Posted by Bob Altman at 2/27/2007 1:34:51 PM
Hi all, What is the "proper" way to display a form even if it is minimized, hidden, or obscured by other windows, without giving the form input focus? My (untested) guess looks kind of like this: ' Make the form visible frm.Show() ' Restore the form if it's minimized frm.Wind...more >>

Merging two configuration files
Posted by Houda at 2/27/2007 1:08:15 PM
Here what I've been trying to do: I've two different configuration files with the same structure. One of them is the default setting, which gets downloaded from the server, and the other one is the user settings. The user settings overwrite the default settings. Similar to what .Net does with th...more >>

Installing .net 3.0 runtime... ?
Posted by Peter at 2/27/2007 5:23:10 AM
Hi folks, I have a question regarding installing .net 3.0 runtime as below: * My PC is installed with window XP and SP2. * There are other softwares in my PC. My main concern are SQL 2005 BI studio and the management studio, Microsoft office tools - Excel, Word. * If I install .net 3....more >>

inserting pictures from Data Base to crystal report
Posted by mansoor.kashif NO[at]SPAM gmail.com at 2/26/2007 11:50:47 PM
Dear All Scenrio:- I have to insert the picture whose paths is saved in the database and file is originally present there. What i have to do:- I want this thing that i insert the picture in crystal report according to the record What I want :- Your help Best regars Kashif Mansoor ...more >>

Message from XP new installation
Posted by Alstar at 2/26/2007 9:54:03 PM
Error, Supported Device Not Found. New XP Install with Winfast NF4UK8AA board/ with AMD 3200+ /and GIGABYTE GeForce 6200 PciEX Graphics. Message comes on screen twice on startup. What is the problem? Is the graphics board? Peter ...more >>

Urgent!...SQL Server cannot handle "CDEC" in web application
Posted by _YES at 2/26/2007 2:55:02 PM
Please, can sombody help me with this problem. I have created a web application, in visual studio 2005 professional. This application needs to convert some string values, from an externally stored SQL database table, to decimals. When the application has been compiled and is running locally...more >>

Asynchronous Programming Model - how to implement?
Posted by Dmitry Nogin at 2/26/2007 2:00:29 PM
Hi, I'm trying to implement APM (Asynchronous Programming Model) API by myself - I mean: IAsyncResult BeginMyFunc(AsyncCallback, object @object); void EndMyFunc(IAsyncResult result); functions pair. The problem is that my working thread has to report updates to the GUI by System....more >>

System.Type.GetCommonAttributes() works on c# assemblies, not managed c++ assemblies.
Posted by brad at 2/26/2007 12:49:29 PM
Here's the situation: I load an assembly (using system.reflection) and then I try to query for all methods in the assembly using System.Type.GetCommonAttributes(). This works when my assembly was compiled from c# code. I call GetCommonAttributes, and I get back a method. But, if the assem...more >>

VS 2005 on Windows Vista Business
Posted by Prateek Baxi at 2/26/2007 4:12:08 AM
Hi, I want to install VS 2005 on Windows Vista Business, can any one help is finding out all necessary software required. I know few of them listed below but if I missed anything, pls let me know - Windows Vista Business OS - .NET 3.0 - VS2005 - VS2005 SP1 (I don't know if this comes ...more >>

problem in first web form application
Posted by Rachana at 2/26/2007 2:58:19 AM
Hi Friends, I hv just started learning vb.net . When I was creating my 1st web forms appl., got follw. problem. 1. It doesn't allow me to type proj.name. Simply displays default one as :WebApplication1 2. It Displays default location as http://localhost/webapplication1 if I proceed ...more >>

String.Split()
Posted by nethra11 NO[at]SPAM gmail.com at 2/26/2007 1:32:38 AM
Hello, Is it possible to split a string at the combination "\r\n" for eg:- string str = "domain\r\nisnetwork" Output required :- domain isnetwork ...more >>

Making the PC choose correct .NET framework
Posted by Ib Schrader at 2/26/2007 12:00:00 AM
Hello Sorry if this is not the correct newsgroup. There are many dotnet groups out there and I have tried choosing the correct one. Here is my question. I have a computer with both .NET 1.1 and .NET 2.0 installed. I am trying to run an application that in its documentation states that i...more >>

C# Irregular shaped user controls.
Posted by dr at 2/25/2007 6:28:58 PM
C# Irregular shaped user controls. How to make usercontrol have transparency key for its background image? I want to have irregular shaped user controls on my form. like a funny shaped button. This works fine for irregular shaped forms becuase they have a transparency key field, but user co...more >>

Strange Strange problem and i'm stuck
Posted by GeezerButler at 2/25/2007 2:35:29 PM
I'm trying to implement a control designer for my web composite control. According to what i read at msdn, i am supposed to inherit my class from System.Web.UI.Design.ControlDesigner. Now, in my code when i try to write this: public class MyDesigner : System.Web.UI.Design.ControlDesigner i g...more >>

Using System.Net.Mail with Antivirus Software ...
Posted by Christopher Kurtis Koeber at 2/24/2007 11:55:28 PM
Hello, I am creating an application that sends messages using the System.Net.Mail class and I am running into a problem with Antivirus software delaying messages. If I disable the e-mail protection features of the anti-virus software the messages are delivered with no problems but if ...more >>

Questions about uninstalling .NET Framework
Posted by Kauman at 2/23/2007 9:32:00 PM
I have .net framework on my computer, probably b/c it was an update or something. Anyway I was trying to clean up unused programs to free up space on my hard drive and I noticed in my Add/Remove progams list that I have Net Framework 1.1 installed Net Framework 2.0 which takes up 63mb and Net...more >>

Interitance and PropertyInfo Question
Posted by lucius at 2/23/2007 5:15:35 PM
..NET 2.0. In the below code, when GrandChildThing is instanced, the GrandChildProperty is never set in line 9 of ChildThing. Visual Studio 2005 IntelliSense says that the instance is GrandChildThing, but there are no properties in the propInfos count and the property is never set. Why? ...more >>

Writing to CDRs and DVDRs
Posted by DXRick at 2/23/2007 2:41:13 PM
I did a search first and found that there are Win32 APIs for writing to CDRs. So far though, it would seem that there is nothing in the Windows API or ..NET for writing to DVDRs, and it also seems that the current retail programs available (like Nero) need to know the make and model of the DV...more >>

Missing ASP.NET tab in IIS
Posted by musosdev at 2/23/2007 2:08:15 PM
Hi everyone, Hopefully someone could clear up my problem here. I'm setting up a new server (Win 2003 Standard 64-bit) for use as an Intranet server. I have 3 web apps written in asp.net - one uses .NET 2.0.50727 and two are using 1.1.4322. The Win2k3 machine came to me with .NET 2 alrea...more >>

Get LOGON USER name in .NET 2.0
Posted by Brad King at 2/23/2007 1:53:20 PM
I recentlly converted some web services to 2.0. So far everything has worked great with the exception of one of the functions in an AD service. the following code: string sUser = HttpContext.Current.Request.ServerVariables["LOGON_USER"]; Worksk fine if debugging in VS 2005 but when I publi...more >>

Is there a way to get caller environment variables from Reflection?
Posted by SteveM at 2/23/2007 1:41:26 PM
I am needing to get the environment variables (or at the very least USERNAME and COMPUTERNAME) from a calling method in my (receiving) library. So far I know how to get the method name, the class name and even the file path of the calling method. I also know how to get the line number where the ...more >>

MailMessage.Fields possible keys and values
Posted by Alexander Smirnov at 2/23/2007 9:41:14 AM
Hello! Can somebody give me a link to documentation for all possible keys and their corresponding values for property System.Web.MailMessage.Fields I searched but didnt found this information in msdn Thanks in advance ...more >>

Include Framework 2 in Install Pack
Posted by bahnin NO[at]SPAM gmail.com at 2/23/2007 9:38:28 AM
Hi group I need to install framework 2 before my app in the install pack. I have add a launch condition, and sp=E9cify the url. but once the framework is installed, the install stop, and my app is not install. what i have missed ? Then my app use a after install action to send a part of ...more >>

Unit Test Framework for .NET 2.0?
Posted by Brian McCullough at 2/23/2007 9:23:02 AM
Hello, I posted a similar question to the less active MSBuild community group, so I apologize in advance for double posting, but I think it is applicable to this group as well... If I am using the Standard or Professional editions of Visual Studio 2005, can I make use of the unit testi...more >>

Framework 1.1 for Win2k3 Server Std x64
Posted by musosdev at 2/23/2007 6:09:28 AM
Hi guys I'm trying to install a web application which runs on .NET 1.1 onto a Windows 2003 Server Standard (x64 Edition) machine. Simple question... is there a x64 build of the .net framework 1.1, or will the x86 version work okay?? Tnx Dan...more >>

.net 2.0 : looking for a "best practice" for multi threading jobs
Posted by Steve B. at 2/23/2007 12:00:00 AM
Hi, I'm building an application that follow this scenario. 1. Download a file on a server with http 2. Analyse this file and extract other files in one of the section of the file (like dependent files) 3. Foreach found files, repeat the whole process. The goal is to download the resourc...more >>

Determining per-connection bandwidth - 1Please Help!
Posted by OPM at 2/23/2007 12:00:00 AM
Hi guys and gals, I've been Googling hi and low for the past few hours trying to work out how to do this and having very little luck. I'm trying to determine how I can determine the in and out speed (bytes/sec) for TCP connections. Do I need to using a Packet Sniffer like WinPCap for this,...more >>

MultiUser Environment
Posted by AnikSol at 2/22/2007 9:42:45 PM
Development Environment: VB 2005 Prof, SQL Server 2005 In a typical Multi User environment, what is the best way to handle updates of disconnected datasets of other users. Eg: User A opens application Winform 1, dataset1 is loaded on his machine User B opens application Winform 1, dataset1...more >>

visual studio 2005 installation
Posted by Ganesh at 2/22/2007 8:05:01 PM
Hi There, I've xp pro, i installed visual studi 2005 with visual c#. i don't see Asp.net web application from File->New Project dialog box. I remember i used to see the Asp.net application in visual studio 2003 Thanks Ganapathi ...more >>

Disable MDA for LoaderLock
Posted by Martin Hart at 2/22/2007 6:49:07 PM
Hi: I want to create a mda.config file for my application to disable the LoaderLock MDA, but don't understand the documentation for disabling it. According to the documentation, to enable it I use: <mdaConfig> <assistants> <loaderLock/> </assistants> </mdaConfig> But what ...more >>

PreTranslateMessage and .NET
Posted by Luis F. Rodas at 2/22/2007 3:57:55 PM
Dear All, Does anybody know if exist functions in C# equivalent to PreTranslateMessage (MFC) ? Best regards, Luis F. (Indusoft Team) ...more >>

Copy Content Text File in Project to a Folder or a String
Posted by vjunkl NO[at]SPAM hotpop.com at 2/22/2007 2:04:43 PM
Hello, I have a content text file in my project and I'd like to copy it to a folder at some point in the execution of the application(not during a build). If this is not possible, how about reading a content text file into a string. This will do the job just as well, maybe better. Thanks i...more >>

Determining Thread objects in a process
Posted by Pete at 2/22/2007 12:11:08 PM
Is there any way that anyone knows of to get a list of the Thread objects for a running process from within the process? I don't mean ProcessThreads returned by the Process in System.Diagnostics, but the Thread objects themselves. Here's my problem: On shut down, under some conditions, a...more >>

Assembly redirection problems...
Posted by Sinex at 2/22/2007 12:00:00 AM
Hi ! I've developed a strong named assembly (dll) thats being used by a client application(exe). The dll is deployed to the application directory only. Now i have a new version of the dll. I replace the old version with the new dll. I dont want to recompile the client. Hence I just added a <...more >>

Seeking Sample Application Introducing .NET Remoting
Posted by Laser Lu at 2/22/2007 12:00:00 AM
Well, it's hard for me to get working sample applications which demonstrate the .net remoting architecture. Does anybody knows if there is any good tutorial application? The sample application would be better if it is released together with C# source code. ...more >>

HTML AJAX to DOT.NET in Different Domain
Posted by Thom Little at 2/21/2007 7:47:11 PM
I am looking for an example of ... - HTML or ASP 3 page using AJAX - ASP.NET 2.0 web service in a different domain HTML or ASP 3 pages passes a string to Web Service and it returns an XML packaged string to the client. _______________________________________________ Thom Little www.t...more >>

remote registry authentication
Posted by Darren Mar-Elia at 2/21/2007 2:19:30 PM
I have an app that uses the RegistryKey class to open and read keys on remote systems in .Net 2.0. I want to give the user the ability to provide alternate credentials to make the connection to untrusted systems but there is no support for this in any of the remote registry access classes, tha...more >>

How to read all icons in a .ico file
Posted by Bob Altman at 2/21/2007 1:43:04 PM
Hi all, If I have a .ico file that contains mulitple icons, is there a way to construct System.Drawing.Icon objects from all of the images in the file? The Icon constructor does not provide an "index" argument to specify which icon to load into the Icon object. Same question for .exe and...more >>

works suite 2006 template loading problem
Posted by colin england at 2/21/2007 9:33:57 AM
can anyone help. i have loaded some of the most used programmes for me but no templates are showing can someone out there give me idiot proof instructions on how and where to look so that i can rectify this problem. yes i have an acer laptop which i have read has problems but a direct route t...more >>

Out of control threads
Posted by ujjc001 NO[at]SPAM gmail.com at 2/21/2007 9:08:40 AM
Hello group. I have a vb.net winform app that, in a sub, starts 10 new threads. The sub waits in a loop for these threads to finish before continuing. The end of the sub thread's sub sets a boolean which the main sub's loop checks for. So, the problem is, that after each thread completes it'...more >>


DevelopmentNow Blog