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 > july 2004 > threads for july 1 - 7, 2004

Filter by week: 1 2 3 4 5

Error: .Net Multithreading against VB6 COM+
Posted by samnospam NO[at]SPAM nospam.nospam at 7/7/2004 11:52:01 PM
Hello, Sorry for the repost in this group, but we are desdesperate. We are trying to use .NET multithreading capabilities in our VB6 COM+ application. Right now our scenario is this one: We have a VB.Net exe which calls VB.Net (name: Multithread) assembly with multithreading capabilities...more >>


WebApp not available
Posted by Edward at 7/7/2004 11:45:02 PM
In my webapp I create a PDF file using Crystal Decisions. When I call the Export function, the system got busy and never ends. After the call, none of the webapp on the server are available anymore. I have to restart IIS before I can use them again. In the application log I've found an entry "applic...more >>

Preventing constants from being hard coded
Posted by Thorsten Tarrach at 7/7/2004 9:21:03 PM
Hallo, When I reference to an assembly and use a constant from that assembly it will be card coded during compilation. Dim a as integer = test123.class1.myconst 'myconst is 3 becomes to dim a as integer = 3 For me as the developer of the library causes this behaviour some problemes: Wheneve...more >>

Can .NET access POP mail?
Posted by Rashad Rivera at 7/7/2004 9:01:20 PM
I would like to extend the functionality of a program to reading mail from a POP account. Is this possible via .NET? If not, can I us CDONTS to gain this junctionality? - Rashad ...more >>

Setting files/folders permission
Posted by Samuel Shum at 7/7/2004 7:38:05 PM
Hello, I'm just wondering if there are any .Net objects that I can use in the framework that set folders/files permission, assign quotas to users. Any suggestions/comments are welcome. Thanks in advance. Samuel ...more >>

Custom control in ToolBar
Posted by Leon Chi at 7/7/2004 4:46:36 PM
As the title, How to change a ToolBarButton on a ToolBar to a custom control? For example. change a ToolBarButton to a ComboBox? ...more >>

URL combine method
Posted by Bill at 7/7/2004 4:16:15 PM
Is there a combine method that works on URL's? I basically want to do this: Base = "http://localhost/test/" File = "../myimage.gif" string URL = (Object).Combine(Base,File); //URL = "http://localhost/test/myimage.gif" WebRequest objRequest = System.Net.HttpWebRequest.Create(URL); ...more >>

Can you use the Configuration Management Application Block for app.config files?
Posted by Tom at 7/7/2004 11:21:35 AM
Does anyone know if you can use the Configuration Management Application Block (CMAB) for app.config files? Or do those particular .config files need to be XML and in a specific format? Going to use the CMAB for my application preferences file (where I save the user preferences such as last sc...more >>



Need info on Windows Forms deployment using IE.
Posted by Ken Varn at 7/7/2004 9:46:51 AM
I have seen various snippets of information about deploying Windows Forms applications using Internet Explorer. This is an interesting concept, but there does not seem to be a lot of information that I can locate on the topic. I have also heard that there are ways that Windows Forms objects c...more >>

To raise event programatically
Posted by Anu at 7/7/2004 12:18:01 AM
I am making an windows application using c#. It contains two froms , Form1 and Form2. Form2 contains a button and its click event. I want to fire an event of click event of Form2 button from Form1. I am not getting the way for fire an event from Form1 to Form2 for button on Form2, Can anybody help ...more >>

Thread Safety of basic value types
Posted by Etienne Boucher at 7/6/2004 11:23:23 PM
String and all the integer value types smaller or equal to 32bit, as well as Char and Enum types are marked as thread safe on MSDN. Does that mean I do not need to protect them? Etienne Boucher ...more >>

Could not establish secure channel for SSL/TLS
Posted by Matt Johnson at 7/6/2004 5:58:02 PM
When I try to connect to a specific HTTPS website, I'm receiving the following error WebException message: "The underlying connection was closed: Could not establish secure channel for SSL/TLS." System Information: 1. Windows XP Professional SP1 2. Visual Studio 2003 3. NET Framework 1.1.4322...more >>

Windows services cannot write log.
Posted by Theewara Vorakosit at 7/6/2004 4:53:44 PM
Hi, I try to write event log from my Windows service, which is c#. In OnStart method I write a message to event log. I create event log object by using Event Log Component. I set source and log property to "RMS" and "RMS", respectively. I also put the following lines to the class constructor b...more >>

ContextMenu
Posted by Alan at 7/6/2004 11:20:41 AM
Hi all, I load some data into a treeview control, then set the ContextMenu property of a treeview control. So all of operations about shortcut menu are right. But i want not to show it after all data is unloaded. I set the ContextMenu to null, but it's useless and the shortcut menu still shows...more >>

Can not find a Access DB file when install on another PC.
Posted by aarepasky NO[at]SPAM yahoo.com at 7/6/2004 11:04:52 AM
I have written a VB.NET 2003 program that accesses a Access DB. On my development PC it works fine. I created a setup program so that I can install this on other computers. Of source, I have to install the ..NET framework first. But when I run the program on the other PC it does not find the...more >>

How to call C++ lib functions by C#
Posted by sunny at 7/6/2004 10:52:39 AM
Dear everyone: I know I can call a dll by c# like this: using System.Runtime.InteropServices; [DllImport("user32.dll")] public static extern int MessageBox(int hWnd, String text, String caption, uint type); but now I want to call...more >>

Garbage collector and multiple threads
Posted by Pawan Singh at 7/6/2004 10:43:25 AM
IS there a way to tell GC in .Net to not suspend a particular thread while garbage collecting (obviously this would also require telling the GC to not touch objects which this thread has reference to). This will help in making some of my threads do things on time (I require some threads to do th...more >>

Assemblies, friends, and general code organization
Posted by Scott Roberts at 7/6/2004 10:40:34 AM
We're just getting started on our new .NET project. When I started, I was just throwing everything into one DLL (assembly) and there were few problems. I then decided that multiple assemblies would be a good idea for several (rather typical, I believe) reasons including versioning, security, dep...more >>

DateTimeFormatInfo, Culture and custom formatting
Posted by George Ionescu at 7/6/2004 9:31:14 AM
Hello all, given the following piece of code: DateTimeFormatInfo dfi = (new CultureInfo("Ro-ro")).DateTimeFormat; DateTime now = DateTime.Now; string strDate = now.ToString("dd-MMM-yyyy", dfi); the strDate contains the string '21-iul.-2004' What's with the dot after the month's name ? ...more >>

error sending smtp mail
Posted by z f at 7/6/2004 8:22:51 AM
Hi, i'm sending mail from the aspx page on the server. it is running on hosting, so i configure the System.Web.Mail.SmtpMail.SmtpServer property to my mail server. but problem is that sender email is also configurable and since the sender email is not from the SMTP server same host, it is no...more >>

Custom Object Databinding Question
Posted by Frank Wisniewski at 7/6/2004 8:22:37 AM
I have the following persudo code: //My Form Class class Form1 { //Local Variable for my custom object private MyCustomObject1 //Constructor for Form Class public Constructor{ MyCustomObject1 = new MyCustomObject1(); MyCustomObject1.MyProp = "Test"; textbox.dat...more >>

.Net and thread.Sleep accuracy
Posted by Pawan Singh at 7/6/2004 8:21:16 AM
Hi, I need a way for my thread to wake up at a specified time in .Net. I know that windows is not a real time operating system, so I have to live with much less precise timing. But what I am finding is that .Net thread.sleep is inaccurate by 600 milliseconds some times. Most of the time, it is...more >>

Embed a resource file into an existing dll
Posted by Kenneth at 7/6/2004 8:13:39 AM
Hello experts! Is it possible to a culture specific resource file embedded into an existing dll? For instance: I have a dll-file called MyApp.dll which automatically holds the fallback language strings in a resource file called Strings.resx. Whenever I add resource file called Str...more >>

.Net Sockets problem with busy waits
Posted by Pawan Singh at 7/6/2004 8:12:15 AM
Hi, Using .Net sockets, with the following piece of code, there is always a problem. The loop never reads any data from the socket. But if the busy wait is removed with sleeps, it does read the data. It seems as if some other framework thread reading the data from TCP stack in windows and upda...more >>

ANN: .NET 2.0 Beta 1 - API changes
Posted by Thomas Scheidegger [MVP] at 7/6/2004 1:51:20 AM
Compatibility Considerations and Version Changes : http://www.gotdotnet.com/team/changeinfo/default.aspx Obsolete APIs in version 2.0 (beta 1) : http://www.gotdotnet.com/team/changeinfo/Beta1ObsData.zip FAQ: http://www.gotdotnet.com/team/changeinfo/v2.0/obsoletefaq.a...more >>

Doing projects with Framework v1.0 in VS 2003?
Posted by Niklas at 7/6/2004 12:18:01 AM
Hi I have Visual Studio 2003 but I want to do a VB .NET project with Framework 1.0.3705. Is this possible? I created a Hallo world application and changed the Reference Path to C:\WINNT\Microsoft.NET\Framework\v1.0.3705. All references changed to v 1.0 from v 1.1. When I tried to compile i got thi...more >>

DirectorySearcher.FindOne() failure on W2K3....
Posted by MichaelY at 7/5/2004 10:33:02 PM
An odd problem, but here goes: We implemented an ASMX web service as a gateway to the University's OpenLDAP directory to provide basic gorup membership / attribute lookups based on UID using the System.DirectoryServices namespace. Problem is that on a W2k3 box (member of AD), DirectorySearcher.F...more >>

getting binary data with HttpWebRequest/Response
Posted by z f at 7/5/2004 9:29:52 PM
Hi, I'm making HTTP request to a dynamic resource no web server. if i get in the response headers the Content-Disposition: attachment; filename=... and Content-Type: application/msword; name=... i need to get binary data from web server. what is the best way to do this? i got exception...more >>

.net fram work problem ??
Posted by N at 7/5/2004 8:23:27 PM
hi i have a problem related to the .netframework i am using the MSKLC ( microsoft keyboard layout creater ) to create a custom keyboard layout for windows xp . MSKLC requires .NetFramework to be installed i installed it but when i run it gives me the error C:\windows\microsoft.net\framework...more >>

non static class member a TLS?
Posted by liqiang_chen NO[at]SPAM hotmail.com at 7/5/2004 7:20:10 PM
Hi, In C# .NET, is non-static class data member a TLS(thread local storage)? Thanks....more >>

Please suggest
Posted by Support at 7/5/2004 6:12:43 PM
We are a large organization with a number of offices all over the state. All our employees need to access data/update data and generate reports from all offices. Initially our application will be developed on intranet and then it will be uploaded on third party web server/database server ...more >>

Painting image chews lot of memory
Posted by Ash at 7/5/2004 4:12:01 PM
Hi, This is following from one of the previous threads. Since it deserves a new thread, so here it is: JPG images are compressed, but when an image is loaded in an app it needs to allocate the memory required for the pixel data. For example, I took a screenshot of my desktop (a 24-bit imag...more >>

Debugger API
Posted by Mike McPhee at 7/5/2004 1:02:11 PM
is there a debugger API for .NET. I need to be able to read a .net assembly for analysis and when I need to report something about it I need to point to the line of code when the .pdb file is present. Is there a way to interace with .pdb files? ...more >>

DESCryptoServiceProvider, CryptoStream and InitialisationVector
Posted by John Young at 7/5/2004 11:14:21 AM
Hi, I have written a couple of routines which encrypt and decrypt data using DESCryptoServiceProvider. Currently, the user has to pass in the string to encrypt, the key and the IV to the routine. Is there a good way of creating the IV randomly so that the user does not need to create on...more >>

SQL Server 2005 Express Beta messes up your SQL Server 2000, BEWARE
Posted by ik at 7/5/2004 9:06:51 AM
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL SERVER 2000 after playing around with SQL Server 2005... Snap In Failed to Initialize, Name: Sql...more >>

Implementing the IList Interface
Posted by Michael Vanhoutte at 7/5/2004 9:05:02 AM
I've developed a class in C# that implements the IList-interface because a Hashtable wasn't suitable for my task. However, I'm not sure that I developed my IList.Contains-method properly though. The definition of IList.Contains is 'bool Contains(object value);' and the documentation states that t...more >>

MultiThreading for Multiple Inserts
Posted by samnospam NO[at]SPAM nospam.nospam at 7/5/2004 5:32:01 AM
Hello, We have a vb.net dll which secuentially calls a method which inserts a record in our database. Our user fills up a grid with 15 records, we create an in memory xml which is passed to business tier. The business tier iterates through this xml calling a method in another dll which verif...more >>

Finding properties in dot net which return a certain type
Posted by pseudobill2004 NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 7/4/2004 6:02:46 PM
How would I find properties in a dot net assembly which return a particular type? e.g., suppose a type I'm interested in is "FooType"; how would I find properties returning "FooType"? Posted Via Usenet.com Premium Usenet Newsgroup Services ------------------------------------------------...more >>

connection.dispose()
Posted by z. f. at 7/4/2004 5:57:53 PM
must i call connection.dispose() or the close() method is enough, on my sql server i see many connections created. TIA, z. ...more >>

Bitmap image load chews up a lot of memory
Posted by Ash at 7/4/2004 5:03:01 PM
Hi, There seems to be a memory leak problem in loading an image in .NET I am trying to load up an image, which is 1MB in size on the disk. When I load up the image it expands out to atleast 25MB in memory. THIS cannot be right!! The line of code I am using is: "formImage = new Bitmap("Fo...more >>

XMLSerializer Error with Hashtable
Posted by Alex Maghen at 7/4/2004 3:57:02 PM
I am trying to serialize and deserialize a Class which has a Hashtable in it and I'm getting the error: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll - Additional information: There was an error reflecting type 'HashSerializeTest.INIData'." at ru...more >>

Print the ClassView of VS.NET
Posted by Franz at 7/3/2004 11:17:05 PM
I don't want to generate Visio UML class diagram. Is it possible to print the class view out? Or is it possible to generate a UML class diagram into Jpeg or other Bitmap formats (I can afford a class diagram without any association) ...more >>

Finding whether a class has an indexer
Posted by pseudobill2004 NO[at]SPAM yahoo-dot-ca.no-spam.invalid at 7/3/2004 9:02:51 PM
Is there a way to find out if a class has an indexer via reflection? Assuming I have a System.Type object "asmType", how do I find out if the class has an indexer? I'd prefer to do this without iterating through all the class members, but even in that case I can't find out how to determine th...more >>

Audo in the .NET framework
Posted by cnickl at 7/3/2004 3:49:01 PM
I’m not sure where to post the question that’s why I post it here. It has to do with DirectX, WMP, .NET framework and streaming audio. I’m trying to develop a media player using VB.NET 2003. My first thought was to use DirectX. I understand that a there is no support for DirectShow within t...more >>

VS 2005 "Quality Tools"
Posted by Travis Pruitt at 7/3/2004 3:08:08 PM
I just upgraded to the beta 1 of 2005 from the May preview. It appears to be missing some of the features I enjoyed the most. For example, the performance profiler, unit test integration, FxCop integration, etc. are all missing from this build. Is this just for this build? Are you (MS) creatin...more >>

Machine\User cannot modify file
Posted by Johnny Hu at 7/3/2004 2:09:19 PM
hi, i wrote a simple Update Application which downloads files from ftp server to client side, and it will delete the old files after download the new ones. but i found the User Group on client machine doesn't have the permission to modify files my application throw exception and cannot upd...more >>

designer doesn't add code to initializecomponent
Posted by Franz at 7/3/2004 1:11:52 PM
UserControl has overrided the Text property. I can't view it in the designer. I subclass it and set the Browsable attribute to true. I can see the Text property now. Although the text becomes bold everytime I modified it, no code is added to InitializeComponent. What is the problem? Why no code ...more >>

Passing an SqlClient Command as a function argument (between two services)
Posted by Niki Reid via .NET 247 at 7/3/2004 7:54:40 AM
I'm trying to set up a web service that provides generic services to our other web services (resident on the same physical machine). I've discovered that sqlCommands aren't serialisable, and that I need to pass an object reference. Can anyone please give me either assistance in using object re...more >>

Thread Wont start when I deploy COM+ server on another machine
Posted by James McCallum via .NET 247 at 7/3/2004 7:54:23 AM
(Type your message here) -------------------------------- From: James McCallum Hi, I have developed a multithreaded COM+ server and this works fine when I run it on the machine on which it was built. When I move the server to another machine, the thread will start with some builds bu...more >>

Help in remoting !
Posted by MS at 7/2/2004 6:26:10 PM
In my project I want to execute some commands on the remote machine. I am using .Net Remoting to achieve this. My server which is an exe is copied on the remote machine and it receives command from client which is executed by the exe. I am facing problem while executing the exe on the remote mach...more >>

Why no "params" keyword, String.IndexOfAny?
Posted by Jon Shemitz at 7/2/2004 4:25:15 PM
If the String.IndexOfAny method's "anyOf" character array parameter was marked as "params", we could call it as S.IndexOfAny('a', 'b', 'c') instead of S.IndexOfAny(new char[] {'a', 'b', 'c'}) Why do we have to use the clumsy form? -- programmer, author http://www.midnightbea...more >>

MTS in .NET
Posted by Sajjad at 7/2/2004 12:47:31 PM
Hello all, I was wondering if Microsoft has provided an alternate API or tool for MTS. Or its the same usage in .NET. Saj. ...more >>

Will Socket.BeginRead's IAsyncResult CompleteSychronously property
Posted by Chris Tanger at 7/2/2004 12:19:01 PM
Will Socket.BeginRead's IAsyncResult CompleteSychronously property always return false? I need to know this so I will not tie up the calling thread with processing performed in the AsycCallback function. Thanks, - Chris Tanger ...more >>

RDA error 28017
Posted by Sathish at 7/2/2004 9:57:01 AM
Hi there. Just trying to get the hang of SQL server CE... I' ve had some luck with creating and accessing local databases, trying to move up to remote data access. I can' t figure out how to deal with this error though. " 80004005 NativeError: 28017 An incorrect or unsupported HTTP Function call...more >>

Static methods and local data (Again)
Posted by Simon Harvey at 7/2/2004 9:49:12 AM
Hi everyone, I'm still abit confused about static methods accessing locally declared variables. For example public static bool executeNonQuery(){ SqlCommand cmd; SqlConnection con; ..... } Is the above threadsafe? Can the cmd or con object be accessed by more than one thr...more >>

ThreadPool.RegisterWaitForSingleObject
Posted by Chris Tanger at 7/2/2004 8:22:01 AM
The MSDN documentation for this states: The wait thread uses the Win32 WaitForMultipleObjects function to monitor registered wait operations. Therefore, if you must use the same native operating system handle in multiple calls to RegisterWaitForSingleObject, you must duplicate the handle using ...more >>

Namespace Ignoring Empty String Values (URGENT)
Posted by scorpion53061 at 7/2/2004 4:35:00 AM
I have little hope of resolving this as I have had to contact outside help. But I thought I would post it here to see if anyone could add an idea or solution. 1. I have a form in a Class Control library along with 6 other namespaces. My root functions are in this form and all the other ...more >>

Serializing XML with invalid characters
Posted by Rob Tillie at 7/1/2004 11:45:10 PM
Hey all, I'm trying to serialize a class that has a strong password field in it, so it can contain characters like * or { or <. It serializes fine, but the deserializarion goed wrong, because it doesn't encode does characters. I know that I can replace all strings with base64 equivalants, but...more >>

HERE WE GO AGAIN, Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!!
Posted by ik at 7/1/2004 11:31:08 PM
DEAR MICROSOFT: STOP TOUCHING MY CODE!!!!!! Stop ADDING these attributes to my tags meta:resourcekey="LiteralResource3" Your Web Developer 2005 express added that crappy and unneeded attribute to all my tags on my aspx page...you even added that attribute to the @page directive. ...more >>

Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!!
Posted by ik at 7/1/2004 11:18:06 PM
DEAR MICROSOFT: STOP TOUCHING MY CODE!!!!!! Stop ADDING these attributes to my tags meta:resourcekey="LiteralResource3" Your Web Developer 2005 express added that crappy and unneeded attribute to all my tags on my aspx page...you even added that attribute to the @page directive. ...more >>

how to create IE process of 1 website then set value for text box?
Posted by khanh NO[at]SPAM glassegg.com at 7/1/2004 11:02:14 PM
dear all, I would like to start a process for IE browser from my Pocket PC App, this can be done by CreateProccess. Now how can I assign a value to a text box on that website? for instance, open Yahoo mail, then assign my account name into textbox Yahoo ID ? how about SendMessage API? Reg...more >>

.NET 1.1 SP1 Change list
Posted by Brian Henry at 7/1/2004 8:51:50 PM
Does anyone know where the change / bug fix list for .NET 1.1 SP1 is? it'd be nice to know what fixes will be in when it's release later this year, thanks! ...more >>

Web site URL -> thumbnails/printscreen
Posted by JD at 7/1/2004 6:23:41 PM
I need to create a thumbnail/printscreen (picture - gif or jpeg) of the existing website on the internet. I am able to "grab" the content of other website, but how do I create a picture from it (all I have is HTML)? I provide URL and it returns picture (printscreen) of the website. I even don'...more >>

ASP_NET process
Posted by vabhijit NO[at]SPAM gmail.com at 7/1/2004 5:45:12 PM
Guys, I was wondering whether there was any way to differentiate the memory space of two different aspnet_wp processes. Unfortunately, they seem to show up as a single aspnet_wp process in both perfmon and the task manager. Thanks, Abhijit....more >>

Problem with webform as dialog
Posted by Chris Watson at 7/1/2004 3:58:46 PM
Can anyone help? I am opening an aspx page (webform) as a dialog window through javascript in response to a button click on a parent datagrid buttoncolumn using the window.showmodal() javascript call. The dialog webform is not hosted within an html frames page. The webform works great and when...more >>

Urgente:
Posted by Marcelo Torres at 7/1/2004 3:14:18 PM
Hola! Estoy desarrollando una biblioteca (dll), con VB.NET de VS2003 para extender una aplicación de un tercero que tiene expuesta su API con COM, por lo que estoy utilizando interperabilidad COM. Hace dos días instale el beta de VB 2005 Express, pero no podia hacer depuración del código cuando ...more >>

Net 2.0 and Visual Studio 2003
Posted by Barbelith at 7/1/2004 1:56:31 PM
Hi, I just downloaded dthe new Net framework 2, beta 1 and I wonder if and hhow this can be integrated into Visual Studio 2003. I know that no new features will be supported intrinsically, but I would like to play around with the new classes a bit and compile my code against the new frame...more >>

Timer control error
Posted by MVB at 7/1/2004 1:32:01 PM
Hi.. My problem is.. I am loading a datagrid by a dataset.My dataset changes lot of times in a day.And i want to display all those chages on my datagrid,the moment the change occurs. What I am doing is this.... I have added a timer to my form,and the interval of the timer is 10 sec.So after ever...more >>

Using static methods in apotentially multithreaded environment
Posted by Simon Harvey at 7/1/2004 12:47:17 PM
Hi all, In my project I have made a number of helper methods static. As I understand it, this will create the problem that multiple threads could access the static method at the same time and interfere with one another. My question is, for each static method, do I need to lock access to only...more >>

Form design menu disappeared
Posted by Enver A at 7/1/2004 12:33:04 PM
I am working with 4 windows forms in my project and i cant see the design section for the 2 of them. Design section disappears when i choose that forms. ...more >>

Thread Pool in ISS Question
Posted by Bill at 7/1/2004 11:39:02 AM
If running a .Net application under IIS with 50 simultaneous requests and each request is trying to use an ASYNC socket what happens to the thread pool for that application? It appears that there is a maximum of 50 worker threads in the pool, if all those 50 threads are processing requests how ...more >>

http web request question
Posted by z. f. at 7/1/2004 9:23:25 AM
i'm making an HTTP request using the HTTPWebRequest object. if the response status is 500 - internal server error, i ditn't find a way to get to the response data - HTML, since the request.GetResponse throws an exception, but the server DID returned HTML as well as ststus code. is there a way ...more >>

RE: MatchCollection.Matches() Hangs when attempting to access data member
Posted by David Elliott at 7/1/2004 8:09:41 AM
I made a typo in the code I sent. This exPattern = @"(\D+[\.]* +\D* *\d+ *,0x *\d+)"; should be exPattern = @"(\D+[\.]* +\D* *\d+ *, *\d+)"; Even with the correction, I am experiencing the same behavior. I made the change that you suggested: Match mt = rx.Match(inText); and saw it...more >>


DevelopmentNow Blog