UniObjects for .NET - 读取和写入 UniVerse 文件
我们的组织正在使用 UniObjects for .NET,但 CD 似乎丢失了。我需要弄清楚如何在 Universe 中读取和写入文件。请注意该程序是用 VB.NET 编写的,
Dim uniSession As UniSession
Private DATABASE_IDENTIFIER As String = "uvcs"
uniSession = UniObjects.OpenSession(_hostname, _username, _password, _account, DATABASE_IDENTIFIER)
' Clear the already existing LICENCE_STATUS table
Dim nepiLicenceStatusFile As UniFile = uniSession.CreateUniFile("LICENCE_STATUS")
nepiLicenceStatusFile.Open()
nepiLicenceStatusFile.ClearFile()
' Insert new values in the LICENCE_STATUS table???
' Read values from the LICENCE_STATUS table???
我需要弄清楚如何插入新值以及如何从 LICENCE_STATUS 表中读取值。这里有人可以帮助我吗?
Our organization is using UniObjects for .NET but the CD seems to have gone missing. I need to figure out how to read and write to and from files in Universe. Please note the program is written in VB.NET
Dim uniSession As UniSession
Private DATABASE_IDENTIFIER As String = "uvcs"
uniSession = UniObjects.OpenSession(_hostname, _username, _password, _account, DATABASE_IDENTIFIER)
' Clear the already existing LICENCE_STATUS table
Dim nepiLicenceStatusFile As UniFile = uniSession.CreateUniFile("LICENCE_STATUS")
nepiLicenceStatusFile.Open()
nepiLicenceStatusFile.ClearFile()
' Insert new values in the LICENCE_STATUS table???
' Read values from the LICENCE_STATUS table???
I need to figure out how to insert new values, and read values from the LICENCE_STATUS table. Can anyone here help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您可以在 Rocket 网站 上找到您的手册
以下是一些示例阅读/写作
我相信你现在明白了:)
Firstly, you can find your manuals on Rocket's website
Here are some examples of reading/writing
I'm sure you get the idea now :)