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 bkrike 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 STPMB

  1. STPMB

    client access sign on and VB sign on

    Does anyone know of a procedure or API to stop the client access sign on acreen from appearing before a user signs on to a VB application? It seems like redundant work for the users.
  2. STPMB

    Changing the backcolor of data controls

    What method is used to identify the windows background color and convert it for use in a procedure like above?
  3. STPMB

    Changing the backcolor of data controls

    I am trying to use the change the background color of data controls like, data combo, flexgrid, datalists, etc in a procedure but they don't seem to work when the color is identifed like ControlBackColor = vbWindowBackground but it does work with code ControlBackColor = vbRed what is the...
  4. STPMB

    changing a list or array of controls property in a module?

    I am trying to do something like this but keep getting a message saying object required. Is there a problem using a variable identified as Control in this manner? Private Sub Form_Load() Dim colx As Collection Set colx = New Collection colx.Add Combo1 colx.Add Text1 colx.Add DataList1 colx.Add...
  5. STPMB

    changing a list or array of controls property in a module?

    Is it possible to create a list or array of various types of controls in a subprocedure of a form and pass that list or array to a module that will change certain properties of those controls. I don't want to read through the whole controls collection if possible. Appreciate any comments.
  6. STPMB

    Control collection value returned in debug or print

    Can someone explain what the value is that is being returned from a controls colletions when I debug the variable assigned as a control. for instance when reading through the controls on a form I declared variable actl as control but when debugging or printing the variable actl it returns...
  7. STPMB

    how do you check if a control is within another control?

    How do you know if one control such as an option button is within another control such as a frame?
  8. STPMB

    Option Button text remain black but button disabled?

    Is it possible to change the text color on certain controls like check boxes or option buttons in a program while the enabled property is false? I don't want to grey out the control even though it has been changed to enabled = false.
  9. STPMB

    Disable form but have control box remain active

    Is it possible to set a forms enable property to false but still allow the control box features to remain active?
  10. STPMB

    Passing an array into a module subprocedure

    that wroks fine now I am having trouble loading the array with the control name. When i use the set command with the control name the array is being filled with the control value not the actual name. What's the method used to load the array with a control name so that the subprocedure knows the...
  11. STPMB

    Passing an array into a module subprocedure

    Hello, I am having trouble passing a control array into a sub procedure contained in a module. I am getting a combile error 'ByRef argument type mismatch error. I have code similar to below. In the main form: DIM modmanfields(7) as Control Call subprocedure(arg1,arg2,arg3) 'where arg2 is the...
  12. STPMB

    comparing control name with string name

    Is there some way to compare a control name with a string?. Is it possible to build an control array without using the controls collection. I don't want to check every control on a form, only certain mandatory ones that need user input before exiting the form. I tried defining a Control array...
  13. STPMB

    visual basic forms acting as a container to other forms

    I think MDI is the best method. I was just wondering how to do display a form within a form without using MDI. With MDI you can only have one parent form so what if somewhere through an application there is one child form I want displayed within the boundaries of another child form. Will MDI...
  14. STPMB

    Displaying a tree view with separate forms.

    Good evening all. Can a separate form be shown beside a treeview or must the treeview and form be build together in one form?
  15. STPMB

    Compare a string with "string"?

    Thank you both for your help. Looks like my colleaque forgot about the trim function. I did too. Once he added the trim function the comparison worked fine.

Part and Inventory Search

Back
Top