BinaryRead&的BinaryWrite [英] BinaryRead & BinaryWrite
问题描述
Windows 8.1:Visual Studio 2017:VB
Windows 8.1 : Visual Studio 2017 : VB
我正在尝试编写一个可在我的台式机上使用的应用程序。 应用程序需要在启动时加载两个Integer数组。然后,我需要修改(更新)它们并在关机时将它们重新保存回文件。
I'm trying to write an App to use on my Desktop PC. The App needs to load two Integer arrays at startup. I then need to amend (update) them and save them back to file again on shutdown.
我是一名自学成才的程序员并且不会太高级。 我一直试图通过以下互联网搜索示例来使用binaryWrite / BinaryRead。 甚至尝试过微软网页上的例子,但我无法让它们发挥作用。
我可以阅读&写文本文件,但读取和保存整数数组超出了我的范围。
I'm a self-taught programmer and not too far advanced. I have been trying to use binaryWrite/BinaryRead by following examples on the internet searches. Even tried the examples on Microsoft's pages, but I can't get them to work. I can read & write text files, but reading and saving integer arrays is beyond me.
我已经77岁了(我会说,"我很想得到它解决了",但我不想把我的运气推得太远。"但我真的很感激一些帮助。
I'm 77 years of age and ( I was going to say, "I'm dying to get it solved", but I don't want to push my luck too far.) but I would really appreciate some help.
Ray
XIXray
推荐答案
Windows 8.1:Visual Studio 2017:VB
Windows 8.1 : Visual Studio 2017 : VB
我正在尝试编写一个可在台式机上使用的应用程序。 应用程序需要在启动时加载两个Integer数组。然后,我需要修改(更新)它们并在关机时将它们重新保存回文件。
I'm trying to write an App to use on my Desktop PC. The App needs to load two Integer arrays at startup. I then need to amend (update) them and save them back to file again on shutdown.
我是一名自学成才的程序员并且不会太高级。 我一直试图通过以下互联网搜索示例来使用binaryWrite / BinaryRead。 甚至尝试过微软网页上的例子,但我无法让它们发挥作用。
我可以阅读&写文本文件,但读取和保存整数数组超出了我的范围。
I'm a self-taught programmer and not too far advanced. I have been trying to use binaryWrite/BinaryRead by following examples on the internet searches. Even tried the examples on Microsoft's pages, but I can't get them to work. I can read & write text files, but reading and saving integer arrays is beyond me.
我已经77岁了(我会说,"我很想得到它解决了",但我不想把我的运气推得太远。"但我真的很感激一些帮助。
I'm 77 years of age and ( I was going to say, "I'm dying to get it solved", but I don't want to push my luck too far.) but I would really appreciate some help.
Ray
这篇关于BinaryRead&的BinaryWrite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!