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

Filter by week: 1 2 3 4 5

Web Deployment ASP.Net 2.0
Posted by joshdrew NO[at]SPAM gmail.com at 5/31/2006 9:00:42 PM
I am working with VS 2005 and web projects. We were set up to use files on a UNC share that mapped to a web root for the IIS instance. Microsoft told us that is a "no no" due to bios limitations so we installed FPSE and are using web folders for each project. Now that web folders are used, wh...more >>


Why I can't install .NET Framework v1.1 on WindowsXP with SP2
Posted by mmijic at 5/31/2006 7:24:45 PM
First of all my English is not too good so please try to understand me. Thanks I have a major problems with the installation of MS .NET Framework v1.1 on WindowsXP with SP2. Everytime I try to install it I get a popup with the following message: "Application popup: RegSvcs.exe - Common Lang...more >>

CLR keeps on probing for XmlSerializers assembly
Posted by Vagif Abilov at 5/31/2006 5:32:07 PM
I noticed that components that use XmlSerializer class cause CLR to probe for XmlSerializers assembly. Is this default behavior, i.e. whenever component try to serialize/deserialize one of its classes, CLR will search for pre-compiled serializer? If so, can I simply use SGEN tool to generate ...more >>

locking across multiple computers
Posted by Amil Hanish at 5/31/2006 3:22:17 PM
I have several computers that I want to synchronize access to a shared resource. Can a semephore do this? If not, what can I use to synch access to a shared resource...across computers? Thanks. Amil ...more >>

XSD.exe - generated classes
Posted by David Jessee at 5/31/2006 1:47:01 PM
I was wondering how people tend to use the classes that are generated by the xsd.exe tool. They're great if you need to quickly serialize/deserialize a state....but I was wondering if people were actually using them within their applications' business logic, or if folks are using them as an...more >>

C# windows service freezes on System.Diagnostics.Process.Start(info)
Posted by Daniel at 5/31/2006 1:46:33 PM
C# windows service freezes on System.Diagnostics.Process.Start(info) When I launch PSCP from a C# windows service and launch pscp 0.53 there are no issues. but when I use C# windows service to launch pscp 0.58 C# freezes in System.Diagnostics.Process.Start(info)? pscp 0.58 works fine at comma...more >>

Thread.Join() in main thread makes UI unresponsive
Posted by Markus Ewald at 5/31/2006 1:39:20 PM
I created a simple splash screen with a progress bar in it that should keep the user entertained while my application is busy loading resources. The code goes like this: // Display the loading splash screen while we're busy. using(StartupForm loadingScreen = new StartupForm()) { ...more >>

DLL PROBLEM ON PRODUCTION - urgent!!!
Posted by nish at 5/31/2006 11:36:58 AM
hi, i upgraded from vs2003 to vs2005. upgraded from framework 1.1 to 2.0. did a conversion on my code. my site is working on my local machine, however it is failing on production. i believe the problem is with the dll file. the dlls are now being stored in temporary asp.net files folder....more >>



Empty Interface in VB?
Posted by Richard at 5/31/2006 11:34:02 AM
Is it possible in the .Net 2.0 framework using VB to have an interface with no properties, methods, or events? It would be used to determine if an object is equal to the interface, that's it. ...more >>

How to Create a Graphical Designer
Posted by Dave at 5/31/2006 7:08:02 AM
I am looking for documentation or sample code on how to build a standalone GUI designer. The basic functionality is -- A tool box -- A canvas that controls can be dropped onto and be (re)positioned and viewed at design time. -- Property Explorer to set the various properties of a con...more >>

VB.NET 2005 My.Settings WebProxy / ArrayList Objects
Posted by Luke at 5/31/2006 5:14:02 AM
I am trying to save a WebProxy object within the My.Settings user setting with a type of WebProxy. Its seems that the setting is not persisting when the application is restarted even when the My.Settings.Save() is called. Is there any special way to save this object within the My.Settings? ...more >>

Rainbow Portal Null reference
Posted by Ernequei at 5/31/2006 2:28:30 AM
Hi all. I am working with rainbow portal since few months ago. The articles module was working fine, until i got an error with the following trace: "Null Reference: Object reference not set to an instance of an object. Rainbow. DesktopModules.articles Edit.Page_Load (Object sender, EventArgs ...more >>

How to change Company Name in Vistual studio 2005
Posted by cok at 5/31/2006 12:00:00 AM
Hi , all WhenI installed WindowXP Home Edition and Vistual Studio 2005 on my computer, I found my Company Name is Error, When I begin a new C# project, I found the [assembly: AssemblyCompany("ERROR")] is error, How can I fix it ? where should I change in register use regedit ? or we...more >>

FrameWork 2.0 deployment as part of Deployment project
Posted by Bob at 5/31/2006 12:00:00 AM
Hi, I need my setup and deployment project to install Framework 2.0. I have got the redistibutable dotnetfx.exe but can't see how to include it in the setup project. There used to be a setup.exe and Settings.ini file in V1.1. Can't find the same thing for V2.0 The install will be where there is...more >>

.Net Framework2 question
Posted by MM at 5/31/2006 12:00:00 AM
hi all, i want to ask if i could work with VS 2003 under .Net framework2? i already installed .Net framework2 but when i tried to remove .Net framework 1.1 it didnt work thx in advance ...more >>

ProcessStartInfo.CreateNoWindow and UserName+Password
Posted by Walther Homme at 5/30/2006 6:42:35 PM
Hello :) "If you call the Start(ProcessStartInfo) method with the ProcessStartInfo.UserName and ProcessStartInfo.Password properties set, the unmanaged CreateProcessWithLogonW function is called, which starts the process in a new window even if the CreateNoWindow property value is true or the...more >>

clueless: shim database in registry?
Posted by gs at 5/30/2006 5:51:10 PM
what does the following mean? Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 2006-05-29 Time: 09:39:27 User: N/A Computer: myPC Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not h...more >>

ToolTip on WebBrowser and RichTextBox controls
Posted by SkyHook at 5/30/2006 5:26:26 PM
I cannot seem to a get ToolTip to display for either a WebBrowser control or a RichTextBox control. I CAN get a ToolTip display on all the other controls on my form. Is it possible to display ToolTips on WebBrowser and RichTextBox controls? If so, how is it done? TIA ...more >>

Basic Object Serialization to a STRING
Posted by Alex Maghen at 5/30/2006 3:08:02 PM
I'm trying to figure out, from the examples, how to serialize my object to a String variable so that I can use it to write the serialized object to a database. I'd like to use a BinaryFormatter and then do a Convert.ToBase64() or something to get it into a string that'll be all text and usa...more >>

"SoapFormatter" in System.Runtime.Serialization.Formatters.Soap?
Posted by Alex Maghen at 5/30/2006 2:58:01 PM
I'm trying to use a SoapFormatter object but I can't seem to do a... using System.Runtime.Serialization.Formatters.Soap; Says that there's no "Soap" in "Formatters". Any ideas? Alex...more >>

Determining if the current thread has a lock on an object
Posted by Bob at 5/30/2006 1:17:04 PM
For debug purposes, I need to figure out if the current thread has a lock on an object. Ideally I would like to determine this without using multiple threads. The closest I can get is to Monitor.TryEnter(obj)/Exit which tells me whether or not the current thread /can/ acquire a lock on the...more >>

SqlCommand issues
Posted by Mike at 5/30/2006 11:46:36 AM
Greetings, I hope I am posting to the correct newsgroup. We are having some issues with SqlCommand as it relates to calling SP. Actually, breaking the problem down, we are having a couple of different issues, first with SQL Server 2005, which is failing to adequately drop a SP in order so t...more >>

Serializing/Deserializing to Database
Posted by Alex Maghen at 5/30/2006 8:43:01 AM
I have a class, "MySavableClass." The class has one string property named "MyID" and then a bunch of other properties. Ideally, what I'd like to do is write a "Save()" and a "Restore()" method - or probably static methods for this object that would work as follows: private MySavableClass M...more >>

Can not connect to Team Foundation Server
Posted by David Jessee at 5/30/2006 8:23:03 AM
I've been staring at this and I've narrowed it down to a machine-level issue...but I can't figure out what that issue is. When I try to connect to TFS, I get the following error: TF31002 - Unable to connect to team foundation server This is pretty much a generic message. Strange thing is...more >>

Struct inside class
Posted by Sneil at 5/30/2006 3:27:26 AM
Example: namespace _111_ { public struct S { public int i1, i2; } public class C { public S s; } class Program { static void Main(string[] args) { C myClass = new C(); myClass.s.i1 = 999; ...more >>

need hep on parser error
Posted by AVL at 5/30/2006 12:20:02 AM
hi, I've a problem in accessing user controls when I deploy the application in the production server.. I'm receiving the following error... Ambiguous match found. Source Error: Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="CommViewEvents.ascx.cs" Inherits="HydP...more >>

Daylight savings time problem (affects code running in Australian timezones)
Posted by Stephen Ahn at 5/30/2006 12:00:00 AM
Using dotnet 1.1 sp1, Windows XP sp 2, with Windows auto update on. Prerequisites to reproduce behaviour : In control panel, set Windows timezone to : GMT +10 Canberra, Melbourne, Sydney, Tick : Automatically adjust clock for daylight saving changes, set local date to correct local date (e...more >>

Custom control class defaults ?
Posted by Philipp at 5/29/2006 3:55:39 PM
Hi NG, I made some custom control classes, for example a "CommonButton" ... Now I want the button be larger than the default width and height. It works at runtime (by overriding the InitLayout) ... but I also want it at design time when I drag the "CommonButton" on a form ... It always has t...more >>

Deleting non readable attribute from eDirectory - LDAP through ADSI/System.DirectoryServices
Posted by chat_devil NO[at]SPAM hotmail.com at 5/29/2006 3:41:33 PM
hi, does anyone know if it is possible to remove an attribute that can not be read into the ADSI property cache/collection. i'm trying to do an eDirectory password change from .net directory services. eDirectory uses the "userPassword" property to change the password and for a normal user, th...more >>

How do I share a Singleton between AppDomains?
Posted by Joseph Geretz at 5/29/2006 3:18:37 PM
I've built a singleton class which I want to share among different application clients (code below). I've confirmed that the singleton class works properly within a single client. Although the application can acquire multiple references to the class, all references point to a single class in...more >>

Is it not possible to inherit from DataRow?
Posted by cmay at 5/29/2006 12:09:25 PM
I want to add a few methods to the datarow class, but the DataRow requires a DataRowBuilder in it's constructor, and I can't find a way to get a DataRowBuilder, and DataRowBuilder has a private constructor. So is there no way to do this? It kinda stinks. ...more >>

unhandled exception address of Error?
Posted by mtczx232 NO[at]SPAM yahoo.com at 5/29/2006 12:06:37 PM
when unhandled error occur on my customer. how i can get the address of error, like we do on C or Pascal (At 0000:C234)? ...more >>

how to open existing .aspx file in a new internet browser window u
Posted by David KHLee at 5/29/2006 8:07:01 AM
To whom are helpful: i have try to search from the MSDN, i found the namespace "System.Windows.Forms.HtmlWindow" has this function, but the my .NET Framework version 2.0 dont have the object. Moreover, i have try to download the .NET Framework version 2.0 from MSDN. But, it still dont have ...more >>

IP Recovery With C++
Posted by Dexter Drupsteen at 5/29/2006 7:09:02 AM
Hello, I have a question concerning a program that I am developing. The program itself needs the IP address of the local computer in order to work properly. The only problem is that I don't know a way to recover the machines ip address. And another problem arises if I want to work with the...more >>

dynamic variable naming
Posted by kaanengin NO[at]SPAM gmail.com at 5/29/2006 1:19:24 AM
Hi, I am building a multilanguage asp .net application using masterpages. All the pages are derived from one class and the class has a function which finds a specific label on the masterpage and prints the output messages there. public void ShowMessage(string outputMessage) { ...more >>

FileNotFound exception doesn't show missing file name for unmanaged imports
Posted by n.estner NO[at]SPAM gmx.de at 5/28/2006 5:24:56 PM
If I include an unmanaged DLL into a mixed mode C++/CLR assembly using it's import library (NOT using P/Invoke) and the DLL can't be found at runtime, the CLI throws an exception (FileNotFound), but the exception doesn't carry the missing module's name. Neither does fuslogvw. Is there a way to f...more >>

Using WebBrowser Control for simple display
Posted by SkyHook at 5/28/2006 2:30:39 PM
I'm experimenting with the WebBrowser control. What I'd like to be able to do is to change the display/contents of a WebBrowser control programmatically whenever a ComboBox selection changes. In other words, this would basically be a Master/Detail presentation with the ComboBox containing ...more >>

Determining assembly from namespace
Posted by Ludwig Wittgenstein at 5/28/2006 1:13:43 PM
Hi, I know that in .NET an assembly can host several namespaces, or a namespace can be spread across several assemblies. However, is there a way to determine which assembly uses a specific namespace? For instance, how would you find out which assembly has hte System.Collections namespace? ...more >>

.Net remoting doesn't work in Wan area.
Posted by Anthony at 5/27/2006 11:13:43 PM
with the below code, i try to broadcast events raised in server to clients. everything is ok in lan environment. but when runs in Wan environment this code failed. What is the problem with this code? Or do I have missed some setting on server. the server is win2003 and runs plesk for website...more >>

Transform result into XmlDocument or XmlDataDocument
Posted by KemperR NO[at]SPAM ee.nec.de at 5/27/2006 3:21:18 PM
Dear Experts, I'm relatively new to asp.net 2.0 and need some help on a very easy thing. I would like to store the result of the transformation in an object for further processing. But it seems that the Transform method can not do this. My code looks basically like the lines below. XmlDo...more >>

Type.GetFields change from 1.1 to 2.0
Posted by Kevin Burton at 5/27/2006 11:53:01 AM
I have some code that worked fine with .NET 1.1 but something has changed in 2.0 that I don't see documented. I have the line: foreach (FieldInfo field in type.GetFields()) But there are never any fields returned like there was with 1.1. With the help if ildasm I tried the foll...more >>

Readonly property
Posted by vze1r2ht NO[at]SPAM verizon.net at 5/27/2006 6:33:47 AM
Is there a way in C# for a property to be Write-enabled from a certain class and readonly from outside classes? For an example, I have two objects User and UserManager. I want certain properties that should be readonly be set by the UserManager. Other classes should only be able to read that...more >>

optional features for application?
Posted by Stephan Zaubzer at 5/26/2006 11:21:25 PM
Hi I am currently developing an application in C# which is basically a frontend for a database in a small company but also provides additional features like interaction with MS Outlook and Adobe Indesign via COM Interop Assemblies. Since Outlook 2003 is installed on every single machine i...more >>

LCE question
Posted by MikeL at 5/26/2006 3:21:01 PM
When a publisher invokes the methods of an event class (fires an event) is it a synchronous call or an asynchronous call? I want my publisher to fire-and-forget the event. Thanks in advance, Mike ...more >>

Enterprise Library Exception Handling Application Block - adding context to exceptions
Posted by clintonb NO[at]SPAM fflax.net at 5/26/2006 3:12:06 PM
When using the Enterprise Library Excption Handling Application block, how can I pass extra contextual information to the Exception Handling block so I can make more user-friendly exceptions. Here is an example where I'd like to add contextual info. I have a 3rd party report engine that throw...more >>

How to display Summary in object browser
Posted by hulinning at 5/26/2006 1:01:01 PM
Hi all, I would like to dipslay additional information to my classes in my library like MS object in the object browser. Is there a way to do this? Thanks a lot...more >>

Viewstate
Posted by vze1r2ht NO[at]SPAM verizon.net at 5/26/2006 11:34:38 AM
If I'm building a schedule like log that contains lots of input fields...is it better to enable the viewstate? It's about 50 fields. Will enabling viewstate allow me to not hit the DB again on POSTBACK? ...more >>

Regex.Replace to format a phone number...
Posted by Mike Edgewood at 5/26/2006 10:47:00 AM
One of our most frequently encountered errors in number entry is an extra digit at the end that doesn't belong. Looking for a Regex.Replace to go in my DataGridView.CellFormatting. Regex.Replace(inputStr, _ ".*?(\d{3}).*?(\d{3}).*?(\d{4}).*?", "($1) $2-$3)") The behavior regex.replace is...more >>

Implementing a DataGridView numeric only column
Posted by Greg at 5/26/2006 10:25:35 AM
I'm new to the datagridview control, and am left wondering how one goes about restricting input to numeric only. Is it possible to trap key presses at the cell level, and in the relevant columns, ignore them if non-numeric? Greg. ...more >>

VB.NET events creates a hidden delegate, but how do I access it?
Posted by sam.m.gardiner at 5/26/2006 9:46:09 AM
I'm working with VB.NET events and I want a way to disconnect all the handlers of an event. I want to do this in the object that is the source of the event. This is slightly tricky in VB.Net as the eventing code is slightly hidden. when you use events in Vb.Net you type this: <code> ...more >>


DevelopmentNow Blog