Hi All,
I'm totally new to OO programming, well more precisely microsoft .net style syntax. I recently downloaded Visual c# express, I want to learn, but am having a difficult time getting started. Mainly I think I'm searching the wrong terms. My first goal is to open a word doc in my application. After that I'll be parsing some data out of it, and generating a .txt file. So my first questions are:
Should I be using the RichTextBox to display the word doc?
If so, this line is giving me issues
'string' does not contain a definition for 'FromFile'
I know this is easy for the pros, but I need somewhere to start. Also, any links to sample code/prog/resources would be great. I have the SAMS 24 hour book, but I don't like it... TIA-
Joe
Because a thing seems difficult for you, do not think it impossible for anyone to accomplish.
Marcus Aurelius
I'm totally new to OO programming, well more precisely microsoft .net style syntax. I recently downloaded Visual c# express, I want to learn, but am having a difficult time getting started. Mainly I think I'm searching the wrong terms. My first goal is to open a word doc in my application. After that I'll be parsing some data out of it, and generating a .txt file. So my first questions are:
Should I be using the RichTextBox to display the word doc?
If so, this line is giving me issues
Code:
private void btnOpen_Click(object sender, EventArgs e)
{
if (ofdDoc.ShowDialog() == DialogResult.OK)
{
rtbData.Text = Text.FromFile(ofdDoc.FileName);
}
}
I know this is easy for the pros, but I need somewhere to start. Also, any links to sample code/prog/resources would be great. I have the SAMS 24 hour book, but I don't like it... TIA-
Joe
Because a thing seems difficult for you, do not think it impossible for anyone to accomplish.
Marcus Aurelius