G
Guest
When I start the debug of my application, sometimes I get a System.NullReferenceException on the principal Form Load in this portion of code
tlbFixed.Width = frmSSDas.ActiveForm.Size.Widt
What I'm trying to do it's to make the width of the toolbar to ocupie all the width of the form. This error doesn't occur very often.
Considerations
- tlbFixed is a System.Windows.Forms.ToolBa
- frmSSDas is a System.Windows.Form
Private Sub frmSSDas_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
tlbFixed.Width = frmSSDas.ActiveForm.Size.Widt
tlbFixed.Refresh(
End Sub '(this is the code of the procedure where it occus - The Language is VB.Net
Thanks in advanc
Rui Pedro Nascimento
tlbFixed.Width = frmSSDas.ActiveForm.Size.Widt
What I'm trying to do it's to make the width of the toolbar to ocupie all the width of the form. This error doesn't occur very often.
Considerations
- tlbFixed is a System.Windows.Forms.ToolBa
- frmSSDas is a System.Windows.Form
Private Sub frmSSDas_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
tlbFixed.Width = frmSSDas.ActiveForm.Size.Widt
tlbFixed.Refresh(
End Sub '(this is the code of the procedure where it occus - The Language is VB.Net
Thanks in advanc
Rui Pedro Nascimento