See if processes are the same program?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts
Page 1 of 1
Is there a way to check if two processes are the same program? One way I thought of is to compare GUIDs, but I dont know how to do that. Is comparing GUIDs good, or is there an easier way to compare processes?
Note:
the processes can have different file names, and may have different code (for different versions of the program)
Note:
the processes can have different file names, and may have different code (for different versions of the program)
So, one example is; you want to check if a process of Visual Studio 2008 is the same as Visual Studio 2010?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

I have a program that can be updated. I want to check if this program is the same as another running program (to see if the program is running, aven if the other program is another version).
Fine the program application path and generate a CRC of the executable and check it again previous version CRC, long, sloppy but I dont know how to actually accomplish what your doing.
Bound and boom tech,
The Future Of Coding
The Future Of Coding
DreadNought, the files content will not be the same after he upgraded the program.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

MrAksel wrote:DreadNought, the files content will not be the same after he upgraded the program.What do you mean that it will not be the same? You can put it into an equation like this:
Code: Select all
In which update() is the function to start the updater etc.If crccodeversion1.0 = myprogram then 'nothing
else update()
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
It might be possible to get some details from the assembly information.
You could check with FileVersionInfo.
You could check with FileVersionInfo.
Code: Select all
Dim fvi As FileVersionInfo = FileVersionInfo.GetVersionInfo("C:\test.exe")
If fvi.ProductName = "test" Then
End If
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023