Solved

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

Posted on 2010-09-17
6
310 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

790 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