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 > march 2004

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 31

PROBLEMS REMOVING AN ASSEMBLY
Posted by MR. UNDERHILL at 3/31/2004 6:01:09 PM
I'm getting the following error trying to remove an assembly from the GA Unable to uninstall: assembly is required by one or more application Pending references SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows Installer This assembly was previously installed by a .N...more >>


dataview find method return value is not zero indexed?
Posted by jai hanuman at 3/31/2004 3:42:03 PM
it seems the find method is returning 1 for the first row (instead of zero)? is this a known thing? the doc sez "The index of the row in the DataView containing the sort key value specified;" weren't indexes zero based? thanks... ...more >>

ListView.Invoke deadlocks within Asynchronous Delegate
Posted by Mike V at 3/31/2004 2:58:38 PM
I have been struggling over this problem for the past few days. Here is what's happening: 1) My main UI thread creates a ListView control. 2) My main UI thread asynchronously invokes a delegate 3) The Asynchronous Delegate function calls ListView.Invoke() to attempt to invoke *another* deleg...more >>

System.timers.timer in windows service??
Posted by Kevin Yu at 3/31/2004 2:54:50 PM
hi all I have a question for the timer in the windows service. it seems that the code(e.g. sending an email message) within the timer elapsed event handler won't run. I have an eventlog writter within the handler too, the log is written into the eventlog, but no email message is sent and there ...more >>

Questions about smartclient development
Posted by Yan Lu at 3/31/2004 2:53:47 PM
First thing is: Is it possible to deploy smartclient apps on Win2K platform? If not, what's the requirements for using smartclient on the server and client sides? Second question: I am using my Win2K for a smartclient development test. Everytime when I run the app, it reports following error. ...more >>

Common Language Runtime Debugging Services - Launch Error
Posted by GHQ at 3/31/2004 1:21:14 PM
Can anyone help with the following error trying to launch .NET programs ConfigWizards.exe - Common Language Runtime Debugging Service Application has generated an exception that could not be handled Process id=0x9a0(2464), Thread id=0x760(1888 Click OK to terminate the applicatio Click CANC...more >>

relative path
Posted by Peter at 3/31/2004 1:21:10 PM
I built an application on my local box which works fine. WHen I deploy it to the web server, it no longer finds the relative paths In my locale box the app is built off teh C drive, on the server the Inetpub directory is on the d drive. ...more >>

Windows Application Distribution
Posted by CV at 3/31/2004 11:39:46 AM
Hi, I have an application developed in vb.net. I would like to distribute the application in a CD with auto run. If the target system doesnot have the frame work installed, then the frame work should be installed automatically. I will include dotnetfx.exe in the same folder where setup.i...more >>



application wide tracing
Posted by cbwardsr at 3/31/2004 10:01:07 AM
I have set the tracing attributes in my config file to do application tracing as opposed to page. The documentation says I'm to view the results (for application tracing) via a page called trace.axd. I had assumed that the trace utility produced this page, I looked in the application root as descr...more >>

Yet another version question
Posted by Bradley Plett at 3/31/2004 9:59:47 AM
We have two development machines which, to the best of my knowledge, were set up identically. However, they are clearly NOT identical. We have a project that, if we compile it on one machine, everyone else can run it, but if we compile it on the other machine, everyone else gets an exception. ...more >>

Visual Basic 6.0 Code Upgrade Dialog Box Tool
Posted by SR at 3/31/2004 9:36:17 AM
I'm using VS 2002 and I can't find the Visual Basic 6.0 Code Upgrade Dialog Box Tool in my tools menu. I've check the setup properties of my installation and there is no mention of the tool. Can I run the Visual Basic 6.0 Code Upgrade Dialog Box tool in VS 2002?...more >>

IPAddress.Parse for IPv6
Posted by Ben at 3/31/2004 9:31:11 AM
Hi all I want to parse a multicast address string into an object of type IPAddress So i use the IPAddress.Parse(string theIPAddress) method It works fine with 224.5.6.7, pure IPv It throws an exception, saying that the provided address has an incorrect format, when I pass in the string ("200...more >>

Install of Framework 1.1 on 98Se Client
Posted by David Kurpiewski at 3/31/2004 8:51:10 AM
Every time I try to install the .NET framework v1.1 on a particular client machine, I get an error message stating that the Windows installer components need to be updated. I answer yet to update, but then the install fails because the "Windows Installer Components could not be accessed". Any advi...more >>

How to isolate a particular exception
Posted by polynomial5d at 3/31/2004 4:21:10 AM
I'm checking whether an exception is a DBConcurrencyException successfully but inelegantly in the code snippet below I tried to capture the hresult property and compare that way, but ex.hresult says it is not accessible because it is a protected property. Is there a more elegant way of capturing a...more >>

NGen.exe question
Posted by TT (Tom Tempelaere) at 3/31/2004 12:41:09 AM
Hi people I tried to use ngen.exe on an executable generated by C#, but I don't see where the generated executable is placed. I use it as follows (from the tools menu) ngen.exe "$(ProjectDir)bin\release\myprogram.exe The output goes to the output window, and it doesn't say it failed. But the...more >>

Bring Main Window of a Process To Focus
Posted by James Hancock at 3/30/2004 11:35:56 PM
I have a document monitoring project that I"m working on, and I need to bring the process that I have (including MainWindow IntPtr) to the focus of the system. Anyone have any ideas how to do this? I can't even find a Win32 call to do it, I must be missing something. Thanks! James Hanco...more >>

how can I create a form with a toolbar-style caption?
Posted by bobo at 3/30/2004 5:52:50 PM
just like WS_TOOLBAR in WIN32? ...more >>

Deadlock between MethodImpl(MethodImplOptions.Synchronized) and lock(this) ?
Posted by Joannes Vermorel at 3/30/2004 3:51:30 PM
I am currently dealing with a multithreaded application. Basically, I have the following class: class MyClass { public void Foo1() { // do something (no method call) lock(this) { /* do something (no method call) */ } } [MethodImpl(MethodImplOptions.Synchroniz...more >>

Invoking Model and Connecting Remote Computer
Posted by hemant_mishal NO[at]SPAM yahoo.com at 3/30/2004 3:35:21 PM
hi.. I want to access modem attached to my system and invoke it through vb.net application which will connect to other computer connected through telephone line. my application then will demand some data from the remote computer the data transfer logic is working fine. infact i can transfer dat...more >>

Catching security exceptions
Posted by Josip Medved at 3/30/2004 3:16:23 PM
When I run my code I get "Application has generated exception that could not be handled." This message appears only when I try to run application from network share. Reason is lack of application's dll assembly security permissions. How can I handle this case and inform user of this in more hum...more >>

datetime parsing problem
Posted by jai hanuman at 3/30/2004 2:59:01 PM
this fails. string sdt="20040330 930"; string[] fmts ={"yyyyMMdd Hmm"}; DateTime date = DateTime.ParseExact(sdt, fmts, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AllowLeadingWhite|DateTimeStyles.AllowTrailingWhite); any workarounds? urgent, please!!! TIA ...more >>

How do you kill an Asynchronous Delegate's thread
Posted by Mike V at 3/30/2004 2:34:26 PM
Hello, I have read several articles about using Asynchronous Delegates and I've implemented them successfully, but I am still unsure how I would terminate a thread pool thread created through a call to BeginInvoke() in the very likely (in my case) event that the delegated method hangs. Every ...more >>

C# Applet, TcpClient class. Why does this one line of code take so long to execute?
Posted by C# Man at 3/30/2004 11:24:40 AM
As part of a web application written in C#, I'm using the TcpClient = class to connect to port 2112 on a remote machine. If I compile the code = as a regular EXE and run it on my local machine, it works fine. But if I = compile as a DLL and run it inside a web page (which is my end goal), = th...more >>

Creating multi-file assemblies
Posted by John P at 3/30/2004 10:43:48 AM
Can someone give me a little help with creating multi-file assemblies? I am trying the simple example from richter's book and I can't seem to get my exe to recognize a class defined in a .netmodule file. I created 2 .cs files. One called ruts.cs that contains a class Rut, and another .cs f...more >>

simple question on copying objects
Posted by Tom L at 3/30/2004 10:18:34 AM
HOW? It seems no matter what I do, it always does a reference to the originating object. Even if I pass the object through a function, then create a "new" one via Dim x as New someobject and then return x, it still sets a reference - so then if I change a property in x it sets the original o...more >>

HOW TO: Determine If Screen Saver Is Start to Run by Using C#
Posted by Yan at 3/30/2004 2:46:07 AM
I would like my application to execute a function if and when the screen saver starts. I have been searching for a way for my program to know that the screen saver has started but the only thing I could find was how to do it in C++ & Visual Basic 6. The question is How can I determine if screen sa...more >>

How can I get memory allocated on PHYSICAL RAM and garanteed not on virtual ram.
Posted by drawtree NO[at]SPAM hotmail.com at 3/30/2004 12:44:55 AM
Hi. I simply want to allocate large size of memory (about 300~400 MB) on just physical RAM (not on disc virtual ram). I'm finding the garanteed method of allocating memory on PHYSICAL RAM. DECRIPTION OF MY SITUATION: I'm testing file copying with large memory cache. As I know, disc r...more >>

Link Error: LNK1181
Posted by Natasha at 3/30/2004 12:16:05 AM
H I have the following link error in my .Net C++ application compiler and cannot figure out what the problem is as I am not using the platform SDK wmutils.lib file and also when I open it in explorer it seems fine LINK : fatal error LNK1181: cannot open input file '\documents and settings\nxr\pr...more >>

_rotl
Posted by Gilles at 3/29/2004 11:56:07 PM
Does anyone know how to use the _rotl function or if there an equivalent in C# Tanks for your hel ...more >>

BackColor of a disabled NumericUpDown
Posted by nobody at 3/29/2004 8:18:35 PM
When I set a TextBox to .Enabled=False, it's back color changes to a light gray.. When I set a NumericUpDown to .Enabled=False, it's back color doesn't change. Is this "non-standardized behaviour" by design? ...more >>

How should I use Thread.Interrupt (general question)?
Posted by TT (Tom Tempelaere) at 3/29/2004 7:34:34 PM
Hi people, This is a question on the use of Thread.Interrupt. I would love to hear from anyone who ever used the Interrupt method on a thread to unblock it. My C# book sais that Interrupt method will interrupt a wait, sleep or join performed on the thread. Now suppose that I'm coding a DB...more >>

Delayed Rendering
Posted by Mark A. Simurda at 3/29/2004 7:31:01 PM
Is it possible to do delayed rendering with the clipboard and drag and drop with the .net framework, or do I have to use Win32. If it is possible, could you point me to some documentation or examples about it. Simurda...more >>

Getting a list of static objects.
Posted by Peter Strøiman at 3/29/2004 4:32:48 PM
Hi. I have a test application that loads some data from a database. This process is then iterated a number of times, and the memory consumption of the application is rapidly rising. Since the garbage collection is running, it must be because some static or stack variable is holding a referenc...more >>

date-time control......time validations
Posted by Anil at 3/29/2004 4:02:29 PM
i am using 2 datetime picker controls for showing fromtime and totime.Now i want to check the fromtime should not be greater than totime validations with AM and PM checking also.how can i perform this in C# windows forms ? Please help. ...more >>

exception after using HttpWebRequest
Posted by z. f. at 3/29/2004 3:59:32 PM
my system runs Windows2000 server with sp4, dot-net framework version = 1.1 (1.1.4322), Visual Studio 2003 (7.1.3088), making a windows application in C# that uses HttpWebRequest and brings = data, after about a minuete from the end of the response, while the = window stays open, i get exception...more >>

Allocate more memory into Byte array
Posted by Arthur Yousif at 3/29/2004 3:52:44 PM
Sorry, my previous post was posted by accident before I finished it. Hello, I have a stream I'm reading from, which is from an HttpWebRequest and the Length property is not available because the stream doesn't support seek operations. I'm looping through the stream byte by byte but that...more >>

How to obtain implemented Interfaces using Reflection?
Posted by pn at 3/29/2004 3:46:09 PM
Hi all I'm looking for a way to obtain all interfaces implemented by a given type, i.e. all interfaces included in the type's class base specification. Sounds easy but the problem is that Type.GetInterfaces returns both inherited and implemented interfaces, including all base interfaces The foll...more >>

getting a user list
Posted by nash at 3/29/2004 2:41:06 PM
What's the .Net way to retrieve a list of users and NT workgroups (1) from the local machine and (2) from a domain Thank ...more >>

unloading assemblies
Posted by Peter Strøiman at 3/29/2004 11:41:45 AM
Hi. I have a system that generates assemblies at runtime, loads them, and executes code in them. The assembly is stored in memory until the source is modified, which causes the assembly to be regenerated. To be specific, the source code is stored in a database table with a timestamp colum...more >>

Call of en external .EXE file
Posted by Pascal SIMON at 3/29/2004 11:20:55 AM
Hi How can i run an external .exe file within a C++ .NET application ? It sounds like a call to WinExec(), but i find no command to do that... I need your help Thanx in advance Pascal ...more >>

IL editor
Posted by Chris at 3/29/2004 11:02:20 AM
Hi, does anybody know where I can find an IL-editor ? thnx Chris ...more >>

Deploying XML
Posted by JezB at 3/29/2004 10:10:56 AM
I've added an XML file to my project, with data in it, but when I BUILD the project the xml file seems to be compiled into the executable or one of the DLLs. I want the XML file itself placed into the assembly so that when deployed it can be edited by the end-users - a kind of application config...more >>

Inheritance in C#
Posted by Dean at 3/29/2004 7:36:08 AM
Im reading C# specification, an it says that members of class B include all members declared in class B plus all members from its base class (call it class A) REGARDLESS of their accessibility level, meaning 'private int count' (declared in A) would be inherited in B (but would not be accessible, be...more >>

Will modules be supported in future versions of vb.net
Posted by polynomial5d at 3/29/2004 6:46:06 AM
Do any whidbey testers know polynomial5d...more >>

Control to render HTML
Posted by Troy at 3/29/2004 4:56:07 AM
H I have spent some time searching without success Using VS.Net 2003 Is there a control which will simply render HTML? It seems obvious that there should be but I can't find it - and I don't need the power or internet access functionality of the axbrowser.. Or, if I do have to use axbrowser,...more >>

sqlCEReader problem
Posted by ibad at 3/29/2004 4:11:06 AM
Dim myReader as SqlCeReade if(myReader.Read)The control=Tru els control=Fals EndI When I try to read some data with the above code from SQLCE database I get an sqlce exception. if myReader is null(nothing returned from the query) this problem occurs My aim is to control whether any record ...more >>

a simple Window Form 11.000k of memory usage
Posted by at 3/29/2004 1:27:26 AM
if you start an iexplorer thats 11.836k and a simple form that contains notting 11.588k that makes .net heavy ? isn't it ... why this high memory consumption happens what makes it in .NET ??? ////////////////////////////////////////////////// simple form using System; using System....more >>

Who is holding the file
Posted by sivaraj at 3/28/2004 8:06:07 PM
Hi al I want to delete a file from my.But before that i want to find out whether some other process is holding the file.How can i found this .Is there any method in VB.net to find it. ...more >>

zip library
Posted by Jim at 3/28/2004 5:23:52 PM
Hello, Can anyone recommend a good free c# zip library? Thank You, -Jim ...more >>

bug in HttpWebRequest?
Posted by z. f. at 3/28/2004 2:56:59 PM
using HttpWebRequest to make HTTP request t web server and get resulting HTML in the response, when the response includes hebrew characters (not unicode) these characters are moved away after StreamReader reader = new StreamReader ( response.GetResponseStream() ); strHTML = reader.ReadToEnd();...more >>


DevelopmentNow Blog