7 Replies - 461 Views - Last Post: 14 October 2012 - 06:13 AM Rate Topic: -----

#1 jskidd3  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 57
  • Joined: 16-September 12

Program not Compatible with Vista?

Posted 13 October 2012 - 09:39 AM

Hi, I've recently finished a program and have started testing with a group of people. 5 of the testers were using Windows 7 and one was using Windows Vista. All 5 using Windows 7 had no problems, however the user on Vista would see 'The program has stopped responding' whenever they launched it.

I think went on my other old computer which runs on Vista and had the same problem.

The program was published from a Windows 7 PC.

Is this something I'm just going to have to deal with and put as a requirement in the installer or am I doing something wrong?

Regards,
Joel

Is This A Good Question/Topic? 0
  • +

Replies To: Program not Compatible with Vista?

#2 NathanMullenax  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 83
  • View blog
  • Posts: 176
  • Joined: 23-September 12

Re: Program not Compatible with Vista?

Posted 13 October 2012 - 11:02 AM

Does it work on Vista when you compile it on a Vista machine?
Was This Post Helpful? 0
  • +
  • -

#3 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1046
  • View blog
  • Posts: 4,074
  • Joined: 02-July 08

Re: Program not Compatible with Vista?

Posted 13 October 2012 - 11:28 AM

You need some error reporting to a file you can retrieve and inspect what's happening.
Was This Post Helpful? 0
  • +
  • -

#4 jskidd3  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 57
  • Joined: 16-September 12

Re: Program not Compatible with Vista?

Posted 13 October 2012 - 02:01 PM

I haven't tested that Nathan, and how can I do that Hawk? Like a try and catch or? It just says it's not responding.
Was This Post Helpful? 0
  • +
  • -

#5 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1046
  • View blog
  • Posts: 4,074
  • Joined: 02-July 08

Re: Program not Compatible with Vista?

Posted 13 October 2012 - 02:30 PM

Something early on is causing it to crash so try/catches in the loading event and any subs/functions that maybe called. It could be permissions, environmental variables or file IO errors that you may not know about. If you can debug on the specific OS that would be the easiest way to go about it. Otherwise you will need to make an error log for you to check -> research -> reprogram -> retest.
Was This Post Helpful? 0
  • +
  • -

#6 jskidd3  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 57
  • Joined: 16-September 12

Re: Program not Compatible with Vista?

Posted 14 October 2012 - 02:06 AM

View Post_HAWK_, on 13 October 2012 - 02:30 PM, said:

Something early on is causing it to crash so try/catches in the loading event and any subs/functions that maybe called. It could be permissions, environmental variables or file IO errors that you may not know about. If you can debug on the specific OS that would be the easiest way to go about it. Otherwise you will need to make an error log for you to check -> research -> reprogram -> retest.


Annoyingly I can't debug on the Vista PC because I don't own it, and my Dad would become an ass if I started installing VB on it. Do you know how I can make an error log?
Was This Post Helpful? 0
  • +
  • -

#7 CharlieMay  Icon User is online

  • This space intentionally left blank
  • member icon

Reputation: 1605
  • View blog
  • Posts: 5,162
  • Joined: 25-September 09

Re: Program not Compatible with Vista?

Posted 14 October 2012 - 05:13 AM

Does this application access a database. If so, what database?
Are the OSes involved 32 or 64 bit.
What did you compile under (AnyCPU or x86 or x64)?

Can you post your form code? Specifically Form_Load or the starting Sub of your application?
We're kinda flying blind here without this information.
Was This Post Helpful? 0
  • +
  • -

#8 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1046
  • View blog
  • Posts: 4,074
  • Joined: 02-July 08

Re: Program not Compatible with Vista?

Posted 14 October 2012 - 06:13 AM

Use the StreamWriter to write the error to the text file, by sure to use the overload that appends to the file - even though I feel you have one main error to start with.

'this will be the the catch block
Dim path As String = Directory.GetParent(My.Application.ExecutablePath) & "/error_log.txt"
  Using sw As New StreamWriter(path, True)
    sw.WriteLine(ex.ToString)
  End Using

This post has been edited by _HAWK_: 14 October 2012 - 06:14 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1