Re: [DOTNET] Has anyone written some file / directory change notification code?

2002-05-25 Thread John Lam
Thanks, Nick! You rock! I was just sitting down to write the MC++ code to call ReadDirectoryChangesW. Damn libraries are just so vast ... ;) Cheers, -John http://www.iunknown.com -Original Message- From: Nick Wienholt [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 25, 2002 8:44 PM To

Re: [DOTNET] Has anyone written some file / directory change notification code?

2002-05-25 Thread Nick Wienholt
Hi John, Have you looked at System.IO.FileSystemWatcher. From memory, it just wraps ReadDirectoryChangesW too, and is much more accessible than the ASP.NET stuff. Nick - Original Message - From: "John Lam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 26, 2002 8:05 AM S

[DOTNET] ToolboxBitmap bug ?

2002-05-25 Thread Pierre Greborio
Hi, I've written a custom control and I need to create my own image. The control is MyNamespace.MyControl and the bitmap (16x16) is MyNamespace.MyControl.bmp (build as embedded resource). If I set the attribute ToolboxBitmap with the filename it correctly show the image, if I set with type Toolbox

Re: [DOTNET] How much memory used?

2002-05-25 Thread Pierre Greborio
There's a great freeware tool on gotdotnet: http://www.gotdotnet.com/userfiles/MaheshP/AllocationProfiler.zip Pierre --- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it --- -Original Mes

Re: [DOTNET] Http Request

2002-05-25 Thread Pierre Greborio
Here a very simple sample: WebRequest myRequest = WebRequest.Create("http://www.contoso.com";); WebResponse myResponse = myRequest.GetResponse(); StreamReader sr = new StreamReader(myResponse.GetResponseStream()); String html = sr.ReadToEnd(); sr.Close(); myResponse.Close(); Pierre

[DOTNET] Has anyone written some file / directory change notification code?

2002-05-25 Thread John Lam
I'm rather bummed that the stuff in System.Web.dll is all marked private. There's a bunch of nice classes that use unmanaged methods implemented inside of aspnet_isapi.dll to monitor changes in the file system. This is used by the code in the System.Web.Caching namespace. I tried hacking into thi

[DOTNET] Http Request

2002-05-25 Thread Raphael Nascimento
How can i get the html with a HttpWebRequest? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] How much memory used?

2002-05-25 Thread David Ferguson
How much memory used? Is there anyway to see how much memory an instance of class is using? I am thinking along the lines of some performance counter that I could monitor. By taking a snapshot just before creation and comparing it with a snapshot immediately after creation. Thanks...David You

Re: [DOTNET] Automatically executing code

2002-05-25 Thread Federico Raggi
Reggie: Don't give up just yet! :) I'll try to check with some people if there is other option. -Mensaje original- De: Reggie Burnett [mailto:[EMAIL PROTECTED]] Enviado el: Sáb 25/05/2002 12:25 p.m. Para: [EMAIL PROTECTED] CC:

[DOTNET] Remoting: Only one usage of each socket address ...

2002-05-25 Thread André Borchert
Hi, I've discovered a strange behaviour with a .NET Remoting HTTP Channel (Windows Service EXE) along side with IIS 6.0 (Windows .NET , same problem with IIS 5.0/5.1) I run two IP's on the NIC: - 192.168.10.3:80 for IIS Website - 192.168.10.4:80 for .NET Remoting HTTP Channel. The problem is,

Re: [DOTNET] Mobile Internet Toolkit

2002-05-25 Thread Teo Lachev
Scott, Thanks for you reply. When can we expect the next version of ASP.NET? = On Sun, 19 May 2002 17:57:29 -0700, Scott Guthrie <[EMAIL PROTECTED]> wrote: >Hi Teo, > >ASP.NET and MMIT will merge much more in the future. Specif

Re: [DOTNET] Displaying info on loading forms

2002-05-25 Thread Dan Souk
Dude-you might disclose that it's your book you're referring to. -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Ted Faison Sent: Saturday, May 25, 2002 11:23 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Displaying info on loading forms Simon, What

Re: [DOTNET] Automatically executing code

2002-05-25 Thread Reggie Burnett
Yes I could do that. I'm sorry I'm being a bit stubborn on this issue but I was really hoping to find a solution that would properly integrate into the framework. The documentation really doesn't say where the RegisterPrefix call should be issued. It feels better to me to not require the extra

Re: [DOTNET] Displaying info on loading forms

2002-05-25 Thread Ted Faison
Simon, What you're trying to do makes me think of Splash windows (those screens that appear while an app is loading). If only part of your form is showing up, you could force it to paint itself immediately by calling form.Update(); If you're interested in knowning when a form has been completel

Re: [DOTNET] Automatically executing code

2002-05-25 Thread Federico Raggi
Can't you just make the user call an static method that encapsulates the prefix registration and WebRequest creation inside a class you define: User Code: wr = myProtHandler.Create Your Library static WebRequest Create() { // Register the prefix and create the WebRequest object here } >

Re: [DOTNET] Fw: Why is build time wrong?

2002-05-25 Thread David Ferguson
My guess was that the documentation mend "divided by two drop the remainder". Multiplying by two seems to get the time very close about an hour off. David - Original Message - From: "Dean Cleaver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 5:53 PM Subject: Re

[DOTNET] Best WMI Book

2002-05-25 Thread Dominick Baier
Hi, can anybody suggest a good book on WMI - with all those advanced topics;-) tia dominick baier -- Dominick Baier Public Key available via www.ernw.de/keys/dbaier.asc Fingerprint : 7AE0 B3D2 7FFC 7763 E32A 07C2 8B0D F988 DC8D BFB1 You can read messages from the DOTNET archi