How To Get File Version From External EXE
Oct 4, 2011How to get FileVersion from external exe in VB.net?
View 1 RepliesHow to get FileVersion from external exe in VB.net?
View 1 RepliesHow they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?
And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?
BTW I am using VB if that makes any difference.
Is there any way (via code or otherwise) that you can tell what version of the .NET framework a particular EXE or DLL is targetting? I know the long way round would be to try and run it on a machine with just .NET 1.1 on, then if that doesnt work try it on a machine with 2.0 on, etc etc
View 3 RepliesI know how to check for the version information from inside a VB2005 application:
Dim version as String= String.Format("Version {0}", My.Application.Info.Version.ToString)
That works fine. But let's say I have two applications, A and B. App A wants to find out what app B's version is. Is there a way to do that?
Ok, most of my Visual Basic experience I admit was with VB 3 and VB 5. I'm just starting with VB 2005 Express, and get this error when trying to connect to a new database.
I'm using Windows Vista and have the latest Microsoft JET version, so I have no idea why I'm getting that error.
I want my application to do something special :D.. jks
I just want it to compare assembly version to the file version something like this (btw i also want it if it is the same i want it to enable a button):
Private Sub StartSplash_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
If Assembly Version = File Version Then
[Code].....
so how do i detect Assembly & File version numbers?
they need to make some compare version between host version and client version.. and each 1 version different will download the file to the client..[URL]..with both example, how can i make a program in VB.NET just like i said just now?
View 15 Repliesable to give me a script that i will be able to grab a file version of an specific file from multiple remote machines. I have a list of machines in Txt file ... i want the script to read the list.. and generate a new file that have the Machine names with File version.
View 1 RepliesI am trying to download a file off my web server (easy) but the file its downloading is the updated version of the file running. I finally was able to program my automatic update software the program simply downloads a .txt file from my web server, reads it, and if the the version = (new version here) then download. If not, then go to another form. The problem I am getting though, is when the version is outdated, the file will go to download the new .exe and it gets and error saying "File already exists"
[Code]...
This code no longer works in ver 2007:' Obtain max resources available for Excel
[Code]...
Is there any way to make my programs use a lower version of net.framework other than the newest version 4 that comes with VS2010?I use my programs within a closed network and there isn't an easy way for me to install any software since I'm not the administrator.
View 3 RepliesI have a dll file which is reading a in.txt file and write a out.txt file. No need pass any variables to dll. Dll file runs alone.
I could not add this dll as referance. What I nned to do to just run this dll?
I'm creating an installer program. As part of the install process, I need to run/install the "AccessRuntime.exe" file.
How do I run this external EXE file from within my installer program?
I'm trying to add functionality to my application that will disable buttons and checkboxes depending on what version the OS is when the app is launched. I made a test app to test this but unfortunately I can not get it to work. Here is my code:
'OS Check
Dim osValue As Object
osValue =
My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrent Version", "CurrentVersion", "5.2")
[Code]...
*Note - 5.2 is Windows 2003, 6.0 is Vista, 5.1 is Windows XP
I have created a license system for my application with MySql about half a year ago. What it would do is take the serial number and send it to my server if the key was correct it would return a 0 if its wrong the return value would be a 1.The problem was that when the serial number was entered correctly my program would create a "fake file" for example vb.dll in the system.And on run time my program would check for that vb.dll if the file exist it would skip my trial program and run the app as a full version. Half year later i think creating a "fake file" and checking for it on start up is extremely wrong and that's not very good security.How can i check the difference between a full version and unregistered version?
View 23 RepliesI have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??
View 3 Replieshow to add External dependencies .lib file in vb.net
View 2 RepliesIs it possible to unzip a file without having to use an external (not .NET default) resource?
View 1 RepliesI am quite new to programming so please bear with me if I am asking stupid questions. I have searched the forums but couldn't find a (comprehensible) answer.I am calling an external .exe file from VB, I do this with Shell.The external .exe opens a command window and asks for a file name. I am trying to make vb to input a file name into the command window but I m not sure how. The SendKeys command doesn't seem to work.
View 18 RepliesSo, i made a post earlier on how to loop through an external file looking for another process that is running, i have successfully done this last night, and the only problem i have now, is the placing of this code so it works correctly, in the following format:
Dim HackApp As Process() = Process.GetProcessesByName(Cprog)
If Checker.ChkDone.Checked = True Then
Try
[Code]....
Well i have developed VB code in which i want to call an external application.I know this can be done using shell command i.e.
" shell("C:\abc.exe") ". But when i execute this statement the file actually runs.This is not what i am looking for, I am looking for a piece of code which ensures that the file can run successfully without executing it
i want to get PDF file version using VB.NET, can i use System.Diagnostics.FileVersionInfo namespace for that
View 9 RepliesI have a simple extension which makes all chars in incoming string uppercase. I created this extension as DLL file (with namespace "Extensions"). But when I make reference to this DLL, then this namespace doesn't appear in Imports, hence I can't use my extension. Here's question: why I can't put extension into separate assembly?
View 2 RepliesI have written an vb.net application, named vbapp.exe. And I would like to use vbapp.exe to shell an external .exe file and this external .exe will create a file in the folder in which the external .exe file is located.However, the external .exe file will not recognize its own folder, on the contrary, it will think that its own folder is where the vb application, vbapp.exe, is located.
View 5 RepliesHow can I grab details of an external EXE file? Like the CompanyName, the ProductName, etc.I know how to do this with the application itself, but no an external application
View 3 Repliesi am building a web application with VS2010 and framework 4
in the web.config i have defined the external file path
<appSettings file="\serverc$InetpubwwwrootConnectionsGlobal_Settings.config">
<add key="var_1" value="xpto" />
[code].....
From a VB.NET program i want to drop a file (c:example.txt) in an external application (Firefox). I found an example that construct a "databject" linking a file name. I also found programs on the side on the application that receive the drop. But not one that send to an external application.
View 7 RepliesI have a project need to reset the my.settings by external files, i have problem to get back the system.drawing.color
Frist I use the SaveConfigFromMySettingToFile() to get the config file,then i add the LoadConfigFromFileToMySetting() at the FormLoad action,But Nothing change! Why? without the LoadConfigFromFileToMySetting() at system load i got the correct color of the button from my.settings.
[Code]...
Does anyone has some experience with calling a strings which includes the "Dim blabla As New MySQLCommand(SELECT *... etc." I'm not talking about the connectionstring itself, but the "SELECT" part. Really would like to know how to read it from an external file. I don't care what kind of file. (.text / .xml / ...)
View 2 RepliesI would like to include a text file for easy ediing of data that my app will read and pull data from. My external data file is a csv fileI want to display a checked list box that display this info and based on selections in the checked list box cand in a procedure later call commands based on those selections.
View 4 Replies