EDN Admin
Well-known member
Hi,
Migrated application from vb6 to vb.net using visual studio and I am getting fallowing errors
1- Name App is not declared.
bool Flag = objForm1.ProjInit(form2, App)
2- SelStart is not a member of System.Windows.Forms.Control.
Private Sub GetLeadingSpace(ByRef ctrl As System.Windows.Forms.Control, ByRef KeyAscii As Short)<br/>
<br/>
UPGRADE_WARNING: Couldnt resolve default property of object ctrl.SelStart. Click for more: ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"<br/>
If ctrl.SelStart = 0 And KeyAscii = System.Windows.Forms.Keys.Space Then Gettitng error here
KeyAscii = System.Windows.Forms.Keys.Cancel<br/>
End If<br/>
<br/>
End Sub
<br/>
3- SelLength is not a member of System.Windows.Forms.Control.
Me.mn.Enabled = VB6.GetActiveControl().SelLength
Thanks
View the full article
Migrated application from vb6 to vb.net using visual studio and I am getting fallowing errors
1- Name App is not declared.
bool Flag = objForm1.ProjInit(form2, App)
2- SelStart is not a member of System.Windows.Forms.Control.
Private Sub GetLeadingSpace(ByRef ctrl As System.Windows.Forms.Control, ByRef KeyAscii As Short)<br/>
<br/>
UPGRADE_WARNING: Couldnt resolve default property of object ctrl.SelStart. Click for more: ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"<br/>
If ctrl.SelStart = 0 And KeyAscii = System.Windows.Forms.Keys.Space Then Gettitng error here
KeyAscii = System.Windows.Forms.Keys.Cancel<br/>
End If<br/>
<br/>
End Sub
<br/>
3- SelLength is not a member of System.Windows.Forms.Control.
Me.mn.Enabled = VB6.GetActiveControl().SelLength
Thanks
View the full article