Audax321 Posted August 25, 2003 Posted August 25, 2003 Hello, Not sure if this post belongs here, but my proxy is acting up and not letting me access some of the forums right now. Anyway, is there a menu in VB.NET that will let you set the compiled exe's properties such as: Company Name Product Name etc... Right now, I have none of those set when the file compiles, so all I get in the Windows "Open With" menu for my program is an icon with no name when the user right clicks on its associated filetype. Also, if there is a way to add extra icons to the compiled .exe please let me know. Thanks :) Quote
*Experts* mutant Posted August 25, 2003 *Experts* Posted August 25, 2003 VS.NET generates a file named AssemblyInfo.vb to which you can input that information. If you dont have one then create a new project and just copy the file to your current one and fill in the info. Or add those imports: Imports System Imports System.Reflection Imports System.Runtime.InteropServices And then you can use this: <Assemlby: AssemblyTitle("")> There is more attributes that you can set. You can embed icons in your exe by adding them to the project and then setting their Build Action to Embedded Resource. Quote
Audax321 Posted August 25, 2003 Author Posted August 25, 2003 I have a question regarding embedding icons... I need to be able to access the icon using syntax like this in the registry: C:\MyProgram.exe,1 And embedding the icon like you said is not doing it. After looking some stuff up, it seems that if you use the embedded resource method you can only access the icon in the exe during runtime through code. But I need the icon to be accessible from the registry at any time. (It's an icon for any file type associated with my program :) ) If I'm using the wrong line in the registry, please let me know... Thanks.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.