Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ameba

  1. ameba

    LabelX.Caption??

    You can use form's Controls collection: Me.Controls("Label" & i).Caption = arr(i) VB has special feature called Control Array, which can simplify coding. To create Control Array, give two labels the same name, or set Index property of the label to some number. You'll be able to...
  2. ameba

    Arguements in sub procedure

    59 arguments work OK, 60th gives Too many arguments. :-) Option Explicit Private Sub test(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, _ arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, _ arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28...
  3. ameba

    Listboxes to Flexgrid Logic

    You could also add this line at start of Form_Click, to clear the grid: Me.MSFlexGrid1.Rows = 1
  4. ameba

    Listboxes to Flexgrid Logic

    I think the problem is because some names appear more than once. To create list of distinct names, use a collection. Here is one way, collection holds row index (1...5) for each person: colRows.Item("Ben Adams") = 1 ... colRows.Item("Sam Taylor") = 5 ' Form1, add 2 listboxes...
  5. ameba

    Classes and Defined Types ...Errors!! Pls help!

    By "define class1" I DIDN'T mean you declared variable of the type class1, like "private x as class1", that should work. To clarify: Do you have variable *named* class1, like: Private class1 as anything or control, module (other then the one in your dll) or form named...
  6. ameba

    Classes and Defined Types ...Errors!! Pls help!

    If "as dll.class1" is required, you have class1 defined in two (or more) places. Use Object browser (F2) to find second definition of class1, or do a search.
  7. ameba

    Classes and Defined Types ...Errors!! Pls help!

    Making a project group is not what will make class1 visible to other projects. Select your standard exe project, then use menu Project, References, and check dll.vbp project, or add reference to dll.
  8. ameba

    Tab Order

    > I still would like to know where this "Layout Menu" is, PLEASE! You found that description here: http://msdn.microsoft.com/library/en-us/vcug98/html/_asug_changing_the_tab_order.asp Visual C++ User's Guide

Part and Inventory Search

Back
Top