Click here to Skip to main content
15,919,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all...

1st I want to create a program in VB.Net (VS2008) to read exe header.
Further I want to read the supplier name and company of the exe file.

2nd I want to count no. of files inside an executable setup (like an antivirus scans each file in a setup file but I want to count and list all those files inside a setup.)

Suggest me how to do this.



Thanks.

Gagan
Posted

I suggest google.

Search phrase: "vb.net exe header" (180,000 results):

http://www.vbforums.com/archive/index.php/t-244115.html[^]

Search phrase "vb.net windows installer api" (289,000 results):

http://www.installsite.org/pages/en/msi/tips.htm[^]
 
Share this answer
 
This[^] is a pretty good introduction to the Windows Portable Executable file header.

This[^] one gives more information as it relates to the .NET Framework.

An internet search on pe header structure .net will get you lots of hits. You might even find some example code you can utilize.

A similar search but replacing pe header with msi will get you just as much help.

Be warned though, neither of these tasks is easy. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900