开发者

How to get the path of my include files in vb.net 2005?

开发者 https://www.devze.com 2023-03-30 03:41 出处:网络
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?

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?

How to get the path of my include files in vb.net 2005?


  1. Double-click "My Project".
  2. Open the "Application" tab.
  3. Change "Icon" to "<Browse...>"
  4. 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"

0

精彩评论

暂无评论...
验证码 换一张
取 消