Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score UDPClient Broadcast Receive Error with PPPOE
greenxiar - 24 Mar 2007 12:50 PM - 4 messages
My Computer is Win2K3 R2, Code is: using System; using System.Net; using System.Net.Sockets; using System.Threading; namespace TechUDPBroadcast {     class Program {         static void Main(string[] args) {             const string addr = "224.1.3.99"; ...
Score gc.KeepAlive - is this the reality of garbage collection
Rolf Welskes - 24 Mar 2007 12:00 PM - 20 messages
Hello, I have a problem with garbage collection. An msdn example says generally the following: I have a class TestCls. With a Property MyProp. Then normally I would write: void MyFunc() {     TestCls tc = new TestCls();     int u = tc.MyProp; ...
Score Use C# assembly in MFC - help
SJ - 23 Mar 2007 11:38 PM - 2 messages
Hi I want to retrofit a C# class library assembly into legacy MFC C++ applications. The application projects are VS2005 or VS2003 projects but are unmanaged MFC C++ apps. I believe one approach is to enable COM interoperability in the C# assembly and use it as a COM library in the ...
Score WPF FlowDocument user interaction
Jim - 23 Mar 2007 4:45 PM - 5 messages
Hi, Is there any way to enable user to interact with FlowDocument like resize and drag to change layout? Thanks. Jim ...
Score How to get the folder name for the Windows recycle bin?
jjkboswell - 23 Mar 2007 3:32 PM - 3 messages
Bearing in mind the Windows recycle bin folder has had 3 names since Win 95 up to Vista: x:\RECYCLED (95, 98) x:\RECYCLER (NT, XP, 2000, 2003) x:\$Recycle.bin (Vista) Consider iterating through the the root folder of a drive, and ...
Score System.Convert.ToInt64(String) method exception
David Lowe - 23 Mar 2007 3:22 PM - 3 messages
This statement (txtNewOdometer is a variable for an edit box): lSN = System.Convert.ToInt64(txtNewOdometer.Text); is causing an exception iff a zero ('0') is entered into the textbox.  But only on one user's computer; works fine on everyone elses. ...
Score obtaining full stack trace in release mode from a thrown exception?
shelby.pereira@gmail.com - 23 Mar 2007 2:01 PM - 3 messages
Hello, If I have the following code excerpt where I call m1() in release mode.  my stack trace output shows only m1 and m4 and not the intermediate method calls. I obtain the full information in Debug mode.  However this information ...
Score SMTP error
lynnp - 23 Mar 2007 12:38 PM - 2 messages
I use Outlook 2000. I've been sending messages to a particualr address for months all of a sudden I'm now getting the following message back.   SMTP error from remote mailer after initial connection: They have checked their end but there is nothing coming in to their server. ...
Score FileStream.Close() Exception - How to release the lock?
Fredrik Johansson - 23 Mar 2007 11:53 AM - 6 messages
Hello! Using .NET v2.0.50727, I've attached some sample code that creates a file in a network path (test.er-1): - The file is created at a network path. - The user disconnects his/her network cable. - The file is attempted to write to. ...
Score .NET Runtime error
James Wong - 23 Mar 2007 10:45 AM - 4 messages
Hi everybody, I'm facing an unidentified problem related to .NET framework.  On event viewer, the following message is logged: Source: .NET Runtime 2.0 Error Reporting Category: None Type: Error EventID: 5000 Description: EventType clr20r3, P1 pos.exe, P2 3.3.2636.21715, P3 4600f8b6, ...
Score Windows Communication Foundation
Allen Bradley - 23 Mar 2007 9:04 AM - 3 messages
I need to implement a Service with CallBack Contract and setting TransportMode in binding configuration set to Streamed. When i try to instance ServiceHost it's throw an System.InvalidOperationException with Message like 'Contract Require Duplex but on Binding Configuration is not Supported or is not been ...
Score My .NET service dows not stop in a controlled way
Stefan Soljemo - 23 Mar 2007 7:17 AM - 8 messages
I developing an application based on some windows services on .NET framework 1.1. Eatch service are a single process service. Each service connects to SQL Server or Oracle database and derives an customiced TCP server class. I notised that the SCM calls the OnShutdown method when the system shutsdown ...
Score System.Transaction and MSDTC
Rasheed - 23 Mar 2007 2:19 AM - 3 messages
We are developing a .NET 2.0 based distributed application and use System.Transaction namespace to handle transaction at Business Object level. DAAB 2.0 is used at Data Access Layer level. The database is SQL server 2000 (installed in Windows 2000 server). ...
Score ReadOnlyCollection and Multiple Threads
Chris Mullins [MVP] - 22 Mar 2007 5:16 PM - 5 messages
I've been really leveraging the ReadOnlyCollection class the last few weeks, figuring that it works exactly as it's name describes. Yesterday I was rudely reminded that reading the documentation for a class is very important, and that making silly assumptions is also bad. ...
Score Any such thing as a single column HashTable?
Joseph Geretz - 22 Mar 2007 4:54 PM - 15 messages
Basically, I just need an efficient way to store and retrieve keys from a list. I don't need key/value pairs. I've implemented this with the standard HashTable, but the value column is a waste since every key has the same ...
Score Socket problem
Rob T - 22 Mar 2007 4:15 PM - 4 messages
I have a very simple little program that connects to  our email server to send out emails.  When I compiled it with .VS2003 (net 1.1), it works fine. with VS2005 (.net 2.0), it hangs on the last ReadInfo ...
Score Another Thread Safety Question
Roy - 22 Mar 2007 3:55 PM - 9 messages
Hypothetical question: A multi-threaded app has an object with a privately scoped collection (like ArrayList) that is shared between threads. The model is one thread creates/reads/writes/updates the collection, and all other threads read the collection. What are the minimal locks required for thread safety? ...
Score How to Get the List of AppDomains in a Specific Process?
Laser Lu - 22 Mar 2007 4:09 AM - 5 messages
Hi, can anybody tell me if it is possible to detect whether a process has some AppDomain(s) hosted, and how to get the list of all the hosted AppDomains within that process? ...
Score How to mount a DVD image file?
Lloyd Dupont - 22 Mar 2007 1:58 AM - 13 messages
I just downloaded the Windows Vista SDK, as .img DVD image file. Now I would like to use it! Is it possible to mount it without burning a DVD? ...
Score How to monitor which app window is the foreground window?
Andrew - 21 Mar 2007 9:57 PM - 4 messages
Hello, friends, I need to write an assembly (C#.net 2.0 class library) to monitor all applications currently running in a PC. Especially, I need to know which window is the top one, i.e., catch the event when a window becomes foreground window.  Should ...
Score Does Framework 3.0 supercede WSE 3.0?
Tom Jones - 21 Mar 2007 8:54 PM - 2 messages
Or are they equivilent? ...
Score Compact Framework Sockets Question
Clement - 21 Mar 2007 8:11 PM - 4 messages
I don't see a Compact Framework newsgroup so I am just going to post it here. We are porting a .NET 2.0 program to the compact framework and the application involves the sending and receiving of multicast packets. We ...
Score How to know if something is thread safe?
Mufasa - 21 Mar 2007 6:04 PM - 3 messages
I'm working on a routine that get's information from an html page. I'm using the IHTMLDocument2 type and want to know if it's thread safe? How can I found out if it is? I want to set up a couple of threads that will process ...
Score C# CSharp Reset Struct Class Memory
Sheikko - 21 Mar 2007 5:25 PM - 3 messages
C# CSharp Reset Struct Class Memory Hi, I have a class, cerated like a struc for some reasons, and I want to reset all values in it.     public class MyClass     {         public byte Channel; ...
Score Problem calling XML (non-SOAP) web service with C#
jumpinjavabean - 21 Mar 2007 3:11 PM - 3 messages
I am trying to call an XML (non-SOAP) web service with C#. I was provided with a request schema by our web services team, and I generated a CLR class for it using XSD.exe. When I instantiate this schema class and try to set a property on it, ...
Score ASP.NET application on LAN
niting85 - 21 Mar 2007 6:35 AM - 3 messages
I would like to know if we can run our ASP.NET application on two Pcs connected on LAN. ...
Score string.replace and outofmemoryexception
pb - 21 Mar 2007 12:38 AM - 8 messages
can someone suggest a better implementation than my sqlescaptestr function below? unfortunately this function throws an outofmemoryexception when i am inserting multiple rows in a loop (str in such cases can be quite large... could be upwards of 100K in some cases).  ...
Score POP3 Library
fj - 20 Mar 2007 9:38 PM - 5 messages
Does .net framework has a native POP3 component that I can use to retrieve POP3 emails? There are lots of 3rd party compnent out there, but I am looking for a .net one. Thanks -fj ...
Score Visual Studio 2003 and Javascript help...
almurph@altavista.com - 20 Mar 2007 3:17 PM - 3 messages
Hi,     I'm using Visual Studio 2003 to develope a Web-form application. This application required me to do some Javascripting.     Now my Javascrip is not exactly what you would good - I need lots of ...
Score Asp.net Bible Vb.net & C Free Ebook
steveo - 20 Mar 2007 2:04 PM - 2 messages
Introduction of the Microsoft .NET platform has begun a new era in the field of application development that will drive the next-generation Internet. ASP.NET, a part ofthe Microsoft .NET platform, is a revolutionary programming framework that enables the rapid development ...
Score New Probing Rules for 2.0?
Rob Barnes - 20 Mar 2007 1:10 PM - 3 messages
I have a WinForms application that comprises files similar to this: a.exe b.dll c.dll The application is hosted on a Unix-based web server (case sensitive) and is accessed via HTTP ("no touch") deployment.  For .NET 1.1, the probing rules ...
Score Socket Bugs on trying to send to disconnected clients
Shackleton1986 - 20 Mar 2007 10:35 AM - 2 messages
I just made a simple TCP server to experiment socket exception when I lost the connection with my client. In this test program I create a socket and wait for a client (a basic telnet on another computer of my LAN) to connect. When the client is well connected, ...
Score Are All the Static/Shared Methods in .NET Thread Safe?
Laser Lu - 20 Mar 2007 8:08 AM - 14 messages
I was often noted by Thread Safety declarations when I was reading .NET Framework Class Library documents in MSDN. The declaration is usually described as 'Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.'  ...
Score Asynchronous delegate vs thread pool & thread
Fluxray - 20 Mar 2007 6:48 AM - 4 messages
This is quite an issue for me when doing debugging for async delegate call (i.e., using BeginInvoke). Note this is NOT Control.BeginInvoke, which runs on the thread creates the control. According to MSDN: If the BeginInvoke method is called, the common language runtime (CLR) will ...
Score mouse explorer 3.0 installing
101slush - 19 Mar 2007 4:50 PM - 2 messages
I just got the 3.0 mouse and am having a major project just trying to get it to work it moves fine but when I click it to open, nothing happens I tries all the buttons I know its installed as I see it in the control panel as active. ...
Score Hungarian Notation Vs Pascal Notation?
Grey Squirrel - 19 Mar 2007 1:35 PM - 18 messages
On wednesday my company will have an open ended discussion whether to standardize hungarian notation or pascal/cammel case notation. We'd love to recieve some feedback on what other people are using out there and why. Thanks! ...
Score Anonymous method
Maury - 19 Mar 2007 12:54 PM - 3 messages
Hi, I made a vaery simple Join operation from an object[] (here I call it myArray) to a string[] using a Converter<Tinput, TOutput> protected void Button1_Click(object sender, EventArgs e) {   Label1.Text = String.Join("|", Array.ConvertAll<object, ...
Score handle leak - hotfix availability
John Wood - 19 Mar 2007 6:43 AM - 3 messages
Hi, I (believe) I'm experiencing the bug that's documented in kb article 842675 entitled "A handle leak occurs in a process that uses Corperfmonext.dll in the .NET Framework 1.1", [link] ...
Score asp2.0 using public property
Logger - 18 Mar 2007 3:32 AM - 2 messages
Can someone tell me why my integer variable _arrCnt is not holding its value. I’m using ASP 2.0.  I’m trying to use it in a public property routine to count for my array.  It keeps coming back with a 0 value instead of ...
Next » 2 3 4 5 6 7 8 9 10