M
MikeB
I've been all over the net with this question, I hope I've finally
found a group where I can ask about Visual Basic 2005.
I'm at uni and we're working with Visual Basic 2005. I have some books,
- Programming Visual Basic by Balena (MS Press) and
- Visual Basic 2005 by Willis (WROX),
but they don't go into the forms design aspects and describing the
various controls at all. What bookscan I get that will cover that?
Also, I'm trying out visual inheritance and I'm running into a weird
problem.
I create a form in my class library and put a button on the form. I
then try to assign the click event to that button as follows:
Public Class frmBaseFormT
Private Sub btnBCISLogo_Click(ByVal sender As System.Object, -
ByVal e As System.EventArgs) -
Handles btnBCISLogo.Click
Application.Exit()
End Sub
End Class
When I try to build the class, I get the error
name 'Application' is not defined.
If I do exactly the same in a regular library (not a class library), I
get no error.
Any pointers on what I'm doing wrong?
Thanks
found a group where I can ask about Visual Basic 2005.
I'm at uni and we're working with Visual Basic 2005. I have some books,
- Programming Visual Basic by Balena (MS Press) and
- Visual Basic 2005 by Willis (WROX),
but they don't go into the forms design aspects and describing the
various controls at all. What bookscan I get that will cover that?
Also, I'm trying out visual inheritance and I'm running into a weird
problem.
I create a form in my class library and put a button on the form. I
then try to assign the click event to that button as follows:
Public Class frmBaseFormT
Private Sub btnBCISLogo_Click(ByVal sender As System.Object, -
ByVal e As System.EventArgs) -
Handles btnBCISLogo.Click
Application.Exit()
End Sub
End Class
When I try to build the class, I get the error
name 'Application' is not defined.
If I do exactly the same in a regular library (not a class library), I
get no error.
Any pointers on what I'm doing wrong?
Thanks