How to get the path of my include files in vb.net 2005?
I have created a folder inside my project and i put an icon on it, now开发者_StackOverflow社区 i want to use it as my program icon how will i get the link of my icon inside misc folder?
- Double-click "My Project".
- Open the "Application" tab.
- Change "Icon" to "<Browse...>"
- Navigate to your icon and select it. Press "Open".
The actual path will be "..\..\Misc\app.ico"
. But that will not be available when you deploy your application. Your best bet is add it under your project settings so that it will be added as a resource in your application. If you want to do it manualy you will need to make sure the app.ico file is in your application directory and your path adjusted accordingly "app.ico"
or if you have an images directory ".\Images\app.ico"
精彩评论