Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple things you should know[Some code and advice]
#1
[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.
[Image: iTijPACh1qYlA.png]
Personal Blog | Forever and Always <3 Mell
Reply


Messages In This Thread
Simple things you should know[Some code and advice] - by Xypher - 08-29-2010, 12:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Get Country Code In 1 Line Of Code. wchar_t 13 4,085 11-28-2012, 06:49 AM
Last Post: Cubs

Forum Jump:


Users browsing this thread: 1 Guest(s)