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 > july 2006

Filter by week: 1 2 3 4 5

css issue
Posted by Ginny at 7/31/2006 11:40:16 PM
hi, i have a web application. there is a css file applied to it. when i load the page for the first time, css is applied properly but after the postabck, css does not apply at all. it is strange. the application is working fine on all computers excpet my laptop. something wrong with my browser, ...more >>

DataGridViewComboBoxColumn Data Binding Fun
Posted by zaffle NO[at]SPAM gmail.com at 7/31/2006 10:51:26 PM
Ok, lets see if I can phrase my question so that it makes sense to me, and maybe even anyone else who reads this..... I'll use the standard "Widget" explaination to explain what I'm trying to do. I have a DataGridView... thats a good start. The DataGridView.DataSource is a BindingList<Widge...more >>

Preventing ThreadAbortException.
Posted by Ken Varn at 7/31/2006 4:17:25 PM
Is there any method that I can guarantee execution of a code path within a thread without a Thread.Abort call interrupting it? I am concerned that a file write that is done using two calls will not complete if the thread is aborted before the second call gets a chance to complete. I thought a...more >>

Sending chr(255) to serial port
Posted by ... at 7/31/2006 12:49:40 PM
Hi I need to send a chr(255) to a serial port. When I send it, through comm.write (chr(255)) it sends a chr(63) ... in Hex, I write chr(&FF) and it actually sends chr(&3F) ... why does this happen, and how can I send it right ? I'm using vb.net 2005 express with framework 2.0 Thanks for ...more >>

CultureInfo.NumericFormat and System.Convert
Posted by dorminey NO[at]SPAM gmail.com at 7/31/2006 12:44:31 PM
I am having a problem where a few machines at my company are failing on the following line of code: double dbl = System.Convert.ToDouble("0"); I have traced it to the fact that for the thread's current culture ("en-US") the NumberFormat.PositiveSign is in fact set to "0" instead of "+". ...more >>

Books for building Frameworks
Posted by Stefan Schelling at 7/31/2006 12:32:33 PM
Hi NG. Can you tell me some books which deals with building my own Application Framework? I've already the book from Xin Chen. Are there some more? Thanks in advance Stefan ...more >>

.NET 2.0
Posted by GMiller at 7/31/2006 11:29:42 AM
I am using Visual Studio 2003 and I just updated from .NET 1.1 to 2.0. I have installed the 2.0 framework and the 2.0 SDK. However when I go into Visual Studio under help->about it still shows the .NET version as 1.1. Am I missing a step somewhere? Thank you, ...more >>

add assembly="Microsoft.Office.Interop.Owc problem
Posted by B NO[at]SPAM DJJ at 7/31/2006 10:48:01 AM
Howdy All, Any assistance would be appreciated - even a sound beating if so deserved... When I try to run an ASP.NET application on my Development server (w2k3, IIS6, 1.1 Framework) I get the following error in the Parser for the machine.config file (line 258): Description: An error o...more >>



Unhandled Exception in Windows Service
Posted by The Man From SQL at 7/31/2006 9:31:02 AM
Hello, I need to know if the AppDomain.UnhandledException event can be handled using a Windows Service. I've create a Windows Service that uses the Exception Handling Applilcation Block and there are certain exceptoions that I want bubbled up as unhandled exceptions so in the Main method ...more >>

Where is the parameter argument collection?
Posted by mcskf at 7/31/2006 8:01:02 AM
Hi! I have hundreds of functions. I would like to make a debug possibility. The first task is to list the parameter collection with a cycle. Where is the function parameter argument collection? thx. mcskf...more >>

communicate between two exe applications
Posted by Napo at 7/31/2006 2:40:02 AM
Hi, There are are two app,named App1 and App2. When run App1, it will run App2 automatically. On the other hand, when terminate App1, App2 will aslo be terminated. I think App1 and App2 in a different domain, how to communicate them? I don't want to use process.kill() method to f...more >>

How do you tell if the .Net Framework 2.0 is installed?
Posted by BBM at 7/30/2006 12:04:02 PM
On Windows Server 2003, how do you tell if the .Net Framework version 2.0 is installed? Thanks. BBM...more >>

aspnet user
Posted by mrsh at 7/29/2006 10:22:40 PM
as we know The .NET Framework runs all ASP.NET processes under the local ASPNET account. is there anyw ay that I can change the user and instead of a local user use a Domain user ? thnx Mahmoudreza ...more >>

DataGridView Help
Posted by Taoge at 7/29/2006 10:16:27 PM
DataGridView bind to DataSet which read data from a XML file, when I edit the cell value and save back, it's ok; but when change the cell value programmaticlly, the value can not save back to XML file. Help , please! ...more >>

How to track Form.WindowState changes?
Posted by Lloyd Dupont at 7/29/2006 9:30:24 PM
Apparently there are no event associated with a change of the form's WindowState property. How do I know when my windows has been miniaturized? ...more >>

Testing for invalid characters when creating a directory?
Posted by Dave at 7/29/2006 3:25:12 PM
Is there an easy way to test a directory name for invalid characters before trying to create that directory? I know how to get a character array of invalid characters (Path.GetInvalidPathChars) but do I have to go to all of the trouble of writing of my validation method or is there something ...more >>

Enterprise Library 2.0 installation problem
Posted by RLoski at 7/29/2006 12:26:02 PM
I have tried to install the Enterprise Library 2.0 on my machine with VS 2005 Standard. I get the first welcome screen, hit next and get a "Fatal Error" "Installation ended prematurely because of an error." I cannot find any information on this. ...more >>

Intra-thread lock
Posted by cj_junktrap NO[at]SPAM mail.com at 7/29/2006 10:52:46 AM
Hi Is there something like an intra-thread lock? I'm trying to prevent re-entrant code, and the lock statement will only prevent one thread from entering the critical section while another thread is in it - since my code is triggered by a gui event, it's not impossible that it could be calle...more >>

Convert asynchronous to synchronous
Posted by cj_junktrap NO[at]SPAM mail.com at 7/29/2006 10:47:56 AM
Hi I have a method which I want to present as a synchronous call - you pass in your parameters, and the result as a return value. But within that method, I need to spin off a thread, wait for it to finish doing some stuff, and return a value to the calling method. The problem is that my met...more >>

Could not create Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
Posted by alanwo NO[at]SPAM gmail.com at 7/29/2006 2:31:04 AM
Hi Expert, I am the fan of VB My.Application.Log. When I create a new project, it works but after some times My.Application.Log.WriteEntry nno longer work. Exception is enclosed: Could not create Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, ...more >>

Using the mousewheel
Posted by Jean Paul Mertens at 7/28/2006 4:10:21 PM
Hello, I try to use the mousewheel in a user control to to scroll in a pannel where I draw with GDI+ . due to the fact that a pannel don't has focus, I have no mousewheel event at my dispositon. Is there a work around? Someone has an idee? tnx in advance. Jean Paul ...more >>

MSBuild heirarchy of projects like corext
Posted by jrett at 7/28/2006 2:36:01 PM
I'd like to use msbuild to build on a heirarchy of projects, based on the directory structure of the sources like CoreXt does. Is there a good way to do this? I'd like to have some folders where external libraries are located, and some folders where some libraries are built. Further, I'd ...more >>

Check result of call into Windows API
Posted by Lee at 7/28/2006 8:44:56 AM
Using Windows XP with all updates applied and Visual Studio 2.0. I am trying to develop some common error-handling of Windows API invocations that fail and am using MessageBeep as the API to test with. Given 1) the following Imports statement: Imports System.Runtime.InteropServices 2...more >>

Single or multiple assemblies for big apps and code reuse?
Posted by Claudio Pacciarini at 7/28/2006 8:37:02 AM
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source depot. Although they are different, in some of them we share C# code by referencing source files that...more >>

asp.net: how do I detect if debug mode is true or false ?
Posted by zolof at 7/28/2006 5:28:02 AM
I which to detect in my code if compilation has debug enabled ? I would different behaviours according to the compilation type....more >>

Urgent :"Your Account will Expire within N Days".
Posted by Balaji Narayanan at 7/28/2006 4:43:02 AM
Urgent :"Your Account will Expire within N Days". Here "N" is the number of days from which this message starts popping,I need to fetch this information from the active directory, please provide me details in solving this issue ?...more >>

ADSI Problem
Posted by Vikas Manghani at 7/28/2006 4:23:02 AM
Hi Can anyone tell me how I can check the status of an account in Active Directory using C#. I mean, I need to know whether, Account is locked, Password expired or Password needs to be changed at next logon, etc. The problem is that in all these cases, .Net throws a generic exception and th...more >>

friend class in c#
Posted by krishjaya at 7/28/2006 3:24:16 AM
I would like to know in c# if there is any way to have 'friend' class just like in C++. I know there is the 'internal' keyword, but this will allow access to all the classes of the assembly and I want to allow access only to a specific class. if No what is the reason? ...more >>

Loading an assembly from a stream
Posted by hmoeller at 7/28/2006 12:23:17 AM
Is there a way to load an assembly from a stream instead of from the file system? The static methods in System.Assembly.Reflection don't support anything other than file names or assembly names as a source for the various Load methods. TIA Henning. ...more >>

.net 2.0 system.web dll
Posted by JimO at 7/28/2006 12:00:00 AM
Can anyone tell me what dll file contains the system.web namespace in .net version 2? The only thing I can reference is the v1.1 system.web.dll. Thanks, Jim ...more >>

.NET C++ SMTP question
Posted by hedbonker NO[at]SPAM gmail.com at 7/27/2006 4:40:49 PM
I have been asked to do the following: Create an application that will take an e-mail address entered by the user into a field and, once a button is clicked, will take that e-mail address and check it against the mail server for that address using SMTP to determine if it's a valid or invalid m...more >>

framework and 64bits
Posted by JM at 7/27/2006 4:15:13 PM
Hi, I need to run a visual net 2002 program in XP pro 64 bits, so: I think Framework 1.xxx can not be use over a XP Pro 64 bits, Right? I wonder if it is possible to run a Visual net 2002 program on a XP Pro 64 bits with framework 2.0?. Thanks, Jaime ...more >>

System.Version
Posted by Alex Clark at 7/27/2006 3:49:18 PM
Hi All, I've searched the documentation and Google for an answer to this but to no avail. It seems that System.Version does not serialize to XML. I checked the documentation and this type is flagged as being Serializable, it has a default parameterless constructor, and I'm pretty sure i...more >>

Microsoft .NET Framework 2.0 Configuration
Posted by Eric Renken at 7/27/2006 2:46:56 PM
OK, I have done a .NET 2.0 Framework install and under the Administrative Tools I am not getting the Microsoft .NET Framework 2.0 Configuration application. I looked for any MSC files in the V2.0.50727 directory and nothing exists. We are installing the .NET 2.0 Framework as part of our ap...more >>

BinaryFormatter serialization size.
Posted by Ken Varn at 7/27/2006 1:28:43 PM
How can I determine the size of the data that a BinaryFormatter will produce when serializing an object? I basically want to know how many bytes an object with SerializableAttribute will produce if it is serialized to a stream. -- ----------------------------------- Ken Varn Senior Softwa...more >>

How to write in registry under limited user account
Posted by Kriso at 7/27/2006 8:57:24 AM
Is it possible to write information in HKLM\Software\MyApplication when under limited user account ? I tried use "System.Security.Permissions.RegistryPermission" but it doesn't work. ...more >>

How to package Windows Form application
Posted by Libs at 7/27/2006 7:51:03 AM
How to package Windows Form application to be installed further with Windows Installer? What are practically steps? What should I do?...more >>

Windows service not starting at boot time
Posted by oscar.acostamontesde NO[at]SPAM googlemail.com at 7/27/2006 5:17:52 AM
Hello: I'm currently developing a windows service, and in OnStart i launch a couple of threads to do some work. When i start it manually everything goes fine, but at start up the service just timeout. I have added all the dependencies i thought could be used by the service, included eventlog, r...more >>

Async Sockets, pinned objects and .NET 2.0
Posted by LPJJ at 7/27/2006 5:01:02 AM
Hi, I am migrating an application from .NET 1.1 to .NET 2.0. It is a network application that use asynchronous sockets intensively (with more than 300 active connections on average) With .NET 1.1 I had problems because the buffers used in the BeginReceive and BeginSend calls were pinned and...more >>

Hashtable.Add fails
Posted by Jochen Wezel at 7/27/2006 1:09:02 AM
Hi all, I want to assign a new key value to my hash table (okay, I use the Specialized.NameValueCollection, but this collection is based again on the HashTable). When the key already exists, then the value of the key shall be replaced. That's why I use the Add method which also replaces key...more >>

Windows Form Level Exception
Posted by Angelina at 7/27/2006 12:00:00 AM
Is there anything similar to "Error" event of System.Web.UI.Page of Webforms in a Windows Forms?? I want to catch all errors occured in a windows form? I already know there is Application.ThreadException but that is on application level. - angi ...more >>

VSS and Windows Firewall
Posted by Jared at 7/27/2006 12:00:00 AM
Hi, What would I need to do to make VSS2005 and Windows Firewall work in harmony? I already have File and print sharing ticked in firewall, but still only works if firewall is turned off Thanks Jared ...more >>

deveop custom control for .net 2002/2005
Posted by mcu at 7/27/2006 12:00:00 AM
I want to develop a custom control , and let .net programmer use it. Who can give me a sample,or some articles? Thanks. Regards, http://www.51mcu.net ...more >>

XP Pro x64 and McAfee Antivirus?
Posted by johny at 7/26/2006 8:01:02 PM
Hi, all: I installed McAfee Antivirus 8.0 in my new PC (Pre-installed with Windows XP Pro x64 Edition). Yet the security center still reminds me that the computer hasn't any anti-virus software installed. Quite strange. Any1 has had the same experience? And any way out? Thanks ...more >>

Help with registering AssemblyResolve event
Posted by lithel NO[at]SPAM gmail.com at 7/26/2006 1:19:39 PM
I am writing an application that uses a set of library assembly dlls that are located in a command line passed location. Originally, I tried to solve this problem by creating an AssemblyResolve handler and registering it very early in hte main function. The problem is that the application act...more >>

Gui threads (STA) and calling WMI
Posted by Arnie at 7/26/2006 12:21:27 PM
Posting an issue for a colleague: They are having an issue w/ making WMI calls from a gui thread. Gui threads need to be on the STA and there is some speculation that WMI calls need to be on the MTA, how to mix both? .... The application is hanging on exit. When they break into the d...more >>

Testing Frameworks
Posted by Jon Berry at 7/26/2006 12:06:49 PM
I have both .NET Framework 1.1 and 2.0 installed on my machine. I wrote an program that I'd like to test against both versions of the Framework. The program is a Windows Form executable that was written against .NET 1.1 How do I select the version of the Framework that the program uses wh...more >>

Pointless IL instructions?
Posted by Ben R. at 7/26/2006 12:04:01 PM
I've got a simple console app which just assigns 6 to an int and prints out the value. The IL looks like: ..method public static void Main() cil managed { .entrypoint .custom instance void [mscorlib]System.STAThreadAttribute::.ctor() = ( 01 00 00 00 ) // Code size 12 (0xc) ...more >>

What account permissions are required for HttpListener.Start()?
Posted by Peter Ritchie [C# MVP] at 7/26/2006 11:30:02 AM
With least-privilege user account (LUA) HttpListenr.Start() throws an HttpListenerException with ErrorCode == 5 (ERROR_ACCESS_DENIED). This does not occur when the user is a member of the Administrators group. There's no mention of what privileges the current users requires in order to use...more >>

Unbox IL instruction question
Posted by Ben R. at 7/26/2006 8:16:02 AM
Hi, I'm referring to: http://msdn2.microsoft.com/en-us/library/system.reflection.emit.opcodes.unbox.aspx There's a lot of stuff here that doesn't make sense to me. This page states: A value type has two separate representations within the Common Language Infrastructure (CLI): A 'raw...more >>


DevelopmentNow Blog