本文介绍了将纯文本数据存储在自己的文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好我刚开始回到VB,我需要一些帮助。 我正在编写一个程序,要求用户键入一组数字/信件 (在这种情况下是运输集装箱)。 输入数据后,我有4个字母,我希望能够打电话给 与4个字母有关的数据。 基本上我希望它显示容器属于谁以及任何其他数据 i希望放在那里与容器有关。 而不是在一个单独的文件中硬编码我想要的一切。 谢谢 史蒂夫 解决方案 .. 。 。你的问题是? 。 。 。 。你的问题是? 看看史蒂夫,我们当然可以指出你提供的方向 a解决方案,但是了解更多关于 你的问题会很有帮助。 例如 1)你过去对VB的了解程度如何? - 不是问题,但它给出了一个起点 2)多少个容器? 3)你想存储的典型数据位是什么? 4)你为什么说''文件''? (你可以有明确的理由来指定文本文件 - 或者你可能没有 真正了解优点/缺点) 5)搜索什么您最初预期的标准是什么? 6)是否需要报告? 7)这是现有手动系统的装饰吗? 我个人最初的反应是你问过: ''如何编写CardBox应用程序?'' 这可能相当有趣,它让我想起了一个帖子 的启发我几年前写过GPrint.cls(Mike W知道我在说什么。谈论) OTOH你可能需要寻找现有的 Hi all i am just starting to get back into VB and i need a little help.I am writing a program that asks a user to type in a set of numbers/letters(in this case shipping containers).Once the data is entered i have my 4 letters and i want to be able to callup data relating to the 4 letters.Basically i want it to show who the container belongs to and any other datai wish to put in there relating to the container.Rather than hard code everything i want it in a seperate file(s).ThanksSteve 解决方案.. . . . and your question is ? . . . . and your question is ?Look Steve, we can certainly point you in directions that will providea solution, however it would be helpful to know quite a lot more aboutyour problem.For example1) How well did you know VB in the past ?- not a problem, but it gives a starting point2) How many containers ?3) What are the typical bits of data you want to store4) Why did you say ''text file'' ?(You could have spectactularly good reasons forspecifying text files - alternatively you might notreally understand the advantages/disadvantages)5) What searching criteria do you initially anticipate ?6) Any reports required ?7) Is this an embellishment of an existing manual system?Personally my initial reaction is that you have asked:''How do I write a CardBox Application ?''This might be rather interesting, it reminds me of a post thatinspired me to write GPrint.cls some years ago (Mike W knows what I amtalking about)OTOH it might be that you need to look for an existing 这篇关于将纯文本数据存储在自己的文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-19 01:18