<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: microsoft.public.dotnet.framework</title><link>http://www.dot-net-guru.com/247reference/__site/69</link><description>microsoft.public.dotnet.framework on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>69</dn247:id><item><title>catching Runtime Stack Overflow Exception (25 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289342.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289342.aspx</guid><pubDate>15 Sep 2004 23:56:28</pubDate><description>hi all i need to catch a Runtime Stack Overflow Exception. how can i do this? assaf </description><dn247:id>289342</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Decompiler.NET reverse engineers your CLS compliant code (103 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289057.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289057.aspx</guid><pubDate>15 Sep 2004 23:56:28</pubDate><description>http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it...</description><dn247:id>289057</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>User specific app.config - are they possible? (14 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289234.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289234.aspx</guid><pubDate>15 Sep 2004 23:56:27</pubDate><description>Hi, I have VB.Net/SQL Server app that connects to a common instance of SQL Server but the &amp;amp;quot;initial catalog&amp;amp;quot; entry in the ..exe.config needs to be user specific. Is this possible, i.e. can I have multiple copies of the ...exe.config and place them directories that will searched when the app starts depending upon who logged in? If that can't be don, is it possible to change ...exe.config values afte...</description><dn247:id>289234</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>HTTPhandlers (14 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289122.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289122.aspx</guid><pubDate>15 Sep 2004 23:56:26</pubDate><description>Hi ALl, How do I prevent the ProcessRequest method from the IHttpHandler Class from closing the http connection and killing the context after the ProcessRequest method has ended. TO further explain what I want please read this link: http://www.experts exchange.com/Programming/Programming Languages/Dot Net/Q 21129241.html</description><dn247:id>289122</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>HTTPWebrequest HTTP\1.1 100 Continue (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289086.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289086.aspx</guid><pubDate>15 Sep 2004 23:56:26</pubDate><description>I have written several vb.net routines using httpwebrequest/httpwebresponse to post data and files to web sites running traditional ASP. However now that one of those sites has upgraded to ASP.Net I'm having difficulty posting to it. I have analyzed the packets between my routine and a browser submission and it appears the only variation is that the new site is now sending back HTTP/1.1 100 Contin...</description><dn247:id>289086</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Problem with .NET 1.1 SP1 - Events (11 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289126.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289126.aspx</guid><pubDate>15 Sep 2004 23:56:25</pubDate><description>I suspect that several others have seem the same program but here goes: I have sets of code (C# and VB.Net) that both show the same problem. Basically, the call to &amp;amp;quot;ManagementEventWatcher.Start&amp;amp;quot; fails with an access denied since upgrading to SP1 for .Net 1.1 the same code runs on non SP1 machines without a problem. Also, the code is basically the Microsoft example code. I have seen notes regarding...</description><dn247:id>289126</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Logging Exceptions ... Where ? (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289246.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289246.aspx</guid><pubDate>15 Sep 2004 23:56:24</pubDate><description>Hi, Can anybody guide which approach is the best for logging exceptions ? The solution should consider performance, concurrency issues, production scenarious, easy of data analysis &amp;amp;amp; purging operations. Logging Exceptions to, 1. Text Files 2. SQL Server 3. MSMQ or, suggest any other ... Regds Gurminder </description><dn247:id>289246</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>HELP: Late Construction via Reflection &amp; instance variable initializers (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289320.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289320.aspx</guid><pubDate>15 Sep 2004 23:56:23</pubDate><description>Hi All, I not sure if I am doing something wrong, or if this is a bug in the framework somewhere but I'm having trouble with instance variable initialization which is done before any of the ctors are called. Very simple code follows! Any help much appreciated! Given this class: public class Wibble { public int var1 /* 0*/; //Intentionally left at 'default' public int var2 0; public Wibble(){} } Th...</description><dn247:id>289320</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>no bytes returned on raw socket;trying to implement ping (12 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289267.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289267.aspx</guid><pubDate>15 Sep 2004 23:56:23</pubDate><description>Hi all, I hope this is the correct group, if not, please let me know. I am trying to implement ping. I found some excellent code that builds a raw socket from scratch and it works great against localhost but nothing external. The complete code is below but I seem to timeout trying to receive bytes. When I look to see how many bytes I have in the buffer, I don't have any. Any ideas would be greatly...</description><dn247:id>289267</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Set Focus (14 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/56/282074.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/56/282074.aspx</guid><pubDate>15 Sep 2004 23:56:22</pubDate><description>If my aspx page contains a listbox and a text box, is there a way to set focus to the textbox after an item is selected in the listbox?</description><dn247:id>282074</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>deserialize arraylist (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289284.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289284.aspx</guid><pubDate>15 Sep 2004 23:56:20</pubDate><description>I'm trying to deserialize an arraylist of string typed items. I have: [XmlArrayItem (&amp;amp;quot;client&amp;amp;quot;,typeof(System.String))] public ArrayList sClient; but it's giving me an invalid cast error when I try to deserialize the class. It serialized from XML fine. Any idea what's going on? thanks, Greg</description><dn247:id>289284</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>AppDomains + remoting (9 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289269.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289269.aspx</guid><pubDate>15 Sep 2004 23:56:19</pubDate><description>Hi, I've implemented an elegant way to provide a plug in, hierarchical, architecture to our application with sub application isolation AppDomains. These AppDomains are loaded and unloaded as neccessary within the application. Both synchronous and asynchronous events that cross AppDomain boundaries (and even machine bouindaries) are used extensively throughout also. These events are often propogate...</description><dn247:id>289269</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>order of execution of page_load in a base and derived classes (15 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289055.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289055.aspx</guid><pubDate>15 Sep 2004 23:56:18</pubDate><description>Hi, i have a class that is derived from System.Web.UI.Page, and this is the class i use in my application as PageBase. all other page classes are deriverd from my PageBase instead of the original System.Web.UI.Page in order to have common checks in the page base. i make securirty checks in the page base page load event. if the security fails, i can do whatever i want before the &amp;amp;quot;real&amp;amp;quot; / derived pa...</description><dn247:id>289055</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Reading data from a Socket (9 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289114.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289114.aspx</guid><pubDate>15 Sep 2004 23:56:17</pubDate><description>I have coded a method which reads data from a socket in chunks of 2048 and concatenates those chunks into a string before returning the string to the caller. Almost all the time this code works perfectly well. Occasionally, for a reason I've yet to determine, the returned string seems to be truncated at 2920 characters. This causes problems in another part of my app because the string is Xml, whic...</description><dn247:id>289114</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Telling when a method has finished (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/56/282356.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/56/282356.aspx</guid><pubDate>15 Sep 2004 23:56:17</pubDate><description>Hi All, Is there any way to tell when the method you're in has exited? This would be handy for things like: Sub LongProcess() 'code 'code ShowHourglass() 'long job... '... If IntermediateResultFails 'clean up HideHourglass Exit Sub End If 'long job... If IntermediateResultFails 'clean up HideHourglass Exit Sub End If HideHourglass Exit Sub In other words, you have to remember to HideHourglass befo...</description><dn247:id>282356</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>TCPClient -form.show (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289287.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289287.aspx</guid><pubDate>15 Sep 2004 23:56:17</pubDate><description>Hello, I've been using the &amp;amp;quot;Advanced .NET Framework (Networking) Use Sockets&amp;amp;quot; example that comes with the &amp;amp;quot;Visual Basic.Net Resource Kit&amp;amp;quot;. This works perfectly fine and i learned alot from it. However i'm having a problem with showing a Windows Form in the asynchronous Read procedure in the client application. The form is loaded and show on screen without error messages however the form screen is ...</description><dn247:id>289287</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>CrystalDecisions.CrystalReports.Engine.LoadSaveReportException when OpenSubreport() was called (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289292.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289292.aspx</guid><pubDate>15 Sep 2004 23:56:16</pubDate><description>Hi everyone, I have a Crystal Report with a subreport in a windows application, which is to be exported to the pdf file. I followed the instructions on http://support.crystaldecisions.com/library/kbase/articles/c2010275.asp to set up the log on information. But I always got the exception at the statement: tbl.Location ...; The error message is listed below: An unhandled exception of type 'CrystalD...</description><dn247:id>289292</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Cannot get the changes dataset correctly! (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289186.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289186.aspx</guid><pubDate>15 Sep 2004 23:56:14</pubDate><description>Hi All, I have a problem to get the changes of the dataset in the datagrid after sorting the datagrid. Firstly, I change some rows in the datagrid, and sort it. Then Update it. And i trace my program, i found that, the dataview can get the correct data, but not the dataset.getchanges() functions The codes are~ Dim dvMRM dsABC.ABC.DefaultView Dim dsMRM dvMRM.Table.Dataset ' I try to get the dvMRM's...</description><dn247:id>289186</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>dotnet 1.1 SP1 - HttpWebRequest - Protocol Violation (12 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289236.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289236.aspx</guid><pubDate>15 Sep 2004 23:56:12</pubDate><description>Hello, I have a client server application I have developed that has been working fine for over a year, but after any of my customers install the SP1 the product no longer works. I installed the SP1 on one of my test machines and found that the program was breaking down when ever it tried to recieve a response from a server. The HttpWebRequest object was failing upon invoking the GetResponse comman...</description><dn247:id>289236</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Strong-Typed Resizable Arrays (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289132.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289132.aspx</guid><pubDate>15 Sep 2004 23:56:12</pubDate><description>Hi. I'm trying to find the absolute most lightweight, efficient array type that supports: 1. Strongly typed entries (e.g. not all items of type &amp;amp;quot;Object&amp;amp;quot;) 2. Ability to Add() and Remove() I see that the C# built in array type doesn't support resizing. The framework ArrayList supports resizing but doesn't seem to allow a fixed entry type. How do I do this? Alex </description><dn247:id>289132</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>system.timers.timer for very large intervals (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289353.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289353.aspx</guid><pubDate>15 Sep 2004 23:56:12</pubDate><description>I created system.timers.timer for very long interval from TimeSpan.MaxValue: myTimer new System.Timers.Timer(TimeSpan.MaxValue.TotalMilliseconds) After calling Enable true I have a ArgumentOutOfRangeException exception. I found out that timer internally uses System.Threading.Timer object and uses constructor with &amp;amp;quot;int&amp;amp;quot; for dueTime. I suppose it explicitly converts double to int without checking fo...</description><dn247:id>289353</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Optimization Help Needed (8 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289111.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289111.aspx</guid><pubDate>15 Sep 2004 23:56:11</pubDate><description>How could I optimize the following method, whose purpose is to concatenate two byte arrays? public static byte[] ConcatBytes(byte[] a, byte[] b) { byte[] result new byte[a.Length b.Length]; uint i; for (i 0; i a.Length; i ) { result[i] a[i]; } for (i 0; i b.Length; i ) { result[i a.Length] b[i]; } return result; } You see, my program uses this method, and to it, it passes two very large (perhaps i...</description><dn247:id>289111</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Unable to load dll 'aspnet_isapi.dll' (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289175.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289175.aspx</guid><pubDate>15 Sep 2004 23:56:11</pubDate><description>With no rhyme or reason, I inconsistently get the DllNotFoundException, &amp;amp;quot;Unable to load dll 'aspnet isapi.dll'&amp;amp;quot; when I attached to an existing process to debug it. However, this doesn't always occur, and when it does isn't obvious to me. I am running Whidbey beta</description><dn247:id>289175</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Configuration files for Services and Class Libraries (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289305.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289305.aspx</guid><pubDate>15 Sep 2004 23:56:11</pubDate><description>I have the need to store some application specific configuration data to be used by a class library and or a windows service. I would like to do this in a fashion similar to the way we do with applications and web services without having to use the machine.config file. I know that I could use the code below to do this but the problem then becomes that when using a shared assembly both the assembly...</description><dn247:id>289305</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>C# Thread.Sleep malfunction (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289291.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289291.aspx</guid><pubDate>15 Sep 2004 23:56:10</pubDate><description>It seems that on some XP platforms the Thread.Sleep method is malfunctioning. I created a small application that was supposed to show 2 newstickerbars on the main form, with the added possibility to alter the speed with which they tick. To achieve this I use a thread that handles the actual drawing and movement of the ticker: each tick the target object (in this case a panel) is being shifted 1 pi...</description><dn247:id>289291</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Apps no longer work with Framework 1.0 SP3 (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289457.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289457.aspx</guid><pubDate>15 Sep 2004 23:56:10</pubDate><description>Our administrators did an unannounced deployment of dotNet Framework 1.0 SP3 to all our Win2K machines last week and now the product we're developing no longer works, nor does the dotNet Framework Configuration tool. The machines runnning dotNet Framework 1.1 appear to be OK. When the app is executed, it produces this exception: &amp;amp;quot;Request for the permission of type System.DelegateSerializationHolde...</description><dn247:id>289457</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Get Bytes of a Structure (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289239.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289239.aspx</guid><pubDate>15 Sep 2004 23:56:09</pubDate><description>I come from C and as you might know we can just typecast a structure as char* and start reading chars using that pointer. How can I make a byte[] out of a C# struct or class object? Thanks Chandra </description><dn247:id>289239</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Dynamic load assembly problem in asp.net (15 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/56/282392.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/56/282392.aspx</guid><pubDate>15 Sep 2004 23:56:09</pubDate><description>i have some code which will dynamic load another assembly it works fine in WinForm App but got an exception &amp;amp;quot;cannot load the assembly&amp;amp;quot; when i put it in a WebService App Loader.AssemblyLoader al null; object[] parms { AssemblyName }; // string AssebmlyName al (Loader.AssemblyLoader)domain.CreateInstanceFromAndUnwrap( &amp;amp;quot;Loader.dll&amp;amp;quot;, &amp;amp;quot;Loader.AssemblyLoader&amp;amp;quot;, true, bindings, null, parms, null, null, nu...</description><dn247:id>282392</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Dynamically creating satellite assemblies with embedded resources (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289144.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289144.aspx</guid><pubDate>15 Sep 2004 23:56:08</pubDate><description>I'd like to create a satellite assembly dynamically, embedding rather than linking resource files. I know I can use the assembly linker (al.exe) to embed a .resources file, but I'd like to do it programmatically, using something like the AssemblyBuilder class. This is the same question that Nick Carter asked before. I've pasted his post below, it case it clarifies things for anyone. Nick Cases ori...</description><dn247:id>289144</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>Big Problems with .NET Framework 1.1 SP1 (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289268.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289268.aspx</guid><pubDate>15 Sep 2004 23:56:07</pubDate><description>We have had 3 developers scrambling to fix problems with ASP.NET applications after installing Framework 1.1 SP1. In all cases the applications were working prior to installing the update. The first problem was that ASP.NET postback functions stopped working. Clicking a button on a page with a RequiredFieldValidator does nothing now. No postback. Replacing the &amp;amp;quot;aspnet client\system web\1 1 4322\We...</description><dn247:id>289268</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Bit Operations Question (easy but my brain can't handle it) (8 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289355.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289355.aspx</guid><pubDate>15 Sep 2004 23:56:07</pubDate><description>I have multiple Keys enumeration variables (they are, I believe, internally ints). Let's say I have 3 variables created in C# is follows: Keys K1 Keys.S | Keys.Control; Keys K2 Keys.S | Keys.Shift | Keys.Control; Keys K3 Keys.S | Keys.Shift | Keys.Control | Keys.Alt; Now, let's say, I want to have a function which, regardless of what Keys variable I am passed, will return a Keys value WITHOUT any ...</description><dn247:id>289355</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Array.IndexOf() and an array of structs (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289407.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289407.aspx</guid><pubDate>15 Sep 2004 23:56:07</pubDate><description>Hi ng, I would like to search an array of structs for an object whose myName field (a string) equals the given input search string. Is this possible to do with IndexOf? Here's an example: public struct SomeRecord { string myName; int idata; float fdata; } SomeRecord[] records new SomeRecord[10]; // Load array with some data... // Look for first SomeRecord object whose myName field equals &amp;amp;quot;John&amp;amp;quot; in...</description><dn247:id>289407</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>GetProperties() problem (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289064.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289064.aspx</guid><pubDate>15 Sep 2004 23:56:05</pubDate><description>I have a simple class like that: class Foo { int bar; } somewhere else in the code I write Type t typeof(Foo); PropertyInfo[] pi t.GetProperties(BindingFlags.INstance | BindingFlags.NonPublic); unfortunately the pi array I get is of length 0 ?!?! did I miss something ? Lloyd Dupont, Software Architect Get Your Data Mobile http://www.ihookdb.com </description><dn247:id>289064</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>Thread safety of collections (8 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289121.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289121.aspx</guid><pubDate>15 Sep 2004 23:56:05</pubDate><description>The documentation for most collection classes state that public static members are thread safe, but to what extent can a collection be accessed safely via multiple threads calling non static methods if the collection is not changed (written) by any other thread? E.g. when using either a Hashtable or an ArrayList with fixed contents (not changed during the test), I seem to be able to safely read fr...</description><dn247:id>289121</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Reading binary files through an WebResponse... (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289317.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289317.aspx</guid><pubDate>15 Sep 2004 23:56:05</pubDate><description>Hello, I'm having trouble properly reading and decoding binary files (eg MS Word Doc, Adobe PDF) from a stream created from a Web Response. I have an application that downloads email attachments from an exchange server and will then insert them into a database. My problem is while a StreamReader will read from the produced by a web response the file that comes out the other end is garbage. I've ex...</description><dn247:id>289317</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Windows Service won't instal (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289082.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289082.aspx</guid><pubDate>15 Sep 2004 23:56:05</pubDate><description>I am trying to install a windows service on my XP workstation (XP Professional) which I do development on. I am using an example from an article by Billy Hollis but when I try to run the installutil.exe, it stops and asks me for a Username and Password (Set Service Login) dialogue box. This is not mentioned in the article, but then it was written in 2001, so XP may be more restrictive. I have trie...</description><dn247:id>289082</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Why doesn't GC.Collect() free memory? (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289338.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289338.aspx</guid><pubDate>15 Sep 2004 23:56:04</pubDate><description>hi all, when i minimize my app it's immediate free most of the memory, but when i use GC.Collect() it does nothing, Why? and how can i make it work? thanks, assaf </description><dn247:id>289338</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Timers for "larger" intervals? (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289255.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289255.aspx</guid><pubDate>15 Sep 2004 23:56:04</pubDate><description>I am working on an application that will repeat a certain procedure after a user specified time interval. This interval could be as brief as 2 seconds, or as long as once every hour or two. If it was limited to several seconds or even every few minutes, I would use one of the timer classes, probably System.Threading.Timer. But I don't know if it's good practice to allocate a Timer for something as...</description><dn247:id>289255</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Private members and reflection (9 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289340.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289340.aspx</guid><pubDate>15 Sep 2004 23:56:04</pubDate><description>Hello, Is there any way to prevent a tool like Reflector (http://www.aisto.com/roeder/dotnet/) from reading and disassembling private members using reflection? I am aware of a suggestion posted here by Microsoft, stating that using [StrongNameIdentityPermission...] may help, but I can't find any example for successful usage of it. Thanks, Y S </description><dn247:id>289340</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>FileSystemWatcher.Created Event Question - Please look! (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289048.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289048.aspx</guid><pubDate>15 Sep 2004 23:56:03</pubDate><description>I have the need to monitor a directory for the arrival of files and then to run some processing on those new files. This is easy enough conceptually, the problem I have is that I get an event to handle when the file is first created yet is not fully written to the disk yet. Is there some simple way (that will pass a code review) that I can determine when the file write to disk has been completed s...</description><dn247:id>289048</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>Calling a .NET assembly through PURE UNMANAGED code (8 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289089.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289089.aspx</guid><pubDate>15 Sep 2004 23:56:02</pubDate><description>Hi, I am tiring to load an assembly from memory ( e.g. System.Reflection.Assembly.Load( byte[] ), this works fine through managed and mixed code. NOW, I am tiring to achieve the same thing through PURE UNMANAGED code, I can't use com or com interop, does some one have an idea how to achieve what was just described? ( through unmanaged code ) Is it possible to call a managed assembly through PURE U...</description><dn247:id>289089</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Directory.Exists(path) creates a directory (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289115.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289115.aspx</guid><pubDate>15 Sep 2004 23:56:02</pubDate><description>I&amp;amp;quot;m using this method to determine if a folder\directory exists: Directory.Exists(path) and as I call it, it creates (by itself even though the folder doesn't exists) a new folder according to tha path I passed it and returns 'true'! How could that be? </description><dn247:id>289115</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Problem with Assembly.CreateInstance (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289282.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289282.aspx</guid><pubDate>15 Sep 2004 23:56:01</pubDate><description>When I execute the following code from ASP.NET my application sporadically hangs inside CreateInstance(). The hangs don't occur every time but are frequent enough to be considered a serious problem. Assembly asm Assembly.GetAssembly(typeof(MyType)); Type t asm.GetType(&amp;amp;quot;MyType2&amp;amp;quot;); object obj asm.CreateInstance(&amp;amp;quot;MyType2&amp;amp;quot;); MyType as well as MyType2 are C# wrappers for native C functions. I also noti...</description><dn247:id>289282</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>StringToObject (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289281.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289281.aspx</guid><pubDate>15 Sep 2004 23:56:01</pubDate><description>Imagine a project I've got two dll's referenced, dll1 and dll2 within some function of my project i want to use a function out of dll1/dll2 Normally you then would put in the function: Function fncSomeProjFunc as int dim myobj as new dll1 (Make the functions of dll1 available inside this function) dim myobj2 as new dll2 dim sResult as string dim sResult2 as string sResult myobj.SomeFunctionwithsRe...</description><dn247:id>289281</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>Directly deriving from MulticastDelegate (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289425.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289425.aspx</guid><pubDate>15 Sep 2004 23:56:01</pubDate><description>Hello All, It is possible with C#? If not, anyway to define my own event accessor methods as in MC ? Best regards, Paul. </description><dn247:id>289425</dn247:id><dn247:siteId>69</dn247:siteId></item><item><title>JulianCalendar formatting + parsing difficulties (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289253.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289253.aspx</guid><pubDate>15 Sep 2004 23:56:00</pubDate><description>I'm implementing a program dealing with astronomic phenomena and need to use Julian Calendar dates (for dates before the Gregorian Calendar changeover). I can use the JulianCalendar class to convert dates to and from the Julian Calendar, but I'm unable to use any of the built in DateTime formatting or parsing routines because the JulianCalendar is not an &amp;amp;quot;OptionalCalendar&amp;amp;quot; for any culture. I've lo...</description><dn247:id>289253</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to know the mouse clicked on empty items of listview? (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289097.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289097.aspx</guid><pubDate>15 Sep 2004 23:56:00</pubDate><description>hi, all I have a ListView and it contians two items. So when click item0 or item1, I can use the ItemSelected event to know it was clicked. But if user clicks item2 or others, because there are only two items, no ItemSelected event was sent. I still want to know this click and I also want to know it is on a empty item. So how to do this? I guess I need to use MouseDown, but how to caculate the mou...</description><dn247:id>289097</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VB.Net Shell() function (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289295.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289295.aspx</guid><pubDate>15 Sep 2004 23:55:59</pubDate><description>Hello, I am in dire need of help! My problem is a follows: The application MUST run from a share on a server (done by adding the assembly strongname with Full Trust to the LocalIntranetZone of the Machine)... The application lists a bunch of files that I must be able to execute... The file types are of types *.vbs (I have to execute them by calling the Shell function with cscript //NoLogo \\server...</description><dn247:id>289295</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>SortedList Default IComparer Error (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289226.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289226.aspx</guid><pubDate>15 Sep 2004 23:55:58</pubDate><description>I'm populating a SortedList with the Name property of objects from the SQLDMO Com interop classes. While these are supposed to be plain old strings (I think), I am getting an error any time I attempt to use keyed access to the objects. mySortedList.Add(myTable, myTable.Name) If mySortedList.Contains(myTable.Name) Then ' Throws an error ... do some stuff End If This is totally weird, because I've h...</description><dn247:id>289226</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>NullReferenceException using static members in a multi-thread .exe (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/289288.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/289288.aspx</guid><pubDate>15 Sep 2004 23:55:58</pubDate><description>Using a class with static members in a multi thread executable results in 'System.NullReferenceException' exception. This happen only if the class is not initialized (calling any static member) before trheads start. The exception is not throw if: If I invoke a static member in main before threads start. The class is included in the application project and I don't use an external library. Following...</description><dn247:id>289288</dn247:id><dn247:siteId>69</dn247:siteId><dn247:highlight>True</dn247:highlight></item></channel></rss>