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


all groups > dotnet general > april 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 29 30

Problem with ObjectDataSource Update method
Posted by Scott F K Hooper at 4/30/2006 9:21:02 PM
VB.NET 2.0 project... I have an Access database with a table that has one primary key. I have used the Add TableAdapter wizard in VS2005 to create my TableAdapter. Next I added an ObjectDataSource object to a new aspx form, chosen the newly created TableAdapter and selected the parameterised ...more >>

Is there a Spy++ for .NET Events?
Posted by MC at 4/30/2006 9:00:02 PM
I'm familiar with Spy++ for Windows messages. Is there a similar tool to track .NET events for a particular form? Craig...more >>

Max. Thread Amount of Windows XP and / or Windows Server 2003
Posted by roni schuetz at 4/30/2006 5:22:45 PM
Hi @ll, I'm working on a web project which has to use multiple channels to connect to receive several sources at once. The problem is, that I'm not aware of the maximum amount of Threads i can allocate to my channels. Can i open 10 threads, 100 threads even 1000? is there a general answe...more >>

DataGridView control possible gc bug?
Posted by manjub at 4/30/2006 4:04:11 PM
Hi, I was working on an MDI application using Visual C++ 2005 .NET. In a child window, I have an instance of DataGridView control. If I open several child windows, they all work fine. However, if I close one of the child windows and try to add a row to DataGridView control that is active, ...more >>

ORA-01002: fetch out of sequence
Posted by Hodge at 4/30/2006 11:27:02 AM
I am trying to use the OracleDatatAdapter to connect to an oracle version 7.3.4.4 server. I am using an oracle 9i client. When i configure the adapter, the connection works and i can select from the tables. But I get an error after I select a table and the select sql is generated. I get a " OR...more >>

A references' problem about IrDA simple code
Posted by Byers at 4/30/2006 9:59:01 AM
Hi! I've download the simple code here: http://msdn2.microsoft.com/en-us/library/system.net.sockets.irdaclient.aspx when I try to build it,I can't found system.net.irda.dll in my .net framework.I put the dll file with the same name from the CFM,the programme crashed by an exception.Where can ...more >>

shurtcuts for code snippets don't show..
Posted by Elhanan at 4/30/2006 7:33:50 AM
hi.. i've created xslt code snippets with shurtcuts, but the shortcuts don't seem to showup on intelisense? ...more >>

How to clear file content?!
Posted by DHarry at 4/30/2006 5:00:01 AM
How can I clear a text file without deleting and creating a new (empty) file?...more >>



Get notified when the modem gets connected
Posted by Khurram at 4/29/2006 7:51:09 PM
Is there some way in dotNet to get notified when my modem gets connected? Do I have to set up a hook using win32 api or can this be handled by the framework? If thru win32, what api function should I use? Thanks....more >>

Problem Installing .NET 2003
Posted by GusEvans at 4/29/2006 12:01:01 PM
I have just opened and tried installing .NET 2003 after uninstalling Visual Studio Express .NET 2005. It goes to item 1 - checking for necessary components. I hav gone to Windows Update - every time it says that there is an Office Service Pack 2 update, which I have installed at least 5 time...more >>

Difference BackgroundWorker / Threads
Posted by DHarry at 4/29/2006 10:07:01 AM
Can anybody tell me, whats the main difference between a BackgroundWorker and a Thread? What are the advantages/disadvanteges? When use a BackgroundWorker, when a Thread?...more >>

[newbie] windows services
Posted by Peter Schmitz at 4/29/2006 5:54:02 AM
Hi, I'm currently developing a .net windows service, but still I've got some questions I couldn't find an answer to: - When will the service be started? When the computer is started - or when a user logs in? - If the service is started when the computer itself is started: What would a c...more >>

String.Format with a variable field width
Posted by MC at 4/29/2006 3:12:26 AM
In C, printf allows us to specify a runtime (non-constant) field width of a formatted value by using the * character. Is there something like that for System.String.Format? In C#, I find myself having to use concatenation, which is awkward to write and to read: s.Format("{0," + fieldWidth.To...more >>

Give facility to user to change report.
Posted by h at 4/29/2006 12:00:00 AM
Hi, I am using crystal's bundled version with vs.net 2003/2005. I want to facilate my user to change report without my help. How can I ? Thanks in advance Hardik Shah. ...more >>

Crystal Report in .Net
Posted by Tedmond at 4/28/2006 8:15:01 PM
Dear all, I have used Crystal Report Viewer in my .Net application. However, when I run my application in user's PC, I got the error something like 'Can not find KeycodeV2.dll' Why? How to solve it? Thanks for any help! Tedmond...more >>

Problem with timer in service
Posted by r norman at 4/28/2006 5:09:45 PM
Please excuse the cross-posting. This question was raised in microsoft.public.dotnet.general but hasn't been answered so I am trying where I can. There are two of us who have the same problem in a service: the Timer::Tick event processor never gets called. We have set the timer interval, ...more >>

.NET 2.0 performance bug in ArrayList.Sort
Posted by Alex Chudnovsky at 4/28/2006 2:57:02 PM
I have come across with what appears to be a significant performance bug in ..NET 2.0 ArrayList.Sort method when compared with Array.Sort on the same data. Same data on the same CPU gets sorted a lot faster with both methods using .NET 1.1, that's why I am pretty sure its a (rather serious) bu...more >>

This a managed newsgroup? (was re: Conflicts between .NET 1.1 and .NET 2.0?)
Posted by Andrew at 4/28/2006 12:33:28 PM
Hello, I posted a question about conflicts between .NET 1.1 and .NET 2.0 back on March 20, but received no reply.. Did it just fall between the cracks? Here is my original post: I was looking on the Microsoft web page "How to Get Windows 'Monad' Shell Beta" at: http://www.microsoft.com...more >>

Are there main applications in .net
Posted by Kevin at 4/28/2006 12:13:54 PM
We are trying to decide if we should be porting our applictions to ..net. Are there main stream applications that are .net? We like the framework, but worry that if Microsoft decides to go another direction we would have wasted our time moving to .net. Are there any real world examples of c...more >>

Compile error on TimerCallback
Posted by Thirsty Traveler at 4/28/2006 11:50:52 AM
I am getting a compile error ("No overload for 'Timer_Tick' matches delegate 'System.Threading.TimerCallback'") on the following code and can't figure out why. Does anyone have any ideas? public partial class CrystalService : ServiceBase { public CrystalService() { Initial...more >>

ServiceTimer won't fire
Posted by Thirsty Traveler at 4/28/2006 8:58:04 AM
I dropped a Timer object onto a Windows Service and set enabled=true... however, it does not appear to be firing. Do I need to do something else? ...more >>

Regex Text parsing
Posted by JaythePCguy NO[at]SPAM gmail.com at 4/28/2006 7:37:40 AM
Hi, I am trying to write a text parser to group all nonprintable and control characters, spaces and space delimited words in different groups using Regex class. Using a parsing of (?<Commands>[ \x00-\x1f\x7f-\xfe])|(?<Spaces>[ \x20])|(?<Text>[ \x21-\x7e]+) on my sample text of \tOne\ncar red ...more >>

Encrpyt Simple String
Posted by DHarry at 4/28/2006 5:11:02 AM
In my app I have a MessageBox like the following: this.MessageBox.Show("Hello"); Question: How do I encrypt the String "Hello" in C# (2.0), so that the user can't "directly" see the String, for example while using Lutz Roeders .NET Reflector? What about using SecureString?...more >>

Debugging a .NET1.1 application in a. .NET2.0 process.
Posted by hvj NO[at]SPAM paralax.nl at 4/28/2006 4:54:36 AM
I need to run a .NET1.1 program in a .NET2.0 CLR. The .NET1.1 exe starts correctly in .NET2.0. Now I want to debug in Visual Studio 2005. But when I try to open the .NET1.1 project, Visual Studio wants to convert it to .NET2.0 what I don't want. How can I make Visual Studio open a .NET1.1 proj...more >>

Javascript Debugging
Posted by RG at 4/28/2006 12:30:41 AM
I am looking to debug javascript code imbeded in aspx page. I would like to attach an ie process and step through js code. The attaching part I am able to do. How do you break and step through in javascript? Thanks in advance ...more >>

MSHTML PasteHTML function duplicating Tag
Posted by Jason at 4/27/2006 10:48:01 PM
Hi, I'm developing an HTML Editor Control using VB.Net 2003 for an application that used to use the DHTML Editor Control that is no longer supported. Well, it's been fun but I've hit a wall with an intermittent problem working with editing Hyperlinks. As you can see the following HTML co...more >>

asp.net in websphere
Posted by Andrew at 4/27/2006 9:11:02 PM
HI, Is it possible to deploy asp.net project into websphere,if so how could we acheive ...more >>

Older versions of .NET framework ... Needed?
Posted by AppleBag at 4/27/2006 6:46:11 PM
I just looked in the folder that contains my .NET framework installations, and I have versions 1.0,1.1 and 2.0. Do I need the 1 series since I have version 2.0? Seems like it might just be a waste of space. TIA ...more >>

Textbox maxlength property in vb.net 2003
Posted by h at 4/27/2006 6:41:32 PM
Hi, I have set my textbox's maxlength property to 1 , however it allow more than one word. Is there any settings that I am missing ? Thanks in advance Hardik Shah ...more >>

factory question
Posted by Chris at 4/27/2006 5:20:02 PM
Hi, In my DAL i was thinking of adding a helper factory which will return a SQLHelper class or OracleHelper class. Is this a good idea? If so, can the helper class be singleton? Thanks...more >>

set tab order in vb.net form
Posted by h at 4/27/2006 5:08:56 PM
Hi, I want to set tab order for my form in vb.net 2003, Is there any menu or short cut for the task except manuall change the index of the control. Thanks in advance Hardik Shah ...more >>

Updating WebBrowser without full refresh
Posted by jeffrey.bigham NO[at]SPAM gmail.com at 4/27/2006 2:14:37 PM
Hello, I'm developing an application in C# using the WebBrowser control and need to toggle images off and on. After some digging, I found the appropriate registry key that needs to be set and then discovered how to inform other windows that a change has taken place via an Interop call to Sen...more >>

BackgroundWorker.ProgressChanged Event
Posted by WB at 4/27/2006 1:53:02 PM
Hi, My Windows application has a time-consuming operation which I'd like to run on a separate thread so that the UI can remain responsive. I'm thinking of using the BackgroundWorker class and have referred to a relevant MSDN article at: http://msdn2.microsoft.com/en-us/library/system.co...more >>

preventing data grid collision
Posted by jonefer at 4/27/2006 1:53:02 PM
What is the best mechanism/ convention for preventing stacked datagrids from overlapping each other? I'd like to do something similar to a "can shrink/can grow" in an Access report for an aspx page which displays stacked grids. For example: DG_Allergies DG_Benefits It's possible fo...more >>

DLL does not load Dynamically
Posted by RSS at 4/27/2006 1:20:28 PM
Hi everyone, I have an app that uses some DLL's that are shared across couple = applications. There are reasons existing that prevent me from putting = them in to the GAC. Each of these app's at some point in time loads a DLL dynamically in = this fashion: =20 System.Reflection.Assembly ...more >>

Encrypt ConnectionString in a *WINFORMS* App
Posted by google NO[at]SPAM easiesttoremember.com at 4/27/2006 11:57:41 AM
OK, I know how to encrypt and decrypt data, but here's the deal: I have a large Winforms .NET 2.0 application which is currently storing the connection string in the app.config file unencrypted (currently using Windows integrated security, so there's no password). There are only 3 users using...more >>

DataSource Memory Usage Question
Posted by Greg P at 4/27/2006 10:20:02 AM
If i connect to my database and select all tables and views. Then I drag a few differnt tables onto differnt tabs on the same form. I know that the data isn't bound until the tab header is clicked. Yet is the entire datasource brougth into ram or just the table (or tables that are in the ...more >>

InvalidComObjectException Explanation...
Posted by Jason Richmeier at 4/27/2006 9:28:02 AM
I have received an InvalidComObjectException in my code with the message "COM object that has been separated from its underlying RCW cannot be used". Can anyone explain (in simple terms) what this is trying to tell me? By the way, this exception is being raised in the destructor (Finalize ...more >>

Authentication Error, please help !
Posted by Mr. Ali Hasan at 4/27/2006 9:20:02 AM
There's a problem in my application that calls a remote web service's method, when it tries to connect to the webservice it displays this error: "The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the...more >>

Deleting Files from IsolatedStorage
Posted by Josh Kandiko at 4/27/2006 7:40:02 AM
Hi, I've been having some frustrations with deleting files from the Isolated Storage directories. Basically, I want my application to remove all instances of configuration information for my application when the application is uninstalled. So, I created an uninstaller class that overrid...more >>

hosting a winforms control in IE, where does activation occur?
Posted by Ben R. at 4/27/2006 7:31:01 AM
When you host a winforms control in IE using the object tag, do you need to be serving the control from ISS? If so, why? I would think that activation happens entirely on the client side so you wouldn't need any extra processing on the server side? -Ben...more >>

Which distributions contain 2.0?
Posted by BrianGenisio NO[at]SPAM gmail.com at 4/27/2006 5:29:05 AM
Does anyone know if any of the Windows Distributions are currently shipping with .Net 2.0? I am pretty sure that XP SP2 does not, but I assume that Vista does. Any further insight? Thanks, B ...more >>

Moving a row between 2 datasets
Posted by Steve at 4/27/2006 2:20:02 AM
C# I have a screen with 2 datagrids on it. The screen is designed for allocating records from one datagrid to the other. Once a record has moved from one to the other, i refresh them both to show the change. To do the refresh though, currently I am sending a request back to the DB to ref...more >>

validation control status?
Posted by js at 4/27/2006 12:23:26 AM
Hi, I have a text box and DropDownList control and a validation control, When user entering a number in the text box, based on the entered number, the dropdrownlist value will change (document.getElementById('dnn_ctr-1_Register_ddReferral').value = document.getElementById("dnn_ctr-1_Register_t...more >>

bytes sent and received from network adapter
Posted by Ricardo at 4/26/2006 6:24:39 PM
Can anyone help me to get the information given if you open the status box of your internet connection? It gives connection speed, duration, bytes sent, and bytes received.Is there some way to read this information from performancelog?thankyou ...more >>

"& character" and MenuStrip
Posted by Kris at 4/26/2006 4:35:02 PM
Hi.. Why is it impossible to add a "&" character to item in VS2005 menustrip? In properties, it preserves itself as "&", but in menu, shows up as some small line instead of &. Can you help?...more >>

Large fonts !!!
Posted by John at 4/26/2006 3:05:40 PM
Hi, I just want to put my comment about large fonts settings (on Desktop, properties, settings, advanced, 120 dpi) in Windows and impact it has to programming. I really don't understand who in Microsoft got this idea to implement large fonts in this way. I don't consider myself as compute...more >>

ASP.NET 2.0 Error 500
Posted by Metal2You at 4/26/2006 1:58:05 PM
I have a couple of web servers running Windows Server 2003 Web Edition. I'm using the Load Balancing Manager to load balance these two machines in a server farm. Static content and .asp pages work without any problems. I enabled the ASP.NET 2.0 Web Service extension and I can browse to my ....more >>

is it safe to call GetMessage instead of calling DoEvents
Posted by Benny at 4/26/2006 12:09:03 PM
I am creating a thread via "new Thread(new ThreadStart(p.ThreadProc))", is it safe for ThreadProc to use GetMessage/TranslateMessage/DispatchMessage instead of DoEvents? What I would like to do is to have messages posted to ThreadProc and have ThreadProc process those messages (similar to u...more >>

how to know when an app is running in the VS IDE
Posted by Mark at 4/26/2006 12:03:34 PM
Is there a straight-forward way to know when an app is running in the VS IDE (versus the EXE) ?? Thanks ...more >>


DevelopmentNow Blog