<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: microsoft.public.dotnet.general</title><link>http://www.dot-net-guru.com/247reference/__site/65</link><description>microsoft.public.dotnet.general on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>65</dn247:id><item><title>VC++6 MFC migration managed C++(windows form ) (24 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292569.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292569.aspx</guid><pubDate>16 Sep 2004 00:32:08</pubDate><description>I want to port my MFC (VC 6) application to manageg VC . 7. I want to do this because some things are much better done with C#. So i could write a C# class and use in my VC code as Languague interoperability is one of the main features of the .Net framework. I know my application would have to obey to the CTS (common type specification) but my main concerns are the MFC stuff! I do not really know ...</description><dn247:id>292569</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Microsoft: Get rid of VB.NET - now ! (46 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292592.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292592.aspx</guid><pubDate>16 Sep 2004 00:32:08</pubDate><description>This is a recommendation to Microsoft. VB.net and c# are almost exactly equivalent. I know why Microsoft invented VB.net to wean old style VB6 scripters into a true OO world: .Net. But now, what is really a pain, is trying to find information about coding, and having to search through vb and c# examples and translate the vb to c# ( my chosen language ). I don't mind the translation, but what I min...</description><dn247:id>292592</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Regular Expression help (8 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292491.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292491.aspx</guid><pubDate>16 Sep 2004 00:32:04</pubDate><description>I need to split a string based on a character, such as a space (0x20). The caveat is that I need to ignore the character if it is found between a pair of some other characters, such as single quotes. For example (where denotes a space character): ab cd 'ef' 'g h' i 'j k l' I should get back ab cd ef g h i j k l I'm sure there is an easy solution to this if you are a regex guru. As for me, I'm clue...</description><dn247:id>292491</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Datagrid source= datarow array (11 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292231.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292231.aspx</guid><pubDate>16 Sep 2004 00:32:04</pubDate><description>Hey all, I have an array of data rows that when I bind it to a datagrid it shows all those extra rows in addition to my fields. How do I hide those fields? I tried using the TableStyles property but seems like it's getting overridden. Any ideas? Thanks in advance, rodchar</description><dn247:id>292231</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Waiting on multiple Threads (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292708.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292708.aspx</guid><pubDate>16 Sep 2004 00:32:03</pubDate><description>Hi all, What's the best way to queue up and wait for number of threads to complete. This problem was trivial in VC 6 but I'm finding it rather hard to solve in VB.NET. My calculations run about 2 mins each (on a 2.8 Ghz Xeon and the server range from 2 to 8 processors) (give or take about 15 secs). I have 8 sets of calculations to do (in another app I have 121) all the same calc just different dat...</description><dn247:id>292708</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>how do i remove listbox... (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292701.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292701.aspx</guid><pubDate>16 Sep 2004 00:32:03</pubDate><description>in vb6 listbox1.remove item 5 how will i do in vb.net? regards </description><dn247:id>292701</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Boxing (14 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/286419.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/286419.aspx</guid><pubDate>16 Sep 2004 00:32:02</pubDate><description>What is the real use of boxing and unboxing in what situations will it be used. Since all types are utlmately dereived from object..what is the need for boxing and unboxing.....help</description><dn247:id>286419</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Create a "Service"? (12 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292700.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292700.aspx</guid><pubDate>16 Sep 2004 00:32:01</pubDate><description>I've an application in which I use to check out the date/time stamp of a data base... and if I find that it has been updated, my application runs and does a particular update. Currently I fire off my application hourly useing the built in XP Scheduler. What I am going to do is to have my application check every minute while it is running as I don't want to have to wait up to a hour for my particul...</description><dn247:id>292700</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Encryption not supported on SQL Server (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292170.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292170.aspx</guid><pubDate>16 Sep 2004 00:32:00</pubDate><description>I am facing this error after making changes to client configuration utility of SQL Server 2000: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Encryption not supported on SQL Server. [SqlExcepti...</description><dn247:id>292170</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>dynamic string (13 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292748.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292748.aspx</guid><pubDate>16 Sep 2004 00:32:00</pubDate><description>I am told that I can have a dynamic or static string array. So if I declare string[] dynamic; How do I add elements to dynamic and resize it ? Outgoing mail is certified Virus Free. Checked by AVG anti virus system (http://www.grisoft.com). Version: 6.0.752 / Virus Database: 503 Release Date: 9/3/2004 </description><dn247:id>292748</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>DataAdapter.Upadate error (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292501.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292501.aspx</guid><pubDate>16 Sep 2004 00:32:00</pubDate><description>am binding my DataGrid using a StoredProc which uses an OuterJoin query as follows: CREATE PROCEDURE spGetClientExpenses @Client ID int AS SELECT Expense Details.Exp Detail ID,Expense Details.Exp Cat ID, CASE WHEN Client Expenses.Client ID IS NULL THEN @Client ID ELSE Client Expenses.Client ID END AS Client ID,Expense Details.Description, CASE WHEN Client Expenses.CashExpenditure IS NULL THEN 0 EL...</description><dn247:id>292501</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>lashapositioning in datatables (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292370.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292370.aspx</guid><pubDate>16 Sep 2004 00:31:59</pubDate><description>hi all i have datatable with columns &amp;amp;quot;id&amp;amp;quot; and &amp;amp;quot;name&amp;amp;quot; how can i set the position of cursor to the row where &amp;amp;quot;id&amp;amp;quot; equals to, for example 5? thanks </description><dn247:id>292370</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>file I/O (15 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292497.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292497.aspx</guid><pubDate>16 Sep 2004 00:31:59</pubDate><description>Inorder to handle large files over 100 MB, is there a way in dotnet to open only certain bytes of the file by buffer ? It is shaky if the entire file is opened and splitted. Instead is there a way or any alternatives on opening small chunk of the file. </description><dn247:id>292497</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VB.net WMI Win32_NtlogEvent problem, please help (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292431.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292431.aspx</guid><pubDate>16 Sep 2004 00:31:59</pubDate><description>First I wrote some VBScript to get info from OS, and now I wrote some code in VB.Net, and I have a problem now. Look at this script in vbs List1.vbs: strComputer &amp;amp;quot;.&amp;amp;quot; Set objWMIService GetObject(&amp;amp;quot;winmgmts:\\&amp;amp;quot; &amp;amp;amp; strComputer &amp;amp;amp; &amp;amp;quot;\root\cimv2&amp;amp;quot;) strWQL &amp;amp;quot;SELECT * FROM InstanceCreationEvent WITHIN 5 WHERE TargetInstance ISA &amp;amp;quot;&amp;amp;quot;Win32 NTLogEvent&amp;amp;quot;&amp;amp;quot; &amp;amp;quot; Set objEventSource objWMIService.ExecNotificationQuery(strWQ...</description><dn247:id>292431</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>VB.Net - Is there a better way to write this code? (21 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292429.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292429.aspx</guid><pubDate>16 Sep 2004 00:31:58</pubDate><description>Hello, I would like to apologize for double posting this question because I posted this same question in what looks like the VB 6 newgroups and not the .Net newsgroup... Here goes: The code below works but I just keep looking at it and thinking that there should be some way to compact it. There are 10 ImagePages and the only difference is their name propertie. i.e. ImagePage1, ImagePage2, ImagePag...</description><dn247:id>292429</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title> (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292408.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292408.aspx</guid><pubDate>16 Sep 2004 00:31:58</pubDate><description>well i'm trying to create a control that inherits from textbox or richtextbox to make the background gradient i use the following code : CODE Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs) MyBase.OnPaint(e) Dim gbr As LinearGradientBrush New LinearGradientBrush(New Rectangle(0, 0, Me.Width, Me.Height), Color.White, Color.Blue, LinearGradientMode.Horizontal) e.Graphics.FillRectangle(gbr...</description><dn247:id>292408</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>timeout property not working (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292206.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292206.aspx</guid><pubDate>16 Sep 2004 00:31:58</pubDate><description>Hello, My .NET web app sets the following session variable in one of the code behinds: HttpContext.Current.Session(&amp;amp;quot;UserID&amp;amp;quot;) &amp;amp;quot;123&amp;amp;quot; In my web.config I have set the timeout property of the sessionState element to &amp;amp;quot;2&amp;amp;quot;. Yet when I hit the page in question after 5, 10, 30 minutes the above session variable still has a value. (A label control text is set equal to the session variable value.) What am I m...</description><dn247:id>292206</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>datagrid (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292252.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292252.aspx</guid><pubDate>16 Sep 2004 00:31:57</pubDate><description>In my vb6 app, there is a flexgrid control, mimicking the excel spreadsheet UI. Now we are preparing to move it to dot net. What is the equivalent of it? Does the native datagrid have the features? I looked through the object browser and msdn, but did not find good reference. Datagrid seems lack of the capability of binding to data cell by cell. </description><dn247:id>292252</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>class design question (11 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292440.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292440.aspx</guid><pubDate>16 Sep 2004 00:31:57</pubDate><description>Hey all, I read somewhere about the 7 2 where that's a good number of properties to have per class. What if all the fields are important? What do you do? rodchar</description><dn247:id>292440</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Convert from double to string (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292747.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292747.aspx</guid><pubDate>16 Sep 2004 00:31:56</pubDate><description>Hi, If I don't know that my (or any) windows 2k regional setting for the decimal symbol is the dot (&amp;amp;quot;.&amp;amp;quot;) and I want to do this: 1 Dim dblOutput As Double 2 Dim strInput As String 3 strInput &amp;amp;quot;123,8&amp;amp;quot; 4 dblOutput Convert.ToDouble(strInput) How can I avoid an error at line four ? And get it converted to double to have this output : 123.8 Thanks a lot! Marty</description><dn247:id>292747</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Scaling problem - font size (10 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292722.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292722.aspx</guid><pubDate>16 Sep 2004 00:31:56</pubDate><description>Hi, I have my windows display font size set to &amp;amp;quot;Large fonts&amp;amp;quot; and I've created a new project with two forms. Both of them are 600 width and 400 height. One have autoscale true and the other is false. When I run the project, the two forms shows the same size. Now I open the project (in vs.net) on a computer with windows display font size set to &amp;amp;quot;Small fonts&amp;amp;quot; and my project is screwed up. Now the wid...</description><dn247:id>292722</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Custom marshalling (11 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292677.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292677.aspx</guid><pubDate>16 Sep 2004 00:31:55</pubDate><description>Hey NG. Using .NET remoting it's possible to &amp;amp;quot;override&amp;amp;quot; the c new /c operator to return a proxy to the object in question. I'd like to use this approach to let a factory class return the reference to the newly created object instead of letting the runtime instantiate the object. Does anybody know any references for doing this? (If it's possible at all). Any feedback would be appriciated. Thanks, B...</description><dn247:id>292677</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Overriding properties and events (9 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292179.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292179.aspx</guid><pubDate>16 Sep 2004 00:31:54</pubDate><description>Is it possible for a derived class to override a property and/or event of its base class ? </description><dn247:id>292179</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Obtaining the NIC number from a PC (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292721.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292721.aspx</guid><pubDate>16 Sep 2004 00:31:54</pubDate><description>Using VB.NET How do I obtain the NIC number of a particular PC or Server. (By NIC I am refering to the unique network card ID) Thanks Tim </description><dn247:id>292721</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Help - Continuous file reading! (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292659.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292659.aspx</guid><pubDate>16 Sep 2004 00:31:53</pubDate><description>Hi everybody, Is it possible to do that in VB.NET: I have a text file that is filled with new lines of text every n seconds. This text file get very massive. I want to have my program to monitor this text file and to be able to read only the new added line when it detect that a new line has been added. I don't want to read the whole file every time, this would be high time consuming. Any idea? Tha...</description><dn247:id>292659</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>MailMessage Headers (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292380.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292380.aspx</guid><pubDate>16 Sep 2004 00:31:52</pubDate><description>I need to set up an automated email system , which means users should not be able to respond back to the emails but at the same time, we need to track bounced emails. This is important as our customers are paying for this service, so we need to track the bounced email Id's. This is the code which I have tried: MailMessage msgRequest new MailMessage(); msgRequest.BodyFormat MailFormat.Text; msgRequ...</description><dn247:id>292380</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>read back in Binaryreader (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292707.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292707.aspx</guid><pubDate>16 Sep 2004 00:31:52</pubDate><description>i saved file in binary. i saved 16 colours.. but how do i read back values into listbox? Dim st2 As Stream File.Open (&amp;amp;quot;C:\Documents and Settings\My Documents\Visual Studio Projects\VbNet\project\Write Ini File\bin\colours.dat&amp;amp;quot;, FileMode.Open, FileAccess.Read) Dim br2 As New BinaryReader(st2) Do Until br2.PeekChar 1 ListBox1.Items.Add(br2.ReadByte) this is not what i wanted ...i wanted hex values (...</description><dn247:id>292707</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Datatable issue (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292671.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292671.aspx</guid><pubDate>16 Sep 2004 00:31:51</pubDate><description>Hi all, How do I programmatically determine if a datatable already exists in a dataset? Regards John. </description><dn247:id>292671</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Inherited collection reference lost after for each loop (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292725.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292725.aspx</guid><pubDate>16 Sep 2004 00:31:50</pubDate><description>hi, I have a class that has inheritted a collectionbase class The class works fine generally, I can add items to the collection however whenever I execute a For Each loop, the dispose event is called and then inherited collection disapears. (The same problem occurs regardless of which collection type I inherit) I cannot figure this out as I still have a ref to the object that inherits the collecti...</description><dn247:id>292725</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Detecting that a program is already running (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/57/286221.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/57/286221.aspx</guid><pubDate>16 Sep 2004 00:31:50</pubDate><description>Hi Does anyone have the code or maybe give me a start on how to detect if my program is already running if someone tries to run it again while it's already running? I know I could do this with a dummy file by putting something in the file while it's running and emptying the file when it's not running, but I was hoping for something a little more professional. Has anyone done this yet? Joe</description><dn247:id>286221</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Reference going missing in Remoted Object (9 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292580.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292580.aspx</guid><pubDate>16 Sep 2004 00:31:48</pubDate><description>I have a remotable object running in my host application. The host starts up and creates the object. Within a method to start the remote object doing its thing it creates an object. This object reference is passed into another object create within the same method. A sample of remote object goes something like this: Public Sub Start() microListener New TcpClient microHub MicroControllerHub.GetInsta...</description><dn247:id>292580</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Disabled Control Background (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292615.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292615.aspx</guid><pubDate>16 Sep 2004 00:31:48</pubDate><description>Has anyone tried to control the color changes that occur when a .net control (in this case specifically, a combo box) is disabled? We are trying to limit input, yet not have the control go gray on gray when disabled (or at least be able to control the behavior). Any thoughts on this would be appreciated....Skip </description><dn247:id>292615</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>Connecting to a sql server database (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292174.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292174.aspx</guid><pubDate>16 Sep 2004 00:31:48</pubDate><description>I have a client who is trying to connect to a sql server database using asp.net and this is the error message that they get, any ideas on what is causing the error message and what the correction for this. Code they are using %@ Page Language &amp;amp;quot;VB&amp;amp;quot; Debug &amp;amp;quot;true&amp;amp;quot; % %@ Import Namespace &amp;amp;quot;System.Data&amp;amp;quot; % %@ Import Namespace &amp;amp;quot;System.Data.SqlClient&amp;amp;quot; % html body % Dim Conn As SqlConnection New SqlConnection...</description><dn247:id>292174</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>System.ComponentModel.Win32Exception...error creating window handl (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292381.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292381.aspx</guid><pubDate>16 Sep 2004 00:31:47</pubDate><description>Dear C# experts, i face a problem which let my project get stopped ..when trying to run ...i found the following exception &amp;amp;quot;An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: Error creating window handle.&amp;amp;quot; at this lines of my code private void frmMdiMain Load(object sender, System.EventArgs e) { string st ; frm.MdiPare...</description><dn247:id>292381</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to get .NET version programmatically? (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292645.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292645.aspx</guid><pubDate>16 Sep 2004 00:31:45</pubDate><description>Hi, Is there a programmatic way to get the &amp;amp;quot;general&amp;amp;quot; or &amp;amp;quot;overall&amp;amp;quot; version of a currently running instance of the Visual Studio .NET compiler? What I mean by &amp;amp;quot;general&amp;amp;quot; or &amp;amp;quot;overall&amp;amp;quot; version is, I want to programmatically get the version string that I see in the registry underneath the HKLM\SOFTWARE\Microsoft\VisualStudio key, such as &amp;amp;quot;7.0&amp;amp;quot; or &amp;amp;quot;7.1&amp;amp;quot; (for .NET 2002 or .NET 2003, respectively). My regi...</description><dn247:id>292645</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Detect hibernation (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292516.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292516.aspx</guid><pubDate>16 Sep 2004 00:31:45</pubDate><description>Anyone know if it's possible for a .NET program to detect if the system has just come out of hibernation? If so, how? :) I'm using C#. TIA</description><dn247:id>292516</dn247:id><dn247:siteId>65</dn247:siteId></item><item><title>File chunker (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292375.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292375.aspx</guid><pubDate>16 Sep 2004 00:31:44</pubDate><description>Anyone know any component or samples on how to chunk a big file (approx 20MB) to smaller files to handle memory ? The file is a text file with fixed length, doesn't have any segment seperators. </description><dn247:id>292375</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Console.Read()\ReadLine() (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292288.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292288.aspx</guid><pubDate>16 Sep 2004 00:31:44</pubDate><description>I am working on a console app and I can not find a way to &amp;amp;quot;cancel&amp;amp;quot; a Read or ReadLine. The scenario is, an employee logs in and the application presents him/her with a menu of choices they can make and an instruction &amp;amp;quot;Enter a number 1 10 and press [Enter]&amp;amp;quot;. The employee walks away from the device while still logged in. After a period of time I want to log the employee out and re prompt for a login...</description><dn247:id>292288</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Break point problem (6 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292207.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292207.aspx</guid><pubDate>16 Sep 2004 00:31:43</pubDate><description>have a main form with menu control on it. I am opening various forms on click of different menu items. Below is one the procedure I am using. I am running my app in Debug mode. Private Sub mnuSearch Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuSearch.Click Dim frm As New frmPlanMaintain frm.ShowDialog(Me) If frm.DialogResult DialogResult.OK Then 'Do something... End...</description><dn247:id>292207</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Problem with C# program on Win98 (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292223.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292223.aspx</guid><pubDate>16 Sep 2004 00:31:42</pubDate><description>I've made a simple program that reads some information from some html files and prints the result (a text) on the printer. The problem is when it tries to print the text. I've used VS Enterprise Architect (the 1st version I think) with .NET Framework v.1.0, installed on Win2000 OS. The program works just fine on the system I've created it, but if I copy it on a Win98 OS (on which I have the same v...</description><dn247:id>292223</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>System.IO.Directory / System.IO.FileInfo (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292378.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292378.aspx</guid><pubDate>16 Sep 2004 00:31:41</pubDate><description>I am working on an app that allow users to maintain documentation. It displays subdirectories and their files in a TreeView and allows users to add new subdirectories/files and delete subdirectories/files. However, its not working properly at the moment. The page loads and displays everything correctly, including the TreeView. I can add new subdirectories. But I cannot move files into the subdirec...</description><dn247:id>292378</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Using VB.Net or C#, utilizing the clipboard object, how to copy an MS Excel graphic from the clipboard to an image control and obtain its source reference (8 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/55/278403.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/55/278403.aspx</guid><pubDate>16 Sep 2004 00:31:40</pubDate><description>Hello, Here is what I'm trying to do: Make sure both MS Excel and MS Word are running Create an Excel chart Save the Excel file Copy the Excel chart onto the clipboard using Ctrl C Go to Word and look under Edit Paste Special Note there is a source reference and an option to paste the chart as a metafile, etc. I would like to take this same information and make it available in a C# or VB.Net app F...</description><dn247:id>278403</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Iterating through webservices and methods (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292262.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292262.aspx</guid><pubDate>16 Sep 2004 00:31:39</pubDate><description>(1) Is there an object that will let me iterate through the available web services and methods on a server? (2) Suppose I have a database that lists serveral web methods. How would I take a text string from a data base and translate it to instantiating a webservice? For example, say my table is ID WebService WebMethod 0 MyWebService SomeMethod Then, in my c# code, how can I say // loop through dat...</description><dn247:id>292262</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Question about writexml() (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292498.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292498.aspx</guid><pubDate>16 Sep 2004 00:31:38</pubDate><description>I have some code that I am modifying. I have a dataset and I am trying to write the XML declaration . Here is what I am doing: System.Xml.XmlTextWriter writer new System.Xml.XmlTextWrite(dlg.FileName,Encoding.UTF8); writer.Formatting Formatting.Indented; //writer.WriteRaw(&amp;amp;quot; ?xml version \&amp;amp;quot;1.0\&amp;amp;quot; encoding \&amp;amp;quot;utf 8\&amp;amp;quot; ? &amp;amp;quot;); writer.WriteStartDocument(); objPtMasterListDataSet.WriteXml(writer); writer.Wr...</description><dn247:id>292498</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Textbox updates in single-thread app (7 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292241.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292241.aspx</guid><pubDate>16 Sep 2004 00:31:38</pubDate><description>I have a C#.NET app that is (currently) single threaded. At one stage it may have to process a large amount of data, which can take a few minutes. To keep the user panic level down, the app displays updates in a TextBox that shows it is making progress. This is all fine unless the app loses focus for instance if the user switches to IE or something while the lengthy processing is going on. Once th...</description><dn247:id>292241</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>.NET Service Error 1053 (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292364.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292364.aspx</guid><pubDate>16 Sep 2004 00:31:37</pubDate><description>I am developing a service which I install and run on a number of servers. It works on most machines I have installed it on, but I always get a 1053, service will not start in a timely fashion message on one server. I have reduced the code to almost nothing so as to remove almost all the proper code. My main function looks like this static void Main() { System.ServiceProcess.ServiceBase[] ServicesT...</description><dn247:id>292364</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Resetting values in DataGrid (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292260.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292260.aspx</guid><pubDate>16 Sep 2004 00:31:37</pubDate><description>On form load my datagrid gets populated with values from database table. How can I reset values in my DataGrid to 0 on click of a button? thanks</description><dn247:id>292260</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Thread safety ? (11 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292617.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292617.aspx</guid><pubDate>16 Sep 2004 00:31:36</pubDate><description>This doubt is regarding synchronisation question in Singleton pattern code of C# I had created a class as public sealed class SecuriteManager { private static volatile SecurityManager instance; private static object syncRoot new Object(); private SecurityManager() { } public static SecurityManager GetInstance { get{ if(null instance){ lock(syncRoot){ if (instance null) instance new SecurityManager...</description><dn247:id>292617</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>BinaryReader Not Completely Reading NetworkSocket (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292690.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292690.aspx</guid><pubDate>16 Sep 2004 00:31:36</pubDate><description>I have a C# application that connects to Perl application on a UNIX server. I am able to connect and communicate both directions with the server, but there are several occasions when it appears that the BinaryReader only reads part of the message sent by the server. Here is the main flow of my application. 1. Open Socket 2. Read 4 byte integer 3. Read byte array that is the size of the integer in ...</description><dn247:id>292690</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>datalist issue (3 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/58/292719.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/58/292719.aspx</guid><pubDate>16 Sep 2004 00:31:36</pubDate><description>I have a datalist that will always return 2 records. The first record should be called &amp;amp;quot;Latest Edition&amp;amp;quot;, the second &amp;amp;quot;Previous Edition&amp;amp;quot;. How can I identify which is which in the .net code and replace have this label show up correctly. Below, I have hardcoded in &amp;amp;quot;Latest Edition&amp;amp;quot;.. asp:DataList id &amp;amp;quot;DataList1&amp;amp;quot; runat &amp;amp;quot;server&amp;amp;quot; DataSource ' %# DataBinder.Eval(DsEobNew1, &amp;amp;quot;Tables[fn3ExecBriefHome]&amp;amp;quot;) % ' Da...</description><dn247:id>292719</dn247:id><dn247:siteId>65</dn247:siteId><dn247:highlight>True</dn247:highlight></item></channel></rss>