Click here to Skip to main content
15,919,931 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWrong .Net version runtime Assembly Manager launched in VBAScript Pin
cateyes9928-Jun-07 18:23
cateyes9928-Jun-07 18:23 
QuestionPlz, anyone can help me? Thanks Pin
cateyes9929-Jun-07 13:51
cateyes9929-Jun-07 13:51 
AnswerRe: Plz, anyone can help me? Thanks Pin
Dave Kreskowiak30-Jun-07 2:37
mveDave Kreskowiak30-Jun-07 2:37 
GeneralRe: Plz, anyone can help me? Thanks Pin
cateyes991-Jul-07 23:32
cateyes991-Jul-07 23:32 
QuestionScreenSaver Pin
Xandip28-Jun-07 17:35
Xandip28-Jun-07 17:35 
AnswerRe: ScreenSaver Pin
Dave Kreskowiak29-Jun-07 3:29
mveDave Kreskowiak29-Jun-07 3:29 
QuestionQuestion about DataGridView and a text file [modified] Pin
Psycho-*Coder*-Extreme28-Jun-07 14:34
Psycho-*Coder*-Extreme28-Jun-07 14:34 
AnswerRe: Question about DataGridView and a text file Pin
Johan Hakkesteegt28-Jun-07 20:12
Johan Hakkesteegt28-Jun-07 20:12 
Hi,

You could try and adapt the way your ErrLog.txt file gets written, or use a streamreader to read through the file, but you could also consider one of the following two alternatives:
1. Forget about the DataGridView; ideally nobody will ever have to look at the information in the file, or better, nothing will ever get written to it. In other words, you will need very little access to this information, so why put an inordinate amount of time in developing this idea, when you can put the data in a ListBox, with minimal effort, or even just open the text file by hand. Ofcourse this depends on the average amount of errors thrown.
2. Forget about ErrLog.txt;
Psycho-*Coder*-Extreme wrote:
I'm fairly certain I'll need to make it a comma delimited file

Whether this or some other solution, in the end you will have to change the way your app writes the error data to the file. So consider the easiest way to fill a datagrid, which I would say is a dataset. The easiest way to fill a dataset from a file, is with the use of xml. I.e. your app runs > an error is thrown > an entry is made in DS_ErrorLog1 > DS_ErrorLog1 is the data source for the datagrid > push the button, et voila, the datagrid is shown. (and if you wantSmile | :) > when the app is closed you call DS_ErrorLog1.WriteXml("ErrorLog.xml"), and when the app is launched you call
DS_ErrorLog1.ReadXml("ErrorLog.xml")<br />



Johan

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

GeneralRe: Question about DataGridView and a text file Pin
Psycho-*Coder*-Extreme29-Jun-07 1:41
Psycho-*Coder*-Extreme29-Jun-07 1:41 
GeneralRe: Question about DataGridView and a text file Pin
Johan Hakkesteegt29-Jun-07 1:59
Johan Hakkesteegt29-Jun-07 1:59 
GeneralRe: Question about DataGridView and a text file Pin
Psycho-*Coder*-Extreme29-Jun-07 2:06
Psycho-*Coder*-Extreme29-Jun-07 2:06 
QuestionSaving changes made to a datagridview Pin
steve_rm28-Jun-07 12:53
steve_rm28-Jun-07 12:53 
AnswerRe: Saving changes made to a datagridview Pin
Dave Kreskowiak29-Jun-07 3:27
mveDave Kreskowiak29-Jun-07 3:27 
Questioncommunicating via RF Pin
Cory Kimble28-Jun-07 11:21
Cory Kimble28-Jun-07 11:21 
AnswerRe: communicating via RF Pin
Psycho-*Coder*-Extreme28-Jun-07 19:37
Psycho-*Coder*-Extreme28-Jun-07 19:37 
QuestionPopulating ComboBox Pin
HurricaneDan28-Jun-07 9:54
HurricaneDan28-Jun-07 9:54 
AnswerRe: Populating ComboBox Pin
Christian Graus28-Jun-07 13:20
protectorChristian Graus28-Jun-07 13:20 
GeneralRe: Populating ComboBox Pin
Psycho-*Coder*-Extreme28-Jun-07 14:48
Psycho-*Coder*-Extreme28-Jun-07 14:48 
GeneralRe: Populating ComboBox Pin
HurricaneDan29-Jun-07 3:09
HurricaneDan29-Jun-07 3:09 
QuestionConvert inches to feet/inches in VB's Crystal..... Pin
CCG328-Jun-07 8:51
CCG328-Jun-07 8:51 
AnswerRe: Convert inches to feet/inches in VB's Crystal..... Pin
Dave Kreskowiak28-Jun-07 9:23
mveDave Kreskowiak28-Jun-07 9:23 
GeneralRe: Convert inches to feet/inches in VB's Crystal..... Pin
CCG328-Jun-07 9:47
CCG328-Jun-07 9:47 
AnswerRe: Convert inches to feet/inches in VB's Crystal..... Pin
Dave Sexton28-Jun-07 11:22
Dave Sexton28-Jun-07 11:22 
GeneralRe: Convert inches to feet/inches in VB's Crystal..... Pin
Dave Sexton28-Jun-07 11:25
Dave Sexton28-Jun-07 11:25 
GeneralRe: Convert inches to feet/inches in VB's Crystal..... Pin
Dave Kreskowiak28-Jun-07 13:39
mveDave Kreskowiak28-Jun-07 13:39 

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.