Groups | Blog | Home


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 > september 2006 > threads for september 22 - 28, 2006

Filter by week: 1 2 3 4 5

Very large arrays and .NET classes
Posted by Peter Duniho at 9/28/2006 10:49:53 PM
This is kind of a question about C# and kind of one about the framework. Hopefully, there's an answer in there somewhere. :) I'm curious about the status of 32-bit vs 64-bit in C# and the framework classes. The specific example I'm running into is with respect to byte arrays and the BitCo...more >>


shared object in GAC across processes
Posted by Amil Hanish at 9/28/2006 9:19:50 PM
Is it possible, using static properties, to have a shared object in the GAC that can be accessed by differnet processes? If so, how? If not, how can I have a shared .NET object that can used by different processes? Thanks. Amil ...more >>

.Net 2.0 Hashtable Insert Failed. Load factor too high
Posted by Ranga at 9/28/2006 6:49:01 PM
Hi, I am currently getting System.InvalidOperationException: Hashtable insert failed. Load factor too high error. I noticed that this only seems to happen, when we are trying to do run a Stress Tool with a few users(5-10). I know this is a known issue in .net 1.1, but there seems to be ...more >>

dollar sign ($) changed to a strange character
Posted by bhughes10 at 9/28/2006 4:51:02 PM
I saw a question from Norman Yuan several months back with the same problem I'm having now. Never saw an answer. My currency that should be displayed as $200.00 is displayed as ¤200.00 randomly when my production server is under load. It doesn't happen on the dev computers. An IIS reset tem...more >>

Programmatically checking a DataGridViewCheckboxCell
Posted by CJM at 9/28/2006 3:36:19 PM
I can't for the life of me figure out how to check or uncheck a cell programmatically. I've looked in Lutz's reflector to see how the control is doing it and it calling an UpdateButtonState method that I don't have access to. This must be super simple but I'm just missing something. Any hel...more >>

Is al.exe redistributable?
Posted by mbhansen NO[at]SPAM gmail.com at 9/28/2006 12:47:36 PM
We have a utility that creates a resources.dll on the users computer. Can anyone tell me if .Net Framework SDK tools, like al.exe, can be distributed with .Net applications? Thanks, MattH ...more >>

Custom Collection Editor - how to block the up and down buttons ?
Posted by Robert R. Richter at 9/28/2006 12:22:01 PM
I have a Custom Collection Editor and overridden some methods - everything works fine... BUT I now want to block the up and down buttons, so the User won't be able to move the Collection Items within the Index. Is there any possibilty by overriding a method so it won't move the collectio...more >>

Customize html output of WebBrowser Control or Get Cursor Position
Posted by ASP Developer at 9/28/2006 9:26:01 AM
I followed the following example to create an html text editor. http://www.codeproject.com/useritems/editor_in_windows_forms.asp It works great but when you press enter in the text box the control inserts p tags instead of br tags. So you end up with double spacing throughout the docume...more >>



Cursor Position of WebBrowser control
Posted by ASP Developer at 9/28/2006 7:14:02 AM
Is it posible to get/set the cursor position of the webbrowser control? With a regular text box you can use the SelectionStart property. Any help would be greatly appreciated....more >>

Jscript Stack Overflow on 2003 Server
Posted by Confused in Georgia at 9/28/2006 6:12:01 AM
I have some Jscript compiled code the works on XP but gets stack overflows on my 2003 server. The Jscript code uses recursive calls. If the nember of levels is more than 4, I receive a stack overflow. On the XP (using same .dll compiled code, .net 1.1) I can have more than 10 levels withou...more >>

XmlWriter do not use settings specified in XmlWriter.Create
Posted by av at 9/28/2006 1:55:01 AM
hi all, please review the following code snipped, my goal is just to transform a document. The problem is that XmlWriter.Create do not honor passed Trans.OutputSettings. The debuggin shows that Trans.OutputSettings.Encoding is set to {System.Text.UTF8Encoding}, but OutWriter.Settings.Encodin...more >>

Loading the existing AppDomain
Posted by Debasish Pramanik at 9/28/2006 12:00:00 AM
Hi All, I have created an App Domain in a process on the first request. Now I would like retrieve the same AppDomain everytime there is certain type of request. Is it possible? -- Regards, Debasish Pramanik Assetlink India. Phone: +91 20 26119531 (226) ...more >>

Hybrid Windows Service + Console App
Posted by Chris Mullins at 9/27/2006 9:52:10 PM
For some reason the question, "Can I make an EXE that is both a Windows Service and a Console Application?" has come up quite a bit for me over the last few weeks. I've been doing this for years, but for some reason I've never seen it documented anywhere. C# (or VB.Net) is perfectly happy t...more >>

iterator in Dictionary<>?
Posted by Hyun-jik Bae at 9/27/2006 9:03:56 PM
Is there anything correspondant to the iterator for Dictionary<>? For example, something which is similar to std::map::iterator in C++? Reply please. Thanks in advance. Hyun-jik Bae ...more >>

Remoting over SMTP channel
Posted by Hardy Wang at 9/27/2006 7:54:01 PM
Hi all, I read I can use SMTP channel to send SOAP message. But what is the benefit of using SMTP instead of TCP, HTTP? Hardy ...more >>

Problem with .NET object registered in COM+
Posted by eric.goforth NO[at]SPAM gmail.com at 9/27/2006 10:58:31 AM
Hello, I have a .NET object that's registered in COM+. I'm calling it from a VB6 dll that's registered in COM+ like so: Set objEFV = CreateObject("MyDotNetDLL.MyClass") strResult = objEFV.DoMyMethod(Param1, Param2) I think it's registered correctly. I generated a .tlb file for it on...more >>

interval when GC is run
Posted by Roger at 9/27/2006 10:53:01 AM
What is the interval when garbage collection is run and is there a way to monitor it through Perfmon?...more >>

FileSystemWatcher create event Is a File or Directory
Posted by Jerry C at 9/27/2006 10:50:01 AM
Does the file system watcher have a why to tell if a file or directory is created. ThaFileSystemWatchernk you -- Jerry ...more >>

Deployment of ActiveX with ThirdParty Control(COM) on ASP.Net
Posted by vishal868 at 9/27/2006 9:37:22 AM
Hi, Can anybody please help me out to solve this problem. I try to find the solution of it all around but i m not able to get it from anywhere. I have created on ActiveX control in VS 2005. I have put one Third Party Control(which is created in VB) on that ActiveX control. Now I have deployed t...more >>

Remoting serialization fails with custom object
Posted by Greger at 9/27/2006 4:44:02 AM
Hi, I have a client application that is using remote objects from a IIS. Everything works fine when using this from my code. However. When a word add-in loads my code the request fails with a message that it can not find the a assembly. The assembly in question is one that is reference...more >>

StreamReader.Peek Timeout
Posted by Bishop at 9/26/2006 10:01:10 PM
I'm trying to use the StreamReader to read messages from a newsgroup but after downloading several messages it will get stuck on the streamReader.Peek line and never timeout (or at least not after 12 hours) Any suggestions on how to timeout? ...more >>

WebServices Query
Posted by Poornima at 9/26/2006 9:32:57 PM
I have a device application with a database in it.I want to push the tables from this database to the one in Remote SQL Server.I have written the both the devce and the Windows application in VB.net. The methods to accomplish the aboce are RDA,WebServices,Replication. Now i do not know how to wr...more >>

Development Type
Posted by Jon Vaughan at 9/26/2006 4:02:22 PM
Hi, I design programs starting with the database and once I have a solid database I buikd the classes from these and work my way upto the interface ? is there a name for this development style ? does it fit into top - down , bottom - up design ? Thanks ...more >>

Trying to use an Ldap-Connection (VS2005, C#, .Net 2.0)
Posted by Harald at 9/26/2006 2:08:21 PM
Hi, I try to read some data from a server using LDAP with the System.DirectoryServices.Protocols types. I startet with: .... string server = "servername.intern.MyCompany.de:52000"; LdapDirectoryIdentifier ldapDir = new LdapDirectoryIdentifier(server, false, false); LdapConnection ldapCo...more >>

changing the value of parameters in constructor
Posted by nick1510 at 9/26/2006 1:40:01 PM
Hi, I want to create a new constructor in a class that inherits from another... in VB.Net I still want to call the base class after some code has 'manipulated' the parameters VB is telling me i carn't as MyBase.New needs to be the first call in the New methd.... But how else could i ...more >>

Opposite of string.split?
Posted by Bruce Hendry at 9/26/2006 12:31:09 PM
Any built in framework function that takes a string array and converts it back to a concatenated string with a delimiter? Thanks. ...more >>

DotNet ActiveX Equivalent ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/26/2006 12:08:06 PM
I have a website which currently uses an ActiveX component made in Delphi. The ActiveX provides a simple but nice functionality to the website. Recently, it was ported from the old Asp, to Asp.Net 2.0. I was wondering, if I want to replace the Delphi ActiveX component, what could I use to create...more >>

Uploading big files
Posted by ThunderMusic at 9/26/2006 11:17:41 AM
Hi, I'm currently building a little web site for me and my friends where we would like to be able to post big files (10Mb to 250Mb approx.) Right now the ASP.Net UploadFile control can't do it as we are limited 1) by the MaxRequestLength (4Mb) and 2) with big files (such as 250Mb) the server ...more >>

GAC - Re-installing new DLL
Posted by TMesh at 9/26/2006 8:04:03 AM
Hello I am having an issue with re-installing a DLL with the GAC. When I modify the DLL, I first unistall the assembly by right clicking on the assembly and select uninstall. I then copy the modified DLL to the assembly folder. Everything looks like it worked fine, except I do not see ...more >>

savefiledialog for webforms
Posted by kollatjorva NO[at]SPAM gmail.com at 9/26/2006 7:34:46 AM
hi I have a web page with displays informations from an xml. On the same web page is a "save xml as" button and when the button gets fired, I want to display a save as dialog for the user to save the xml in a file on his client machine. Is this possible to do, we have savefiledialog in winfor...more >>

IIS crashes
Posted by Kuchen at 9/26/2006 7:01:20 AM
Hi there, I've got an IIS webserver running on a WIN 2000 Pro machine w/ installed NET Framework 1.1 hosting an ASP.NET application for more than one year - working perfectly. No changes to the system or the app. Today calling an aspx page on the local machine suddenly results in a crash o...more >>

visual studio setup project gone horribly wrong
Posted by Liming at 9/26/2006 3:30:10 AM
Hi, I was testing out a simple project and I did a "setup" project for my simple application. After installed the application, everything went horribly wrong. All my other applications executable has been "hijacked". Whenever I click any program, my simple application got launched. I can...more >>

.NET 3.0
Posted by Prem Kumar at 9/26/2006 1:54:01 AM
Hi I just thought of writing my MCTS exam, which targets .NET 2.0. However, i also came across many info on .NET 3.0, now this just makes me to think, whether should i go ahead and do MCTS? Any idea when is 3.0 getting released and is there any new IDE again going to be launched for it? ...more >>

How to programmatically change which framework a web site should use
Posted by Angelo Brusati at 9/26/2006 12:00:00 AM
Hi everybody Do you know how to change which framework a web site should use - = programmatically? For example: my web server has both Framework 1.1 and 2.0. My = installation/deployment program has to set a specific web site to run = under Framework 2.0. How to do it through ADSI or else?...more >>

About DataGridView control's issue
Posted by Steven Shi at 9/26/2006 12:00:00 AM
Hi, all I want to customize the column of DataGridView as a DataTimePicker control in a windows form, how to do this? Could you give me several samples of VB.net? Thanks in advance. Steven ...more >>

Version 1.1
Posted by Perry at 9/25/2006 8:30:01 PM
Do I need version 1.1 and it's service pack if I install version 2? Thanks in advance....more >>

too many using (imports in vb)... does it hit on performance or memory usage?
Posted by ThunderMusic at 9/25/2006 3:47:36 PM
Hi, I want to know if having to many using (imports in VB) statements at the top of a class or page can hit on the performance of the application or on the memory usage of the application. I use ASP.NET framework v2.0... When creating a web page there are about 10-15 using statements at t...more >>

URGENT: How to copy a .dll from the GAC?
Posted by Dave at 9/25/2006 3:47:31 PM
I need to copy Microsoft.ReportViewer.ProcessingObjectModel from the GAC but I can't figure out how to do that. What happens if I uninstall it from the GAC? Does it disappear completely from the system or is a copy made somewhere? ...more >>

DirectorySearcher.Filter doesnt seem to work
Posted by TheVillageCodingIdiot at 9/25/2006 2:40:30 PM
Im creating a app that will go through all the OU's and look for a certain user by username. In doing some testing I noticed that its not filtering everything out exept for user ObjectClass. It seems to be pulling computers as well. Not sure why this is happening but need to limit it to just use...more >>

Using ConfigurationManager/ConfigurationSettings to retrieve settings returns null values
Posted by Keith at 9/25/2006 1:43:28 PM
Hello, Using VS2005, I have a Windows Forms app that uses the default Settings.settings file. When the app is built, the properly-named app.settings file is built into the output directory, and it contains the correct application-level settings. Controls in the app that are bound to set...more >>

vb 2005 compiler error as per kb 915038
Posted by Raymond Maillard at 9/25/2006 12:43:35 PM
I am currently getting the error described in the above kb article. Does anyone have the fix file suggested in the article that can be e-mailed to me? Regards ...more >>

searching for a user in active directory by username
Posted by TheVillageCodingIdiot at 9/25/2006 11:54:33 AM
Im creating a app that will pull a list of usernames in a txt doc and then find them in active directory and set the "User must change password at next login" attribut. I would like to limit it to a specific out and all sub OU under it. Im having issues nailing down the scope. I set the OU i wan...more >>

UML Book Suggestions
Posted by Curtis Justus at 9/25/2006 11:41:28 AM
Hello everybody, Until now, our company has not required us to use UML. I am looking for some suggestions of some books that might help me to get up to speed. There are two books I am looking at: UML Distilled (Third Edition) Writing Effective Use Cases (Cockburn) Are there any other...more >>

Error with GetAccessControl()
Posted by Ryan at 9/25/2006 8:48:01 AM
Hi, I've written a very quick console app to recursive through a directory tree and display directories that have explicit file permissions (code below). It works, but GetAccessControl() fails on some folders (always the same) with the error: The binary form of an ACE object is invalid....more >>

need help writing query
Posted by absoft at 9/25/2006 7:30:50 AM
I have a mapping table that I need to query to generate my report. The table structure is as below: Mapping table m_id m_table m_dept org dept id table 1 1 1 1 2 1 2 1 1 1 1 2 ...more >>

getting the assembly version number
Posted by pompair at 9/25/2006 1:32:12 AM
I need version information from and non-gac based assembly. And I need it at command line. Is there an command line application that shows it? It's a tiny app to make myself, but I still want to ask before I do it.... Thanks for any answers, -pom- ...more >>

\.Net Framework
Posted by Perry at 9/24/2006 11:53:01 PM
I have XP Home Edition. MS Update tells me I need .net framework. I am a casual user, just reading and surfing, no work done on here. Do I need to install the .net framework? Thanks in advance....more >>

Creating a remotable object like DCOM
Posted by Jayme Pechan at 9/24/2006 2:35:44 PM
Does anyone know if it is possible to return an object from a remoting interface and have it be usable with .NET? I am trying to accomplish what I used to do in DCOM where I would call a function on an interface and it would return a new remote object. I could then call functions on that new...more >>

unable to install framework 2
Posted by JohnK at 9/24/2006 7:22:02 AM
I'm running service pack 2 on XP I tried to install the runtime files for framework 2, but it is always hanging at the same place the install dialog shows Stopping Services Services: IIS Admin I can't get past this point.... HELP!!!...more >>

Brief Version!
Posted by Leon_Amirreza at 9/24/2006 12:00:00 AM
thought my post is too long the short version is: i have this tag in my HTML file served by IIS <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> IE show this page correctly but I need to detect the characterset of the response and HttpWebResponse webresp = (H...more >>

Any way I can do it at server side?
Posted by Leon_Amirreza at 9/24/2006 12:00:00 AM
Thanks for the useful link and comment. Any way I can force the IIS to send the page in the charset I want when there is no accept-charset in the request header (something like default charset option in the server)? ...more >>

UserControls in a different directory
Posted by Nathan Sokalski at 9/24/2006 12:00:00 AM
I have my UserControls in a subdirectory called usercontrols. In the code for one of my UserControls I have the following: Public Property adimage() As String Get Return lnkAdvertisement.ImageUrl End Get Set(ByVal value As String) Respons...more >>

CLR class correspondant to std::vector<> or CArray<>?
Posted by Hyun-jik Bae at 9/23/2006 10:29:33 PM
What is the CLR class correspondant to std::vector<> or CArray<>? I looked for how to resize object[] (aka array<object> in C++/CLI), but I cannot find it yet. Please reply. Thanks in advance. Hyun-jik Bae ...more >>

Using ASP.NET 2.0's ImageMap Control
Posted by Nathan Sokalski at 9/23/2006 8:58:54 PM
I am using ASP.NET 2.0's ImageMap Control to create 2 imagemaps, one directly below the other. When I do this a thin blank space appears between them. After several days of frustration I realized that the difference between what the ImageMap Control outputs and the html on the page I was try...more >>

Serious Socket Programming Problems
Posted by A_StClaire_ NO[at]SPAM hotmail.com at 9/23/2006 2:24:41 PM
hello, I just started working with this class at the low level and am having issues. 1) I am instantiating a StreamReader and feeding my NetworkStream to its constructor. the bytes that the StreamReader reads from the server are perfect. however the StreamReader never stops reading / l...more >>

VS2005 on Win2k,IIS5.0 - URGENT.
Posted by Balaji Narayanan at 9/23/2006 6:24:01 AM
I have a VS2005 migrated web application project. My query is whether my project will get loaded in WIN2000 MACHINES WITH IIS 5.0. without any errors. Please provide your points on this as I have very less time....more >>

Single Sign On / Authentication System?
Posted by Spam Catcher at 9/22/2006 11:09:38 PM
Hi all, I'm looking to implement a single sign on solution for .NET applications. This single sign on solution will need to work against a variety of back- end databases (i.e. SQL (mainly), Active Directory (some), Custom Data Sources (XML, MDB, Custom Web Service, etc). Is there any samp...more >>

Using a TypeConverter instead of Type.GetType(String)
Posted by Keith Patrick at 9/22/2006 3:31:46 PM
Does anyone know of a way (without looking through decompiled ASP.Net code) to convert a String to a Type using the generic TypeConverter stuff? I am writing a deserializer, but I would prefer not to have a custom codepath just for String->Type, but the following code throws a NotSupportedE...more >>

Error decoding ISO character 147
Posted by Peter_Strøiman at 9/22/2006 1:31:44 PM
Hi I have a byte-array, in which one of the bytes has the value 149 (hex95) which represents a dot ( • ). The same character has the unicode value of 8226 (hex 2022) But when I try to decode the byte-array into a string, that character is not converted into the correct value. If I u...more >>

List of the computers from the same workgroup...
Posted by S. Lorétan at 9/22/2006 11:27:10 AM
Hi guys, I need to get a list of the computers with the same workgroup as the one where my program is runing. I want to have the same thing as in Windows XP, when I display all members of my network, but I haven't found anything in the framework to do it. Is there some way with .NET? If...more >>

Group Policy
Posted by Vikas Manghani at 9/22/2006 8:07:02 AM
Hi I have an OU named TempOU set at my domain controller. All my users are getting created in this OU. I have a group policy setup for this OU. Can anyone tell me how to read the values for these settings in C# code. i need to read lockoutDuration and maxPwdAge. Thanks and regards Vikas Man...more >>

Active Directory and DirectorySearcher Filter
Posted by Jerry C at 9/22/2006 7:13:02 AM
I am using DirectoryServices to get all groups and all users from active directory. Now I want to use the filter to limit the groups and users. I would like to remove the builtin groups. I use the code below but the built in groups are still there. The main question is how do I construct the f...more >>

Interesting problem with SmtpClient in background thread
Posted by mark.lees NO[at]SPAM icap.com at 9/22/2006 1:29:59 AM
I'm experimenting with the SmtpClient class in c# and I have run into a knotty problem. I'm using the ThreadPool.QueueUserWorkItem to queue a delegate which creates an SmtpClient and attempts to send an email. Basically, If I try and create a new SmtpClient object in a thead managed by the ...more >>

What is the collection class correspondent to std::set?
Posted by Hyun-jik Bae at 9/22/2006 12:00:00 AM
What is the collection class correspondent to std::set? I know Dictionary<> roles as std::map... Please reply. Thanks in advance. Hyun-jik Bae ...more >>


DevelopmentNow Blog