1. I created a new ActiveX control. (named "myTextBox")
2. I put a TextBox control onto the UserControl.
3. I created a Text property.
4. I checked "Property is DataBound" and "This property binds to a datafield" in Tools/Procedure Attributes dialog for the Text property.
When I put my control...
I've created two ActiveX control in one .ocx.
myControls.ocx:
-myGrid.ctl
-myTextBox.ctl
So far I have added the new control (myTextBox) and rebuilded the ocx, it cant be loaded.
I created a new .exe app and tried to add "myControls" to components I get this error:
"Ambiguous name...
I have a master-detail form with 2 grid control. Its datasources 2 adodb.command in a parent - child
relationship.
Some other datasink (textbox) are bounded to the child recordset.
As I moving in the grid bounded to the child recordset, nothing to happen. The datasinks show data from
the...
I trying to develop a new data-bound grid activex control. I have placed an unbound grid (no datasource
and datamember properties) onto usercontrol . .
I use variables to store these values:
Dim m_DataSource As Object
Dim m_DataMember As String
Public Property Get DataSource() As DataSource...
I use VB6 ADO (dataenvironment, commands object)
In my app to maintain data tables I use several control (textbox, datacombo, ect) with set
their datasource and datamember properties properly. On the same datatable maintain form there
are two commandbuttons "post" and "cancel". Id like to...
I use dataenvironment and adodb commands to communicate with and Access database from VB6.
I need to get db structure information (such as tables count their names, their fields count and names) in run-time.
so how can I write an sql statement to obtain that? or any other solution for this...
if I change a recordset's filter (ADODB) bounded to a DataCombo control it doesnt refresh its
data. there is a datagrid control bounded the same recordset (the recordset is a table type
command in a dataenvironment) the grid refresh its data correctly. I tried to call datacombo
refill and...
thx,
you cannot group clauses joined by an OR and then join the group to another clause with an AND, like this:
(LastName = 'Smith' OR LastName = 'Jones') AND FirstName = 'John'
Instead, you would construct this filter as
(LastName = 'Smith' AND FirstName = 'John') OR (LastName = 'Jones' AND...
dim rst as ADODB.Recordset
set rst = new ADODB.Recordset
rst.open select field1,field2 from table
rst.Filter = "(field1 = 100)" it works!
rst.Filter = "(field2 = 2 or field2 = 3)" it also works!
but it doesnt work:
rst.Filter = "(field1 = 100) and (field2 = 2 or field2 = 3)"
//Error: wrong...
I need the best free dbgrid control for VB6:)
I know VBAccelerator Grid control but it seems not to
have Datasource property so I cant use it data-bounded mode.
If anybody know a grid control for VB6 with filter, nice graphic styles, ect.
which can be used in data-bounded mode, and free:)...
How to obtain the selected value from a combo box in Excel?
I have a combo box on an excel worksheet, how to write a makro (event handler) to change a cell value as a user choose a number from the combo?
Sub combo_change()
Cells(1, 10) = combo_value??
End Sub
plz help
how to recognize if an app has been closed? (i have the task id)
TaskID = Shell filename, vbNormalFocus
...
I need to do some stuff if the started app has been closed.
plz help
Paper and pencil :)what is that in the age of technology?
ah the relationships viewer is really good, thx I didnt know that, but a problem with that: I can save only one arrangement, and because of the db has more than 100 tables...it would be great to see only the tables i work with..
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.