Click here to Skip to main content
15,902,635 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMessage Removed Pin
11-Apr-13 22:58
David venewald11-Apr-13 22:58 
QuestionHow to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:02
Member 989133411-Apr-13 22:02 
AnswerRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:10
mentorThomas Daniels11-Apr-13 22:10 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:23
Member 989133411-Apr-13 22:23 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:30
mentorThomas Daniels11-Apr-13 22:30 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Member 989133411-Apr-13 22:54
Member 989133411-Apr-13 22:54 
GeneralRe: How to catch message WM_COPYDATA in VB? Pin
Thomas Daniels11-Apr-13 22:59
mentorThomas Daniels11-Apr-13 22:59 
QuestionIs DateTime.Now property precise [solved] Pin
econy11-Apr-13 9:30
econy11-Apr-13 9:30 
I am doing a project, the VB program running in PC, reading data from a device, I use a timer control to read the data, in 200 ms interval.

Then I need to store the data to a text file, each set of data with a timestamp, which be used to check when the data be acuqired.

Now I use DateTime.Now property as timestamp, but I found the interval between two timestamp is not equal to 200ms, it's much bigger than 200ms, about 500-700ms.

I wonder if the Now property is not precise, or the VB program consume some time to do other things, then the VB program is not able to handle the reading task on time requirement.

modified 11-Apr-13 16:05pm.

AnswerRe: Is DateTime.Now property precise Pin
Kenneth Haugland11-Apr-13 9:35
mvaKenneth Haugland11-Apr-13 9:35 
GeneralRe: Is DateTime.Now property precise Pin
econy11-Apr-13 9:46
econy11-Apr-13 9:46 
GeneralRe: Is DateTime.Now property precise Pin
Kenneth Haugland11-Apr-13 9:52
mvaKenneth Haugland11-Apr-13 9:52 
AnswerRe: Is DateTime.Now property precise Pin
Eddy Vluggen11-Apr-13 9:42
professionalEddy Vluggen11-Apr-13 9:42 
GeneralRe: Is DateTime.Now property precise Pin
econy11-Apr-13 9:50
econy11-Apr-13 9:50 
GeneralRe: Is DateTime.Now property precise Pin
Eddy Vluggen11-Apr-13 9:52
professionalEddy Vluggen11-Apr-13 9:52 
AnswerRe: Is DateTime.Now property precise [solved] Pin
Dave Kreskowiak11-Apr-13 10:27
mveDave Kreskowiak11-Apr-13 10:27 
AnswerRe: Is DateTime.Now property precise [solved] Pin
Alan N11-Apr-13 13:23
Alan N11-Apr-13 13:23 
QuestionHow to create a new project to run a class [solved] Pin
econy11-Apr-13 8:47
econy11-Apr-13 8:47 
AnswerRe: How to create a new project to run a class Pin
Kenneth Haugland11-Apr-13 9:20
mvaKenneth Haugland11-Apr-13 9:20 
AnswerRe: How to create a new project to run a class Pin
Eddy Vluggen11-Apr-13 9:21
professionalEddy Vluggen11-Apr-13 9:21 
GeneralRe: How to create a new project to run a class Pin
Kenneth Haugland11-Apr-13 9:27
mvaKenneth Haugland11-Apr-13 9:27 
GeneralRe: How to create a new project to run a class Pin
Eddy Vluggen11-Apr-13 9:30
professionalEddy Vluggen11-Apr-13 9:30 
GeneralRe: How to create a new project to run a class Pin
Kenneth Haugland11-Apr-13 9:32
mvaKenneth Haugland11-Apr-13 9:32 
GeneralRe: How to create a new project to run a class Pin
Eddy Vluggen11-Apr-13 9:37
professionalEddy Vluggen11-Apr-13 9:37 
GeneralRe: How to create a new project to run a class Pin
Kenneth Haugland11-Apr-13 9:45
mvaKenneth Haugland11-Apr-13 9:45 
GeneralRe: How to create a new project to run a class Pin
Eddy Vluggen11-Apr-13 9:51
professionalEddy Vluggen11-Apr-13 9:51 

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.