Click here to Skip to main content
15,913,854 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Can we Make Graphs in VB.net? Pin
Mandar Patankar28-Apr-06 10:48
Mandar Patankar28-Apr-06 10:48 
Questionunit conversion in vb.net Pin
wilde27-Apr-06 17:48
wilde27-Apr-06 17:48 
AnswerRe: unit conversion in vb.net Pin
Christian Graus27-Apr-06 17:54
protectorChristian Graus27-Apr-06 17:54 
Questionadding dynamic datagrid inside a datalist web control Pin
bshresth27-Apr-06 17:13
bshresth27-Apr-06 17:13 
QuestionNeed help in converting a code snippet from C# to VB.NET. Pin
Slow Learner27-Apr-06 15:47
Slow Learner27-Apr-06 15:47 
AnswerRe: Need help in converting a code snippet from C# to VB.NET. Pin
atregent27-Apr-06 17:38
atregent27-Apr-06 17:38 
AnswerRe: Need help in converting a code snippet from C# to VB.NET. Pin
Kevin McFarlane28-Apr-06 11:40
Kevin McFarlane28-Apr-06 11:40 
QuestionAny easy way : Random Number Range Pin
Chatura Dilan27-Apr-06 15:40
Chatura Dilan27-Apr-06 15:40 
I want to create a random number range (1 to 16) and get them to an array. Although I found a way, it looks Sniff | :^)

Dim Range(16) As Integer<br />
        Dim RandomNumber As Integer<br />
        Dim i As Integer<br />
<br />
        While i <= 15<br />
            Randomize()<br />
            RandomNumber = CInt(Int(16 * Rnd() + 1))<br />
<br />
            For j As Integer = 0 To 15<br />
                If Range(j) = RandomNumber Then<br />
                    Continue While<br />
                End If<br />
            Next<br />
<br />
            Range(i) = RandomNumber<br />
            i += 1<br />
        End While


Is there any easy way to do that?

Regards,


Chatura Dilan


AnswerRe: Any easy way : Random Number Range Pin
Christian Graus27-Apr-06 17:51
protectorChristian Graus27-Apr-06 17:51 
GeneralRe: Any easy way : Random Number Range Pin
Chatura Dilan27-Apr-06 18:45
Chatura Dilan27-Apr-06 18:45 
GeneralRe: Any easy way : Random Number Range Pin
Christian Graus27-Apr-06 19:00
protectorChristian Graus27-Apr-06 19:00 
AnswerRe: Any easy way : Random Number Range Pin
Roy Heil28-Apr-06 4:03
professionalRoy Heil28-Apr-06 4:03 
AnswerRe: Any easy way : Random Number Range Pin
Chatura Dilan28-Apr-06 15:06
Chatura Dilan28-Apr-06 15:06 
QuestionProblem with Deployment, Win Installer, Setup Pin
HamCoder27-Apr-06 12:00
HamCoder27-Apr-06 12:00 
AnswerRe: Problem with Deployment, Win Installer, Setup Pin
Andrew Bleakley27-Apr-06 12:35
Andrew Bleakley27-Apr-06 12:35 
GeneralRe: Problem with Deployment, Win Installer, Setup Pin
HamCoder28-Apr-06 9:40
HamCoder28-Apr-06 9:40 
QuestionStarting a process from a Windows Service Pin
dlarkin7727-Apr-06 5:22
dlarkin7727-Apr-06 5:22 
AnswerRe: Starting a process from a Windows Service Pin
H@is@here27-Apr-06 23:30
H@is@here27-Apr-06 23:30 
AnswerRe: Starting a process from a Windows Service Pin
spaceus27-Apr-06 23:56
spaceus27-Apr-06 23:56 
QuestionFind File Owner Using .NET 2.0 Pin
is251rd27-Apr-06 5:12
is251rd27-Apr-06 5:12 
AnswerRe: Find File Owner Using .NET 2.0 Pin
kasik27-Apr-06 5:32
kasik27-Apr-06 5:32 
GeneralRe: Find File Owner Using .NET 2.0 Pin
is251rd27-Apr-06 7:52
is251rd27-Apr-06 7:52 
QuestionNew to Programming Pin
mcb1227-Apr-06 4:46
mcb1227-Apr-06 4:46 
AnswerRe: New to Programming Pin
mr_1234527-Apr-06 7:07
mr_1234527-Apr-06 7:07 
GeneralRe: New to Programming Pin
Guffa27-Apr-06 8:38
Guffa27-Apr-06 8:38 

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.