Click here to Skip to main content
15,886,578 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: JSON web service conncetion using vb-scrpit Pin
haidernitc14-Mar-12 18:32
haidernitc14-Mar-12 18:32 
AnswerRe: JSON web service conncetion using vb-scrpit Pin
Eddy Vluggen15-Mar-12 9:41
professionalEddy Vluggen15-Mar-12 9:41 
AnswerRe: JSON web service conncetion using vb-scrpit Pin
Bernhard Hiller14-Mar-12 20:57
Bernhard Hiller14-Mar-12 20:57 
QuestionStream reading embedded tar.gz files using SharpZipLib Pin
jwidhalm13-Mar-12 15:56
jwidhalm13-Mar-12 15:56 
AnswerRe: Stream reading embedded tar.gz files using SharpZipLib Pin
Eddy Vluggen14-Mar-12 7:59
professionalEddy Vluggen14-Mar-12 7:59 
QuestionSimple Way to Encrypt/Decrypt Text or String Pin
Brandon-X1200013-Mar-12 3:02
Brandon-X1200013-Mar-12 3:02 
AnswerRe: Simple Way to Encrypt/Decrypt Text or String Pin
Richard MacCutchan13-Mar-12 6:13
mveRichard MacCutchan13-Mar-12 6:13 
GeneralRe: Simple Way to Encrypt/Decrypt Text or String Pin
Brandon-X1200013-Mar-12 9:58
Brandon-X1200013-Mar-12 9:58 
QuestionHow to use two different versions of same dll in vb.net web application? Pin
Affan Toor13-Mar-12 2:28
Affan Toor13-Mar-12 2:28 
AnswerRe: How to use two different versions of same dll in vb.net web application? Pin
Dave Kreskowiak13-Mar-12 2:37
mveDave Kreskowiak13-Mar-12 2:37 
GeneralRe: How to use two different versions of same dll in vb.net web application? Pin
Affan Toor13-Mar-12 19:00
Affan Toor13-Mar-12 19:00 
AnswerRe: How to use two different versions of same dll in vb.net web application? Pin
Sentenryu13-Mar-12 3:23
Sentenryu13-Mar-12 3:23 
GeneralRe: How to use two different versions of same dll in vb.net web application? Pin
Affan Toor13-Mar-12 19:02
Affan Toor13-Mar-12 19:02 

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.