Click here to Skip to main content
15,915,319 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to list the datas in combobox or listbox? Pin
dileep.arangod23-Sep-08 2:04
dileep.arangod23-Sep-08 2:04 
AnswerRe: how to list the datas in combobox or listbox? Pin
~Khatri Mitesh~22-Sep-08 22:17
~Khatri Mitesh~22-Sep-08 22:17 
QuestionDividing image iton different segments, Pin
Rngrgreen22-Sep-08 18:29
Rngrgreen22-Sep-08 18:29 
QuestionSerial Port.. Pin
Subjugate22-Sep-08 14:36
Subjugate22-Sep-08 14:36 
AnswerRe: Serial Port.. Pin
Ashfield22-Sep-08 21:11
Ashfield22-Sep-08 21:11 
AnswerRe: Serial Port.. Pin
Levisvv15-Oct-08 9:09
Levisvv15-Oct-08 9:09 
QuestionFormatting question [modified] Pin
Sonhospa22-Sep-08 11:45
Sonhospa22-Sep-08 11:45 
AnswerRe: Formatting question Pin
Johan Hakkesteegt24-Sep-08 2:06
Johan Hakkesteegt24-Sep-08 2:06 
Hi Michael,

So lets see if I get this straight:
Michael Schäuble wrote:
hDWORD = br.ReadUInt32
.TimeCode = hDWORD

You read certain bits from the file into a variable of type Int32 and then you assign it to .TimeCode
I am going to have to assume that .TimeCode is a property of a class (tv ?) that you wrote yourself, and that the type of this property is int32.
In the listbox you get the value back from this property with ToString. ToString indeed just returns the string representation of your int32 value.

In other words, you'll have to convert the int32 value you got from the file to a DateTime value first in your tv class, before you use ToString("mmss") to show the string representation of the time value.

Same goes for all other similar conversions.

Hope this helps you,

Johan

My advice is free, and you may get what you paid for.

QuestionRe: Formatting question Pin
Sonhospa25-Sep-08 0:29
Sonhospa25-Sep-08 0:29 
QuestionRe: Formatting question Pin
Sonhospa25-Sep-08 0:54
Sonhospa25-Sep-08 0:54 
AnswerRe: Formatting question Pin
Johan Hakkesteegt25-Sep-08 1:01
Johan Hakkesteegt25-Sep-08 1:01 
QuestionRe: Formatting question Pin
Sonhospa25-Sep-08 1:33
Sonhospa25-Sep-08 1:33 
AnswerRe: Formatting question Pin
Johan Hakkesteegt25-Sep-08 3:30
Johan Hakkesteegt25-Sep-08 3:30 
GeneralRe: Formatting question Pin
Sonhospa25-Sep-08 6:57
Sonhospa25-Sep-08 6:57 
GeneralRe: Formatting question Pin
Johan Hakkesteegt25-Sep-08 19:51
Johan Hakkesteegt25-Sep-08 19:51 
GeneralRe: Formatting question Pin
Sonhospa25-Sep-08 22:17
Sonhospa25-Sep-08 22:17 
AnswerRe: Formatting question Pin
Johan Hakkesteegt25-Sep-08 0:57
Johan Hakkesteegt25-Sep-08 0:57 
AnswerRe: Formatting question Pin
Sonhospa25-Sep-08 1:37
Sonhospa25-Sep-08 1:37 
QuestionFile Counting in VB Pin
Sonhospa22-Sep-08 11:23
Sonhospa22-Sep-08 11:23 
AnswerRe: File Counting in VB Pin
Gagan.2023-Sep-08 1:10
Gagan.2023-Sep-08 1:10 
GeneralRe: File Counting in VB Pin
Sonhospa23-Sep-08 1:42
Sonhospa23-Sep-08 1:42 
GeneralRe: File Counting in VB Pin
Dave Kreskowiak23-Sep-08 2:02
mveDave Kreskowiak23-Sep-08 2:02 
NewsRe: File Counting in VB Pin
Sonhospa23-Sep-08 2:07
Sonhospa23-Sep-08 2:07 
NewsRe: File Counting in VB [modified] Pin
Sonhospa23-Sep-08 3:01
Sonhospa23-Sep-08 3:01 
QuestionAccessing the "this" pointer Pin
Eric Burns22-Sep-08 10:18
Eric Burns22-Sep-08 10:18 

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.