Click here to Skip to main content
16,005,682 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionextract font name from font file Pin
Mridang Agarwalla7-Jun-06 2:38
Mridang Agarwalla7-Jun-06 2:38 
Questionactivation code Pin
tim verduijn7-Jun-06 1:35
tim verduijn7-Jun-06 1:35 
QuestionPrinting a local report without preview Pin
Swiss Mantoro6-Jun-06 23:40
Swiss Mantoro6-Jun-06 23:40 
AnswerRe: Printing a local report without preview Pin
Kschuler7-Jun-06 3:36
Kschuler7-Jun-06 3:36 
GeneralRe: Printing a local report without preview Pin
Swiss Mantoro7-Jun-06 18:48
Swiss Mantoro7-Jun-06 18:48 
GeneralRe: Printing a local report without preview [modified] Pin
Kschuler8-Jun-06 2:53
Kschuler8-Jun-06 2:53 
AnswerRe: Printing a local report without preview Pin
Muhammad Jawad12-Jul-06 5:01
Muhammad Jawad12-Jul-06 5:01 
QuestionArray issue.....plz help Pin
mayhem_rules6-Jun-06 23:23
mayhem_rules6-Jun-06 23:23 
VB.net / sql

myrow = DS.Tables("psrec").Rows(0) '1 record - 24 fields

Dim myIntArray(24) As Integer
For i = 0 To 23
myIntArray(i) = myrow(i)
Next

Array.Sort(myIntArray)
maxunits = myIntArray(24)

wat leaves me stumped is that since the array starts from 0, it should end at 23. However, the maxvalue can be found at myIntArray(24). when i print the array using the code,
For i = 0 To 23
Console.WriteLine(myIntArray(i))
Next

I always get 0 for myIntArray(0) for every record and the actual values are displayed from myIntArray(1). Therefore, one value is missed since the array prints till myIntArray(23). The last value is at myIntArray(24).

Can you explain this to me...


With Best Regards,

Mayur
AnswerRe: Array issue.....plz help Pin
ToddHileHoffer7-Jun-06 3:16
ToddHileHoffer7-Jun-06 3:16 
AnswerRe: Array issue.....plz help Pin
Guffa7-Jun-06 3:52
Guffa7-Jun-06 3:52 
GeneralRe: Array issue.....plz help Pin
mayhem_rules11-Jun-06 20:53
mayhem_rules11-Jun-06 20:53 
QuestionCrystal Reports Pin
Mr. Arfan Qadir6-Jun-06 23:09
Mr. Arfan Qadir6-Jun-06 23:09 
AnswerRe: Crystal Reports Pin
militiaware7-Jun-06 5:06
militiaware7-Jun-06 5:06 
AnswerRe: Crystal Reports Pin
darkelv8-Jun-06 4:21
darkelv8-Jun-06 4:21 
QuestionTyping in Unicode... Pin
padma_016-Jun-06 23:06
padma_016-Jun-06 23:06 
QuestionUsing popup calendar control in nested datagrids Pin
bala246-Jun-06 22:47
bala246-Jun-06 22:47 
Questionget windows directory path Pin
Mridang Agarwalla6-Jun-06 21:26
Mridang Agarwalla6-Jun-06 21:26 
AnswerRe: get windows directory path Pin
sathish s6-Jun-06 21:47
sathish s6-Jun-06 21:47 
Questionhow to rename a txt file VB.NET Pin
Member 22716556-Jun-06 21:16
Member 22716556-Jun-06 21:16 
AnswerRe: how to rename a txt file VB.NET Pin
sathish s6-Jun-06 21:52
sathish s6-Jun-06 21:52 
GeneralRe: how to rename a txt file VB.NET Pin
Member 22716556-Jun-06 23:31
Member 22716556-Jun-06 23:31 
GeneralRe: how to rename a txt file VB.NET Pin
J4amieC6-Jun-06 23:34
J4amieC6-Jun-06 23:34 
GeneralRe: how to rename a txt file VB.NET [modified] Pin
Member 22716556-Jun-06 23:51
Member 22716556-Jun-06 23:51 
GeneralRe: how to rename a txt file VB.NET [modified] Pin
J4amieC7-Jun-06 0:23
J4amieC7-Jun-06 0:23 
GeneralRe: how to rename a txt file VB.NET Pin
sathish s6-Jun-06 23:43
sathish s6-Jun-06 23:43 

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.