Click here to Skip to main content
15,888,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSorting a structure array Pin
Jacob Dixon5-Jul-09 11:53
Jacob Dixon5-Jul-09 11:53 
AnswerRe: Sorting a structure array Pin
Luc Pattyn5-Jul-09 12:40
sitebuilderLuc Pattyn5-Jul-09 12:40 
GeneralRe: Sorting a structure array Pin
Jacob Dixon5-Jul-09 12:44
Jacob Dixon5-Jul-09 12:44 
AnswerRe: Sorting a structure array Pin
Gideon Engelberth5-Jul-09 12:44
Gideon Engelberth5-Jul-09 12:44 
GeneralRe: Sorting a structure array Pin
Jacob Dixon5-Jul-09 13:52
Jacob Dixon5-Jul-09 13:52 
GeneralRe: Sorting a structure array Pin
Gideon Engelberth5-Jul-09 15:56
Gideon Engelberth5-Jul-09 15:56 
GeneralRe: Sorting a structure array Pin
Jacob Dixon5-Jul-09 15:59
Jacob Dixon5-Jul-09 15:59 
GeneralRe: Sorting a structure array Pin
Luc Pattyn6-Jul-09 0:46
sitebuilderLuc Pattyn6-Jul-09 0:46 
Hi,

a class implementing IComparer basically says Ï have a method Compare() that knows what the relative order would be of two objects of a given type; it will return zero when order is irrelevant (i.e. both objects are equal), a negative value if object1 should preceed object2, and a non-zero positive one if object1 should follow objects2."

So basically an integer Compare() method could just return the difference of both numbers; and a simple string compare method is obviously available in the string class.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionDrag&Drop problem Pin
The real $M@5-Jul-09 0:17
The real $M@5-Jul-09 0:17 
AnswerRe: Drag&Drop problem Pin
Mycroft Holmes5-Jul-09 2:14
professionalMycroft Holmes5-Jul-09 2:14 
GeneralRe: Drag&Drop problem Pin
Henry Minute5-Jul-09 4:18
Henry Minute5-Jul-09 4:18 
GeneralRe: Drag&Drop problem Pin
Mycroft Holmes5-Jul-09 14:10
professionalMycroft Holmes5-Jul-09 14:10 
AnswerRe: Drag&Drop problem Pin
Alan N5-Jul-09 4:05
Alan N5-Jul-09 4:05 
GeneralRe: Drag&Drop problem Pin
The real $M@5-Jul-09 22:04
The real $M@5-Jul-09 22:04 
QuestionAccess Database Path using vb.net[modified] Pin
mirzamujib4-Jul-09 23:09
mirzamujib4-Jul-09 23:09 
AnswerRe: Access Database Path using vb.ne Pin
dan!sh 5-Jul-09 2:30
professional dan!sh 5-Jul-09 2:30 
GeneralRe: Access Database Path using vb.ne Pin
mirzamujib5-Jul-09 3:58
mirzamujib5-Jul-09 3:58 
GeneralRe: Access Database Path using vb.ne Pin
dan!sh 5-Jul-09 5:19
professional dan!sh 5-Jul-09 5:19 
GeneralRe: Access Database Path using vb.ne Pin
JC.KaNNaN5-Jul-09 19:36
JC.KaNNaN5-Jul-09 19:36 
GeneralRe: Access Database Path using vb.ne Pin
mirzamujib6-Jul-09 1:29
mirzamujib6-Jul-09 1:29 
GeneralRe: Access Database Path using vb.ne Pin
mirzamujib6-Jul-09 0:25
mirzamujib6-Jul-09 0:25 
QuestionAdding effects in image Pin
Gagan.204-Jul-09 3:41
Gagan.204-Jul-09 3:41 
AnswerRe: Adding effects in image Pin
Rozis4-Jul-09 11:18
Rozis4-Jul-09 11:18 
AnswerRe: Adding effects in image Pin
Christian Graus5-Jul-09 0:23
protectorChristian Graus5-Jul-09 0:23 
GeneralRe: Adding effects in image Pin
Gagan.205-Jul-09 1:50
Gagan.205-Jul-09 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.