DotNetWebTutor.com                                                    Link to Us

Adding a code snippet
Create a new project

  • Double click the form
  • Click on a blank line between the Sub

form1_load code

  • Right-click and menu appears
  • Select insert snippet

Menu insert snippet

  • Click common code patterns
  • Double-Click conditions and loops

Common Code Patterns

  • Select for…net statements

for next statement
Notice elements in green
These are replacements
for index as integer
You replace the values here with yours
end code snippets