| | |
develop applications for vista on windows xp machine
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Hi
All the coders out there. I need a suggestion.
I have windows xp installed on my computer and i need to develop application for windows vista.
I would prefer to use .net framework 2.0 and visual studio 2005.
Instead of .net framework 3.5 and visual studio 2008.
Well, selection between .net framework is not a problem. It's ok if i could just use any of them. But i need to develop it on windows xp machine and would expect to implement it on windows vista or higher version of windows.
How can i do this?
Please help
Thanks
All the coders out there. I need a suggestion.
I have windows xp installed on my computer and i need to develop application for windows vista.
I would prefer to use .net framework 2.0 and visual studio 2005.
Instead of .net framework 3.5 and visual studio 2008.
Well, selection between .net framework is not a problem. It's ok if i could just use any of them. But i need to develop it on windows xp machine and would expect to implement it on windows vista or higher version of windows.
How can i do this?
Please help
Thanks
Last edited by nccsbim071; Nov 1st, 2009 at 1:24 am.
My Personnel Blog:dotnetworker.blogspot.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
1
#2 Nov 1st, 2009
If you write an application targeting the .net framework it will work across XP, vista, and windows 7 no problem. the 32/64 bit crossover might give you trouble if you use a lot of windows interlop. but other than that This is one of the things .net was made for, all .net languages work together perfectly, and all .net enabled versions of windows run the .net applications equally well.
happy coding.
happy coding.
0
#3 Nov 1st, 2009
how can we solve the problem of 32/64 bit platform and if they if have different cpu as X86 or x64,
My Personnel Blog:dotnetworker.blogspot.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
1
#4 Nov 1st, 2009
Every application under .NET gets compiled to IL (intermediate language) This is some sort of assembly language, yuo can see how it looks if you use the ILDASM tool. This IL gets executed by the JIT(just in time) compiler who translates it into native instructions for the cpu at hand.
As Diamonddrake already pointed out, if you are not doing anything "fancy", IMO very little can go wrong.
As Diamonddrake already pointed out, if you are not doing anything "fancy", IMO very little can go wrong.
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
•
•
Join Date: Jul 2009
Posts: 972
Reputation:
Solved Threads: 213
0
#5 Nov 2nd, 2009
As I understand it, unless you target specifically for the x64 processor, you really don't need to worry about whether your app will be running on x86 or x64 machine. As always though, pay attention to any x64 details when referring to any documentation...
0
#6 Nov 2nd, 2009
I have ran all of my apps on both XP and Vista, and the only issue I have had with 32/64 bit is on one of my apps I imported a few methods from user32.dll. on 64 bit vista 1 of the methods I imported didn't work. application still ran fine, just didn't perform that method. DdoubleD is right. Just compile for "any processor" its the default. and it should work fine, but its always a good idea to test the program on 64 bit before releasing it as 64 bit compatible.
0
#7 Nov 2nd, 2009
Thank you guys, you have been really helpful.
I was thinking the same.
But one thing is for sure that to run applications developed in .net correspondig versions of .net framework must be installed on client computer.
It is true, isn't it?
I was thinking the same.
But one thing is for sure that to run applications developed in .net correspondig versions of .net framework must be installed on client computer.
It is true, isn't it?
My Personnel Blog:dotnetworker.blogspot.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
0
#8 Nov 2nd, 2009
If it is true then i think i am having the problem is that client doesn't have the corresponding version of .net framework installed on his computer, that is why he is not able to run the application on his computer.
what do you say?
what do you say?
My Personnel Blog:dotnetworker.blogspot.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
My Company:http://www.bizpersonnel.com
Blog:http://bizpersonnel.wordpress.com
•
•
Join Date: Oct 2009
Posts: 63
Reputation:
Solved Threads: 17
0
#9 Nov 2nd, 2009
The easy way to see if any .Net Frameworks are installed is too look at the \WINDOWS\Microsoft.NET\Framework folder. Any versions that are installed will appear as folders inside (such as v1.0.3705, v2.0.50727, v3.0, etc.)
If that Microsoft.Net folder doesn't exist, then no version is installed.
As a side note, if you plan on having your software run on Vista, to make your life easier (and your users' harder, unfortunately) do not write anywhere in the Program Files tree, the root of the C: drive, or the HKEY Local Machine tree of the registry. Stick to HKEY Current User, and become best friends with System.Environment.GetFolderPath(Environment.SpecialFolder.<etc>)
If that Microsoft.Net folder doesn't exist, then no version is installed.
As a side note, if you plan on having your software run on Vista, to make your life easier (and your users' harder, unfortunately) do not write anywhere in the Program Files tree, the root of the C: drive, or the HKEY Local Machine tree of the registry. Stick to HKEY Current User, and become best friends with System.Environment.GetFolderPath(Environment.SpecialFolder.<etc>)
0
#10 Nov 2nd, 2009
the system must have a equivalent or newer version of .net installed. not necessarily the same version.
and yes, as the previous person stated. the UAC in vista forces applications to automatically be ran as if the user does not have admin rights even if they do. there are ways around it. but the best practice is just to play it safe.
and yes, as the previous person stated. the UAC in vista forces applications to automatically be ran as if the user does not have admin rights even if they do. there are ways around it. but the best practice is just to play it safe.
![]() |
Other Threads in the C# Forum
- Previous Thread: make an installer for c# apps
- Next Thread: Link List in C#
Views: 411 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast button c# chat check checkbox class client code color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption event excel file files form format forms ftp function gcd gdi+ http httpwebrequest image index input install java label list listbox listener login math mouseclick mysql networking object operator path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource saving serialization server sleep socket sql statistics stream string tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






