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.
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...
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...
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.
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...
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.
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...
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...
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...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.