如何从 Visual Basic 读取 C# DLL 的 AssemblyFileVersion?

发布于 2024-09-01 00:57:57 字数 87 浏览 1 评论 0原文

我正在从 Visual Basic 6.0 子例程调用 C# 对象(不要问)。 如何从 Visual Basic 获取 AssemblyFileVersion?

I am invoking a C# object from a Visual Basic 6.0 sub routine (don't ask).
How do I get the AssemblyFileVersion from Visual Basic?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

还不是爱你 2024-09-08 00:57:57

如果您尝试从 VB6 执行此操作,那么您将需要类似以下内容:

http ://www.visualbasic.happycodings.com/Files_Directories_Drives/code30.html

使用 Windows API 应该可以满足您的需要。

编辑:

不知道这是否也有帮助:

http://support.microsoft.com/kb/ 186118

展示如何使用 FileSystemObject,这可能是获取文件信息的更简单方法。

If you're trying to do this from VB6, then you will need something like this:

http://www.visualbasic.happycodings.com/Files_Directories_Drives/code30.html

Using the Windows API should give you what you need.

EDIT:

Don't know if this might also help:

http://support.microsoft.com/kb/186118

Shows how to use the FileSystemObject which could be an easier way to get file information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文