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 > august 2005

Filter by week: 1 2 3 4 5

*this* keyword
Posted by Water Cooler v2 at 8/31/2005 7:43:19 PM
Does the *this* keyword refer to the class or the instance? ...more >>

Debugging issue
Posted by Stephen Noronha at 8/31/2005 3:58:21 PM
Hi, Is there a way of debugging a web application other than hitting F5 on VS ..NET. I have a box that has less RAM and the bloody application dies on me. it makes me put my hair. I want to debug my application to check whether my application is taking correct values. Thanks, Stephen ...more >>

regasm issue, VB.net com dll
Posted by jroozee NO[at]SPAM gmail.com at 8/31/2005 2:24:14 PM
I have created a DLL using VB.net for com interopt for use within my VB6 application. It works fine on my machine - I run the regasm, it registered and drag the dll in to the assembley folder. However, when I distribute the DLL to a end-user machine witht the .NET 1.1 framework I have some iss...more >>

Logging & Instrumentation App Block & ASP
Posted by Bryan at 8/31/2005 1:45:14 PM
I'm using the June release of the logging & instrumentation block. I have two categories set up, each logs to a different sink (one goes to the application log, the other to a text file.) When I run my test code as a regular windows app, everything works fine. When it runs from within a web serv...more >>

Information on Input Button
Posted by Stephen Noronha at 8/31/2005 1:09:50 PM
Hi all, I have an input button <input type="button" id="Button2" name="Button2" value="More" onclick="openPage()"> this input button onclick opens another page. this "More" button is for additional information only (say I have extra notes), and if there is none available then it should not...more >>

.NET Programmer Required
Posted by Sathyaish at 8/31/2005 11:56:40 AM
I need one .NET rockstar for my company. I could pay from Rs.3.6 lakh p.a going upward if I get the right guy. There is no upper limit if you are a rockstar, I would be happy to "invest" in you. You must be willing to relocate to Delhi/NCR/Noida. If you are interested, email me at Sathyaish at...more >>

Reference VS2005 assembly from VS2003 project
Posted by Jody Gelowitz at 8/31/2005 10:20:21 AM
Is this possible? I have compiled an assembly in VS2005 and am trying to add a reference to that assembly from my VS2003 project. The error that I am getting is: A reference to '{path to vs2005 dll}' could not be added. This is not a valid assembly or COM component. ONly assemblies with...more >>

Executing Assemblies on Shared Paths
Posted by DylanM at 8/31/2005 8:30:22 AM
Hi, We are a software development team for a retail company, all of the programs we develop are for use internally on our network. Recently, we have moved towards thin-client technology with everyone running remote desktops using Citrix. This proves to be troublesome when deploying - o...more >>



how to select a row from the listview?
Posted by Indiresh at 8/31/2005 8:11:04 AM
Hi, I have a reference of an index number using which i want to select a row at the listview? how can i do that?...more >>

Running Two Visual Studios at the same time, Dll's are being locked
Posted by antsays NO[at]SPAM gmail.com at 8/31/2005 7:25:43 AM
I am having a problem when running two Visual Studios at the same time. I know it is not a good idea to run Two Visual Studios at the same time but in this case I have to (Unless you have another way of debugging a webservice and a Client at the same time) I am trying to debug a Webservice...more >>

What's .NET best IPC solution?
Posted by lpinho at 8/31/2005 6:54:05 AM
Hi all, I have a couple of existing components that need to communicate with each other, one is a server that is always on. The other is a COM plus component that is called every other time that send a message to the other application (using a custom made messaging system). At this time e...more >>

Timers and Services
Posted by Paul.Hawkes NO[at]SPAM gmail.com at 8/31/2005 6:33:02 AM
Hello, I've written a windows service and so far what it does is browse to a shared directory on an extranet. Check to see if any files exist in this folder, if any do, the service downloads, processes and then uploads a response file back up to a different shared folder. My Question: I woul...more >>

Printer Spool crashes approx. once a day
Posted by NachtHacker at 8/31/2005 6:22:02 AM
We have a Win 2003 Server with shared printers installed on it. Approx. once a day the spool service crashed without any reason. In the event-log we get a message, that the spool has crashed. Due to the properties of the printer spool the service is started again. But then it crashes sever...more >>

How to convert NameValueCollection to string?
Posted by walter at 8/31/2005 5:58:22 AM
Here is my question: Request.QueryString on asp.net is typed as NameValueCollection. But there is strange behavoir-- I can simply use Request.QueryString , or public function ToString() to return a well-formatted string, ie. param1=1&param2=2..., but when use the same code on other NameValue...more >>

How to Deserialize a file and save it
Posted by Naveen koul at 8/31/2005 5:52:31 AM
Sir, I have wrote a serilizable file, now i want to deserilizable the file and the save it on my desktop. How can i do it. waiting for reply eagerly. Regards Naveen...more >>

Can't directly dim an instance of a tableadapter
Posted by dennist685 at 8/31/2005 5:06:02 AM
Can't directly dim an instance of a tableadapter I'm creating a sample project much smaller than my whole project to isolate some remaining issues. Naturally I'm copying a great deal of code. However, there have been several anomalies. In my regular project the statement Dim cdt...more >>

Assembly.CreateInstance constructor parameters
Posted by quodran at 8/31/2005 1:11:01 AM
Sorry if this post is a bit long! Can someone help on a reflection problem: I have a dll in which can be found the TSAction class (the dll is C:\temp\HRABusinessLayer.dll) with 3 ctors. In a windowsService project, which has that dll in it's references, I need to create an instance of the...more >>

Clone without copying event handlers
Posted by John Yale at 8/31/2005 12:00:00 AM
I am cloning an object using MemberwiseClone plus some code of my own to perform a deep copy. This is fine except MemberwiseClone copies event handlers which I don't want. How can I remove all event handlers from an object? This needs to be done from within the object itself. RemoveHandler ...more >>

Request For Opinion (data file performance).
Posted by Lloyd Dupont at 8/31/2005 12:00:00 AM
I'm writing a program at home for general public which store its data in a datafile. Fearing the data loading could be long, I used an embeded datafile engine (SQLite), because this way I could read/write/delete file incrementally (unlike what I could do with tar-gzipped XML file for exampl...more >>

Problem coding logic in a webform
Posted by Richard Lionheart at 8/31/2005 12:00:00 AM
Hi All, I used VS.Net to build a webform app. I used the toolbox to drag a bunch of labels onto a form to form a matrix. In the HTML code I saw a bunch of <asp:label ...> lines with various LEFT: xxx and TOP: xxx values. I want to tear them out and replace them with some script that lo...more >>

File format for a new application
Posted by Lloyd Dupont at 8/31/2005 12:00:00 AM
(I know it's a seond post, but I think I explain it better this way) -- On my own I'm writting an application for the general public. (a bit like word, except it has nothing to do with word ;-) So far I used an embeded database engine to store the data (SQLite), I like the concept because ...more >>

regex and the dot
Posted by jg at 8/30/2005 11:48:07 PM
I am try to match string with a period some place. somehow the period in a pattern matches any character whether escaped or not, also in []. I was a bit surprised as my understanding almost any characters in [] are supposed to be matching itself. what should I do? ...more >>

Assembly in the GAC, using Enterprise Library...how to access .con
Posted by AC [MVP MCMS] at 8/30/2005 7:58:06 PM
If you had a DLL that you installed to the GAC that uses the Enterprise Library, how would you get the Enterprise Library assemblies to access the primary .config file? For example… say you take the Enterprise Library… which uses .config files for all settings. So when you usually use ...more >>

Once app, control, and class library for CompactFramework and Full .NET
Posted by troy anderson at 8/30/2005 7:19:17 PM
This is to inform everyone that if one uses the LCD method with CompactFramework and Full .NET you can develop an application, form control, or class library that works on all platforms (WinCE or WinXP). I have been doing this for our company as a side project for the past year and it works ...more >>

question regarding the features of webform
Posted by Stephen Noronha at 8/30/2005 5:50:59 PM
Hi all is there a way to control the size and display features of a webpage? for eg: if i want to call "Webform2.aspx" from "Webform1.aspx" and i use Response.redirect for this instead of having the feel of the page is it possible for me to show the webpage like a pop up? Thanks, Stephen ...more >>

DirectoryEntry.Close vs DirectoryEntry.Dispose
Posted by ssg31415926 at 8/30/2005 12:44:11 PM
When I've finished with a DirectoryEntry object, should I be calling ..Close() or .Dispose() or both? I thought I read something when I first started using .NET saying you should always call .Dispose() if it's been implemented on your class when you've finished with it. Then, the other day,...more >>

Bug in Socket.Receive method (?)
Posted by Pete R at 8/30/2005 10:50:01 AM
I've noticed what appears to be a bug in the Socket.Receive method in the 1.1 Framework. Specifically, when talking between sockets on the same machine, the Receive method appears to ignore anything after a newline. For example, here is a snippet of server code listening on all local addresses...more >>

SOME SERVICES STOP AUTOMATICALLY, IF THEY HAVE NO WORK TO DO
Posted by Venkatesh at 8/30/2005 10:32:52 AM
Hello, I tried recently to install windows service(which is working correctly on Windows2000) to WindowsXP and keep on getting message dialog when I try to start the service saying that "Some services stop automatically, If they have no work". I tried few things mentioned in google group sear...more >>

system.invalidcastexception
Posted by dennist685 at 8/30/2005 9:26:05 AM
system.invalidcasterror This is in vs 2005 beta2 What started out as a sample project to solved a windowsforms.databinding problem, got waylayed with the above. I have four listboxes, all populated in the following manner. lstConcepts0 is populated in form_load Dim cdt As...more >>

batch compile/build
Posted by z f at 8/30/2005 8:34:15 AM
Hi, I have few VS.NET project that depends on each other, and when i build one of them i need the DLL to be updated in the other's bin folder, before i compile the others, and this don't happed by default. I heard of an option to change the copy local to false and then to true again but ...more >>

Column Ordering in DataView?
Posted by xenophon at 8/30/2005 8:28:22 AM
I have a DataTable that came from a web service, and the columns are not in the display order I need. I want to change the order with a DataView, but only see options for sorting the results, nothing for ordering the columns for eventual display. I can't do this in a DataGrid for architectural...more >>

Where does the frawework keeps installatin log?
Posted by Stan at 8/30/2005 12:00:00 AM
My Net 2.0 framework installation fails at the stage where it registeres the type libraries. Where is the installation log stored? It is definitely not in C:\WINNT\Microsoft.NET\Framework\v2.0.50215 folder... Thanks, -Stan ...more >>

How to get debugging output in .Net
Posted by Richard Lionheart at 8/29/2005 8:16:37 PM
Hi All, I'm creating a web-forms app using Prosise's "Programming MS .Net" (2002). He had a try block (on p. 208) followed by: catch (FormatException e) { Output.Text("Error"); } The only namespace he imported was System.Data. I tried the same thing, but the compiler didn't lik...more >>

Display .tif image in webpage
Posted by BobbyMy at 8/29/2005 6:45:03 PM
I wonder if anyone can help me on how to display or view a tiff image on a webpage or is there other method of doing this. This is because i tried to view a tiff file on a webpage (.aspx or .htm)....more >>

rectangle contains
Posted by Rob T at 8/29/2005 4:05:28 PM
Hi. I have a program that creates an image and displays it to the screen....pretty simple. I put it into a matrix so that I can rotate it. I would also like to be able to know when I click on it so I am doing a rectangle.contains. This works fine if the image isn't rotated. But if it ...more >>

Emergency! Too Busy A Connection!
Posted by Ehsan at 8/29/2005 3:17:04 PM
Hi. I have a problem with an OLEDBConnection object that is supposed to serve for a number of clients that need data from my Access(mdb) database. These clients are placed in different threads and try to load data from this connection. The problem is that when the connection is retrieving data ...more >>

Error message when loading a program using .NET Framework
Posted by John B at 8/29/2005 2:25:01 PM
I have a program (Access Manager 2) which uses the .NET framework, and since (I think this is the problem) trying to upgrade my firewall (Zone Alarm), I am always presented with the following error '.NET Framework initilization error -C:\WINDOWS\Microsoft.NET\Framework\V1.1.4322\mscorwks.dll c...more >>

Default namespace
Posted by Andrew at 8/29/2005 1:55:42 PM
Where is the "default namespace" (visible under the properties dialogue of a project... (right click, then properties)) stored? I don't see it in the project file anywhere (.csproj, in my case) Thanks -Andrew...more >>

run .net program whithout framework
Posted by simon at 8/29/2005 1:54:04 PM
Hello, I have a problem: Until now i've only been programming with VB6 and now i want to change to ..net. I've always been using the installation assistent to share my programms. now i asked myself whether something like this also exists for .net. i heard that .net programms won...more >>

Treeview -- default all items to show plus sign?
Posted by llevity NO[at]SPAM gmail.com at 8/29/2005 10:49:12 AM
I have a treeview control that's first being populated with a list of items. Each item has sub nodes, and sub nodes have sub nodes. It takes a while to load the whole thing, so I decided the better approach was just to load the items for the node that's currently selected. The problem with t...more >>

How to get upstream assembly name(?)
Posted by Brad at 8/29/2005 9:59:45 AM
I am trying to figure out how to get the name of upstream assemblies (assembly which called the current assembly) in an asp.net app. UI Layer (asp.nex code behind) Bus Logic Layer (seperate assembly called by UI) Data Layer (called by Bus Logic) In the Data Layer: [Assem...more >>

disable focus rectangle
Posted by Ronnie Smith at 8/29/2005 9:11:09 AM
Hi - I have a custom control button and I wish to get rid of the focus rectangle that appears when the user clicks the button. Could you let me know how to do this please? Many thanks, Ronnie...more >>

Security Warning
Posted by Stephen Noronha at 8/29/2005 8:59:34 AM
Hi, I am supposed to modify/manage some code. it was on a machine in "Network Shared", I whacked it from there and put it in my wwwroot folder, I opened it after creating a Virtual directory and it gave me this "Warning" When I open the "Sample.sln" I get warning + Errors which reads: The pr...more >>

Telling a classes full name
Posted by Brian Henry at 8/29/2005 8:42:44 AM
I am creating a plugin system and each plug-in has a class called "Connect", which is what I created as the entry point for the plug-in. The problem is, I need to get the Full type name of this to create a instance of it. previously I was doing this a different name by using the same root na...more >>

What doesn gacutil /cdl do?
Posted by okaminer at 8/29/2005 3:45:31 AM
I have tried to overwrite an existing assembly in the GAC and those the operation seem to complete O.K nothing happened. So someone told me it might be because I need to reset my computer in order to reset the GAC So I looked for a function that does exactly that without closing the compute...more >>

Error in Installing Service Pack2
Posted by Adnan Memon at 8/29/2005 2:36:04 AM
hi Actually I have a Problem that's resolved in MS Article. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319345 so according to this article as i starts .Net Framework Service Pack 2 to intall on my machine i got an error " the Update Patch cann't be installed by Windows Instal...more >>

J# Framework
Posted by Tyrben at 8/29/2005 2:05:02 AM
What do I need to run a J# application on a computer? ...more >>

Baffled by BeginInvoke() callback
Posted by Jon Shemitz at 8/29/2005 12:10:07 AM
When you use BeginInvoke to call a delegate asynchronously, you can pass it a AsyncCallback which gets called in the same ThreadPool thread that runs the 'main' delegate, after the 'main' delegate returns. Why? What's the point? If I want to run This() when That() is done, why wouldn't I ju...more >>

WinForms Timer
Posted by Cool Guy at 8/29/2005 12:00:00 AM
Let's say I have a WinForm with a System.Windows.Forms.Timer running in it. In the Tick event of the timer I update the form. Now, must I, in a Form_Closing handler, do something like the following? timer.Enabled = false; Application.DoEvents(); // process any pending messages before...more >>

PLEASE HELP ME
Posted by Needs help! at 8/28/2005 10:44:02 PM
I have been trying to install framework 1.1 and get the same error: Iexpress setup has encountered a problem and must close. Any advise would be apprieciated!...more >>


DevelopmentNow Blog