|
-
Aug 20th, 2013, 05:24 PM
#1
Thread Starter
Junior Member
how to determine what windows operating systems are compatible with my application?
Hey all
I have 3 questions. I'm almost done creating an application using Visual Studio 2012, using the visual basic language. The funny thing is, I'm not exactly sure of what version of vb I'm using to write it in.
So my first question is how do I know what version of the visual basic language I'm using? What is the difference between vb.net, and vb6?
My second question is how do I determine the minimum operating system requirement, and hardware requirements for my application? Is there an easy way to analyze my program to get all the minimum requirements? I'll need to know once I'm going to make it available for download.
It isn't a very large application, but does allow for saved sessions with text data saved, and has a few image resources.
It runs Ok on my windows 7 operating system.
My third question is, if it runs ok on my windows 7 system, will it run on windows 8?
Thanks in advance.
Last edited by vincegrear; Aug 20th, 2013 at 05:28 PM.
-
Aug 20th, 2013, 05:37 PM
#2
Re: how to determine what windows operating systems are compatible with my applicatio
What is the difference between vb.net, and vb6?
Without starting a riot, let's just say you're not using VB6 (and indeed cannot using VS2012).
My second question is how do I determine the minimum operating system requirement, and hardware requirements for my application?
You'll get some indication from determining/deciding what .Net framework you're compiling for (if you've made no changes to VS settings and you're running in W8, then it's probably 4.5 which is not available, I believe, in XP). If it's 4 then you're generally good for XP through to W8. Obviously you can't compile for 64 bit and run on 32 bit though you can do it the other way round. Hardware requirements you'll have to figure out the old fashioned way ... testing, testing and more testing, though unless you're doing something really graphics heavy you're unlikely to need anything super-duper!
if it runs ok on my windows 7 system, will it run on windows 8?
Yes! Well, yes according to Microsoft. To what degree you should trust that is one of the many questions resulting in the less than stellar demand for W8! As I am among the reluctant I cvan offer no experience in the matter.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
Aug 20th, 2013, 06:42 PM
#3
Re: how to determine what windows operating systems are compatible with my applicatio
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Aug 20th, 2013, 07:52 PM
#4
Re: how to determine what windows operating systems are compatible with my applicatio
 Originally Posted by vincegrear
So my first question is how do I know what version of the visual basic language I'm using? What is the difference between vb.net, and vb6?
If you're using VS 2012 then you're using VB 2012, which is the 6th version of VB.NET. VB.NET and VB6 are basically different languages based on the same syntax. They have a rather different underlying architecture but the code looks very similar.
 Originally Posted by vincegrear
My second question is how do I determine the minimum operating system requirement, and hardware requirements for my application? Is there an easy way to analyze my program to get all the minimum requirements? I'll need to know once I'm going to make it available for download.
For a basic .NET application, you should generally just specify the .NET version. Unless you're doing something rather exotic or intensive, specific hardware requirements are all but meaningless these days. The .NET version will dictate the OS versions that are supported.
If you want to support XP then ensure that you don't use any version-specific features of later Windows versions, e.g. don't use the Windows API Code Pack, which provides a .NET API to the new features of Windows 7.
Also, if you target the Any CPU platform then your app will run in 32- or 64-bit mode depending on the OS. Under certain circumstances you will need to target the x86 platform to force the app to run in 32-bit mode for compatibility with existing 32-bit-only components, e.g. if you use an Access database.
 Originally Posted by vincegrear
My third question is, if it runs ok on my windows 7 system, will it run on windows 8?
You'd have to try fairly hard to make an app run on Windows 7 and not on Windows 8. There are always some areas of incompatibility but the vast majority of apps won't venture into those areas. .NET helps in this regard because you simply build against the appropriate .NET Framework and that all but guarantees that your app will work on any OS that supports that .NET version.
-
Aug 21st, 2013, 01:24 PM
#5
Thread Starter
Junior Member
Re: how to determine what windows operating systems are compatible with my applicatio
Brilliant. I owe you guys one.
So all I need to do really is determine which .net framework I've designed my app around, and then look up the supported operating systems.
Now at the risk of asking another extremely silly question, how do I determine the .net framework that my app centers around??
Last edited by vincegrear; Aug 21st, 2013 at 01:35 PM.
-
Aug 21st, 2013, 03:22 PM
#6
Re: how to determine what windows operating systems are compatible with my applicatio
these are the defaults:
vb2002 = .Net 1.0
vb2003 = .Net 1.1
vb2005 = .Net 2.0
vb2008 = .Net 3.5 (but from 2008 on you can select a framework to target)
vb2010 = .Net 4.0
vb2012 = .Net 4.5
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Aug 21st, 2013, 09:43 PM
#7
Thread Starter
Junior Member
Re: how to determine what windows operating systems are compatible with my applicatio
Yes I see how I can target which ever one I want now.
I'm wondering if I should target the .net 4.0, or should I stay up to date and go with the 4.5?
Last edited by vincegrear; Aug 21st, 2013 at 09:47 PM.
-
Aug 21st, 2013, 10:01 PM
#8
Re: how to determine what windows operating systems are compatible with my applicatio
 Originally Posted by vincegrear
Yes I see how I can target which ever one I want now.
I'm wondering if I should target the .net 4.0, or should I stay up to date and go with the 4.5?
If you're not using any .NET 4.5 features then there's no specific need to target 4.5. In fact, if you're not using any features of a later version then there's no need to target anything later than 2.0. I would tend to use 3.5 as a minimum unless a customer specifically required otherwise because 3.5 introduced LINQ and I find that to be an invaluable tool.
You also should consider compatibility. Check this out to see what .NET versions are available on each version of Windows by default:
http://blogs.msdn.com/b/astebner/arc...of-the-os.aspx
Also, based on the information provided by .paul. earlier, you're going to exclude XP users if you target .NET 4.5.
-
Aug 26th, 2013, 08:29 PM
#9
Thread Starter
Junior Member
Re: how to determine what windows operating systems are compatible with my applicatio
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|