473,322 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Obtaining Version information from C# using VerQueryValue

Hi,
I am using VerQueryValue from a C# program described in the following link
http://bytes.com/topic/c-sharp/answers/278731-how-declare-pointerto-array-bytes
to obtain version information.
My questions is if there is a known issue with using this method on an OS or locale where double byte characters are used, such as Korean or Chinese.
On Win7 Korean OS, my app crashes on the call to VerQueryValue.
Any idea why? I'd appreciate your help.
Thanks,
Karineh
Apr 13 '10 #1
3 3271
tlhintoq
3,525 Expert 2GB
Expand|Select|Wrap|Line Numbers
  1. public static string OperatingSys
  2. {
  3.     get { return System.Environment.OSVersion.ToString(); }
  4. }
  5.  
Apr 14 '10 #2
Thanks for the reply tlhintoq,
Sorry for not being clear. My objective is to get the version of a dll file not the OS. Is there any other ways to do this in C# besides the VerQueryValue method?
Thanks,
Karineh
Apr 14 '10 #3
I found a post here in Bytes that addresses that exact question.
http://bytes.com/topic/c-sharp/answe...le-using-c-net
If there any known issues with that, please let me know.
Thanks.
Karineh
Apr 14 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Pieter Linden | last post by:
Hi, I'm probably asking for the moon, but I was wondering if it were possible to return the OS version information from a *remote* computer on a network. I can get all the hostnames, their IP...
1
by: RWC | last post by:
Hi Folks, I'm looking for a way to determine if the client machine has access installed and if so, what version. The reason I need this is to determine (programatically) if the Access Runtime...
2
by: Rajesh Garg | last post by:
Do i have any way in which i can check the version number of a particular Dll. Eg. shdocvw.dll gives me version number of IE.How do i get this. I mean right click and version tab shows me this...
6
by: seansan | last post by:
Hi, Does anyone know how to read the full access version number in visual basic? I need to know if the current program instance is SR-1 or SP-3, etc... I currently use: DB_DAO =...
1
by: Paul | last post by:
Hi, Does anyone know how to check a version of a file in C++? Any WIN32 API that does this? Please advice, thanks! -P
2
by: Naraht | last post by:
I'm looking for information on getting the Version of a Windows Executable (or DLL) *after* the file has been copied to a Linux system. This probably means I will need to recreate...
2
by: adamcort | last post by:
I am trying to create a simple page for users to log printer issues on our PS4 Citrix farm. I have created a simple html form and published it on our intranet, the form only asks too questions,...
2
by: opswat | last post by:
Hello, I am currently working on a C++ project for a PocketPC with Windows Mobile 5.0 in Visual Studio 2005. I am currently looking for a way to get file version information, i.e. file...
7
by: =?Utf-8?B?Sm9obiBTdGFnZ3M=?= | last post by:
Hello, Please read this all before giving an answer :) I'm doing some troubleshooting on a web application that my company wrote. It's written in asp.net 1.1. The error that the Event viewer...
4
by: =?Utf-8?B?anBzaG9ydHN0dWZm?= | last post by:
Hi, not sure if this is the right place for this but it was definitely the closest I could find. I am having trouble with the GetFileVersionInformation/VerQueryValue functions and was wondering...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.