|
-
Aug 2nd, 2003, 11:22 PM
#26
I always heard people say that VB6 teaches bad programming habits I guess this is one of them. Or at least unless you got into class work then it doesn't help you learn the idea of instances. Also as a suggestion it is less confusing if you don't name your instance variable the same name as the type. So instead of:
Dim Form1 As New Form1
Try changing the instance variable name:
Dim frm As New Form1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|