Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:37
Puggsley12-Nov-06 11:37 
GeneralRe: Reading Registry Value Pin
Christian Graus12-Nov-06 11:40
protectorChristian Graus12-Nov-06 11:40 
GeneralRe: Reading Registry Value Pin
Puggsley12-Nov-06 11:52
Puggsley12-Nov-06 11:52 
QuestionSorting a one-dimensional array [modified] Pin
maddogjbm12-Nov-06 8:31
maddogjbm12-Nov-06 8:31 
AnswerRe: Sorting a one-dimensional array Pin
Guffa12-Nov-06 9:07
Guffa12-Nov-06 9:07 
GeneralRe: Sorting a one-dimensional array Pin
maddogjbm12-Nov-06 11:29
maddogjbm12-Nov-06 11:29 
AnswerRe: Sorting a one-dimensional array Pin
Syed Shahid Hussain12-Nov-06 9:26
Syed Shahid Hussain12-Nov-06 9:26 
AnswerRe: Sorting a one-dimensional array Pin
Christian Graus12-Nov-06 10:17
protectorChristian Graus12-Nov-06 10:17 
Wow -what a mess.

List<int> list = new List<int>();

while(list.Count < 20)
{
   int n = randomObject.Next(10,101);
   if (!list.Contains(n)) list.Add(n); // ! is Not in VB.NET
}

list.Sort();

That should do it in C#, hopefully you can follow my logic and impliment it in VB.NET.




GeneralRe: Sorting a one-dimensional array Pin
Guffa12-Nov-06 11:20
Guffa12-Nov-06 11:20 
GeneralRe: Sorting a one-dimensional array Pin
Christian Graus12-Nov-06 11:24
protectorChristian Graus12-Nov-06 11:24 
GeneralRe: Sorting a one-dimensional array Pin
maddogjbm12-Nov-06 11:46
maddogjbm12-Nov-06 11:46 
QuestionMulti-Language Implementation Pin
Syed Shahid Hussain12-Nov-06 8:17
Syed Shahid Hussain12-Nov-06 8:17 
QuestionVB.net multithreading [modified] Pin
Ahmad Jaseem12-Nov-06 6:22
Ahmad Jaseem12-Nov-06 6:22 
AnswerRe: VB.net multithreading Pin
Ahmad Jaseem13-Nov-06 2:55
Ahmad Jaseem13-Nov-06 2:55 
Questionarray in a db Pin
charchabil0312-Nov-06 4:35
charchabil0312-Nov-06 4:35 
AnswerRe: array in a db Pin
Guffa12-Nov-06 6:11
Guffa12-Nov-06 6:11 
Questionvb.net Sql server auto number Pin
charchabil0312-Nov-06 3:55
charchabil0312-Nov-06 3:55 
AnswerRe: vb.net Sql server auto number Pin
Duncan Edwards Jones12-Nov-06 5:36
professionalDuncan Edwards Jones12-Nov-06 5:36 
AnswerRe: vb.net Sql server auto number Pin
charchabil0312-Nov-06 6:08
charchabil0312-Nov-06 6:08 
Question"How can I pass jbyte * from VC++ to VB?" Pin
Orchid8511-Nov-06 21:42
Orchid8511-Nov-06 21:42 
AnswerRe: "How can I pass jbyte * from VC++ to VB?" Pin
Christian Graus12-Nov-06 6:49
protectorChristian Graus12-Nov-06 6:49 
QuestionHow can I change file time easily...(setfiletime) Pin
toeh11-Nov-06 13:11
toeh11-Nov-06 13:11 
AnswerRe: How can I change file time easily...(setfiletime) Pin
Guffa11-Nov-06 14:01
Guffa11-Nov-06 14:01 
Questioncurson location Pin
charchabil0311-Nov-06 10:40
charchabil0311-Nov-06 10:40 
AnswerRe: curson location Pin
MatrixCoder11-Nov-06 17:54
MatrixCoder11-Nov-06 17:54 

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.