Click here to Skip to main content
15,943,148 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanna create a visual math exam . as you know math exam have equations and pictures.
for example; in a win form I must have a picture that loads from database(I did it and loaded the image into picturebox), and I have a word document (the math question with equations ) that must be shown near the picture (here I have problem!!).

1.I want to save this doc in database ;so what the data type must be to save it??


2. can I load a word document in win form ,please tell me exactly how can I do that? ;is there any component
that open a word doc in win form ?

3.at last I want it to run on computer that hasn't installed Office(word) what i must do?
:rose:
Posted

1 solution

nimanaqipoor wrote:
1.I want to save this doc in database ;so what the data type must be to save it??


depends on the database, but it could be blob, or image. That's if you want to save a file in it's native format, so the DB cannot do much with it. If you're doing that, it can sometimes be better to store the path to a file in the DB, and store the file in the file system

nimanaqipoor wrote:
can I load a word document in win form ,please tell me exactly how can I do that? ;is there any component
that open a word doc in win form ?


Microsoft Tools for Office let you interact with Office documents, I am not sure if they let you embed them in an app.

nimanaqipoor wrote:
at last I want it to run on computer that hasn't installed Office(word) what i must do?


Buy an expensive component that knows how to interact with word documents
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900