Cara Mengedit File Exe Visual Basic
I am currently creating an application in Visual Studio 2010. After building the project to generate the output of my application, I find that the .exe is built with the default icon.
Is there any way to change or use my own picture as the icon for the .exe file generated by Visual Studio 2010?
3 Answers
To specify an application icon
- In Solution Explorer, choose a project node (not the Solution node).
- On the menu bar, choose Project, Properties.
- When the Project Designer appears, choose the Application tab.
- In the Icon list, choose an icon (.ico) file.
To specify an application icon and add it to your project
- In Solution Explorer, choose a project node (not the Solution node).
- On the menu bar, choose Project, Properties.
- When the Project Designer appears, choose the Application tab.
- Near the Icon list, choose the button, and then browseto the location of the icon file that you want.
The icon file is added to your project as a content file.
I found it easier to edit the project file directly e.g. YourApp.csproj.
You can do this by modifying ApplicationIcon
property element:
Also, if you create an MSI installer for your application e.g. using WiX, you can use the same icon again for display in Add/Remove Programs. See tip 5 here.
Check the project properties. It's configurable there if you are using another .net windows application for example
protected by Community♦Dec 15 '14 at 11:20
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged visual-studio-2010 or ask your own question.
I made a program using VB and I lost the source code but I have the exe file. How can I extract the code from the exe file?
6 Answers
Assuming your exe is a .NET assembly (you tagged the question as VB.NET), you can reverse engineer your exe using tools such as Reflector.
If it's VB.NET you can use the RedGate Reflector tool and the FileDisassemler plugin to generate the source code. That is if the exe was not obfuscated Crucc 2.4 car radio universal code calculator.
Since you tagged your question vb.net you might be able to retrieve quite some portions of your code using a .NET disassembler. For example try Lutz Roeder's .Net Reflector or MS ildasm which comes with the .NET compiler.
Use Reflector (assuming .NET) to dissassemble the exe back into code. You will need to create your own class structure, but you can recover the code as any of the supported CLR languages.
Have you tried Salamander, or one of the many other .net decompilers?