Click here to Skip to main content
15,920,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Create a VB bar chart , based on the selected combobox Pin
braathaa18-Mar-12 18:20
braathaa18-Mar-12 18:20 
AnswerRe: How to Create a VB bar chart , based on the selected combobox Pin
Chandrasekharan P18-Mar-12 19:43
Chandrasekharan P18-Mar-12 19:43 
GeneralRe: How to Create a VB bar chart , based on the selected combobox Pin
braathaa19-Mar-12 16:55
braathaa19-Mar-12 16:55 
QuestionWhat are the methods of connection and transfer of data Pin
bapay18-Mar-12 12:13
bapay18-Mar-12 12:13 
AnswerRe: What are the methods of connection and transfer of data Pin
Dave Kreskowiak18-Mar-12 14:57
mveDave Kreskowiak18-Mar-12 14:57 
GeneralRe: What are the methods of connection and transfer of data Pin
bapay18-Mar-12 18:45
bapay18-Mar-12 18:45 
GeneralRe: What are the methods of connection and transfer of data Pin
bapay18-Mar-12 18:48
bapay18-Mar-12 18:48 
GeneralRe: What are the methods of connection and transfer of data Pin
Chandrasekharan P18-Mar-12 20:24
Chandrasekharan P18-Mar-12 20:24 
QuestionUnable to run an VB.NET exe in Wondows 2000 Pin
hansoctantan16-Mar-12 5:24
professionalhansoctantan16-Mar-12 5:24 
AnswerRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Luc Pattyn16-Mar-12 5:52
sitebuilderLuc Pattyn16-Mar-12 5:52 
AnswerRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Dave Kreskowiak16-Mar-12 13:46
mveDave Kreskowiak16-Mar-12 13:46 
AnswerRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Eddy Vluggen17-Mar-12 3:06
professionalEddy Vluggen17-Mar-12 3:06 
GeneralRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Dave Kreskowiak17-Mar-12 8:17
mveDave Kreskowiak17-Mar-12 8:17 
GeneralRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Bernhard Hiller18-Mar-12 22:52
Bernhard Hiller18-Mar-12 22:52 
GeneralRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Dave Kreskowiak19-Mar-12 3:54
mveDave Kreskowiak19-Mar-12 3:54 
AnswerRe: Unable to run an VB.NET exe in Wondows 2000 Pin
Bernhard Hiller18-Mar-12 22:54
Bernhard Hiller18-Mar-12 22:54 
QuestionShow Form Pin
Midnight Ahri15-Mar-12 16:31
Midnight Ahri15-Mar-12 16:31 
AnswerRe: Show Form Pin
Bernhard Hiller15-Mar-12 22:05
Bernhard Hiller15-Mar-12 22:05 
AnswerRe: Show Form Pin
Luc Pattyn16-Mar-12 4:41
sitebuilderLuc Pattyn16-Mar-12 4:41 
GeneralRe: Show Form Pin
Midnight Ahri16-Mar-12 15:19
Midnight Ahri16-Mar-12 15:19 
QuestionPrint to file changes value being printed Pin
6rtury15-Mar-12 1:13
6rtury15-Mar-12 1:13 
This is the craziest problem I've ever seen. I have a text file containing a line of financial data for each minute of the trading day -- 400/day. I extract 4 data for each minute, calculate a ratio for two of these data points, and print what I've extracted plus the calculated value as one line, comma delimited, to a final text file. I do this process line by line. All variables are zeroed out between loops.
The calculated value is a ratio, and when the ratio is below 1, it erratically prints to the file with an order of magnitude error -- e.g., 2.567 instead of .0267. This happens consistently inside a any one file when I repeat the routine, but NOT consistently among days. There is no pattern of frequency of occurrence within the file other than when I repeat the processing, the same minutes show the error. The errors are spread throughout the day's data. The only common factor is that for files showing the error, the denominator of the calculation is alway larger than the numerator. It never occurs when the numerator is larger.
I've stepped through those days showing the errors, watched the ratio values as they are calculated, and never see an error. It only appears in the printed file. Have also tried all kinds of formatting statements and the errors always appear, for the same minutes. I've examined the original data file and an intermediate processing file and can find no irregularities.
I guess my question is what could be happening in the Print to file process that causes this error? It appears with both the Print and Write statements.

Thanks for any ideas.
AnswerRe: Print to file changes value being printed Pin
Richard MacCutchan15-Mar-12 1:38
mveRichard MacCutchan15-Mar-12 1:38 
AnswerRe: Print to file changes value being printed Pin
Eddy Vluggen15-Mar-12 9:44
professionalEddy Vluggen15-Mar-12 9:44 
QuestionJSON web service conncetion using vb-scrpit Pin
haidernitc14-Mar-12 0:31
haidernitc14-Mar-12 0:31 
AnswerRe: JSON web service conncetion using vb-scrpit Pin
Eddy Vluggen14-Mar-12 8:06
professionalEddy Vluggen14-Mar-12 8:06 

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.