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 2006

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

Get current logged on user
Posted by Niclas at 2/28/2006 10:39:14 PM
Is it possible to configure a Windows Service to: 1. Start the service when a user logs on (i.e. service not active before logon) 2. Determine the WindowsIdentity of the currently logged on user Niclas ...more >>

File properties of mp3 file
Posted by Fred Morrison at 2/28/2006 7:56:33 PM
I'm looking to look at and change the Track Title property of an mp3 file. I have a FileInfo object for the file in question, but I don't see a way to access something like, for example, fileInfo.Properties("TrackTitle") as a string. The reason I want to access and change the Track Title is ...more >>

Application.UserAppDataPath Question
Posted by David White at 2/28/2006 6:34:25 PM
The MSDN docs say, "If a path does not exist, one is created in the following format: BasePath\CompanyName\ProductName\ProductVersion". Where does the BasePath value come from? It seems the default is "C:\Documents and Settings\ username\Application Data". But from which of the system envir...more >>

Embedded controller UI in Windows Service
Posted by Tim Johnson at 2/28/2006 6:31:27 PM
I built a Windows Service exe, and a separate exe to control it which has a nice little icon on the system tray. I'm wondering if there is a "right" way to merge the two apps such that: a) when you installutil the service it automatically puts the notifyicon on the systemtray b) it will ...more >>

Security question
Posted by Juan Dent at 2/28/2006 3:58:13 PM
Hi, I am debugging a solution located in machine A from machine B. The reason is to test the environment (e.g. COM registry) in machine B yet the source is only available in machine A. I get this warning as I open the solution: --------- The project location \\Satellite\C\etc is not tr...more >>

C# ASP .NET -- UTF-16 encoding to UTF-8
Posted by davidjgonzalez NO[at]SPAM gmail.com at 2/28/2006 2:26:14 PM
I have a web application written in ASP .NET (VS 2003) which an Adobe Acrobat Form posts XML to. I am able to get the XML using the Request.InputStream however the XML is UTF-16 encoded. This means that the byte[] that i get from the Request.InputStream looks like: [0]: 255 [1]: 254 [2]: 64 [...more >>

Configuring ASP.NET Development server, HOW??
Posted by Søren M. Olesen at 2/28/2006 1:52:11 PM
Hi How do one configure the 'ASP.NET Development server' in Visual Studio 2005 ?? I migrating an application from 1.1 to 2.0. The application is using a third party component (Infragistics WebTree) which loads its scripts from a virtual directory called 'ig_common', but how do I create...more >>

unable to open project
Posted by JP at 2/28/2006 11:23:27 AM
Uable to open Web Project '/' The file path \\server\projects\projectname doesnt corrispond to URL 'http://xxxxxxx.domain.com' The two need to map to the same server. Http Error 404 Not Found Note that our projects are all on UNC paths and not http paths 1. The project was created using ....more >>



FS: Visual Basic.NET VB.NET books for sale - CHEAP!!!!!!
Posted by MiniMe at 2/28/2006 10:26:10 AM
I have for sale seven (7) Visual Basic 6 books. I'll take $21 for all books. I'm selling them as a set only. I am in the Houston, TX area (USA). If you are local to me, you are more than welcome to pick them up. If you want them shipped to you, I will charge you actual shipping cost plus the ...more >>

Problem with IDE when overriding Text property
Posted by Jason Barnett at 2/28/2006 10:03:56 AM
I noticed when overriding the Text property of the System.Windows.Forms.UserControl that the Form.Designer file does not reflect changes made via the property browser. In other words, when you override the Text property and then try to change it's value at design-time, the value is not seri...more >>

Partial Class question
Posted by Evian Spring at 2/28/2006 9:34:22 AM
In .Net 2.0, the code behind of my ASPX page are Partial Class. I assume it is because the .Net generated code must be in a different file. Is this correct and where would I be able to see the generated code if it is available? ...more >>

Confused about Application.Exit
Posted by William Sullivan at 2/28/2006 6:56:28 AM
Why will the following code snippet run forever? While(true) { if(MessageBox.Show("Exit now?","Close?") == DialogResult.OK) { Application.Exit(); } } How do you exit an application from within a While loop?...more >>

.Net framework v2 on Windows 95
Posted by robin9876 NO[at]SPAM hotmail.com at 2/28/2006 3:48:29 AM
I noticed that on the .Net v2 framework that Windows 95 is not on the supported operating systems. Is it still posibile to install on Windows 95? Are there any issues with running the framework on Windows 95? ...more >>

manipulation of configuration files programmatically
Posted by venkatmudireddy NO[at]SPAM gmail.com at 2/28/2006 2:27:21 AM
hi, how to insert or update configuration(.config) files using xml api or with some thing else i mean inserting a new element into particular section e.g: i want to programmatically add an entry to appsettings section i tried it with .xml extension but not working out with .config extensi...more >>

WIll GC.Collect() immediately collect garbage ?
Posted by chak at 2/28/2006 12:00:00 AM
WIll GC.Collect() immediately start a GC thread and clear all unreferenced objects from the heap ? Regards, Chak. ...more >>

How critical is it to call Dispose()
Posted by chak at 2/27/2006 6:48:54 PM
How critical is it to call Dispose() of a class which implements IDisposable(). Though it may be recommended as a good practise, which situations make it very important ? Regards, Chak. ...more >>

Is the output of JIT cached ?
Posted by chak at 2/27/2006 6:46:20 PM
These may be a very basic question. 1) Is IL compiled to native code every time a application is invoked ? 2) If a process has multiple appdomains (i think each instance of an application maps to an appdomain), if one application is closed will the appdomain close ? If the same application i...more >>

where to post jobs
Posted by jeff NO[at]SPAM bennet-tec.com at 2/27/2006 4:16:52 PM
What is a good newsgroup for posting a software developer position ( USA - NY ) - .NET as well as Visual Studio 6 ? While I'm here I may as well let anyone who wants to respond directly know that the e-mail address would be Jobs @ Bennet-Tec.com ( US Citizens and green card holders only pleas...more >>

Framework\v1.0.3705\mscorwks.dll not a valid image
Posted by Beemer Biker at 2/27/2006 1:45:03 PM
I get that error message when installing critical service pack for dotnet 1.1 ....actually... the update just fails with a general error. If I download the service pack and run the install then I see that message. Anyway, I poked around \Windows\Microsoft.NET\Framework\v1.0.3705 and som...more >>

window service does not start
Posted by PhatTim at 2/27/2006 12:59:58 PM
Hi everyone, I have one service that is dependent on rasman.exe (Remote Access Connection Manager). Rasman, in turn, is dependent on the Microsoft Telephony service. Rasman is currently configured as "manual" and when the computer reboots is set to "starting" because the telephony service is fir...more >>

How do I bind an enum to a combo box
Posted by phillip_putzback NO[at]SPAM insightbb.com at 2/27/2006 10:07:30 AM
And get both the value and name of the enum. So when the user drops down a selects red from the combo box I can see the selectedvalue as 1. I am tinkering with fieldinfo.name and fieldinfo.metadatatoken to get these values right now. Thanks. ...more >>

events and thread
Posted by YuriL at 2/27/2006 9:05:29 AM
Hi, Does anyone know if raising an event spawns threads for each method that handles the event, or does it just call each of the methods in order? If it calls the handlers in order, and waits for each to return, can someone suggest a good paradigm to just spawn a bunch of threads, one for each...more >>

drag and drop between treeviews on different forms
Posted by Philip at 2/27/2006 8:42:47 AM
Hi, I have two child forms in my MDI application. They both have treeviews with different data but in teh same format (fund, tran type) I want to be able to drag a node from one to the other but it seems it only works between one or more tree views on the same form, not different forms ...more >>

Application has generated an exception that could not be handled
Posted by mms_84 NO[at]SPAM hotmail.com at 2/27/2006 4:25:06 AM
I have an application developed by .net framework 1.0 , the application works fine on my development machine , but on the non-development machine (the customer machine) the application sometime crashes giving this error message , note that i handeled the unhandled exceptions in my application an...more >>

Gabriela Calinoiu Dutu
Posted by gadesigner NO[at]SPAM as.ro at 2/27/2006 3:54:45 AM
Prelucrare grafica imagini In cazul in care pozele, imaginile sau materialele de prezentare pe care le aveti necesita servicii de prelucrare grafica digitala, procesare (editare, raster, modificari layout) va stau la dispozitie cu servicii profesionale. Utilizand programe de grafica si ...more >>

Unit Testing and Test Cases
Posted by Water Cooler v2 at 2/27/2006 3:53:05 AM
Here's my understanding as of now. If I were writing a function bool IsValidContact(Offerer objOfferer, Accepter objAccepter, TermsAndConditions objTermsAndConditions); Before writing the function, I'd enlist all the conditions that must be met for a contract to be valid. Something alon...more >>

need info on webservices
Posted by AVL at 2/27/2006 3:46:26 AM
Hi, I want to consume web services.. Are there any webservices which offer updates on weather and stock news without any licenses...I mean free of cost.............more >>

autoscrolling in .net
Posted by AVL at 2/27/2006 3:39:26 AM
Hi, I've a requirement in which I need to implement autoscrolling.... Is there any control in .net which supports this functionality/............ My display list(data) should be scrolling ..............more >>

Need help on regex.replace
Posted by AVL at 2/27/2006 3:37:27 AM
I'm a newbie to regular expressions. I've a requirement where in I need to search a string and replace a pattern within it.... I want to replace the src attribute of the below string.... " <img src=\"c:\\windows\\windows\\desktop\\imagfes.jpg\">gfhsdfjsd<img src="\c:\\windows\\win23\\images/jp...more >>

Datetime
Posted by Alan at 2/27/2006 2:30:05 AM
Hello, I have a string with the following structure: 20060227111500 (Year Month day hour minute second) And I would like to convert it to a datetime variable, but I don't find a method to do it. Thanks...more >>

Bug in TableLayoutPanel
Posted by Timothy V at 2/27/2006 12:00:00 AM
Hi all, I don't usually post possible bugs because I would assume that there are none. However, some of the properties are not acting acting as they should. Here is what I have found. When using the AutoSize property set to "true", and the GrowStyle property set to "AddColumns" or "AddRows" ...more >>

DateTimePicker + DataBinding + Null-Value: THE solution?
Posted by Pieter at 2/27/2006 12:00:00 AM
Hi, I'm looking for a DateTimePicker that supports 100% databinding (and support null-values)... It's a shame that the normal control doesn't, but when searching on the internet, I didn't find any solution that works without problems. Does anybody know where I can find an inherited DateTi...more >>

What is Instrumentation?
Posted by Water Cooler v2 at 2/26/2006 10:56:52 PM
What does one mean by instrumentation when one talks in the context of software development best practices? <QUOTE src="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/AOPArticle.asp"> Contrary to popular belief, AOP can be useful to solve problems other the...more >>

.net framework error
Posted by Robert Lausch at 2/26/2006 6:25:29 PM
Hello, My girlfriend's sister's computer keeps coming up with the following error for almost every program: Bad Image Error: Application or DLL c:\windows\microsoft.net\framework\v1.14322\mfrocwkf.dll Then when I hit ok it says the following: Not valid Please check installation Diskette ...more >>

Data Storage Suggestions
Posted by Brian P. Hammer at 2/26/2006 5:03:58 PM
I have data from multiple SQL tables, some of the tables will only have one row, while others multiple rows. I load a bunch of data from the various tables and add them to a third party grid. With some of the rows, I perform calculations on some of the rows and all this is loaded into the grid...more >>

WebClient.DownloadFile() Fails!
Posted by Mark Olbert at 2/26/2006 2:15:09 PM
I am running into a problem debugging a Windows Forms application which downloads updates from an ASPNET2 website. The Forms applicaiton is .NET v1.1 The problem is a security exception on the call to WebClient.DownloadFile() ("target machine actively refuses the connection..."). The site that ...more >>

Start-up Control
Posted by El Panther at 2/26/2006 9:23:26 AM
Is there a way to have spamware ask me before it allows items into my start-up? -- "The meek shall inherit the earth. But don''t forget, the poor are the ones who inherit the debt." De La Soul...more >>

How to create a windows based router from scratch?
Posted by Toffa at 2/26/2006 2:43:02 AM
I want to understand how I can create a windows based router/gateway from scratch using the latest windows technology (.Net Framework 2.0/WinFX). I have bought/read: - Windows System Programming 3.rd Ed. - Windows Internals (XP/2003/2000) - Network programming in .Net But still I can't fi...more >>

someone with experience with decompile and compile Framework?
Posted by mtczx232 NO[at]SPAM yahoo.com at 2/26/2006 2:14:12 AM
someone with experience with decompile and compile Framework like System.Windows.Forms? ...more >>

Windows Service and Remote Drive connection
Posted by Silver Oak at 2/25/2006 7:31:26 PM
Hi, This is my first coding experience with Windows Service. I have a Windows Service that connects to remote drives using UNC paths (no drive letters). I make the connection with the remote drive in my OnStart procedure. I run the service with my username so that the service can have en...more >>

Why can't I get simple multipliation answer
Posted by Amil at 2/25/2006 6:24:57 PM
I want to multiple two decimal numbers and get the normal result...instead, I get a very large decimal result. Any idea how I can correct this problem? double d1 = 5.21; double d2 = 8.8; double d = d1 * d2; // d is now 45.848000000000006 in debugger or WriteLine Thanks for the help. A...more >>

Catch Exception problem....
Posted by alegon NO[at]SPAM gmail.com at 2/25/2006 11:07:26 AM
How to catch the windows exception that shows a window with the name of the executable program and a messege saying : "[Program] has encounterd a problem and needs to close. We are sorry for the inconvenience", and three buttons, "Debug", "Send Error Report" and "Don't Send", in a dotnet applica...more >>

Windows Services and Threading
Posted by ermonnezzaro NO[at]SPAM gmail.com at 2/25/2006 7:10:07 AM
Hi guys, I am developing a windows services which periodically connects to a database, fetches data in a dataset and do so work. I have chosen to use a thread to do this job. Since the thread monitors the situations every 2 hours, I put the thread in a sleep state. On my WinXp machine everyth...more >>

test for .net 2.0
Posted by Craig L at 2/24/2006 12:00:05 PM
Hi All, I am just wondering if there is test to check if the .net2.0 framework is installed on a machine? As a quick'n'dirty test while developing, I am just checking if the folder 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' is present, but that won't do for production code. Any adv...more >>

how to forcfully kill a running process by executable name with a .net application?
Posted by Daniel at 2/24/2006 11:07:27 AM
how to forcfully kill a running process by executable name with a .net application? ...more >>

New Process in WinXP
Posted by Ahmed Perlom at 2/24/2006 10:42:57 AM
Hi all, I want to create a window system service that sits on the background and just fire another service/executable (i.e, notepad) every time a new user fast switches to a new session. How can I start a new process in another user sessions in WinXP using .NET 1.1 or 2.0? also how can de...more >>

Pass Data Between Windows Service and ASP.NET page
Posted by pitachu NO[at]SPAM gmail.com at 2/24/2006 10:27:16 AM
Is there a way for a Windows Service to talk to an ASP.NET page (via HTTP to localhost perhaps)? I'm looking to utilize the cache and multithreading available in ASP.NET, but I'm not nessarily looking into make a webpage. ...more >>

a question on ThreadAbortException
Posted by huangyi12 NO[at]SPAM gmail.com at 2/24/2006 10:13:12 AM
according to my experience, the call of Abort() will make a thread throw ThreadAbortException immediately no matter whether the thread is alertable state or not. i know Abort() will queue a APC, and i also know that thread must be alertable state before handle APC queue. now i am confused, ho...more >>

EndInvoke exception handling...
Posted by Andrew at 2/24/2006 7:37:29 AM
I can't figure out why, in the following code, the exception is not caught when EndIncoke is called in the callback handling method... any ideas? Thanks in advance. -Andrew <snip> static void DoIt() { Console.WriteLine("worker thread"); Thread.Sleep(1000); Console.WriteL...more >>

threads and hashtable
Posted by YuriL at 2/24/2006 7:36:28 AM
Hi, I have one thread adding objects to a hashtable, and a bunch of other threads doing reads. MSDN says that multiple threads doing reads is safe. My question, is if my write thread is only adding new buckets to the hashtable, then there should not be a conflict w/ any other threads? Mayb...more >>


DevelopmentNow Blog