version

Reading Assembly version information of WPF application

Hi, I am reading version information of my wpf application, but I am not getting the correct version as I have write in AssemblyInfo.cs file. In my file there is [assembly: AssemblyVersion("0.1.001")] [assembly: AssemblyFileVersion("0.0.001")] I am reading version information using this code System.Reflection.Assembly.GetExecutingAs...

Visual Studio 2008 C#: Auto-Increment Version numbers

From what I'm seeing online, it seems the only thing in VS that auto-increments the Version numbers is if it's a website. For applications, it seems you either manually have to do it or you have to have a post build event and call a function or small app to do it for you. But, that's only what I'm seeing when I google it and when I've ...

version with 1.5 to run on device with version 2.1

I am a beginner to android, just i am developing android applications and testing in on htc magic(version 1.5). Will it bring any problem on running with higher version of android devices. Thanks for reply in Advance ...

Windows file attributes / version of file

I know for dll files you can read an Assembly version, but I was wondering if there's some way to mark or read versions from ANY filetype (jpg for example). I'm making an update program that only updates what's necessary and it'd be better if all files were versioned instead of keeping track of versions in a separate file. Oh and this i...

Injecting mercurial changeset as version information in a C executable

I would like the executables for a project I am working on to have the latest mercurial changeset recorded so that when a user complains about buggy behavior, I can track which version they are using. Some of my executables are Python and others are compiled C. Is there a way to automate this, or can you point me to projects that exhibit...

Writing generic code Problem for File accessing from "My Documents" for Windows Xp and Windows 7

Hi All, Sir, i am working in a java application.On that application i have to access files from "My Documents". The problem is coming with windows version when i am using windows 7, it can be accessed as "Documents" folder but for windows XP it is "My Documents". I am writing following code to access files from "Documents" folder in w...

Flex 4.1 installed on a Mac: how do I target pre-version 10 flash players

I just installed (or copied) the Flex SDK 4.1 on my Mac to: /Developer/SDKs/Flex/4/1/ For now I'll only be using a plain text-editor to use it. No fancy IDE. However, it only seems to support flashplayers version 10 and 10.1. At least that's what it looks like from the folders: ./frameworks/libs/players/10.0/ ./frameworks/libs/playe...

java.io.IOException: Server returns HTTP response code 505

Hi, I have HTML based queries in my code and one specific kind seems to give rise to IOExceptions upon receiving 505 response from the server. I have looked up the 505 response along with other people who seemed to have similar problems. Apparently 505 stands for HTTP version mismatch, but when I copy the same query URL to any browser (...

Specify v11 (with v11 & v12 installed) Microsoft.Office.Interop.Word

I am working on a legacy VB.NET application that uses Microsoft.Office.Interop.Word, with Office 2003 installed on the server. When I publish my site, even though my config file clearly shows v11: The site will crash saying v12 couldn't be found: Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture...

How do I check what version of java im using in c++

I have a testing script that checks what version of java the user is using and then executes some commands. But we are trying to convert all of our testing into cxxtests. I would like to know how to convert my version checking script into c++ code. I know I could just use the system() command but I would like that to be a last resort....

How can I access rails 2.3.x commands when rails 3 is installed?

I'd like to play around with rails 3, but I'm still used to rails 2.3.8 so I have them both installed. Wanting to make a quick rails app to demonstrate how a plugin works, I want to run the command rails test_app but since I have rails 3 installed, I have to run rails new test_app but that will generate a rails 3 app. Is there a way arou...

Perl version string: why use EVAL EXPR?

I just took notice to this generated by Catalyst.pl. It is obviously some sort of unannotated hack. What is the advantage of setting up a version string like this? I can't even figure out what they're trying to do. our $VERSION = '0.01'; $VERSION = eval $VERSION; ...

How to get all details about version, SP of SQL Server 2005

Hi All, I want to find the version, SP applied (CU if any) applied on SQL server. I am able to get verison no. using @@VERSION. But I want the whole list of patches/SP applied to it. Can you please help me out. Thanks, Sunil ...

Developping an iOS 3.1 application with iOS 4.0 SDK and device ?

I've developed an iPhone application for an iOS Deployment Target 3.2. But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only. How can I identif...

Renaming package and version names of Android project in eclipse

Hi, I have an Android project created in eclipse.I want to slightly modify this(package names,etc) and make another app.I want both apps to be installed on phone.How to take care of versioning an app name.How should i go about renaming package and project names? Thanks Dheepak ...

How determine which site template to use for different sharepoint 2010 versions?

I have 2 environments: Foundation 2010, SPS 2010 and 2 templates correspondingly. I consider that we can determine the VisibilityFeatureDependency parameter of <Configuration> section in webtemp*.xml in order to hide other templates except one that will be used. What feature (GUID) should be used in order to exactly specify what version...

earliest commonly used version of Python

Is there an officially updated recommendation indicating which versions of Python should be supported by released modules? Or perhaps a page giving a survey of production usage of various versions? It's difficult to know how much use to make of newish features like context managers, class decorators, etc. when writing a module. Note t...

JAI on RedHat 5.2

Does anyone know if there's a version of JAI that is compatible with RH 5.2? We tried to have some new code deployed to our prod server last night, but the deployment team ran into a snag. The new code uses the Java Image I/O Tools library (javax.imageio.ImageIO). This is the first time we've used any JAI functionality, so the deploymen...

How do I automatically switch to one subversion repository if another one fails?

I have a subversion repository on a network shared folder. It is not a subversion server, just a disk that multiple computers can read and write to. Different computers map network drives in different ways. How do I make it so that if svn can't find the folder on one path it automatically tries another? Or more generally, how can you s...

Is serialized object compatible in all version of java?

My friend asked me if we serialize an object in java 1.5 and then deserialize it back in java 1.6 then it will throw an exception. What is that exception and why that is thrown? But i doubt there will be any exception. Reason being nothing is changed in class definition, so it should not face any problem in rebuilding the object back f...