Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
GeneralRe: Whats wrong with this? Pin
Jon Hulatt7-Apr-06 3:17
Jon Hulatt7-Apr-06 3:17 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:25
livez7-Apr-06 3:25 
GeneralRe: Whats wrong with this? Pin
Guffa7-Apr-06 2:45
Guffa7-Apr-06 2:45 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:04
livez7-Apr-06 3:04 
GeneralRe: Whats wrong with this? Pin
Jon Hulatt7-Apr-06 3:28
Jon Hulatt7-Apr-06 3:28 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:49
livez7-Apr-06 3:49 
AnswerRe: Whats wrong with this? Pin
Judah Gabriel Himango7-Apr-06 4:05
sponsorJudah Gabriel Himango7-Apr-06 4:05 
QuestionC# and MS Word? Pin
kbalias7-Apr-06 1:59
kbalias7-Apr-06 1:59 
The user has many reports done in MS Word. The secretaries type the reports and then the managers have to read the reports and either approve them or refer them back for correction. After approval they need to be printed.

My initial idea is to do a windows application using C# and SQL Server. In the database I store the path to the report documents and this also allows me to add a column to this database table holding a flag, which will indicate whether the document needs to be corrected, has been approved, or can be printed. In that way when the application is started and the list of documents are displayed in ListView (for example) the user can see at first glance which documents are ready for printing, etc. The user can then also select which documents to list (i.e. the approved ones, the ones for printing, or the ones in the archive).

I have managed to write code that will open a document by opening MS Word from within the C# application. However that opens the document external to the C# application and this does not allow me to be able to set a flag once I have read/edited the document and closed MS Word. What I would like to do is open the word document onto my windows form (without losing the formatting) in some way and be able to edit it or even create a new one and still save it as a .doc document. Then once it was saved for example an option pops up whereby the document can be flagged as “Approved”, etc.

Is it possible doing it the way I have thought? Can you direct me to examples of how to get the document opened within the C# form? Any better ideas or suggestions will also be greatly appreciated.

Thanks.
Kobus

AnswerRe: C# and MS Word? Pin
scoroop7-Apr-06 2:07
scoroop7-Apr-06 2:07 
QuestionEvaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 1:58
Bill - Go Steelers!7-Apr-06 1:58 
GeneralRe: Evaluating a value to a string Pin
Guffa7-Apr-06 2:34
Guffa7-Apr-06 2:34 
GeneralRe: Evaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 2:49
Bill - Go Steelers!7-Apr-06 2:49 
GeneralRe: Evaluating a value to a string Pin
Guffa7-Apr-06 6:13
Guffa7-Apr-06 6:13 
GeneralRe: Evaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 8:51
Bill - Go Steelers!7-Apr-06 8:51 
Questiontype conversions Pin
Jon Hulatt7-Apr-06 1:48
Jon Hulatt7-Apr-06 1:48 
AnswerRe: type conversions Pin
Guffa7-Apr-06 2:03
Guffa7-Apr-06 2:03 
GeneralRe: type conversions Pin
Jon Hulatt7-Apr-06 3:10
Jon Hulatt7-Apr-06 3:10 
AnswerRe: type conversions Pin
Guffa7-Apr-06 6:38
Guffa7-Apr-06 6:38 
GeneralRe: type conversions Pin
S. Senthil Kumar7-Apr-06 18:37
S. Senthil Kumar7-Apr-06 18:37 
QuestionI have a question about MDI application. Pin
Alexander Kochurov7-Apr-06 1:00
Alexander Kochurov7-Apr-06 1:00 
AnswerRe: I have a question about MDI application. Pin
malharone7-Apr-06 19:16
malharone7-Apr-06 19:16 
GeneralRe: I have a question about MDI application. Pin
Alexander Kochurov9-Apr-06 20:07
Alexander Kochurov9-Apr-06 20:07 
QuestionPINVOKE.NET Add-In for Visual Studio Pin
t4ure4n7-Apr-06 0:58
t4ure4n7-Apr-06 0:58 
AnswerRe: PINVOKE.NET Add-In for Visual Studio Pin
J. Dunlap7-Apr-06 1:31
J. Dunlap7-Apr-06 1:31 
QuestionHow to get data from SqlDataSource Pin
papa19807-Apr-06 0:42
papa19807-Apr-06 0:42 

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.