9 Replies - 3648 Views - Last Post: 05 May 2010 - 11:36 AM Rate Topic: -----

#1 bioshock  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 75
  • Joined: 08-June 09

Application does not run on windows vista/7

Posted 03 May 2010 - 11:47 AM

Hi all :detective:

I have recently developed an aplication in XP that it works on XP nice but in vista or seven don't work at all. It gives a message when I try to enter the application like " The program cannot run.."

Well, anyone had already this problem or know how to solve it?
Thank you!

Is This A Good Question/Topic? 0
  • +

Replies To: Application does not run on windows vista/7

#2 snikmotnairb  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 70
  • Joined: 02-May 08

Re: Application does not run on windows vista/7

Posted 03 May 2010 - 01:17 PM

I've written a fairly complex program in Windows XP that worked equally well on Windows 7 with the one caveat being, the UAC caused problems with disk reading/writing. If I run the program as an admin, the problem goes away and it runs perfectly.

What exactly did the error say? "The program cannot run..." because????

Silly question but are you sure you have the correct version of the .Net framework installed on the Vista and Windows 7 machines? I would think those OS's come with it pre-installed but maybe not.
Was This Post Helpful? 0
  • +
  • -

#3 bioshock  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 75
  • Joined: 08-June 09

Re: Application does not run on windows vista/7

Posted 03 May 2010 - 02:20 PM

View Postsnikmotnairb, on 03 May 2010 - 12:17 PM, said:

I've written a fairly complex program in Windows XP that worked equally well on Windows 7 with the one caveat being, the UAC caused problems with disk reading/writing. If I run the program as an admin, the problem goes away and it runs perfectly.

What exactly did the error say? "The program cannot run..." because????

Silly question but are you sure you have the correct version of the .Net framework installed on the Vista and Windows 7 machines? I would think those OS's come with it pre-installed but maybe not.


Well, the message is like " The program left working .."
If I try to run as administrator is the same thing.
I have the correct version 3.5 .Net framework..
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1619
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Application does not run on windows vista/7

Posted 03 May 2010 - 05:13 PM

Never hard of an error message that said The program left working, so take a screenshot of the error message you get so we can see it
Was This Post Helpful? 0
  • +
  • -

#5 bioshock  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 75
  • Joined: 08-June 09

Re: Application does not run on windows vista/7

Posted 04 May 2010 - 10:20 AM

View PostPsychoCoder, on 03 May 2010 - 04:13 PM, said:

Never hard of an error message that said The program left working, so take a screenshot of the error message you get so we can see it


Well, I can take a picture, but the language is in portuguese...
I dont know the exactly the message in english..maybe: "The program doesn't work..."
And there is one more thing, today I made a test, I create an application with a simple button and a simple msgbox and it worked nicely on all SO's..
Was This Post Helpful? 0
  • +
  • -

#6 snikmotnairb  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 70
  • Joined: 02-May 08

Re: Application does not run on windows vista/7

Posted 04 May 2010 - 11:34 AM

Your best bet is to install VS on one of those machines and do some debugging to find out why the application isn't working. If that's not possible, maybe implement some sort of simple logging feature to help debug your application.

You just proved it works by creating that test application so it's something specific in your code that's causing the issue. Unless you can provide us with a more detailed descriptions of the problem, I don't know what more we can do for you.

Good luck either way :tup:
Was This Post Helpful? 0
  • +
  • -

#7 bioshock  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 75
  • Joined: 08-June 09

Re: Application does not run on windows vista/7

Posted 04 May 2010 - 11:42 AM

View Postsnikmotnairb, on 04 May 2010 - 10:34 AM, said:

Your best bet is to install VS on one of those machines and do some debugging to find out why the application isn't working. If that's not possible, maybe implement some sort of simple logging feature to help debug your application.

You just proved it works by creating that test application so it's something specific in your code that's causing the issue. Unless you can provide us with a more detailed descriptions of the problem, I don't know what more we can do for you.

Good luck either way :tup:


I'll do it tomorrow!. (Debugging)
Well, firstly I thought the problem was in the code that I made to create everytime we enter in application (a document (*.txt).)
So, I developed a simple application just with that parts of my full application and it works nicely again on all SO's.
But I will test on a virtual machine too, I'm downloading now Linux Ubuntu.
Thank you!!
Was This Post Helpful? 0
  • +
  • -

#8 Guest_Guest*


Reputation:

Re: Application does not run on windows vista/7

Posted 05 May 2010 - 10:41 AM

Hi all,

I solved the problem by debugging..
The problem were in some Rectangle that I had in a few forms..
Thank you all!
Was This Post Helpful? 0

#9 bioshock  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 75
  • Joined: 08-June 09

Re: Application does not run on windows vista/7

Posted 05 May 2010 - 10:44 AM

The last post was mine, I forgot to login :D
Was This Post Helpful? 0
  • +
  • -

#10 snikmotnairb  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 13
  • View blog
  • Posts: 70
  • Joined: 02-May 08

Re: Application does not run on windows vista/7

Posted 05 May 2010 - 11:36 AM

Glad to hear you worked it out m8.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1