Vb.net get dll file version
The next 16 bits are the FileMinorPart number. The third set of 16 bits are the FileBuildPart number. The last 16 bits are the FilePrivatePart number.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post. Using: Visual Basic. NET Problem: I am using the code below to get the version information from a system dll.
GetFolderPath Environment. Split " " 0. ToString Versus the old one above shown below too that gives a different version number. ToString Can anyone explain this? Facebook Like. EXE and. DLL is not really significant in. The central notion is assembly. These files are only the PE files used as assembly modules. An assembly can have more than one module, but Visual Studio projects usually support only one, which is not a big defect.
EXE files can be used as the application as they have the entry point which the platform knows, and DLL can be used as a type library, but EXE can be used as a library in exactly the same way. The library assemblies doesn't have to "checked in". One assembly can reference other assemblies with Visual Studio, see Solution Explorer's "Reference", "Add Reference" and the use them exactly as it was in the same assembly, for the types and members marked by access modifiers public or protected.
Alternatively, an assembly can be loaded using System. Assembly methods. Posted 1-Aug pm Sergey Alexandrovich Kryukov. Abhinav S 2-Aug am. Thank you, Abhinav. Well, you defiantly have a point here!
But you are throwing so much information at me at the same time I can't really understand where to start from. My original question was, if it was possible to get my executable application to check for. Since I don't want to keep both. Here is something I'm thinking of doing: I will keep the. Then the program will look in that folder for the.
I thank you very much! Sergey Alexandrovich Kryukov 4-Aug am. I'm throwing all this information because your question requires that. You really need to understand all these things. Is there a way I can get VB. I have found a couple of things on the internet, but I cant get them to work or more likely I do not understand what I need to do to get the correct information.
I didn't add the code from the article, thought I would update the answer before the link was lost:. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 8 years, 1 month ago. Active 4 years, 8 months ago. Viewed 6k times.