I have a .Net application (VB, VS 2005, FX 2) running in more than one
country. As part of the product registration process, some information on the
computer is collected and sent to a web service; this includes the operating
system which is obtained using the My.Computer.Inf o.OSFullName function. For
some machines we get "Microsoft Windows XP Professional" and for others
"Microsoft Windows NT 5.1.2600 Service Pack 2". I understand these are
essentially the same product but the fact that they have a different set of
environment variables (at least for name) suggests that there are some
differences. Is it safe to
assume that an app running on either of these installations of Windows will
behave the same?
Pete 2 2127
On Oct 6, 6:41*pm, Pete <P...@discussio ns.microsoft.co mwrote:
I have a .Net application (VB, VS 2005, FX 2) running in more than one
country. As part of the product registration process, some information onthe
computer is collected and sent to a web service; this includes the operating
system which is obtained using the My.Computer.Inf o.OSFullName function. For
some machines we get "Microsoft Windows XP Professional" and for others
"Microsoft Windows NT 5.1.2600 Service Pack 2". I understand these are
essentially the same product but the fact that they have a different set of
environment variables (at least for name) suggests that there are some
differences. Is it safe to
assume that an app running on either of these installations of Windows will
behave the same?
Pete
Hi,
On my XP SP2 computer, "Environment.OS Version.ToStrin g" returns
"Microsoft Windows NT 5.1.2600 Service Pack 2" and
"My.Computer.In fo.OSFullName" returns "Microsoft Windows XP
Professional". In my idea first one is more reliable because it
provides service pack version plus platform identifier. Thus it would
be safer to compare more detail in each PC.
So if you assume both as the same, there would be a trouble or
difference about exact OS version number based on service pack if
your software behaves different on different service pack-powered XPs.
Hope this helps,
Onur Güzel
thanks
"kimiraikko nen" wrote:
On Oct 6, 6:41 pm, Pete <P...@discussio ns.microsoft.co mwrote:
I have a .Net application (VB, VS 2005, FX 2) running in more than one
country. As part of the product registration process, some information on the
computer is collected and sent to a web service; this includes the operating
system which is obtained using the My.Computer.Inf o.OSFullName function. For
some machines we get "Microsoft Windows XP Professional" and for others
"Microsoft Windows NT 5.1.2600 Service Pack 2". I understand these are
essentially the same product but the fact that they have a different set of
environment variables (at least for name) suggests that there are some
differences. Is it safe to
assume that an app running on either of these installations of Windows will
behave the same?
Pete
Hi,
On my XP SP2 computer, "Environment.OS Version.ToStrin g" returns
"Microsoft Windows NT 5.1.2600 Service Pack 2" and
"My.Computer.In fo.OSFullName" returns "Microsoft Windows XP
Professional". In my idea first one is more reliable because it
provides service pack version plus platform identifier. Thus it would
be safer to compare more detail in each PC.
So if you assume both as the same, there would be a trouble or
difference about exact OS version number based on service pack if
your software behaves different on different service pack-powered XPs.
Hope this helps,
Onur Güzel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: owen |
last post by:
I have been developing web-based applications for around 3 years, first
using ASP, and more recently, ASP.NET.
I am starting to wonder if web applications are really the way forward for
software. And by 'software' I mean applications, (eg. word, excel) not web
sites (eg. amazon.com). I am starting to think, with the .NET framework
being shipped with new operating systems, and freely available online, that
a better way forward is...
|
by: deko |
last post by:
I'm confused about what I can use C# and VS.NET for.
I have both Visual Studio 6.0 and Visual Studio .NET - which one do I use?
If I want to build a basic VB app, I assume I can use the VB 6 component in
Visual Studio 6.0. But If I want to build a C# application - does that mean
I have to use VS.NET? And if I do write an application in C# does that mean
it can only run on a Windows box with the .Net Framework? Do all C# apps
require...
|
by: Plumer |
last post by:
Good morning everyone,
I am having difficulty distributing a Release version of an application.
System info
C# DOTNET, MDE 2002, Version 7.0.9466
.Net Framework, version 1.0.3705
My Desktop Operating system (as reported by Control Panel.System) is:
Windows XP, Version 2002
|
by: Zen |
last post by:
From http://support.microsoft.com/kb/828956/
"Note Microsoft does not support the use of multiple versions of Microsoft
Office on a Terminal Server. Coexistence is not supported on versions of
Windows that are running Terminal Services. If you have to run multiple
versions of Office, disable Terminal Services"
The problem:
|
by: Bf |
last post by:
I was creating test projects using c# and was surprised that there seems to
be only a form based windows applications available. Is it safe to assume
that classic window applications that utilize a parent window with child
windows can only be done in c++ and mfc and there's nothing else in .net
that is meant to be used like that?
It seems to be that c# should be used for either form based windows apps,
console apps, and web apps (also...
| |
by: emstreet |
last post by:
I have an ASP.NET 1.4 app running on W2003 IIS6. I created a new site (e.g.
on port 85) where I want to run ASP.NET 2.0.
When I set Asp.Net to 2.O on new site properties, the old site would give me
a "SERVER ERROR". When I reset the old site to 1.4 the new one does not work.
Is there a way to run 2 versions side by side.
Thanks in advance.
|
by: jeremy |
last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The
application displays properly in Internet Explorer, however, when I use
a browser control embedded in a .net form, I get an error and am
directed to the Windows Application Event Log. The following message
is logged:
-------------
Source: ASP.NET 1.1.4322.0
Event ID: 1062
|
by: ChrisFrohlich |
last post by:
Here's my scenario:
I have several ASP.NET applications built on .Net 1.1.x running on a Win2K3
IIS6.0 app/web server. Most of these are in-house, but one is purchased,
meaning I do not have a full grasp of its internal architecture/functioning.
I am currently looking to deploy an ASP.NET app built with v2.0 - hopefully
to this same server. I have not yet installed the .NET 2.0 redistributabe on
this server, but I'm concerned about...
|
by: =?Utf-8?B?UGV0ZQ==?= |
last post by:
I have a .Net application (VB, VS 2005, FX 2) running in more than one
country. As part of the product registration process, some information on the
computer is collected and sent to a web service; this includes the operating
system which is obtained using the My.Computer.Info.OSFullName function. For
some machines we get "Microsoft Windows XP Professional" and for others
"Microsoft Windows NT
5.1.2600 Service Pack 2". I understand these...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |