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

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.
tjoseph833Asked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
no need to build for XP. What is your exact problem?
0
 
tjoseph833Author Commented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
do you have the same .Net framework installed? do you have any components/requirements that are nont installed?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
ZhaolaiCommented:
Try Run as Administrator.
0
 
Mohamed AbowardaSoftware EngineerCommented:
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
 
tjoseph833Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.