473,320 Members | 1,828 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,320 software developers and data experts.

Version Comparison

Hello everyone,

I've googled through the older group messages - but I'm not quite sure
what to use for search terms... so, if this has already been asked - I
apologize.

I'm wondering how exactly to get the version number for an application
from within another Visual BASIC program. That is, if I'm in
applicationA.exe - how can I get applicationB.exe's version number?

I've found a few API references, but I seem to remember there being some
sort of way to do it with the FSO, or some other Visual BASIC method.
Any thoughts?

Thank you.

--
Jordan T. Cox
Programmer, IT Admin, Tech Support
Geronimo Development Corporation

Jul 17 '05 #1
2 2596
Try using the app object

App.Revision
App.Major
App.Minor
Jul 17 '05 #2
Um, that would be strVersion = FSO.GetFileVersion(strFilePath).

"Jordan T. Cox" <no*****@phantomdata.com> wrote in message
news:bk**********@news.astound.net...
Hello everyone,

I've googled through the older group messages - but I'm not quite sure
what to use for search terms... so, if this has already been asked - I
apologize.

I'm wondering how exactly to get the version number for an application
from within another Visual BASIC program. That is, if I'm in
applicationA.exe - how can I get applicationB.exe's version number?

I've found a few API references, but I seem to remember there being some
sort of way to do it with the FSO, or some other Visual BASIC method.
Any thoughts?

Thank you.

--
Jordan T. Cox
Programmer, IT Admin, Tech Support
Geronimo Development Corporation

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
10
by: babak | last post by:
Hi everybody I'm working with a project in embedded Visual Studio 4 and I have a general problem which I hope that somebody can help me with. My problem is the following: My project works fine in...
1
by: Tom | last post by:
I have two version numbers - one for my application and another from a manifest, database, whatever - that isn't important. Now that I have these two version numbers (in the form...
1
by: comp.lang.php | last post by:
I have written several applications that have very specific functionality that is version-dependent, furthermore, requirements dictate my apps span multiple versions of PHP. I have written a...
37
by: spam.noam | last post by:
Hello, Guido has decided, in python-dev, that in Py3K the id-based order comparisons will be dropped. This means that, for example, "{} < " will raise a TypeError instead of the current...
0
by: UJ | last post by:
I have a table with a field of type System.Version. I'm trying to set a filter on it to a specific version but can't get it to work. I'm doing: string lsOldRecords = "( SoftwareName = '" +...
5
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a...
3
by: bernard.charriere | last post by:
Hello, We have to load and store datas in format XML in a Database DB2 V8.1 FP13, instance 64 bits with DataPartitionned Feature, around 3 Tb of datas stored in the DB ( 6 Generations of 500...
1
by: Lars B | last post by:
Hey guys, I have written a C++ program that passes data from a file to an FPGA board and back again using software and DMA buffers. In my program I need to compare the size of a given file against...
14
by: Charlie | last post by:
I am a single developer, and new to SQL Server. I have Windows XP Pro, and my system has a couple gigs RAM. I would like to know what version of SQL Server I should buy. Any advice is appreciated.
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.