Skip to main content
guest
Join
|
Help
|
Sign In
RockyVB
Home
guest
|
Join
|
Help
|
Sign In
Wiki Home
Recent Changes
Pages and Files
Members
Home
Handy Hint Example
Handy Hints
Great Code
Good VB Resources
Instructor Resources
How to use Wikispaces
2011 S1 Jason Bignell HHS and presentation
Edit
0
3
…
0
Tags
No tags
Notify
RSS
Backlinks
Source
Print
Export (PDF)
Quantum Computing.pptm
Details
Download
646 KB
Project 3 Reports.docx
Details
Download
346 KB
Seminar Report.docx
Details
Download
20 KB
Also l for my handy hints, i shall be supling some code to quickly sort a listbox and some keyboard shortcuts:
To Sort a List box
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'This will set the listbox to automaticly sort its contents. this causes it to sort the items immediatly
lstBox.Sorted = True
'Should you not want the list box to coninue sorting, simply set sorted to false
lstBox.Sorted = False
'Now you have an alphaabectical listbox!
End Sub
To comment and comment a section of code
CTRL + K, CTRL + C Comments selected text.
CTRL + K, CTRL + U Uncomments selected text.
(This means to hit CTRL + K, then the second key combo)
Javascript Required
You need to enable Javascript in your browser to edit pages.
help on how to format text
Turn off "Getting Started"
Home
...
Loading...
Also l for my handy hints, i shall be supling some code to quickly sort a listbox and some keyboard shortcuts:
To Sort a List box
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'This will set the listbox to automaticly sort its contents. this causes it to sort the items immediatly
lstBox.Sorted = True
'Should you not want the list box to coninue sorting, simply set sorted to false
lstBox.Sorted = False
'Now you have an alphaabectical listbox!
End Sub
To comment and comment a section of code
CTRL + K, CTRL + C Comments selected text.
CTRL + K, CTRL + U Uncomments selected text.
(This means to hit CTRL + K, then the second key combo)