XP vs Vista, program compatibility

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

XP vs Vista, program compatibility

Post by Patrickh »

I made an app, which works for all vista users ive sent it to. however, it crashes on startup for any xp users i send it to. The app is made in VB08.
Any ideas how i should build it so that it will work for both operating systems?
thanks in advance.
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

I'm bumping this because someone here must know... sorry if it's a newbish question, but that should just make it easier to answer. Any suggestions/questions about the situation would be appreciated.
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

08 languages use .net framework 3.0 (maybe 3.5?). Most XP users would only be running 2.0...if even. I suggest that when starting a new project, at the top right of the project dialog box, change the framework to 2.0.

For now, they would have to download and install the required framework.
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

dos mes wrote:08 languages use .net framework 3.0 (maybe 3.5?). Most XP users would only be running 2.0...if even. I suggest that when starting a new project, at the top right of the project dialog box, change the framework to 2.0.

For now, they would have to download and install the required framework.
thanks for the response dos mes. would there be a way of salvaging my project to work with 2.0?
hmm, just tried creating a new project, and i didn't see any framework options. Where and how can i set them? if there is a website somewhere that helps with this, please drop me a link so i wont be bothering you guys anymore... thanks for the help i really want my programs to be compatible, or whats the point...
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

Image
As for salvaging, you could always copy your controls and source over into a new project created with lower level framework.
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

:shock:
Image

well this is unfortunate... to google!

edit: found this pic online:
Image
do i not have the combo box because im using express edition or something?
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

You don't have to start a new project, you just go into the project properties for each project and it will have an option of what version of the framework to target.
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

Yes! I finally found the framework settings, thanks guys. For future reference, click your project properties and go to the compile section. At the bottom the is a button called Advanced Compiler Settings. Click that button, and in the dialog it opens is a combobox containing the framework to which you want to build.
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Common knowledge. :wink:
...left for good
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

Patrickssj6 wrote:Common knowledge. :wink:
Probably to most programmers, but i just do it on and off, can't even really call it a hobby...

also: i changed the framework to 2.0, saved, reloaded the project, built it, and gave it to two xp users, crashed for both. gave it to a vista user, worked fine. I'll check if they don't have 2.0, but that would surprise me. Is there something I'm missing?
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

I think I remember seeing an article on code project about targeting 2.0, and you had to get rid of some references in the project. Also make sure you have every project in your solution targeting 2.0(if you have multiple projects). So try searching on www.thecodeproject.com and hopefully you'll find it.
Post Reply