|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Application IconWhat is the best way to add a icon to a project and where to copy it
in the project folders? The icon I want to use for my current project I have placed in the bin \Debug folder and the pointed to it in the project properties page. I have also added the icon to my project in VS 2008 and set it to be embedded. The problem seems to be that when I build the project and then move it to another PC I have to copy the icon with it and when the PC is restarted I get an error that the icon cannot be found in the documentandsettings folder for the user which I'm not really sure why it would point to there and not the application folder instead. Help would be appreciated. Ty On Jun 17, 8:55 am, Ty <tbar***@lewistownhospital.org> wrote:
Show quoteHide quote > What is the best way to add a icon to a project and where to copy it How are you "moving the app to another PC"?> in the project folders? > > The icon I want to use for my current project I have placed in the bin > \Debug folder and the pointed to it in the project properties page. I > have also added the icon to my project in VS 2008 and set it to be > embedded. > > The problem seems to be that when I build the project and then move it > to another PC I have to copy the icon with it and when the PC is > restarted I get an error that the icon cannot be found in the > documentandsettings folder for the user which I'm not really sure why > it would point to there and not the application folder instead. > > Help would be appreciated. > > Ty On Jun 17, 9:35 am, Joe Cool <joecool1***@live.com> wrote:
Show quoteHide quote > On Jun 17, 8:55 am, Ty <tbar***@lewistownhospital.org> wrote: I build the project the copy the folder and files created to the PC> > > > > > > What is the best way to add a icon to a project and where to copy it > > in the project folders? > > > The icon I want to use for my current project I have placed in the bin > > \Debug folder and the pointed to it in the project properties page. I > > have also added the icon to my project in VS 2008 and set it to be > > embedded. > > > The problem seems to be that when I build the project and then move it > > to another PC I have to copy the icon with it and when the PC is > > restarted I get an error that the icon cannot be found in the > > documentandsettings folder for the user which I'm not really sure why > > it would point to there and not the application folder instead. > > > Help would be appreciated. > > > Ty > > How are you "moving the app to another PC"?- Hide quoted text - > > - Show quoted text - and run the exe in the folder. Icons that I have used on forms are not a problem. It is only the Icon that I want to use as the project exe icon. Ty On Jun 17, 10:29 am, Ty <tbar***@lewistownhospital.org> wrote:
Show quoteHide quote > On Jun 17, 9:35 am, Joe Cool <joecool1***@live.com> wrote: I accomplish this by making a VS setup and deployment project and add> > > > > > > On Jun 17, 8:55 am, Ty <tbar***@lewistownhospital.org> wrote: > > > > What is the best way to add a icon to a project and where to copy it > > > in the project folders? > > > > The icon I want to use for my current project I have placed in the bin > > > \Debug folder and the pointed to it in the project properties page. I > > > have also added the icon to my project in VS 2008 and set it to be > > > embedded. > > > > The problem seems to be that when I build the project and then move it > > > to another PC I have to copy the icon with it and when the PC is > > > restarted I get an error that the icon cannot be found in the > > > documentandsettings folder for the user which I'm not really sure why > > > it would point to there and not the application folder instead. > > > > Help would be appreciated. > > > > Ty > > > How are you "moving the app to another PC"?- Hide quoted text - > > > - Show quoted text - > > I build the project the copy the folder and files created to the PC > and run the exe in the folder. Icons that I have used on forms are not > a problem. It is only the Icon that I want to use as the project exe > icon. > the icon to the application folder. On Jun 17, 11:11 am, Joe Cool <joecool1***@live.com> wrote:
Show quoteHide quote > On Jun 17, 10:29 am, Ty <tbar***@lewistownhospital.org> wrote: I was under the impression that there wasn't a setup and deployment in> > > > > > > On Jun 17, 9:35 am, Joe Cool <joecool1***@live.com> wrote: > > > > On Jun 17, 8:55 am, Ty <tbar***@lewistownhospital.org> wrote: > > > > > What is the best way to add a icon to a project and where to copy it > > > > in the project folders? > > > > > The icon I want to use for my current project I have placed in the bin > > > > \Debug folder and the pointed to it in the project properties page. I > > > > have also added the icon to my project in VS 2008 and set it to be > > > > embedded. > > > > > The problem seems to be that when I build the project and then move it > > > > to another PC I have to copy the icon with it and when the PC is > > > > restarted I get an error that the icon cannot be found in the > > > > documentandsettings folder for the user which I'm not really sure why > > > > it would point to there and not the application folder instead. > > > > > Help would be appreciated. > > > > > Ty > > > > How are you "moving the app to another PC"?- Hide quoted text - > > > > - Show quoted text - > > > I build the project the copy the folder and files created to the PC > > and run the exe in the folder. Icons that I have used on forms are not > > a problem. It is only the Icon that I want to use as the project exe > > icon. > > I accomplish this by making a VS setup and deployment project and add > the icon to the application folder.- Hide quoted text - > > - Show quoted text - VS 2008? Ty Hi Ty,
How do you set an icon to be embedded? I need to do that in order to follow some example code I found on a msft webpage but I cannot find out how to do it. Thanks, Bob Show quoteHide quote "Ty" <tbar***@lewistownhospital.org> wrote in message news:3047e062-5645-426d-bd3b-1e4141ce28ba@a36g2000yqc.googlegroups.com... > What is the best way to add a icon to a project and where to copy it > in the project folders? > > The icon I want to use for my current project I have placed in the bin > \Debug folder and the pointed to it in the project properties page. I > have also added the icon to my project in VS 2008 and set it to be > embedded. > > The problem seems to be that when I build the project and then move it > to another PC I have to copy the icon with it and when the PC is > restarted I get an error that the icon cannot be found in the > documentandsettings folder for the user which I'm not really sure why > it would point to there and not the application folder instead. > > Help would be appreciated. > > Ty Bob,
In VS right click on your project in the solution explorer and select add existing item. The navigate to the icon and added it so it shows in the solution explorer. Now click on the icon in the solution explorer so it is selected and then in the properties window below click in the Build Action box and select Embedded Resource. Ty Thank you VERY much Ty. I had found something which mentioned "Build
Action" but I had no idea where to find it. Thanks again, Bob Show quoteHide quote "Ty" <tbar***@lewistownhospital.org> wrote in message news:70912116-e1e5-466b-83b4-b0322907678e@g1g2000yqh.googlegroups.com... > Bob, > In VS right click on your project in the solution explorer and select > add existing item. The navigate to the icon and added it so it shows > in the solution explorer. Now click on the icon in the solution > explorer so it is selected and then in the properties window below > click in the Build Action box and select Embedded Resource. > > Ty
Visual Basic is Dead!
Blanking Monitor and Unblanking Monitor Optional localizing serialPort receive problem Frustrated, Bothered and Bewildered (Form AutoScroll Broken) Merging Bitmaps Help with SOAP3 - OT Bindingsource problem prevent control events from firing before form is loaded QBasic 4.5 modules in VB.Net? |
|||||||||||||||||||||||