保存计算 [英] Save calculations

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

问题描述

嗨!我正在努力制作o vb程序,我有一个大问题。

我有一些表格组合,我把一些关键字和我从一个表格转移到另一个表格(从文本到文本或从标签到文本)。我有一个命令,当我按下它时,它会完成所有的工作,所有的计算并完成我对表格的所有表格。问题是,当我完成后,我想继续这个计算。我不想失去他们,并从乞讨中做出来。该计划采用军队士兵的名字,并将他们放在任务表中。我想每周使用这个程序。有什么解决方案吗?保存命令??或者我导出表格,因为它设计为一​​个简单命令的单词??

我希望很快听到新闻。 。 。

非常感谢J.K.

解决方案


我想每周使用这个程序。有什么解决方案吗?保存命令??或者我导出表格,因为它设计为一​​个简单命令的单词??

我希望很快听到新闻。 。 。

非常感谢J.K.



保存进度的简单方法是将变量保存在文本文件中,然后在加载时读取它们。


如果你说实话,那么文本文件可以有变量,但如果没有,你就会使用一些加密技术。


HTH


是否有一个代码可以自动加载变量,或者我必须从头开始逐个加载?


非常感谢您的帮助


是否有一个代码可以自动加载变量,或者我必须从头开始逐个添加它们?


非常感谢您的帮助

Hi! i am i trying to make o vb program and i have a big problem.
I have a combination of forms into i put some keywords and i transfer data from one form into an other (from text to text or from labels to texts). I have a command and when i press it, it makes all the work, all the calculations and completes all the tables i have to the forms. The problem is when i have finished i want to keep this calculations. i don''t want to lose them and to make them from the begging. The program take the names of the soldiers of the army and put them to a table of tasks. I want to use this program weekly. Is there any solution? A save command?? Or i way to export the tables as it is designed to a word with a simply command??
I Hope to hear news soon. . .
Many thanks J.K.

解决方案

I want to use this program weekly. Is there any solution? A save command?? Or i way to export the tables as it is designed to a word with a simply command??
I Hope to hear news soon. . .
Many thanks J.K.


The easier way to save progress is to save your variables in a text file, then read them when you load it.

If you promess you''ll be honest, the text file can have variables as they are, but if not, you''d beter use some cryptography.

HTH


is there a code to load the variables automatically or i have to put them one by one from the beginning??

many thanks for your help


is there a code to load the variables automatically or i have to put them one by one from the beginning??

many thanks for your help


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

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