数学考试! [英] A math exam !

查看:89
本文介绍了数学考试!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做一个视觉数学考试.如您所知,数学考试中有方程式和图片.
例如;以胜利的形式,我必须有一张从数据库加载的图片(我把它加载并将图片加载到图片框),并且我有一个单词文档(带有方程式的数学问题),必须在图片附近显示(这里我有问题) !!).

1.我想将此文档保存在数据库中;因此保存该文档必须是什么数据类型?


2.我可以用win格式加载Word文档吗,请告诉我该怎么做? ;是否有任何组件
以win形式打开word文档?

3.最后我希望它在未安装Office(word)的计算机上运行该怎么办?
:rose:

解决方案

nimanaqipoor写道:

1.我要保存此数据库中的doc;那么保存该数据类型必须是什么??



取决于数据库,但它可能是Blob或图像.那就是如果您想以其本机格式保存文件,那么数据库就无法对其进行太多处理.如果这样做,有时将一个文件的路径存储在DB中并将该文件存储在文件系统中有时会更好一些

nimanaqipoor写道:

我可以用win格式加载word文档吗,请告诉我该怎么做? ;是否有任何组件
以win形式打开word文档?



Microsoft Office工具可以让您与Office文档进行交互,我不确定它们是否允许您将它们嵌入到应用程序中.

nimanaqipoor写道:

最后,我希望它在未安装Office(word)的计算机上运行,​​我必须怎么做?



购买昂贵的组件,该组件知道如何与Word文档进行交互


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:

解决方案

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


这篇关于数学考试!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆