Clickonce application has stopped working for WPF application - vb.net

I have created WPF application on Windows XP using VS 2008. When I published the application, it runs well on XP but it doesnt run on Windows 8 64 bit..I tried installing .net framework 3.5 SP1 on Windows 8 but its not getting installed.
When I run clickonce application,it shows "Projectname.exe has stopped working."
Can any1 help me to solve this.

Think all you need is here: Installing the .NET Framework 3.5 on Windows 8

Related

Microsoft.VisualBasic.PowerPacks.Compatibility.VB6 Crashing VB.Net Application

I came from VB6 and try to do a VB.net application on VB.net which can print .
I used
Imports Microsoft.VisualBasic.PowerPacks.Compatibility.VB6
And also installed the power pack. The application works fine on my Windows 8.1 but is crashing on Windows 7.
I tried to install the power pack on Windows 7 systems as well as I package and deployed on the windows 7 system but still no luck. Could anyone help me, why my application crashing on Windows 7 machine?

Project not working properly after publishing. VB.NET

I have published a mini project in VB.NET 2010, I'm currently using windows 7. The problem is after i transfer it to windows xp(sp2) and install it some of the buttons are not working. It is working properly when I install it to my laptop with windows 7.
Did you try installing .NET Framework 4 on Windows XP? Also you can try to install older versions like 3.5. After installing your program should work.
Download .NET Framework 4 from Microsoft

Project stopped running at Windows XP (32-bit)

I'm developing an application for a friend. I use Visual Basic 2012 (64-bit) and Windows 7 (64-bit).
I took a demo down to him to try it out to see what more features he wanted, and it was running ok.
When I got back the next week after implementing the new features, it refused to run on any of his Windows XP (32-bit) machines.
Error code:
MyApplicationName.exe is not a valid Win32 application
I tried it at a computer running Windows 7 (32-bit) which still worked all fine.
So, any ideas why it suddenly stopped running?
VS2012 will not generate an EXE that can run on XP when you use the default project settings. What matters is the .NET Framework version you target. If that's version 4.5 then there are two problems.
First one is that .NET 4.5 is not available for XP. Second one is important for this exception message, the compiler will mark the version of Windows that's required to run the EXE in the file header. That version number has always been set to 4.00. Until VS2012, it is now set to 6.00, the version number of Vista. XP will instantly reject your EXE with the "is not a valid Win32 application" message, even before it will tell you that it doesn't have .NET 4.5 installed.
Fix your problem by targeting .NET 4.0 or earlier. Project + Properties, Application tab, Target framework setting.
Try using corflags with /32bit+ and see if it works.
More information:
http://msdn.microsoft.com/en-us/library/ms164699.aspx

.NET framework, Windows XP

We have built an app with Visual Studio 2012 and it runs beautifully on any Windows 7 or Vista machine, 32 or 64 bit. However, when I try to run the app on an Win XP machine, I get this:
**
Prerequisite check for system component Microsoft .NET Framework 4.5
(x86 and x64) failed with the following error message:
"Installation of the Microsoft .NET Framework 4.5 is not supported on
this operating system. Contact your application vendor."
**
And then of course, when I try to install .NET 4.5 on the Win XP machine, I find out it's not supported.
At this point, I'm just wanting to know what can be done to get this app to run on Win XP. It's a calculator application written in visual basic.
Thanks Guys!
.Net framework 4.5 is not supported in Windows XP. If you're not using any .Net 4.5 features you can rebuild your app using .Net Framework 4 (In the Project properties).
I always hate these kind of answers, but a quick google search indicates that you can't get .net 4.5 to run on Windows XP.
IF you really really need your application to run, you can always use earlier versions of the framework
you can do this by
Right click on your project and go to
properties
application
target framework
and change that to something elxe

will windows application created using visual studio 2008 will work on winXP with out .net framework

I have made a small windows application with visual studio 2008 ,its working properly with win 7,but when i tried it in an another machine which is running in win xp it showed error. I googled and found that,the win xp machine what i have used does not have a .net framework.My question is that is their any way to make an application using vb 2008 which can be run in win xp computers which doesnt have a .net framework (other than virutlalisation) or to incorporate .net framework in the application.
*I am sorry for asking this question,i know its "dumb" question but i am new to vb.net
Advance thanks
No. You must have to install the appropriate version of .net framework.
You can make .netframework 2.0 application using visual studio 2008. Select . net framework 2.0 on opening visual studio 2008. This application will work in windows xp without installing any . net framework.