![](/img/trans.png)
[英]How do I use the “Handles” clause from Visual Basic .NET with a DLL written using C#?
[英]How do I read the AssemblyFileVersion of a C# DLL from Visual Basic?
我正在從Visual Basic 6.0子例程調用C#對象(不要問)。 如何從Visual Basic獲取AssemblyFileVersion?
如果您嘗試通過VB6執行此操作,則將需要以下內容:
http://www.visualbasic.happycodings.com/Files_Directories_Drives/code30.html
使用Windows API應該可以滿足您的需求。
編輯:
不知道這是否也有幫助:
http://support.microsoft.com/kb/186118
顯示如何使用FileSystemObject,這可能是一種獲取文件信息的簡便方法。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.