Solved

.NET codes compiled in XP - can it run in Windows 7?

Posted on 2010-09-17
6
309 Views
Last Modified: 2013-11-26
Am having issues running DLLs and exe's in Windows 7 32bit. These were compiled in XP 32bit. Is there any step missing? Should I have seperate packages compiled for Windows 7 and XP?

Visual Studio 2008
VB.NET
MSI installer

Any help is much appreciated. Thanks.
0
Comment
Question by:tjoseph833
6 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 300 total points
ID: 33703023
no need to build for XP. What is your exact problem?
0
 

Author Comment

by:tjoseph833
ID: 33703061
I have codes compiled in XP (as DLLs and EXEs app). the app doesn't run in windows 7.

one of the errors:
'the application unable to start correctly (0xc000007b)'

 
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 33703229
do you have the same .Net framework installed? do you have any components/requirements that are nont installed?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 17

Expert Comment

by:Zhaolai
ID: 33703898
Try Run as Administrator.
0
 
LVL 12

Expert Comment

by:Mohamed Abowarda
ID: 33707205
Maybe there is a problem with your .NET Framework that installed in your copy of Windows 7, try to download and install .NET Framework 3.5:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6
0
 

Author Comment

by:tjoseph833
ID: 33707658
OK. I will test it out ... I think its the .NET version issue and Win 7 Admin rights too.

How do we force check and install .NET Framework 3.5 during setup installation?

Thanks for all the prompt replies.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question