none
Error on Starting From on Client Machine - system.invalidoperationexception RRS feed

  • Question

  • Thank you, anyone who can shed some light on this.  

    I have a VB 2008 app that has been running fine.  I added a number of modifications to it, but almost all in other forms that are loaded only when requested by the user, but a lot of changes overall.  

    This, of course, works fine on my development machine, but on deployment it fails with this error before any line of code is reached, the form never loads.  And incidentally, fails on an XP and Win 7 machine, with the same error.  

    Here is the error

    P1 massarellioutboundorders.exe, 
    P2 1.0.0.0, 
    P3 4f4c3078, 
    P4 massarellioutboundorders, 
    P5 1.0.0.0, 
    P6 4f4c3078, 
    P7 1a, 
    P8 e9, 
    P9 system.invalidoperationexception, 
    P10 NIL.

    I loaded ILDASM and it shows the error is occurring in massarellioutboundorders.exe,   And P7 1a appears to be the form being created.  I've stripped out as many of the changes as I can see that were added in an attempt to bring it back to where it was working, to no avail

    Any suggestions on how I might troubleshoot this error, or a better way to debug it as I'm starting to run out of ideas.  

    Below is the P1 1a section of the IL code dump, if that is of any help   

    Thanks for any suggestions on this, Tim Conway

    .method /*0600001A*/ private static !!T 

                Create__Instance__<.ctor ([System.Windows.Forms/*23000003*/]System.Windows.Forms.Form/*01000007*/) T>(!!T Instance) cil managed
        {
          .custom /*0C000051:0A000012*/ instance void [mscorlib/*23000001*/]System.Diagnostics.DebuggerHiddenAttribute/*0100006E*/::.ctor() /* 0A000012 */ = ( 01 00 00 00 ) 
          // Code size       275 (0x113)
          .maxstack  4
          .locals /*11000015*/ init ([0] !!T Create__Instance__,
                   [1] string BetterMessage,
                   [2] class [mscorlib/*23000001*/]System.Reflection.TargetInvocationException/*01000075*/ ex,
                   [3] string[] VB$t_array$S0,
                   [4] bool VB$CG$t_bool$S0,
                   [5] bool VB$CG$t_bool$S1,
                   [6] bool VB$CG$t_bool$S2)
          .line 176,176 : 13,130 ''
          IL_0000:  nop
          .line 177,177 : 17,71 ''
          IL_0001:  ldarg.0
          IL_0002:  box        !!T/*1B000001*/
          IL_0007:  brfalse.s  IL_001b


          IL_0009:  ldarga.s   Instance
          IL_000b:  constrained. !!T/*1B000001*/
          IL_0011:  callvirt   instance bool [System.Windows.Forms/*23000003*/]System.Windows.Forms.Control/*01000076*/::get_IsDisposed() /* 0A000024 */
          IL_0016:  brtrue.s   IL_001b


          IL_0018:  ldc.i4.0
          IL_0019:  br.s       IL_001c


          IL_001b:  ldc.i4.1
          IL_001c:  stloc.s    VB$CG$t_bool$S0
          .line 16707566,16707566 : 1,2 ''
          IL_001e:  ldloc.s    VB$CG$t_bool$S0
          IL_0020:  brfalse    IL_010b


          .line 178,178 : 21,61 ''
          IL_0025:  ldsfld     class [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/ MassarelliOutBoundOrders.My.MyProject/*02000004*//MyForms/*02000005*/::m_FormBeingCreated /* 0400000E */
          IL_002a:  ldnull
          IL_002b:  ceq
          IL_002d:  ldc.i4.0
          IL_002e:  ceq
          IL_0030:  stloc.s    VB$CG$t_bool$S1
          .line 16707566,16707566 : 1,2 ''
          IL_0032:  ldloc.s    VB$CG$t_bool$S1
          IL_0034:  brfalse.s  IL_0069


          .line 179,179 : 25,82 ''
          IL_0036:  ldsfld     class [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/ MassarelliOutBoundOrders.My.MyProject/*02000004*//MyForms/*02000005*/::m_FormBeingCreated /* 0400000E */
          IL_003b:  ldtoken    !!T/*1B000001*/
          IL_0040:  call       class [mscorlib/*23000001*/]System.Type/*01000009*/ [mscorlib/*23000001*/]System.Type/*01000009*/::GetTypeFromHandle(valuetype [mscorlib/*23000001*/]System.RuntimeTypeHandle/*01000077*/) /* 0A000025 */
          IL_0045:  callvirt   instance bool [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/::ContainsKey(object) /* 0A000026 */
          IL_004a:  stloc.s    VB$CG$t_bool$S2
          .line 16707566,16707566 : 1,2 ''
          IL_004c:  ldloc.s    VB$CG$t_bool$S2
          IL_004e:  brfalse.s  IL_0066


          .line 180,180 : 29,181 ''
          IL_0050:  ldstr      "WinForms_RecursiveFormCreate" /* 70000049 */
          IL_0055:  ldc.i4.0
          IL_0056:  newarr     [mscorlib/*23000001*/]System.String/*01000078*/
          IL_005b:  call       string [Microsoft.VisualBasic/*23000002*/]Microsoft.VisualBasic.CompilerServices.Utils/*01000079*/::GetResourceString(string,
                                                                                                                                                     string[]) /* 0A000027 */
          IL_0060:  newobj     instance void [mscorlib/*23000001*/]System.InvalidOperationException/*0100007A*/::.ctor(string) /* 0A000028 */
          IL_0065:  throw


          .line 181,181 : 25,31 ''
          IL_0066:  nop
          IL_0067:  br.s       IL_0074


          .line 182,182 : 21,25 ''
          IL_0069:  nop
          .line 183,183 : 25,87 ''
          IL_006a:  newobj     instance void [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/::.ctor() /* 0A000029 */
          IL_006f:  stsfld     class [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/ MassarelliOutBoundOrders.My.MyProject/*02000004*//MyForms/*02000005*/::m_FormBeingCreated /* 0400000E */
          .line 184,184 : 21,27 ''
          IL_0074:  nop
          .line 185,185 : 21,64 ''
          IL_0075:  ldsfld     class [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/ MassarelliOutBoundOrders.My.MyProject/*02000004*//MyForms/*02000005*/::m_FormBeingCreated /* 0400000E */
          IL_007a:  ldtoken    !!T/*1B000001*/
          IL_007f:  call       class [mscorlib/*23000001*/]System.Type/*01000009*/ [mscorlib/*23000001*/]System.Type/*01000009*/::GetTypeFromHandle(valuetype [mscorlib/*23000001*/]System.RuntimeTypeHandle/*01000077*/) /* 0A000025 */
          IL_0084:  ldnull
          IL_0085:  callvirt   instance void [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/::Add(object,
                                                                                                                 object) /* 0A00002A */
          IL_008a:  nop
          .line 186,186 : 21,24 ''
          IL_008b:  nop
          .line 187,187 : 25,39 ''
          .try
          {
            .try
            {
              IL_008c:  call       !!0 [mscorlib/*23000001*/]System.Activator/*0100007B*/::CreateInstance<!!0>() /* 2B00000F */
              IL_0091:  stloc.0
              .line 16707566,16707566 : 1,2 ''
              IL_0092:  leave.s    IL_0111


              IL_0094:  leave.s    IL_0108


            }  // end .try
            filter
            {
              IL_0096:  isinst     [mscorlib/*23000001*/]System.Reflection.TargetInvocationException/*01000075*/
              IL_009b:  dup
              IL_009c:  brtrue.s   IL_00a2


              IL_009e:  pop
              IL_009f:  ldc.i4.0
              IL_00a0:  br.s       IL_00b8


              IL_00a2:  dup
              IL_00a3:  stloc.2
              IL_00a4:  call       void [Microsoft.VisualBasic/*23000002*/]Microsoft.VisualBasic.CompilerServices.ProjectData/*0100007C*/::SetProjectError(class [mscorlib/*23000001*/]System.Exception/*0100007D*/) /* 0A00002C */
              .line 188,188 : 21,120 ''
              IL_00a9:  ldloc.2
              IL_00aa:  callvirt   instance class [mscorlib/*23000001*/]System.Exception/*0100007D*/ [mscorlib/*23000001*/]System.Exception/*0100007D*/::get_InnerException() /* 0A00002D */
              IL_00af:  ldnull
              IL_00b0:  ceq
              IL_00b2:  ldc.i4.0
              IL_00b3:  ceq
              IL_00b5:  ldc.i4.0
              IL_00b6:  cgt.un
              .line 16707566,16707566 : 1,2 ''
              IL_00b8:  endfilter
            }  // end filter
            {  // handler
              IL_00ba:  pop
              .line 189,189 : 29,181 ''
              IL_00bb:  ldstr      "WinForms_SeeInnerException" /* 70000083 */
              IL_00c0:  ldc.i4.1
              IL_00c1:  newarr     [mscorlib/*23000001*/]System.String/*01000078*/
              IL_00c6:  stloc.3
              IL_00c7:  ldloc.3
              IL_00c8:  ldc.i4.0
              IL_00c9:  ldloc.2
              IL_00ca:  callvirt   instance class [mscorlib/*23000001*/]System.Exception/*0100007D*/ [mscorlib/*23000001*/]System.Exception/*0100007D*/::get_InnerException() /* 0A00002D */
              IL_00cf:  callvirt   instance string [mscorlib/*23000001*/]System.Exception/*0100007D*/::get_Message() /* 0A00002E */
              IL_00d4:  stelem.ref
              IL_00d5:  nop
              IL_00d6:  ldloc.3
              IL_00d7:  call       string [Microsoft.VisualBasic/*23000002*/]Microsoft.VisualBasic.CompilerServices.Utils/*01000079*/::GetResourceString(string,
                                                                                                                                                         string[]) /* 0A000027 */
              IL_00dc:  stloc.1
              .line 190,190 : 25,108 ''
              IL_00dd:  ldloc.1
              IL_00de:  ldloc.2
              IL_00df:  callvirt   instance class [mscorlib/*23000001*/]System.Exception/*0100007D*/ [mscorlib/*23000001*/]System.Exception/*0100007D*/::get_InnerException() /* 0A00002D */
              IL_00e4:  newobj     instance void [mscorlib/*23000001*/]System.InvalidOperationException/*0100007A*/::.ctor(string,
                                                                                                                           class [mscorlib/*23000001*/]System.Exception/*0100007D*/) /* 0A00002F */
              IL_00e9:  throw


              IL_00ea:  call       void [Microsoft.VisualBasic/*23000002*/]Microsoft.VisualBasic.CompilerServices.ProjectData/*0100007C*/::ClearProjectError() /* 0A000030 */
              IL_00ef:  leave.s    IL_0108


              .line 191,191 : 21,28 ''
            }  // end handler
          }  // end .try
          finally
          {
            IL_00f1:  nop
            .line 192,192 : 25,62 ''
            IL_00f2:  ldsfld     class [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/ MassarelliOutBoundOrders.My.MyProject/*02000004*//MyForms/*02000005*/::m_FormBeingCreated /* 0400000E */
            IL_00f7:  ldtoken    !!T/*1B000001*/
            IL_00fc:  call       class [mscorlib/*23000001*/]System.Type/*01000009*/ [mscorlib/*23000001*/]System.Type/*01000009*/::GetTypeFromHandle(valuetype [mscorlib/*23000001*/]System.RuntimeTypeHandle/*01000077*/) /* 0A000025 */
            IL_0101:  callvirt   instance void [mscorlib/*23000001*/]System.Collections.Hashtable/*01000008*/::Remove(object) /* 0A000031 */
            IL_0106:  nop
            .line 16707566,16707566 : 1,2 ''
            IL_0107:  endfinally
            .line 193,193 : 21,28 ''
          }  // end handler
          IL_0108:  nop
          IL_0109:  br.s       IL_0110


          .line 194,194 : 17,21 ''
          IL_010b:  nop
          .line 195,195 : 21,36 ''
          IL_010c:  ldarg.0
          IL_010d:  stloc.0
          IL_010e:  br.s       IL_0111


          .line 196,196 : 17,23 ''
          IL_0110:  nop
          .line 197,197 : 13,25 ''
          IL_0111:  ldloc.0
          IL_0112:  ret
        } // end of method MyForms::Create__Instance__

    • Moved by Mark Liu-lxf Wednesday, February 29, 2012 2:20 AM CLR (From:Visual Basic General)
    Tuesday, February 28, 2012 3:34 AM

Answers

  • Thanks Rocky, and thanks everyone for your help.  

    Yes, I did take out the StepThrough, but running the executable on the client machine message boxes are ignored, unless there is some other way.  

    In any event, it is fixed.  The problem?

    ______________________________ 

    ...yes, a system.drawing.line.  A line???? On the form???? That was it???

    Yes.  Why, I don't know but I'm just glad it's over.  But I do wish there was some way to spot this with debugging.  

    So, if you have this problem, your project worked previously, and you added controls here is what I did.  

    Start with F11 and put a message box before and after InitializeComponent.  If it hits the first but not the second, then right click InitializeComponent and Go To Definition.  You can look, but unless there is something glaringly obvious, there will not be much you can do.  Don't change the code here, but something in this section is causing the problem.  Then make a copy of your project and start removing components one or two at a time.  Test, and repeat until you hit the component that is causing the problem.  Once you've found it, copy your backup, overwrite the one you are working on and remove that one component.  

    Hope this helps someone.  


    Tim Conway


    • Marked as answer by tconway Thursday, March 1, 2012 3:24 AM
    • Edited by tconway Thursday, March 1, 2012 3:24 AM
    Thursday, March 1, 2012 3:23 AM

All replies

  • Did you know that this is a VB forum, we look at errors in VB code and then ILS can help. 

    It is not that we try first to build VB code from ILS. 

    So show the code which created this ILS part, mostly most of us can see from our experience the flaws in programs.


    Success
    Cor

    Tuesday, February 28, 2012 7:25 AM
  • Thanks Cor for responding.  The problem is it never reaches any VB Code.  I put message boxes starting from the first line it hits, it never gets that far, it crashes before that.  But you are probably right, I should post elsewhere, perhaps CLR.  But if anyone has had a similar experience and found a solution, I'm open to try anything.  I did try several of the solutions here with the same problem, but no success. 

    Thanks

    Tim 

    Tuesday, February 28, 2012 11:08 PM
  • Still working on this.  The error is in InitializeComponent.  Is there any way to debug the code here.  It works on my Dev Environment, but is there a way to put msgboxes or something to isolate the problem.  The next 4 posts are the initialize component.  Boy, if anyone can help, it's going on 4 days...

    Here is what is initialized on the form 

       Private Sub InitializeComponent()
            Me.components = New System.ComponentModel.Container
            Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(MassarelliOutBound))
            Me.OutBoundObjDataGridView = New System.Windows.Forms.DataGridView
            Me.Company = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.SalesPersonNo = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.SalesPersonName = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.SalesRepGroup = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.Freight = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.SalesAmt = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipViaDesc = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipDate = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.Terms = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.OrderNumber = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.PONumber = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToNo = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToName = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToAddr1 = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToAddr2 = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToCity = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToState = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.BillToZip = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToNo = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToName = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToAddr1 = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToAddr2 = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToCity = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToState = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShipToZip = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.Qty = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ItemNo = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ItemDescription = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.UOM = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.Finish = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.UnitPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ExtendedPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.Discount = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.ShippingInstruction = New System.Windows.Forms.DataGridViewTextBoxColumn
            Me.OutBoundObjBindingSource = New System.Windows.Forms.BindingSource(Me.components)
            Me.Mas500Toolbar = New System.Windows.Forms.ToolStrip
            Me.btnExit = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator
            Me.btnGetData = New System.Windows.Forms.ToolStripButton
            Me.ExelExportToolStripButton = New System.Windows.Forms.ToolStripDropDownButton
            Me.ExcelExportOnlyToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
            Me.FTPToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
            Me.RepsRepGroupToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
            Me.CustomerToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
            Me.btnExcelExport = New System.Windows.Forms.ToolStripButton
            Me.btnSave = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator
            Me.ToolStripSeparator6 = New System.Windows.Forms.ToolStripSeparator
            Me.btnClear = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator5 = New System.Windows.Forms.ToolStripSeparator
            Me.btnSettings = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator
            Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator7 = New System.Windows.Forms.ToolStripSeparator
            Me.ButtonExcelAndSave = New System.Windows.Forms.ToolStripButton
            Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator
            Me.ToolStripButtonFTP = New System.Windows.Forms.ToolStripButton
            Me.GroupBox1 = New System.Windows.Forms.GroupBox
            Me.Label8 = New System.Windows.Forms.Label
            Me.pboxReps = New System.Windows.Forms.PictureBox
            Me.PictureBoxRefresh = New System.Windows.Forms.PictureBox
            Me.GroupBox6 = New System.Windows.Forms.GroupBox
            Me.ComboBoxColumnPresets = New System.Windows.Forms.ComboBox
            Me.ButtonMaintaincolumnpresets = New System.Windows.Forms.Button
            Me.ListViewPreset = New System.Windows.Forms.ListView
            Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader
            Me.ListViewSalesRepList = New System.Windows.Forms.ListView
            Me.ColumnHeaderRepName = New System.Windows.Forms.ColumnHeader
            Me.ColumnHeaderRepNumber = New System.Windows.Forms.ColumnHeader
            Me.Label7 = New System.Windows.Forms.Label
            Me.RadioButtonHistory = New System.Windows.Forms.RadioButton
            Me.RadioButtonPending = New System.Windows.Forms.RadioButton
            Me.Label6 = New System.Windows.Forms.Label
            Me.ButtonClearAllCriteria = New System.Windows.Forms.Button
            Me.ButtonGetData = New System.Windows.Forms.Button
            Me.ComboBoxRepGroup = New System.Windows.Forms.ComboBox
            Me.PictureBoxEndDate = New System.Windows.Forms.PictureBox
            Me.TextBoxEndDate = New System.Windows.Forms.TextBox
            Me.PictureBoxCalendarStart = New System.Windows.Forms.PictureBox
            Me.TextBoxStartDate = New System.Windows.Forms.TextBox
            Me.Label2 = New System.Windows.Forms.Label
            Me.Label1 = New System.Windows.Forms.Label
            Me.ShapeContainer1 = New Microsoft.VisualBasic.PowerPacks.ShapeContainer
            Me.LineShape2 = New Microsoft.VisualBasic.PowerPacks.LineShape
            Me.GroupBox2 = New System.Windows.Forms.GroupBox
            Me.Label5 = New System.Windows.Forms.Label
            Me.TextBoxInvoice = New System.Windows.Forms.TextBox
            Me.Label4 = New System.Windows.Forms.Label
            Me.Label3 = New System.Windows.Forms.Label
            Me.TextBoxOrderNo = New System.Windows.Forms.TextBox
            Me.TextBoxCustomerNo = New System.Windows.Forms.TextBox
            Me.PanelCalendar = New System.Windows.Forms.Panel
            Me.PictureBoxExitCalendar = New System.Windows.Forms.PictureBox
            Me.MonthCalendarDate = New System.Windows.Forms.MonthCalendar
            Me.GroupBox5 = New System.Windows.Forms.GroupBox
            Me.ButtonRemoveFilter = New System.Windows.Forms.Button
            Me.ButtonApplyFilter = New System.Windows.Forms.Button
            Me.TextBox1 = New System.Windows.Forms.TextBox
            Me.SearchPropertyValueTextBox = New System.Windows.Forms.TextBox
            Me.MassarelliOutBoundUtilitesBindingSource = New System.Windows.Forms.BindingSource(Me.components)
            Me.SearchPropertyNameTextBox = New System.Windows.Forms.TextBox
            Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog
            Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog
            Me.ContextMenuStripColumns = New System.Windows.Forms.ContextMenuStrip(Me.components)
            Me.ImageListOutBoundOrders = New System.Windows.Forms.ImageList(Me.components)
            Me.CheckBoxRepGroup = New System.Windows.Forms.CheckBox
            Me.PanelRepGroup = New System.Windows.Forms.Panel
            Me.BindingSourceGridColumnDefinition = New System.Windows.Forms.BindingSource(Me.components)
            Me.BindingSourceSalesRepList = New System.Windows.Forms.BindingSource(Me.components)
            CType(Me.OutBoundObjDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.OutBoundObjBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.Mas500Toolbar.SuspendLayout()
            Me.GroupBox1.SuspendLayout()
            CType(Me.pboxReps, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBoxRefresh, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox6.SuspendLayout()
            CType(Me.PictureBoxEndDate, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.PictureBoxCalendarStart, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox2.SuspendLayout()
            Me.PanelCalendar.SuspendLayout()
            CType(Me.PictureBoxExitCalendar, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.GroupBox5.SuspendLayout()
            CType(Me.MassarelliOutBoundUtilitesBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.PanelRepGroup.SuspendLayout()
            CType(Me.BindingSourceGridColumnDefinition, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.BindingSourceSalesRepList, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.SuspendLayout()
            '
            'OutBoundObjDataGridView
            '
            Me.OutBoundObjDataGridView.AllowDrop = True
            Me.OutBoundObjDataGridView.AllowUserToAddRows = False
            Me.OutBoundObjDataGridView.AllowUserToOrderColumns = True
            Me.OutBoundObjDataGridView.AllowUserToResizeRows = False
            Me.OutBoundObjDataGridView.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                        Or System.Windows.Forms.AnchorStyles.Left) _
                        Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.OutBoundObjDataGridView.AutoGenerateColumns = False
            DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter
            DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control
            DataGridViewCellStyle1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText
            DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
            DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
            DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
            Me.OutBoundObjDataGridView.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
            Me.OutBoundObjDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing
            Me.OutBoundObjDataGridView.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Company, Me.SalesPersonNo, Me.SalesPersonName, Me.SalesRepGroup, Me.Freight, Me.SalesAmt, Me.ShipViaDesc, Me.ShipDate, Me.Terms, Me.OrderNumber, Me.PONumber, Me.BillToNo, Me.BillToName, Me.BillToAddr1, Me.BillToAddr2, Me.BillToCity, Me.BillToState, Me.BillToZip, Me.ShipToNo, Me.ShipToName, Me.ShipToAddr1, Me.ShipToAddr2, Me.ShipToCity, Me.ShipToState, Me.ShipToZip, Me.Qty, Me.ItemNo, Me.ItemDescription, Me.UOM, Me.Finish, Me.UnitPrice, Me.ExtendedPrice, Me.Discount, Me.ShippingInstruction})
            Me.OutBoundObjDataGridView.DataSource = Me.OutBoundObjBindingSource
            Me.OutBoundObjDataGridView.Location = New System.Drawing.Point(9, 161)
            Me.OutBoundObjDataGridView.Name = "OutBoundObjDataGridView"
            DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
            DataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control
            DataGridViewCellStyle8.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            DataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText
            DataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight
            DataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText
            DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
            Me.OutBoundObjDataGridView.RowHeadersDefaultCellStyle = DataGridViewCellStyle8
            Me.OutBoundObjDataGridView.RowHeadersVisible = False
            Me.OutBoundObjDataGridView.Size = New System.Drawing.Size(1026, 367)
            Me.OutBoundObjDataGridView.TabIndex = 1
     

    Tim Conway


    • Edited by tconway Thursday, March 1, 2012 1:41 AM
    Thursday, March 1, 2012 1:36 AM
  •        '
            'Company
            '
            Me.Company.DataPropertyName = "Company"
            Me.Company.HeaderText = "Company"
            Me.Company.Name = "Company"
            '
            'SalesPersonNo
            '
            Me.SalesPersonNo.DataPropertyName = "SalesPersonNo"
            Me.SalesPersonNo.HeaderText = "SalesPersonNo"
            Me.SalesPersonNo.Name = "SalesPersonNo"
            '
            'SalesPersonName
            '
            Me.SalesPersonName.DataPropertyName = "SalesPersonName"
            Me.SalesPersonName.HeaderText = "SalesPersonName"
            Me.SalesPersonName.Name = "SalesPersonName"
            '
            'SalesRepGroup
            '
            Me.SalesRepGroup.DataPropertyName = "SalesRepGroup"
            Me.SalesRepGroup.HeaderText = "SalesRepGroup"
            Me.SalesRepGroup.Name = "SalesRepGroup"
            '
            'Freight
            '
            Me.Freight.DataPropertyName = "Freight"
            DataGridViewCellStyle2.Format = "N2"
            DataGridViewCellStyle2.NullValue = Nothing
            Me.Freight.DefaultCellStyle = DataGridViewCellStyle2
            Me.Freight.HeaderText = "Freight"
            Me.Freight.Name = "Freight"
            '
            'SalesAmt
            '
            Me.SalesAmt.DataPropertyName = "SalesAmt"
            DataGridViewCellStyle3.Format = "N2"
            Me.SalesAmt.DefaultCellStyle = DataGridViewCellStyle3
            Me.SalesAmt.HeaderText = "SalesAmt"
            Me.SalesAmt.Name = "SalesAmt"
            '
            'ShipViaDesc
            '
            Me.ShipViaDesc.DataPropertyName = "ShipViaDesc"
            Me.ShipViaDesc.HeaderText = "ShipViaDesc"
            Me.ShipViaDesc.Name = "ShipViaDesc"
            '
            'ShipDate
            '
            Me.ShipDate.DataPropertyName = "ShipDate"
            Me.ShipDate.HeaderText = "ShipDate"
            Me.ShipDate.Name = "ShipDate"
            '
            'Terms
            '
            Me.Terms.DataPropertyName = "Terms"
            Me.Terms.HeaderText = "Terms"
            Me.Terms.Name = "Terms"
            '
            'OrderNumber
            '
            Me.OrderNumber.DataPropertyName = "OrderNumber"
            Me.OrderNumber.HeaderText = "OrderNumber"
            Me.OrderNumber.Name = "OrderNumber"
            '
            'PONumber
            '
            Me.PONumber.DataPropertyName = "PONumber"
            Me.PONumber.HeaderText = "PONumber"
            Me.PONumber.Name = "PONumber"
            '
            'BillToNo
            '
            Me.BillToNo.DataPropertyName = "BillToNo"
            Me.BillToNo.HeaderText = "BillToNo"
            Me.BillToNo.Name = "BillToNo"
            '
            'BillToName
            '
            Me.BillToName.DataPropertyName = "BillToName"
            Me.BillToName.HeaderText = "BillToName"
            Me.BillToName.Name = "BillToName"
            '
            'BillToAddr1
            '
            Me.BillToAddr1.DataPropertyName = "BillToAddr1"
            Me.BillToAddr1.HeaderText = "BillToAddr1"
            Me.BillToAddr1.Name = "BillToAddr1"
            '
            'BillToAddr2
            '
            Me.BillToAddr2.DataPropertyName = "BillToAddr2"
            Me.BillToAddr2.HeaderText = "BillToAddr2"
            Me.BillToAddr2.Name = "BillToAddr2"
            '
            'BillToCity
            '
            Me.BillToCity.DataPropertyName = "BillToCity"
            Me.BillToCity.HeaderText = "BillToCity"
            Me.BillToCity.Name = "BillToCity"
            '
            'BillToState
            '
            Me.BillToState.DataPropertyName = "BillToState"
            Me.BillToState.HeaderText = "BillToState"
            Me.BillToState.Name = "BillToState"
            '
            'BillToZip
            '
            Me.BillToZip.DataPropertyName = "BillToZip"
            Me.BillToZip.HeaderText = "BillToZip"
            Me.BillToZip.Name = "BillToZip"
            '
            'ShipToNo
            '
            Me.ShipToNo.DataPropertyName = "ShipToNo"
            Me.ShipToNo.HeaderText = "ShipToNo"
            Me.ShipToNo.Name = "ShipToNo"
            '
            'ShipToName
            '
            Me.ShipToName.DataPropertyName = "ShipToName"
            Me.ShipToName.HeaderText = "ShipToName"
            Me.ShipToName.Name = "ShipToName"
            '
            'ShipToAddr1
            '
            Me.ShipToAddr1.DataPropertyName = "ShipToAddr1"
            Me.ShipToAddr1.HeaderText = "ShipToAddr1"
            Me.ShipToAddr1.Name = "ShipToAddr1"
            '
            'ShipToAddr2
            '
            Me.ShipToAddr2.DataPropertyName = "ShipToAddr2"
            Me.ShipToAddr2.HeaderText = "ShipToAddr2"
            Me.ShipToAddr2.Name = "ShipToAddr2"
            '
            'ShipToCity
            '
            Me.ShipToCity.DataPropertyName = "ShipToCity"
            Me.ShipToCity.HeaderText = "ShipToCity"
            Me.ShipToCity.Name = "ShipToCity"
            '
            'ShipToState
            '
            Me.ShipToState.DataPropertyName = "ShipToState"
            Me.ShipToState.HeaderText = "ShipToState"
            Me.ShipToState.Name = "ShipToState"
            '
            'ShipToZip
            '
            Me.ShipToZip.DataPropertyName = "ShipToZip"
            Me.ShipToZip.HeaderText = "ShipToZip"
            Me.ShipToZip.Name = "ShipToZip"
            '
            'Qty
            '
            Me.Qty.DataPropertyName = "Qty"
            DataGridViewCellStyle4.Format = "N0"
            DataGridViewCellStyle4.NullValue = Nothing
            Me.Qty.DefaultCellStyle = DataGridViewCellStyle4
            Me.Qty.HeaderText = "Qty"
            Me.Qty.Name = "Qty"
            '
            'ItemNo
            '
            Me.ItemNo.DataPropertyName = "ItemNo"
            Me.ItemNo.HeaderText = "ItemNo"
            Me.ItemNo.Name = "ItemNo"
            '
            'ItemDescription
            '
            Me.ItemDescription.DataPropertyName = "ItemDescription"
            Me.ItemDescription.HeaderText = "ItemDescription"
            Me.ItemDescription.Name = "ItemDescription"
            '
            'UOM
            '
            Me.UOM.DataPropertyName = "UOM"
            Me.UOM.HeaderText = "UOM"
            Me.UOM.Name = "UOM"
            '
            'Finish
            '
            Me.Finish.DataPropertyName = "Finish"
            Me.Finish.HeaderText = "Finish"
            Me.Finish.Name = "Finish"
            '
            'UnitPrice
            '
            Me.UnitPrice.DataPropertyName = "UnitPrice"
            DataGridViewCellStyle5.Format = "N2"
            Me.UnitPrice.DefaultCellStyle = DataGridViewCellStyle5
            Me.UnitPrice.HeaderText = "UnitPrice"
            Me.UnitPrice.Name = "UnitPrice"
            '
            'ExtendedPrice
            '
            Me.ExtendedPrice.DataPropertyName = "ExtendedPrice"
            DataGridViewCellStyle6.Format = "N2"
            Me.ExtendedPrice.DefaultCellStyle = DataGridViewCellStyle6
            Me.ExtendedPrice.HeaderText = "ExtendedPrice"
            Me.ExtendedPrice.Name = "ExtendedPrice"
            '
            'Discount
            '
            Me.Discount.DataPropertyName = "Discount"
            DataGridViewCellStyle7.Format = "P"
            DataGridViewCellStyle7.NullValue = "Null"
            Me.Discount.DefaultCellStyle = DataGridViewCellStyle7
            Me.Discount.HeaderText = "Discount"
            Me.Discount.Name = "Discount"
            '
            'ShippingInstruction
            '
            Me.ShippingInstruction.DataPropertyName = "ShippingInstruction"
            Me.ShippingInstruction.HeaderText = "ShippingInstruction"
            Me.ShippingInstruction.Name = "ShippingInstruction"
            '
            'OutBoundObjBindingSource
            '
            Me.OutBoundObjBindingSource.DataSource = GetType(BOOutBoundOrders.OutBoundObj)


    Tim Conway

    Thursday, March 1, 2012 1:37 AM
  •         '
            'Mas500Toolbar
            '
            Me.Mas500Toolbar.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden
            Me.Mas500Toolbar.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.btnExit, Me.ToolStripSeparator2, Me.btnGetData, Me.ExelExportToolStripButton, Me.btnExcelExport, Me.btnSave, Me.ToolStripSeparator4, Me.ToolStripSeparator6, Me.btnClear, Me.ToolStripSeparator5, Me.btnSettings, Me.ToolStripSeparator3, Me.ToolStripButton1, Me.ToolStripSeparator7, Me.ButtonExcelAndSave, Me.ToolStripSeparator1, Me.ToolStripButtonFTP})
            Me.Mas500Toolbar.Location = New System.Drawing.Point(0, 0)
            Me.Mas500Toolbar.Name = "Mas500Toolbar"
            Me.Mas500Toolbar.RenderMode = System.Windows.Forms.ToolStripRenderMode.System
            Me.Mas500Toolbar.Size = New System.Drawing.Size(1044, 25)
            Me.Mas500Toolbar.TabIndex = 110
            Me.Mas500Toolbar.Text = "Mas500Toolbar"
            '
            'btnExit
            '
            Me.btnExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnExit.Image = CType(resources.GetObject("btnExit.Image"), System.Drawing.Image)
            Me.btnExit.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnExit.Name = "btnExit"
            Me.btnExit.Size = New System.Drawing.Size(23, 22)
            Me.btnExit.Text = "Exit"
            Me.btnExit.ToolTipText = "Exit"
            '
            'ToolStripSeparator2
            '
            Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
            Me.ToolStripSeparator2.Size = New System.Drawing.Size(6, 25)
            '
            'btnGetData
            '
            Me.btnGetData.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnGetData.Image = CType(resources.GetObject("btnGetData.Image"), System.Drawing.Image)
            Me.btnGetData.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnGetData.Name = "btnGetData"
            Me.btnGetData.Size = New System.Drawing.Size(23, 22)
            Me.btnGetData.Text = "Get Data"
            Me.btnGetData.ToolTipText = "Get Data"
            '
            'ExelExportToolStripButton
            '
            Me.ExelExportToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.ExelExportToolStripButton.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ExcelExportOnlyToolStripMenuItem, Me.FTPToolStripMenuItem, Me.RepsRepGroupToolStripMenuItem, Me.CustomerToolStripMenuItem})
            Me.ExelExportToolStripButton.Enabled = False
            Me.ExelExportToolStripButton.Image = CType(resources.GetObject("ExelExportToolStripButton.Image"), System.Drawing.Image)
            Me.ExelExportToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.ExelExportToolStripButton.Name = "ExelExportToolStripButton"
            Me.ExelExportToolStripButton.Size = New System.Drawing.Size(29, 22)
            Me.ExelExportToolStripButton.Text = "Send Email with Excel Attachment"
            '
            'ExcelExportOnlyToolStripMenuItem
            '
            Me.ExcelExportOnlyToolStripMenuItem.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Excel_16x16
            Me.ExcelExportOnlyToolStripMenuItem.Name = "ExcelExportOnlyToolStripMenuItem"
            Me.ExcelExportOnlyToolStripMenuItem.Size = New System.Drawing.Size(191, 22)
            Me.ExcelExportOnlyToolStripMenuItem.Text = "Export Only"
            '
            'FTPToolStripMenuItem
            '
            Me.FTPToolStripMenuItem.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.FTPExcel
            Me.FTPToolStripMenuItem.Name = "FTPToolStripMenuItem"
            Me.FTPToolStripMenuItem.Size = New System.Drawing.Size(191, 22)
            Me.FTPToolStripMenuItem.Text = "FTP "
            '
            'RepsRepGroupToolStripMenuItem
            '
            Me.RepsRepGroupToolStripMenuItem.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Excel_Email_02
            Me.RepsRepGroupToolStripMenuItem.Name = "RepsRepGroupToolStripMenuItem"
            Me.RepsRepGroupToolStripMenuItem.Size = New System.Drawing.Size(191, 22)
            Me.RepsRepGroupToolStripMenuItem.Text = "Email Reps/Rep Group"
            '
            'CustomerToolStripMenuItem
            '
            Me.CustomerToolStripMenuItem.Enabled = False
            Me.CustomerToolStripMenuItem.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Excel_Email_02
            Me.CustomerToolStripMenuItem.Name = "CustomerToolStripMenuItem"
            Me.CustomerToolStripMenuItem.Size = New System.Drawing.Size(191, 22)
            Me.CustomerToolStripMenuItem.Text = "Email Customer"
            '
            'btnExcelExport
            '
            Me.btnExcelExport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnExcelExport.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Excel_16x16
            Me.btnExcelExport.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnExcelExport.Name = "btnExcelExport"
            Me.btnExcelExport.Size = New System.Drawing.Size(23, 22)
            Me.btnExcelExport.Text = "Excel Export"
            Me.btnExcelExport.ToolTipText = "Basic Excel Export"
            Me.btnExcelExport.Visible = False
            '
            'btnSave
            '
            Me.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnSave.Image = CType(resources.GetObject("btnSave.Image"), System.Drawing.Image)
            Me.btnSave.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnSave.Name = "btnSave"
            Me.btnSave.Size = New System.Drawing.Size(23, 22)
            Me.btnSave.Text = "Save"
            Me.btnSave.ToolTipText = "Save"
            Me.btnSave.Visible = False
            '
            'ToolStripSeparator4
            '
            Me.ToolStripSeparator4.Name = "ToolStripSeparator4"
            Me.ToolStripSeparator4.Size = New System.Drawing.Size(6, 25)
            Me.ToolStripSeparator4.Visible = False
            '
            'ToolStripSeparator6
            '
            Me.ToolStripSeparator6.Name = "ToolStripSeparator6"
            Me.ToolStripSeparator6.Size = New System.Drawing.Size(6, 25)
            '
            'btnClear
            '
            Me.btnClear.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnClear.Image = CType(resources.GetObject("btnClear.Image"), System.Drawing.Image)
            Me.btnClear.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnClear.Name = "btnClear"
            Me.btnClear.Size = New System.Drawing.Size(23, 22)
            Me.btnClear.Text = "Clear Grid"
            Me.btnClear.ToolTipText = "Clear Grid"
            '
            'ToolStripSeparator5
            '
            Me.ToolStripSeparator5.Name = "ToolStripSeparator5"
            Me.ToolStripSeparator5.Size = New System.Drawing.Size(6, 25)
            '
            'btnSettings
            '
            Me.btnSettings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.btnSettings.Image = CType(resources.GetObject("btnSettings.Image"), System.Drawing.Image)
            Me.btnSettings.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.btnSettings.Name = "btnSettings"
            Me.btnSettings.Size = New System.Drawing.Size(23, 22)
            Me.btnSettings.Text = "Settings"
            Me.btnSettings.ToolTipText = "Settings"
            '
            'ToolStripSeparator3
            '
            Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
            Me.ToolStripSeparator3.Size = New System.Drawing.Size(6, 25)
            '
            'ToolStripButton1
            '
            Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.ToolStripButton1.Enabled = False
            Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.ToolStripButton1.Name = "ToolStripButton1"
            Me.ToolStripButton1.Size = New System.Drawing.Size(23, 22)
            Me.ToolStripButton1.Text = "ToolStripButton1"
            '
            'ToolStripSeparator7
            '
            Me.ToolStripSeparator7.Name = "ToolStripSeparator7"
            Me.ToolStripSeparator7.Size = New System.Drawing.Size(6, 25)
            Me.ToolStripSeparator7.Visible = False
            '
            'ButtonExcelAndSave
            '
            Me.ButtonExcelAndSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.ButtonExcelAndSave.Image = CType(resources.GetObject("ButtonExcelAndSave.Image"), System.Drawing.Image)
            Me.ButtonExcelAndSave.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.ButtonExcelAndSave.Name = "ButtonExcelAndSave"
            Me.ButtonExcelAndSave.Size = New System.Drawing.Size(23, 22)
            Me.ButtonExcelAndSave.Text = "Save Excel Export for FTP Upload"
            Me.ButtonExcelAndSave.Visible = False
            '
            'ToolStripSeparator1
            '
            Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
            Me.ToolStripSeparator1.Size = New System.Drawing.Size(6, 25)
            '
            'ToolStripButtonFTP
            '
            Me.ToolStripButtonFTP.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.ToolStripButtonFTP.Image = CType(resources.GetObject("ToolStripButtonFTP.Image"), System.Drawing.Image)
            Me.ToolStripButtonFTP.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.ToolStripButtonFTP.Name = "ToolStripButtonFTP"
            Me.ToolStripButtonFTP.Size = New System.Drawing.Size(23, 22)
            Me.ToolStripButtonFTP.Text = "Send FTP"
            Me.ToolStripButtonFTP.Visible = False
            '
            'GroupBox1
            '
            Me.GroupBox1.Controls.Add(Me.Label8)
            Me.GroupBox1.Controls.Add(Me.pboxReps)
            Me.GroupBox1.Controls.Add(Me.PictureBoxRefresh)
            Me.GroupBox1.Controls.Add(Me.GroupBox6)
            Me.GroupBox1.Controls.Add(Me.ListViewSalesRepList)
            Me.GroupBox1.Controls.Add(Me.Label7)
            Me.GroupBox1.Controls.Add(Me.RadioButtonHistory)
            Me.GroupBox1.Controls.Add(Me.RadioButtonPending)
            Me.GroupBox1.Controls.Add(Me.Label6)
            Me.GroupBox1.Controls.Add(Me.ButtonClearAllCriteria)
            Me.GroupBox1.Controls.Add(Me.ButtonGetData)
            Me.GroupBox1.Controls.Add(Me.ComboBoxRepGroup)
            Me.GroupBox1.Controls.Add(Me.PictureBoxEndDate)
            Me.GroupBox1.Controls.Add(Me.TextBoxEndDate)
            Me.GroupBox1.Controls.Add(Me.PictureBoxCalendarStart)
            Me.GroupBox1.Controls.Add(Me.TextBoxStartDate)
            Me.GroupBox1.Controls.Add(Me.Label2)
            Me.GroupBox1.Controls.Add(Me.Label1)
            Me.GroupBox1.Controls.Add(Me.ShapeContainer1)
            Me.GroupBox1.Location = New System.Drawing.Point(9, 28)
            Me.GroupBox1.Name = "GroupBox1"
            Me.GroupBox1.Size = New System.Drawing.Size(631, 131)
            Me.GroupBox1.TabIndex = 111
            Me.GroupBox1.TabStop = False
            Me.GroupBox1.Text = "Search Criteria"
            '
            'Label8
            '
            Me.Label8.AutoSize = True
            Me.Label8.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.Label8.Location = New System.Drawing.Point(343, 63)
            Me.Label8.Name = "Label8"
            Me.Label8.Size = New System.Drawing.Size(20, 12)
            Me.Label8.TabIndex = 135
            Me.Label8.Text = "(all)"
            '
            'pboxReps
            '
            Me.pboxReps.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Check_Uncheck_13x13
            Me.pboxReps.InitialImage = CType(resources.GetObject("pboxReps.InitialImage"), System.Drawing.Image)
            Me.pboxReps.Location = New System.Drawing.Point(365, 63)
            Me.pboxReps.Name = "pboxReps"
            Me.pboxReps.Size = New System.Drawing.Size(13, 13)
            Me.pboxReps.TabIndex = 134
            Me.pboxReps.TabStop = False
            '
            'PictureBoxRefresh
            '
            Me.PictureBoxRefresh.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.RefreshData_051
            Me.PictureBoxRefresh.Location = New System.Drawing.Point(325, 77)
            Me.PictureBoxRefresh.Name = "PictureBoxRefresh"
            Me.PictureBoxRefresh.Size = New System.Drawing.Size(18, 18)
            Me.PictureBoxRefresh.TabIndex = 133
            Me.PictureBoxRefresh.TabStop = False
            Me.PictureBoxRefresh.Visible = False
            '
            'GroupBox6
            '
            Me.GroupBox6.Controls.Add(Me.ComboBoxColumnPresets)
            Me.GroupBox6.Controls.Add(Me.ButtonMaintaincolumnpresets)
            Me.GroupBox6.Controls.Add(Me.ListViewPreset)
            Me.GroupBox6.Location = New System.Drawing.Point(12, 51)
            Me.GroupBox6.Name = "GroupBox6"
            Me.GroupBox6.Size = New System.Drawing.Size(161, 73)
            Me.GroupBox6.TabIndex = 131
            Me.GroupBox6.TabStop = False
            Me.GroupBox6.Text = "Select Column Setting"
            '
            'ComboBoxColumnPresets
            '
            Me.ComboBoxColumnPresets.FormattingEnabled = True
            Me.ComboBoxColumnPresets.Location = New System.Drawing.Point(6, 16)
            Me.ComboBoxColumnPresets.Name = "ComboBoxColumnPresets"
            Me.ComboBoxColumnPresets.Size = New System.Drawing.Size(147, 21)
            Me.ComboBoxColumnPresets.TabIndex = 132
            '
            'ButtonMaintaincolumnpresets
            '
            Me.ButtonMaintaincolumnpresets.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Gridselect
            Me.ButtonMaintaincolumnpresets.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
            Me.ButtonMaintaincolumnpresets.Location = New System.Drawing.Point(6, 43)
            Me.ButtonMaintaincolumnpresets.Name = "ButtonMaintaincolumnpresets"
            Me.ButtonMaintaincolumnpresets.Size = New System.Drawing.Size(149, 21)
            Me.ButtonMaintaincolumnpresets.TabIndex = 131
            Me.ButtonMaintaincolumnpresets.Text = "Maintain Column Presets"
            Me.ButtonMaintaincolumnpresets.TextAlign = System.Drawing.ContentAlignment.MiddleRight
            Me.ButtonMaintaincolumnpresets.UseVisualStyleBackColor = True
            '
            'ListViewPreset
            '
            Me.ListViewPreset.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
                        Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
            Me.ListViewPreset.CheckBoxes = True
            Me.ListViewPreset.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader1})
            Me.ListViewPreset.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None
            Me.ListViewPreset.Location = New System.Drawing.Point(70, 93)
            Me.ListViewPreset.Name = "ListViewPreset"
            Me.ListViewPreset.Size = New System.Drawing.Size(48, 4)
            Me.ListViewPreset.TabIndex = 130
            Me.ListViewPreset.UseCompatibleStateImageBehavior = False
            Me.ListViewPreset.View = System.Windows.Forms.View.Details
            '
            'ColumnHeader1
            '
            Me.ColumnHeader1.Width = 200
            '
            'ListViewSalesRepList
            '
            Me.ListViewSalesRepList.CheckBoxes = True
            Me.ListViewSalesRepList.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeaderRepName, Me.ColumnHeaderRepNumber})
            Me.ListViewSalesRepList.GridLines = True
            Me.ListViewSalesRepList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None
            Me.ListViewSalesRepList.Location = New System.Drawing.Point(384, 45)
            Me.ListViewSalesRepList.MultiSelect = False
            Me.ListViewSalesRepList.Name = "ListViewSalesRepList"
            Me.ListViewSalesRepList.Size = New System.Drawing.Size(234, 78)
            Me.ListViewSalesRepList.TabIndex = 130
            Me.ListViewSalesRepList.UseCompatibleStateImageBehavior = False
            Me.ListViewSalesRepList.View = System.Windows.Forms.View.Details
            '
            'ColumnHeaderRepName
            '
            Me.ColumnHeaderRepName.Text = "Rep Name"
            Me.ColumnHeaderRepName.Width = 170
            '
            'ColumnHeaderRepNumber
            '
            Me.ColumnHeaderRepNumber.Text = "Rep #"
            Me.ColumnHeaderRepNumber.Width = 30
            '
            'Label7
            '
            Me.Label7.AutoSize = True
            Me.Label7.Location = New System.Drawing.Point(353, 47)
            Me.Label7.Name = "Label7"
            Me.Label7.Size = New System.Drawing.Size(27, 13)
            Me.Label7.TabIndex = 129
            Me.Label7.Text = "Rep"
            '
            'RadioButtonHistory
            '
            Me.RadioButtonHistory.AutoSize = True
            Me.RadioButtonHistory.Location = New System.Drawing.Point(108, 19)
            Me.RadioButtonHistory.Name = "RadioButtonHistory"
            Me.RadioButtonHistory.Size = New System.Drawing.Size(57, 17)
            Me.RadioButtonHistory.TabIndex = 128
            Me.RadioButtonHistory.Text = "History"
            Me.RadioButtonHistory.UseVisualStyleBackColor = True
            '
            'RadioButtonPending
            '
            Me.RadioButtonPending.AutoSize = True
            Me.RadioButtonPending.Checked = True
            Me.RadioButtonPending.Location = New System.Drawing.Point(12, 19)
            Me.RadioButtonPending.Name = "RadioButtonPending"
            Me.RadioButtonPending.Size = New System.Drawing.Size(64, 17)
            Me.RadioButtonPending.TabIndex = 127
            Me.RadioButtonPending.TabStop = True
            Me.RadioButtonPending.Text = "Pending"
            Me.RadioButtonPending.UseVisualStyleBackColor = True
            '
            'Label6
            '
            Me.Label6.AutoSize = True
            Me.Label6.Location = New System.Drawing.Point(344, 20)
            Me.Label6.Name = "Label6"
            Me.Label6.Size = New System.Drawing.Size(36, 13)
            Me.Label6.TabIndex = 126
            Me.Label6.Text = "Group"
            '
            'ButtonClearAllCriteria
            '
            Me.ButtonClearAllCriteria.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.ButtonClearAllCriteria.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Cancel_Clear_1616
            Me.ButtonClearAllCriteria.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
            Me.ButtonClearAllCriteria.Location = New System.Drawing.Point(225, 99)
            Me.ButtonClearAllCriteria.Name = "ButtonClearAllCriteria"
            Me.ButtonClearAllCriteria.Size = New System.Drawing.Size(94, 24)
            Me.ButtonClearAllCriteria.TabIndex = 125
            Me.ButtonClearAllCriteria.Text = "Clear All"
            Me.ButtonClearAllCriteria.UseVisualStyleBackColor = True
     

    Tim Conway

    Thursday, March 1, 2012 1:38 AM
  •        '
            'ButtonGetData
            '
            Me.ButtonGetData.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Refresh_16_16
            Me.ButtonGetData.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
            Me.ButtonGetData.Location = New System.Drawing.Point(225, 72)
            Me.ButtonGetData.Name = "ButtonGetData"
            Me.ButtonGetData.Size = New System.Drawing.Size(94, 24)
            Me.ButtonGetData.TabIndex = 124
            Me.ButtonGetData.Text = "Get Data"
            Me.ButtonGetData.UseVisualStyleBackColor = True
            '
            'ComboBoxRepGroup
            '
            Me.ComboBoxRepGroup.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
            Me.ComboBoxRepGroup.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
            Me.ComboBoxRepGroup.DropDownWidth = 250
            Me.ComboBoxRepGroup.FormattingEnabled = True
            Me.ComboBoxRepGroup.Location = New System.Drawing.Point(409, 17)
            Me.ComboBoxRepGroup.Name = "ComboBoxRepGroup"
            Me.ComboBoxRepGroup.Size = New System.Drawing.Size(209, 21)
            Me.ComboBoxRepGroup.TabIndex = 120
            '
            'PictureBoxEndDate
            '
            Me.PictureBoxEndDate.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.CalendarControl2020
            Me.PictureBoxEndDate.Location = New System.Drawing.Point(297, 47)
            Me.PictureBoxEndDate.Name = "PictureBoxEndDate"
            Me.PictureBoxEndDate.Size = New System.Drawing.Size(20, 20)
            Me.PictureBoxEndDate.TabIndex = 119
            Me.PictureBoxEndDate.TabStop = False
            '
            'TextBoxEndDate
            '
            Me.TextBoxEndDate.Location = New System.Drawing.Point(225, 47)
            Me.TextBoxEndDate.Name = "TextBoxEndDate"
            Me.TextBoxEndDate.Size = New System.Drawing.Size(71, 20)
            Me.TextBoxEndDate.TabIndex = 118
            '
            'PictureBoxCalendarStart
            '
            Me.PictureBoxCalendarStart.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.CalendarControl2020
            Me.PictureBoxCalendarStart.Location = New System.Drawing.Point(297, 17)
            Me.PictureBoxCalendarStart.Name = "PictureBoxCalendarStart"
            Me.PictureBoxCalendarStart.Size = New System.Drawing.Size(20, 20)
            Me.PictureBoxCalendarStart.TabIndex = 117
            Me.PictureBoxCalendarStart.TabStop = False
            '
            'TextBoxStartDate
            '
            Me.TextBoxStartDate.Location = New System.Drawing.Point(225, 17)
            Me.TextBoxStartDate.Name = "TextBoxStartDate"
            Me.TextBoxStartDate.Size = New System.Drawing.Size(71, 20)
            Me.TextBoxStartDate.TabIndex = 116
            '
            'Label2
            '
            Me.Label2.AutoSize = True
            Me.Label2.Location = New System.Drawing.Point(196, 50)
            Me.Label2.Name = "Label2"
            Me.Label2.Size = New System.Drawing.Size(26, 13)
            Me.Label2.TabIndex = 6
            Me.Label2.Text = "End"
            '
            'Label1
            '
            Me.Label1.AutoSize = True
            Me.Label1.Location = New System.Drawing.Point(193, 20)
            Me.Label1.Name = "Label1"
            Me.Label1.Size = New System.Drawing.Size(29, 13)
            Me.Label1.TabIndex = 5
            Me.Label1.Text = "Start"
            '
            'ShapeContainer1
            '
            Me.ShapeContainer1.Location = New System.Drawing.Point(3, 16)
            Me.ShapeContainer1.Margin = New System.Windows.Forms.Padding(0)
            Me.ShapeContainer1.Name = "ShapeContainer1"
            Me.ShapeContainer1.Shapes.AddRange(New Microsoft.VisualBasic.PowerPacks.Shape() {Me.LineShape2})
            Me.ShapeContainer1.Size = New System.Drawing.Size(625, 112)
            Me.ShapeContainer1.TabIndex = 132
            Me.ShapeContainer1.TabStop = False
            '
            'LineShape2
            '
            Me.LineShape2.Name = "LineShape2"
            Me.LineShape2.X1 = 11
            Me.LineShape2.X2 = 170
            Me.LineShape2.Y1 = 30
            Me.LineShape2.Y2 = 30
            '
            'GroupBox2
            '
            Me.GroupBox2.Controls.Add(Me.Label5)
            Me.GroupBox2.Controls.Add(Me.TextBoxInvoice)
            Me.GroupBox2.Controls.Add(Me.Label4)
            Me.GroupBox2.Controls.Add(Me.Label3)
            Me.GroupBox2.Controls.Add(Me.TextBoxOrderNo)
            Me.GroupBox2.Controls.Add(Me.TextBoxCustomerNo)
            Me.GroupBox2.Location = New System.Drawing.Point(653, 29)
            Me.GroupBox2.Name = "GroupBox2"
            Me.GroupBox2.Size = New System.Drawing.Size(151, 130)
            Me.GroupBox2.TabIndex = 116
            Me.GroupBox2.TabStop = False
            Me.GroupBox2.Text = "Additional Criteria (optional)"
            '
            'Label5
            '
            Me.Label5.AutoSize = True
            Me.Label5.Location = New System.Drawing.Point(15, 47)
            Me.Label5.Name = "Label5"
            Me.Label5.Size = New System.Drawing.Size(49, 13)
            Me.Label5.TabIndex = 32
            Me.Label5.Text = "Invoice#"
            '
            'TextBoxInvoice
            '
            Me.TextBoxInvoice.Enabled = False
            Me.TextBoxInvoice.Location = New System.Drawing.Point(75, 43)
            Me.TextBoxInvoice.Name = "TextBoxInvoice"
            Me.TextBoxInvoice.Size = New System.Drawing.Size(66, 20)
            Me.TextBoxInvoice.TabIndex = 31
            '
            'Label4
            '
            Me.Label4.AutoSize = True
            Me.Label4.Location = New System.Drawing.Point(15, 20)
            Me.Label4.Name = "Label4"
            Me.Label4.Size = New System.Drawing.Size(40, 13)
            Me.Label4.TabIndex = 30
            Me.Label4.Text = "Order#"
            '
            'Label3
            '
            Me.Label3.AutoSize = True
            Me.Label3.Location = New System.Drawing.Point(15, 72)
            Me.Label3.Name = "Label3"
            Me.Label3.Size = New System.Drawing.Size(58, 13)
            Me.Label3.TabIndex = 29
            Me.Label3.Text = "Customer#"
            '
            'TextBoxOrderNo
            '
            Me.TextBoxOrderNo.Location = New System.Drawing.Point(75, 16)
            Me.TextBoxOrderNo.Name = "TextBoxOrderNo"
            Me.TextBoxOrderNo.Size = New System.Drawing.Size(66, 20)
            Me.TextBoxOrderNo.TabIndex = 28
            '
            'TextBoxCustomerNo
            '
            Me.TextBoxCustomerNo.Location = New System.Drawing.Point(75, 69)
            Me.TextBoxCustomerNo.Name = "TextBoxCustomerNo"
            Me.TextBoxCustomerNo.Size = New System.Drawing.Size(66, 20)
            Me.TextBoxCustomerNo.TabIndex = 27
            '
            'PanelCalendar
            '
            Me.PanelCalendar.AutoSize = True
            Me.PanelCalendar.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
            Me.PanelCalendar.BackColor = System.Drawing.SystemColors.ActiveCaption
            Me.PanelCalendar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
            Me.PanelCalendar.Controls.Add(Me.PictureBoxExitCalendar)
            Me.PanelCalendar.Controls.Add(Me.MonthCalendarDate)
            Me.PanelCalendar.Location = New System.Drawing.Point(187, 189)
            Me.PanelCalendar.Margin = New System.Windows.Forms.Padding(0)
            Me.PanelCalendar.Name = "PanelCalendar"
            Me.PanelCalendar.Size = New System.Drawing.Size(179, 168)
            Me.PanelCalendar.TabIndex = 118
            Me.PanelCalendar.Visible = False
            '
            'PictureBoxExitCalendar
            '
            Me.PictureBoxExitCalendar.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
            Me.PictureBoxExitCalendar.Image = Global.MassarelliOutBoundOrders.My.Resources.Resources.Exit1313
            Me.PictureBoxExitCalendar.Location = New System.Drawing.Point(166, -1)
            Me.PictureBoxExitCalendar.Name = "PictureBoxExitCalendar"
            Me.PictureBoxExitCalendar.Size = New System.Drawing.Size(16, 13)
            Me.PictureBoxExitCalendar.TabIndex = 119
            Me.PictureBoxExitCalendar.TabStop = False
            '
            'MonthCalendarDate
            '
            Me.MonthCalendarDate.Location = New System.Drawing.Point(1, 13)
            Me.MonthCalendarDate.Margin = New System.Windows.Forms.Padding(0)
            Me.MonthCalendarDate.Name = "MonthCalendarDate"
            Me.MonthCalendarDate.TabIndex = 118
            '
            'GroupBox5
            '
            Me.GroupBox5.Controls.Add(Me.ButtonRemoveFilter)
            Me.GroupBox5.Controls.Add(Me.ButtonApplyFilter)
            Me.GroupBox5.Controls.Add(Me.TextBox1)
            Me.GroupBox5.Controls.Add(Me.SearchPropertyValueTextBox)
            Me.GroupBox5.Controls.Add(Me.SearchPropertyNameTextBox)
            Me.GroupBox5.Location = New System.Drawing.Point(820, 29)
            Me.GroupBox5.Name = "GroupBox5"
            Me.GroupBox5.Size = New System.Drawing.Size(208, 69)
            Me.GroupBox5.TabIndex = 119
            Me.GroupBox5.TabStop = False
            Me.GroupBox5.Text = "Quick Filter"
            '
            'ButtonRemoveFilter
            '
            Me.ButtonRemoveFilter.Location = New System.Drawing.Point(119, 41)
            Me.ButtonRemoveFilter.Name = "ButtonRemoveFilter"
            Me.ButtonRemoveFilter.Size = New System.Drawing.Size(80, 21)
            Me.ButtonRemoveFilter.TabIndex = 6
            Me.ButtonRemoveFilter.Text = "Remove Filter"
            Me.ButtonRemoveFilter.UseVisualStyleBackColor = True
            '
            'ButtonApplyFilter
            '
            Me.ButtonApplyFilter.Location = New System.Drawing.Point(15, 41)
            Me.ButtonApplyFilter.Name = "ButtonApplyFilter"
            Me.ButtonApplyFilter.Size = New System.Drawing.Size(80, 21)
            Me.ButtonApplyFilter.TabIndex = 5
            Me.ButtonApplyFilter.Text = "Apply Filter"
            Me.ButtonApplyFilter.UseVisualStyleBackColor = True
            '
            'TextBox1
            '
            Me.TextBox1.Location = New System.Drawing.Point(98, 16)
            Me.TextBox1.Name = "TextBox1"
            Me.TextBox1.Size = New System.Drawing.Size(18, 20)
            Me.TextBox1.TabIndex = 4
            Me.TextBox1.Text = " =  "
            '
            'SearchPropertyValueTextBox
            '
            Me.SearchPropertyValueTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.MassarelliOutBoundUtilitesBindingSource, "SearchPropertyValue", True))
            Me.SearchPropertyValueTextBox.Location = New System.Drawing.Point(119, 16)
            Me.SearchPropertyValueTextBox.Name = "SearchPropertyValueTextBox"
            Me.SearchPropertyValueTextBox.Size = New System.Drawing.Size(80, 20)
            Me.SearchPropertyValueTextBox.TabIndex = 3
            '
            'MassarelliOutBoundUtilitesBindingSource
            '
            Me.MassarelliOutBoundUtilitesBindingSource.DataSource = GetType(MassarelliOutBoundOrders.MassarelliOutBoundUtilites)
            '
            'SearchPropertyNameTextBox
            '
            Me.SearchPropertyNameTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.MassarelliOutBoundUtilitesBindingSource, "SearchPropertyName", True))
            Me.SearchPropertyNameTextBox.Location = New System.Drawing.Point(15, 16)
            Me.SearchPropertyNameTextBox.Name = "SearchPropertyNameTextBox"
            Me.SearchPropertyNameTextBox.Size = New System.Drawing.Size(80, 20)
            Me.SearchPropertyNameTextBox.TabIndex = 1
            '
            'OpenFileDialog1
            '
            Me.OpenFileDialog1.FileName = "OpenFileDialog1"
            '
            'ContextMenuStripColumns
            '
            Me.ContextMenuStripColumns.AutoClose = False
            Me.ContextMenuStripColumns.Name = "ContextMenuStripColumns"
            Me.ContextMenuStripColumns.RenderMode = System.Windows.Forms.ToolStripRenderMode.System
            Me.ContextMenuStripColumns.ShowCheckMargin = True
            Me.ContextMenuStripColumns.ShowImageMargin = False
            Me.ContextMenuStripColumns.Size = New System.Drawing.Size(61, 4)
            '
            'ImageListOutBoundOrders
            '
            Me.ImageListOutBoundOrders.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit
            Me.ImageListOutBoundOrders.ImageSize = New System.Drawing.Size(16, 16)
            Me.ImageListOutBoundOrders.TransparentColor = System.Drawing.Color.Transparent
            '
            'CheckBoxRepGroup
            '
            Me.CheckBoxRepGroup.AutoSize = True
            Me.CheckBoxRepGroup.BackColor = System.Drawing.SystemColors.ButtonFace
            Me.CheckBoxRepGroup.Checked = True
            Me.CheckBoxRepGroup.CheckState = System.Windows.Forms.CheckState.Checked
            Me.CheckBoxRepGroup.Location = New System.Drawing.Point(8, 4)
            Me.CheckBoxRepGroup.Name = "CheckBoxRepGroup"
            Me.CheckBoxRepGroup.Size = New System.Drawing.Size(15, 14)
            Me.CheckBoxRepGroup.TabIndex = 136
            Me.CheckBoxRepGroup.UseVisualStyleBackColor = False
            '
            'PanelRepGroup
            '
            Me.PanelRepGroup.BackColor = System.Drawing.SystemColors.Window
            Me.PanelRepGroup.Controls.Add(Me.CheckBoxRepGroup)
            Me.PanelRepGroup.Location = New System.Drawing.Point(393, 45)
            Me.PanelRepGroup.Name = "PanelRepGroup"
            Me.PanelRepGroup.Size = New System.Drawing.Size(26, 21)
            Me.PanelRepGroup.TabIndex = 137
            '
            'MassarelliOutBound
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.ClientSize = New System.Drawing.Size(1044, 540)
            Me.Controls.Add(Me.PanelRepGroup)
            Me.Controls.Add(Me.Mas500Toolbar)
            Me.Controls.Add(Me.PanelCalendar)
            Me.Controls.Add(Me.GroupBox5)
            Me.Controls.Add(Me.GroupBox1)
            Me.Controls.Add(Me.GroupBox2)
            Me.Controls.Add(Me.OutBoundObjDataGridView)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "MassarelliOutBound"
            Me.Text = "Outbound Orders"
            CType(Me.OutBoundObjDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.OutBoundObjBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
            Me.Mas500Toolbar.ResumeLayout(False)
            Me.Mas500Toolbar.PerformLayout()
            Me.GroupBox1.ResumeLayout(False)
            Me.GroupBox1.PerformLayout()
            CType(Me.pboxReps, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBoxRefresh, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox6.ResumeLayout(False)
            CType(Me.PictureBoxEndDate, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.PictureBoxCalendarStart, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox2.ResumeLayout(False)
            Me.GroupBox2.PerformLayout()
            Me.PanelCalendar.ResumeLayout(False)
            CType(Me.PictureBoxExitCalendar, System.ComponentModel.ISupportInitialize).EndInit()
            Me.GroupBox5.ResumeLayout(False)
            Me.GroupBox5.PerformLayout()
            CType(Me.MassarelliOutBoundUtilitesBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
            Me.PanelRepGroup.ResumeLayout(False)
            Me.PanelRepGroup.PerformLayout()
            CType(Me.BindingSourceGridColumnDefinition, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.BindingSourceSalesRepList, System.ComponentModel.ISupportInitialize).EndInit()
            Me.ResumeLayout(False)
            Me.PerformLayout()


        End Sub
        Friend WithEvents OutBoundObjBindingSource As System.Windows.Forms.BindingSource
        Friend WithEvents OutBoundObjDataGridView As System.Windows.Forms.DataGridView
        Friend WithEvents Mas500Toolbar As System.Windows.Forms.ToolStrip
        Friend WithEvents btnExit As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator2 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents btnGetData As System.Windows.Forms.ToolStripButton
        Friend WithEvents btnSave As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator3 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents ToolStripButton1 As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator4 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents btnExcelExport As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents btnClear As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator5 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents ToolStripButtonFTP As System.Windows.Forms.ToolStripButton
        Friend WithEvents btnSettings As System.Windows.Forms.ToolStripButton
        Friend WithEvents ToolStripSeparator7 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
        Friend WithEvents Label1 As System.Windows.Forms.Label
        Friend WithEvents Label2 As System.Windows.Forms.Label
        Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
        Friend WithEvents Label5 As System.Windows.Forms.Label
        Friend WithEvents TextBoxInvoice As System.Windows.Forms.TextBox
        Friend WithEvents Label4 As System.Windows.Forms.Label
        Friend WithEvents Label3 As System.Windows.Forms.Label
        Friend WithEvents TextBoxOrderNo As System.Windows.Forms.TextBox
        Friend WithEvents TextBoxCustomerNo As System.Windows.Forms.TextBox
        Friend WithEvents TextBoxStartDate As System.Windows.Forms.TextBox
        Friend WithEvents PictureBoxCalendarStart As System.Windows.Forms.PictureBox
        Friend WithEvents PictureBoxEndDate As System.Windows.Forms.PictureBox
        Friend WithEvents TextBoxEndDate As System.Windows.Forms.TextBox
        Friend WithEvents ComboBoxRepGroup As System.Windows.Forms.ComboBox
        Friend WithEvents ButtonGetData As System.Windows.Forms.Button
        Friend WithEvents ButtonClearAllCriteria As System.Windows.Forms.Button
        Friend WithEvents Label6 As System.Windows.Forms.Label
        Friend WithEvents PanelCalendar As System.Windows.Forms.Panel
        Friend WithEvents MonthCalendarDate As System.Windows.Forms.MonthCalendar
        Friend WithEvents PictureBoxExitCalendar As System.Windows.Forms.PictureBox
        Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
        Friend WithEvents SearchPropertyValueTextBox As System.Windows.Forms.TextBox
        Friend WithEvents MassarelliOutBoundUtilitesBindingSource As System.Windows.Forms.BindingSource
        Friend WithEvents SearchPropertyNameTextBox As System.Windows.Forms.TextBox
        Friend WithEvents ButtonRemoveFilter As System.Windows.Forms.Button
        Friend WithEvents ButtonApplyFilter As System.Windows.Forms.Button
        Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
        Friend WithEvents ToolStripSeparator6 As System.Windows.Forms.ToolStripSeparator
        Friend WithEvents ButtonExcelAndSave As System.Windows.Forms.ToolStripButton
        Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog
        Friend WithEvents BindingSourceGridColumnDefinition As System.Windows.Forms.BindingSource
        Friend WithEvents SaveFileDialog1 As System.Windows.Forms.SaveFileDialog
        Friend WithEvents SalesAmt_SubTotal As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents RadioButtonHistory As System.Windows.Forms.RadioButton
        Friend WithEvents RadioButtonPending As System.Windows.Forms.RadioButton
        Friend WithEvents Label7 As System.Windows.Forms.Label
        Friend WithEvents ListViewSalesRepList As System.Windows.Forms.ListView
        Friend WithEvents BindingSourceSalesRepList As System.Windows.Forms.BindingSource
        Friend WithEvents ColumnHeaderRepName As System.Windows.Forms.ColumnHeader
        Friend WithEvents ColumnHeaderRepNumber As System.Windows.Forms.ColumnHeader
        Friend WithEvents ContextMenuStripColumns As System.Windows.Forms.ContextMenuStrip
        Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
        Friend WithEvents ComboBoxColumnPresets As System.Windows.Forms.ComboBox
        Friend WithEvents ButtonMaintaincolumnpresets As System.Windows.Forms.Button
        Friend WithEvents ListViewPreset As System.Windows.Forms.ListView
        Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
        Friend WithEvents ShapeContainer1 As Microsoft.VisualBasic.PowerPacks.ShapeContainer
        Friend WithEvents LineShape2 As Microsoft.VisualBasic.PowerPacks.LineShape
        Friend WithEvents ExelExportToolStripButton As System.Windows.Forms.ToolStripDropDownButton
        Friend WithEvents RepsRepGroupToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents CustomerToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents ExcelExportOnlyToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents FTPToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
        Friend WithEvents ImageListOutBoundOrders As System.Windows.Forms.ImageList
        Friend WithEvents PictureBoxRefresh As System.Windows.Forms.PictureBox
        Friend WithEvents Company As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents SalesPersonNo As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents SalesPersonName As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents SalesRepGroup As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents Freight As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents SalesAmt As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipViaDesc As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipDate As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents Terms As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents OrderNumber As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents PONumber As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToNo As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToName As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToAddr1 As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToAddr2 As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToCity As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToState As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents BillToZip As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToNo As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToName As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToAddr1 As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToAddr2 As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToCity As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToState As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShipToZip As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents Qty As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ItemNo As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ItemDescription As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents UOM As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents Finish As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents UnitPrice As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ExtendedPrice As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents Discount As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents ShippingInstruction As System.Windows.Forms.DataGridViewTextBoxColumn
        Friend WithEvents CheckBoxRepGroup As System.Windows.Forms.CheckBox
        Friend WithEvents PanelRepGroup As System.Windows.Forms.Panel
        Friend WithEvents pboxReps As System.Windows.Forms.PictureBox
        Friend WithEvents Label8 As System.Windows.Forms.Label


    End Class

    Tim Conway

    Thursday, March 1, 2012 1:39 AM
  • You can delete or comment this code line to debug the InitializeComponent method, and then tell us how's going on.

      '  <System.Diagnostics.DebuggerStepThrough()> _

    This code line is above the InitializeComponent method.

    Best Regards,
    Rocky Yue[MSFT]
    MSDN Community Support | Feedback to us

    Thursday, March 1, 2012 2:23 AM
    Moderator
  • Thanks Rocky, and thanks everyone for your help.  

    Yes, I did take out the StepThrough, but running the executable on the client machine message boxes are ignored, unless there is some other way.  

    In any event, it is fixed.  The problem?

    ______________________________ 

    ...yes, a system.drawing.line.  A line???? On the form???? That was it???

    Yes.  Why, I don't know but I'm just glad it's over.  But I do wish there was some way to spot this with debugging.  

    So, if you have this problem, your project worked previously, and you added controls here is what I did.  

    Start with F11 and put a message box before and after InitializeComponent.  If it hits the first but not the second, then right click InitializeComponent and Go To Definition.  You can look, but unless there is something glaringly obvious, there will not be much you can do.  Don't change the code here, but something in this section is causing the problem.  Then make a copy of your project and start removing components one or two at a time.  Test, and repeat until you hit the component that is causing the problem.  Once you've found it, copy your backup, overwrite the one you are working on and remove that one component.  

    Hope this helps someone.  


    Tim Conway


    • Marked as answer by tconway Thursday, March 1, 2012 3:24 AM
    • Edited by tconway Thursday, March 1, 2012 3:24 AM
    Thursday, March 1, 2012 3:23 AM
  • Glad to hear you got it works.

    And thanks for sharing your solution here.


    Best Regards,
    Rocky Yue[MSFT]
    MSDN Community Support | Feedback to us

    Thursday, March 1, 2012 3:28 AM
    Moderator