|
From: axis on 22 Feb 2005 07:25 Sorry to re-post this, but I still need a little assistance. "thatsalok" <thatsalok(a)NO_gmail.com_I_DONT_NEED_SPAM> wrote in message news:%23hl9kRlFFHA.2508(a)TK2MSFTNGP10.phx.gbl... > You need to Enable Xp theme in your Appliation look for more info here > http://www.developer.com/net/asp/article.php/3101831 > > > -- > > With Regards > Alok Gupta > Visit me at http://alok.bizhat.com > > "I think this will Help" > "axis" <nospam(a)nospam.org> wrote in message > news:E42dndp3Y8E8KYvfRVn-ig(a)comcast.com... >> When I run a dialog I've created in Visual Studio .Net 2003 (C++), with >> buttons, tabs, and such, it doesn't look nice like the forms that come up > if >> I run the Control Panel items or even the Start > Run dialog. Windows >> dialogs have buttons with rounded edges and lighter backgrounds, for >> example. Whereas buttons from the Visual Studio designer end up being > square >> and grey. How do I set up my dialogs so that they inherit these same > styles >> that the windows forms have? >> I've read through the page, and also the MSDN documentation at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp .... but I can't get it to work. I follow the instructions and my application does not start (it says 'The application has failed to start because the applicaiton configuration is incorrect...') This is probably due to a value in the manifest being off... In the portion of the manifest where one is supposed to put the 'application name', what exactly are they referring to here? The AssemblyTitleAttribute in my assemblyinfo.cpp? The fully qualified class path for my main application form? The executable name? Anything else you can think of, from the error message? Otherwise, any tips on debugging the issue? I'm really surprised at how convoluted this is... You'd think that at least by VS .NET 2003 they would have made this a simple build option.
From: Christopher J. Holland.............................................................................. on 22 Feb 2005 20:01 After reading your previous Post, I went ahead an implemented it in my project. I read that the Application Name and Version are not important. Buf for grins, call it your App.exe. The Version number is located in the Resource Viewer, under Version\VS_VERSION_INFO <assemblyIdentity version="1.0.0.1" processorArchitecture="X86" name="ScopeApp.exe" type="win32" /> What is important is the Resource ID. It should be 1. I would suggest making a directory in res. Call it rest\Manifest Copy the manifest file and change the name to whatever you want. I call it YourApp.Manifest. Then, do what it says in this article http://www.developer.com/net/asp/article.php/3101831 Properties for Manifest FileName: res\Manifest\ScopeApp.manifest ID 1 Good Luck, - Christopher J. Holland [!MVP] http://www.mvps.org/vcfaq/ http://www.codeguru.com http://www.codeproject.com http://www.naughter.com/ http://support.microsoft.com/default.aspx http://msdn.microsoft.com/howto/ http://msdn.microsoft.com/library/ www.flounder.com/mvp_tips.htm "axis" <nospam(a)nospam.org> wrote in message news:OsOdnT6QOJ8CuYbfRVn-pA(a)comcast.com... > Sorry to re-post this, but I still need a little assistance. > > "thatsalok" <thatsalok(a)NO_gmail.com_I_DONT_NEED_SPAM> wrote in message > news:%23hl9kRlFFHA.2508(a)TK2MSFTNGP10.phx.gbl... >> You need to Enable Xp theme in your Appliation look for more info here >> http://www.developer.com/net/asp/article.php/3101831 >> >> >> -- >> >> With Regards >> Alok Gupta >> Visit me at http://alok.bizhat.com >> >> "I think this will Help" >> "axis" <nospam(a)nospam.org> wrote in message >> news:E42dndp3Y8E8KYvfRVn-ig(a)comcast.com... >>> When I run a dialog I've created in Visual Studio .Net 2003 (C++), with >>> buttons, tabs, and such, it doesn't look nice like the forms that come >>> up >> if >>> I run the Control Panel items or even the Start > Run dialog. Windows >>> dialogs have buttons with rounded edges and lighter backgrounds, for >>> example. Whereas buttons from the Visual Studio designer end up being >> square >>> and grey. How do I set up my dialogs so that they inherit these same >> styles >>> that the windows forms have? >>> > > > I've read through the page, and also the MSDN documentation at > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp > ... but I can't get it to work. I follow the instructions and my > application > does not start (it says 'The application has failed to start because the > applicaiton configuration is incorrect...') > > This is probably due to a value in the manifest being off... In the > portion > of the manifest where one is supposed to put the 'application name', what > exactly are they referring to here? The AssemblyTitleAttribute in my > assemblyinfo.cpp? The fully qualified class path for my main application > form? The executable name? > > Anything else you can think of, from the error message? > Otherwise, any tips on debugging the issue? > > I'm really surprised at how convoluted this is... You'd think that at > least > by VS .NET 2003 they would have made this a simple build option. >
From: axis on 23 Feb 2005 08:52 Thanks Christopher! I'll give it a try today. "Christopher J. Holland..........................................................................................................." <msnews(a)microsoft.com> wrote in message news:%23xnt%23MUGFHA.1292(a)TK2MSFTNGP10.phx.gbl... > After reading your previous Post, I went ahead an implemented it in my > project. > I read that the Application Name and Version are not important. > Buf for grins, call it your App.exe. > The Version number is located in the Resource Viewer, under > Version\VS_VERSION_INFO > > <assemblyIdentity > version="1.0.0.1" > processorArchitecture="X86" > name="ScopeApp.exe" > type="win32" > /> > > What is important is the Resource ID. It should be 1. > > I would suggest making a directory in res. Call it rest\Manifest > Copy the manifest file and change the name to whatever you want. I call it > YourApp.Manifest. > Then, do what it says in this article > http://www.developer.com/net/asp/article.php/3101831 > > Properties for Manifest > FileName: res\Manifest\ScopeApp.manifest > ID 1 > > Good Luck, > - > Christopher J. Holland [!MVP] > http://www.mvps.org/vcfaq/ > http://www.codeguru.com > http://www.codeproject.com > http://www.naughter.com/ > http://support.microsoft.com/default.aspx > http://msdn.microsoft.com/howto/ > http://msdn.microsoft.com/library/ > www.flounder.com/mvp_tips.htm > > "axis" <nospam(a)nospam.org> wrote in message > news:OsOdnT6QOJ8CuYbfRVn-pA(a)comcast.com... >> Sorry to re-post this, but I still need a little assistance. >> >> "thatsalok" <thatsalok(a)NO_gmail.com_I_DONT_NEED_SPAM> wrote in message >> news:%23hl9kRlFFHA.2508(a)TK2MSFTNGP10.phx.gbl... >>> You need to Enable Xp theme in your Appliation look for more info here >>> http://www.developer.com/net/asp/article.php/3101831 >>> >>> >>> -- >>> >>> With Regards >>> Alok Gupta >>> Visit me at http://alok.bizhat.com >>> >>> "I think this will Help" >>> "axis" <nospam(a)nospam.org> wrote in message >>> news:E42dndp3Y8E8KYvfRVn-ig(a)comcast.com... >>>> When I run a dialog I've created in Visual Studio .Net 2003 (C++), with >>>> buttons, tabs, and such, it doesn't look nice like the forms that come >>>> up >>> if >>>> I run the Control Panel items or even the Start > Run dialog. Windows >>>> dialogs have buttons with rounded edges and lighter backgrounds, for >>>> example. Whereas buttons from the Visual Studio designer end up being >>> square >>>> and grey. How do I set up my dialogs so that they inherit these same >>> styles >>>> that the windows forms have? >>>> >> >> >> I've read through the page, and also the MSDN documentation at >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp >> ... but I can't get it to work. I follow the instructions and my >> application >> does not start (it says 'The application has failed to start because the >> applicaiton configuration is incorrect...') >> >> This is probably due to a value in the manifest being off... In the >> portion >> of the manifest where one is supposed to put the 'application name', what >> exactly are they referring to here? The AssemblyTitleAttribute in my >> assemblyinfo.cpp? The fully qualified class path for my main application >> form? The executable name? >> >> Anything else you can think of, from the error message? >> Otherwise, any tips on debugging the issue? >> >> I'm really surprised at how convoluted this is... You'd think that at >> least >> by VS .NET 2003 they would have made this a simple build option. >> > >
From: axis on 23 Feb 2005 21:13 I think the problem was that my app didn't have a Version resource. I added one, followed the instructions, and it worked. Thanks for the help! "Christopher J. Holland..........................................................................................................." <msnews(a)microsoft.com> wrote in message news:%23xnt%23MUGFHA.1292(a)TK2MSFTNGP10.phx.gbl... > After reading your previous Post, I went ahead an implemented it in my > project. > I read that the Application Name and Version are not important. > Buf for grins, call it your App.exe. > The Version number is located in the Resource Viewer, under > Version\VS_VERSION_INFO > > <assemblyIdentity > version="1.0.0.1" > processorArchitecture="X86" > name="ScopeApp.exe" > type="win32" > /> > > What is important is the Resource ID. It should be 1. > > I would suggest making a directory in res. Call it rest\Manifest > Copy the manifest file and change the name to whatever you want. I call it > YourApp.Manifest. > Then, do what it says in this article > http://www.developer.com/net/asp/article.php/3101831 > > Properties for Manifest > FileName: res\Manifest\ScopeApp.manifest > ID 1 > > Good Luck, > - > Christopher J. Holland [!MVP] > http://www.mvps.org/vcfaq/ > http://www.codeguru.com > http://www.codeproject.com > http://www.naughter.com/ > http://support.microsoft.com/default.aspx > http://msdn.microsoft.com/howto/ > http://msdn.microsoft.com/library/ > www.flounder.com/mvp_tips.htm > > "axis" <nospam(a)nospam.org> wrote in message > news:OsOdnT6QOJ8CuYbfRVn-pA(a)comcast.com... >> Sorry to re-post this, but I still need a little assistance. >> >> "thatsalok" <thatsalok(a)NO_gmail.com_I_DONT_NEED_SPAM> wrote in message >> news:%23hl9kRlFFHA.2508(a)TK2MSFTNGP10.phx.gbl... >>> You need to Enable Xp theme in your Appliation look for more info here >>> http://www.developer.com/net/asp/article.php/3101831 >>> >>> >>> -- >>> >>> With Regards >>> Alok Gupta >>> Visit me at http://alok.bizhat.com >>> >>> "I think this will Help" >>> "axis" <nospam(a)nospam.org> wrote in message >>> news:E42dndp3Y8E8KYvfRVn-ig(a)comcast.com... >>>> When I run a dialog I've created in Visual Studio .Net 2003 (C++), with >>>> buttons, tabs, and such, it doesn't look nice like the forms that come >>>> up >>> if >>>> I run the Control Panel items or even the Start > Run dialog. Windows >>>> dialogs have buttons with rounded edges and lighter backgrounds, for >>>> example. Whereas buttons from the Visual Studio designer end up being >>> square >>>> and grey. How do I set up my dialogs so that they inherit these same >>> styles >>>> that the windows forms have? >>>> >> >> >> I've read through the page, and also the MSDN documentation at >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp >> ... but I can't get it to work. I follow the instructions and my >> application >> does not start (it says 'The application has failed to start because the >> applicaiton configuration is incorrect...') >> >> This is probably due to a value in the manifest being off... In the >> portion >> of the manifest where one is supposed to put the 'application name', what >> exactly are they referring to here? The AssemblyTitleAttribute in my >> assemblyinfo.cpp? The fully qualified class path for my main application >> form? The executable name? >> >> Anything else you can think of, from the error message? >> Otherwise, any tips on debugging the issue? >> >> I'm really surprised at how convoluted this is... You'd think that at >> least >> by VS .NET 2003 they would have made this a simple build option. >> > >
|
Pages: 1 Prev: Loading a file in the windows media activex control Next: Serial Port won't read |