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 > may 2006 > threads for tuesday may 9

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

Rewrite ...
Posted by Stan Canepa at 5/9/2006 10:32:29 PM
This post is mostly for discussion. Why rewrite in .NET? Just a general discussion not related to any specific details. I was just looking to see what reasons developers are looking to, to help decide whether they should rewrite their app in .NET. What are the trends being observed of Microsof...more >>

TryParse and out parameters
Posted by MC at 5/9/2006 8:19:33 PM
Let's say I want to validate something with TryParse but I don't need to convert it. In C#, it seems I must provide that out parameter regardless. In VB, I can pass Nothing. I'd like to be able to do the same in C# instead of having to declare a "dummy" variable for the out parameter. In oth...more >>

Accessing a USB port
Posted by RichG at 5/9/2006 8:08:02 PM
I have looked through all the VB.Net help and this forum but I cannot find any mention of how to read and write to a USB port. Is it possible in VB? Can some one point me to some documentation? Thanks...more >>

Custom Configuration Files...
Posted by Jason Richmeier at 5/9/2006 6:53:01 PM
Is it possible to create a custom configuration file (other than app.config) that can be processed by classes in the System.Configuration namespace? I have seen a ton of articles that talk about custom sections (inside the app.config file) but I would like to make an entirely new config file....more >>

Remoting basics
Posted by Volker Hetzer at 5/9/2006 6:01:25 PM
Hi! We are thinking about using C# for a client-server application. The scenario is like this: We've got an old Automation enabled single threaded application. We hope to do a COM component that can be loaded by the application, starts a second thread and then serves requests. The second threa...more >>

Use of the GAC during development
Posted by Jeff Tolman at 5/9/2006 4:59:20 PM
Hopefully someone knows something about this: I'm developing in a multi-project solution. One project is creating a DLL assembly that gets installed into the GAC that shares some user controls with the other (ASP.NET) applications. Is there anyway to run a command after the successful com...more >>

String.PadLeft Method
Posted by Reny at 5/9/2006 4:45:17 PM
Hi, I came across a doubt on the String.PadLeft Method.The doubt is this -- What's difference it make if the argument to this function carries an integer whose value is less than the length of the string object For example in the sample code below(VB.NET) I could not see any difference ...more >>

MSI Installer will not work with .NET 1.1 Windows Services upgraded to .NET 2.0
Posted by Rob R. Ainscough at 5/9/2006 4:21:04 PM
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows Installer) 2. My Windows Service is upgraded to .NET 2.0 with deployment project using MSI (Wi...more >>



How to pass correct parameter to IAccessible.get_accValue(object varChild) with C#
Posted by Seraph Jiang at 5/9/2006 3:36:51 PM
The original parameter of get_accValue is a VAIANT virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_accValue( /* [optional][in] */ VARIANT varChild, /* [retval][out] */ BSTR *pszValue) = 0; I don't know how to define/use a Vaiant type in C...more >>

httpwebrequest error
Posted by Logger at 5/9/2006 3:01:02 PM
Can someone tell me why I keep getting the following error when trying issue a web request thru VB.Net windows application. This was sample code for using web request but I’m getting it on my code as well. ERROR MSG: An unhandled exception of type 'System.Configuration.ConfigurationExce...more >>

FormatterServices.GetUninitializedObject On Compact FrameWork?
Posted by tsteinke NO[at]SPAM gmail.com at 5/9/2006 2:54:00 PM
Is there an alternative to or does anyone know of a way to implement FormatterServices.GetUninitializedObject on the Compact Framework? I am writeing a Formatter and I need it Thanks Tom ...more >>

Discovering the assembly names in your project ?
Posted by vivekian at 5/9/2006 12:44:30 PM
Hi , Just wondering is there a simple way to extract the names of all the assemblies placed in your bin folder ? thanks in advance.. ...more >>

need interface methods to be virtual-able
Posted by Benny at 5/9/2006 11:48:02 AM
The methods within an interface is not virtual. How do I go about doing the following: class BaseClass : IComparable { int CompareTo(Object o) {...} }; class DerivedClass : BasedClass { // compiler won't allow this since CompareTo is not virtual int CompareTo(Object o) {....more >>

A legal question about obfuscation.
Posted by John T. at 5/9/2006 11:19:59 AM
Hi all Figure this scenario: - My Company develops an assembly (a controls DLL) - Since an obfuscation software is too expensive, my Company engages a consultant and delegates him the assembly obfuscation process - The consultant uses his (regulary purchased and licensed) obfuscation sof...more >>

problem with COM Object Wrapper or with Remoting... which one?
Posted by ThunderMusic at 5/9/2006 11:07:42 AM
Hi, I have a web project in VS 2005 and I'm using a wrapper to work with a COM object. this object must work in a remoting environment. So we've done a simple console app to give us the access to the remote object. In our test web app, everything works fine... if we copy paste all the cod...more >>

UNC vs MAPPED drives
Posted by Peter Larsen at 5/9/2006 11:02:11 AM
Hi, How do i convert a mapped drive to an UNC path i .Net 2.0 ?? Is it really necessary to use "WNetGetUniversalName" ?? BR Peter ...more >>

QUERY: Adding more JS/DOM attributes to DataGrids
Posted by Dhruba Bandopadhyay at 5/9/2006 11:00:38 AM
I know that JavaScript lets us add: ondragenter, ondragover, ondragleave, ondrop events to normal HTML table td tags. This lets us do highlighting of table cells/rows, and capture drag & drop events. So to handle ondrop we can use JavaScript: this.OnDrop = function(obj) { obj.parentEle...more >>

Post-install operations from the MSI
Posted by NO[at]SPAM at 5/9/2006 10:20:02 AM
I've yet to find a decently worded and exampled article outlining how one can perform more complex operations during MSI installation. Specifically, I'm looking to copy the source MSI to the installed directory (in essence saving a backup of it) after the installation has completed. I foun...more >>

Question about GridView control
Posted by Rabid Sniper at 5/9/2006 9:04:02 AM
Hey all, Having some trouble with the GridView control and the Sorting functionality. Using an Oracle datasource, we have a SqlDataSource control that uses a SQL selet statement that contains some Oracle related function calling.. For example: Select P.person_id, upper(P.name_last)...more >>

user control
Posted by vasu at 5/9/2006 8:52:33 AM
how to create user control in asp.net ...more >>

Programmer,coder or debuger ?
Posted by Jenea Ciur at 5/9/2006 7:43:13 AM
Hi ! I am student in 4th year, Computer Science,and already have been working for 1.5 year. I really like programming, I this is what I do a lot. Before getting a job, I wrote lots of programs by myself,enjoying it and thinking that I can deal with this kind of job easily. But when I starte...more >>

Web Applications: which are their advantages ?
Posted by Andrea at 5/9/2006 7:17:01 AM
I need to give an overview of what Web applications are and what they can do. My customer is a medium company but they have been left technologically "behind" by their former CIO, which was a very old-fashioned guy... Do you know of any available resource / presentation on the subject ? T...more >>

Problem Could not find schema Warning Messages in VS 2005 app.conf
Posted by Neilg at 5/9/2006 6:05:02 AM
Does any know what the messsage "could not find schema information... happens with Visual Studio 2005 and how to fix it? Thanks -- Neil Gott...more >>

Enterprise Library- Data configuration Block
Posted by Patrick at 5/9/2006 4:01:01 AM
I am using the Microsoft enterprise Library (June 2005) with .NET Framework 1.1 on a Windows 2003 IIS6 web server. with an ASP.NET 1.1 application, I have a dataConfiguration.config as listed at the end of this post(configured with the Enterprise Library Configuration Tool) I have this f...more >>

Changing the Selection of iHTMLTxtRange
Posted by Jason at 5/9/2006 1:25:01 AM
Still working on this HTML Editor control. I have a problem when the user selects some hyperlinks. Sometimes the selection includes other tags. I figured that I could use movestart and moveend functions to re-select just the hyperlink. As an example, the txtRangeobject contains something li...more >>

Changing to service
Posted by Gav at 5/9/2006 1:02:27 AM
Hi all, I have written a program which seriously depends on an environment variable. When I set the env var for the system it caused me major problems unrelated to what I was trying to achieve. So in order to get around this I just used a simple script which would set the variable using the...more >>

Best file transfer mechanism
Posted by zolof at 5/9/2006 12:29:01 AM
Hi, I want customers to be able to transfert files to my server (not forcefully a Web server). What is the fastest solution ? For the moment I see 3 possibilities: .NET remoting hosted by IIS using Http transport and binary formatter, XML Web service using WSE 3 and a WebClient sending the f...more >>


DevelopmentNow Blog