Originally Posted 22 October 2013, 12:58 am ESTWe have vb project which is using truedb8 after we convert this project to vb.net2008 truedb not showing properly.So we deleted the control and re draw after that in design time we can change the "datamode" property to storage.But when we run the project truetdb not allowing to type anything on the grid .In run time we put a message to check what is datamode unfortunately it was automatically changed to bounded. Kindly replay
Truedb8 conversion vb6 to vb.net2008 issue.
Originally Posted 22 October 2013, 12:58 am EST
TrueDbGrid8 works correctly with VB.NET2008. Could you please share a small sample so that we can replicate the issue at our end.
ReplyI would like to entering data in TrueDB Gid 8 Control and add columns into the Grid in Dot Net Project,I tried it with simple projects details are given below:
1) While converting vb project to Dot Net 2008 it is a simple Project, it consist only one TrueDB8.O Grid Control. We are getting after conversion Grid Screen displayed with in attachmet it called as JustConvert.jpg.
Code are inside the Designer.vb after Covert ion.
Partial Class TrueDBGrid
#Region "Windows Form Designer generated code "
Public Sub New()
'This call is required by the Windows Form Designer.
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
If Disposing Then
If Not components Is Nothing Then
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents TDBGrid1 As AxTrueDBGrid80.AxTDBGrid
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(TrueDBGrid))
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.TDBGrid1 = New AxTrueDBGrid80.AxTDBGrid
Me.TDBGrid1.Location = New System.Drawing.Point(24, 35)
Me.TDBGrid1.Name = "TDBGrid1"
Me.TDBGrid1.OcxState = CType(resources.GetObject("TDBGrid1.OcxState"), System.Windows.Forms.AxHost.State)
Me.TDBGrid1.Size = New System.Drawing.Size(273, 118)
Me.TDBGrid1.TabIndex = 0
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 14.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.SystemColors.Control
Me.ClientSize = New System.Drawing.Size(312, 213)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Location = New System.Drawing.Point(4, 23)
Me.Name = "TrueDBGrid"
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text = "TrueDBGrid8.0"
2) Then I add COM component for True DBGrid 8 Control into my Project, add one Form and place a
True DBGrid into this Form and Changed their Properties are DataMode as Storage and AllowAddNew and AllowDelete are true. Then I can’t enter any data into the cell of TrueDB Grid
Screen Shot are called as DragTrueDBin.Net.JPG
What are the Properties need to set in TrueDB Grid for entering any data in cells?
Another Issue is while adding columns on design time, it can’t display in running mode.