08-29-2010, 12:20 PM
[1] Always use Application.Exit() instead of things like End, me.close, and any other variation of those.
End is like holding down the power button and can cause errors.
Me.close does not always work properly.
Application.Exit() is what the normal x button uses.
[2] Use Messagebox.Show() instead of msgbox...
MsgBox is imported from Visual Basic 6 and actually uses up more memory than Messagebox.show() does.
-Credits to Vorfin for telling me that.
[3] To open up another form use the code formname.show.
Replace formname with the name of your form.
[4] Do not use code to do something that can be done in the properties.
I will continue to update this with new things.
End is like holding down the power button and can cause errors.
Me.close does not always work properly.
Application.Exit() is what the normal x button uses.
[2] Use Messagebox.Show() instead of msgbox...
MsgBox is imported from Visual Basic 6 and actually uses up more memory than Messagebox.show() does.
-Credits to Vorfin for telling me that.
[3] To open up another form use the code formname.show.
Replace formname with the name of your form.
[4] Do not use code to do something that can be done in the properties.
I will continue to update this with new things.