Cannot start program in Windows7

H

hon123456

Dear all,

I have compile and distributed a simple C# using VS2008. The
VS2008 is having .net framework 3.5 sp 1 installed. And I install it
to windows 7. The windows 7 is having .net framework 3.5 intstalled. I
have turn on
the .net framework 3.5.1 in optional features in windows 7. But when I
click the program, no program is started.
I can run it smoothly in Windows XP with .net framework 3.5 installed.
What is the problem? Thanks.
 
H

hon123456

I have tried to install the .net frameworks sdk and .net framework 3.5
sp1. But the program does not pompt any screen. Maybe there is some
setting in windows 7 that let me to prompt the program's screen. I
believe the program is not having any problem running in windows 7.
Because when I click it, it does not prompt any error message but just
no reaction is happened.
So what can I do to let the program show the screen? Thanks.
 
M

Mr. Arnold

hon123456 said:
I have tried to install the .net frameworks sdk and .net framework 3.5
sp1. But the program does not pompt any screen. Maybe there is some
setting in windows 7 that let me to prompt the program's screen. I
believe the program is not having any problem running in windows 7.
Because when I click it, it does not prompt any error message but just
no reaction is happened.
So what can I do to let the program show the screen? Thanks.
.

You tried using a Windows 7 Mainifest for .Net programs?

Or did you set the properies on the program with Windows 7 to 'Run as
Administrator"?
 
P

Peter Duniho

hon123456 said:
I have tried to install the .net frameworks sdk and .net framework 3.5
sp1. But the program does not pompt any screen. Maybe there is some
setting in windows 7 that let me to prompt the program's screen. I
believe the program is not having any problem running in windows 7.
Because when I click it, it does not prompt any error message but just
no reaction is happened.
So what can I do to let the program show the screen? Thanks.

Assuming a correctly installed .NET (and Windows 7 comes with .NET 3.5
already installed, so it would be hard to get that wrong), and a
correctly written windowed C# program (you claim the exact same program
works on XP, so according to your post you haven't gotten that wrong
either), your program will run on Windows 7 just fine.

So, according to the description you've provided so far, the problem
you're describing doesn't happen.

Either you're imagining things, or you've left out some critical piece
of information that is required in order to understand the problem
you're having. Either way, there's not much chance of anyone telling
you what the problem is.

You need to provide a more specific problem description, preferably with
a concise-but-complete code example that reliably reproduces the problem.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top