mirror of
https://github.com/kimmknight/remoteapptool.git
synced 2024-11-25 06:57:25 +00:00
57111a3d21
Resulted in breaking some of my habits and putting a messagebox windows in libraries. Not my favorite thing, but it works. This helps debug issue 3, it does not resolve issue 3. To test it - open an office document (such as Word or Excel) and try to overwrite the office document with the RDP file including the office document extention (xls, xlsx, doc, docx, etc). The application will tell you that the file is locked, locked by Word/Excel/etc and the PID that is locking it just in case you have multiple copies of the application that is locking it open. A lot of the code was borrowed from Microsoft (https://code.msdn.microsoft.com/windowsapps/How-to-know-the-process-170ed5f3/sourcecode?fileId=151114&pathId=1558127374).
36 lines
1.1 KiB
VB.net
36 lines
1.1 KiB
VB.net
Imports System
|
|
Imports System.Reflection
|
|
Imports System.Runtime.InteropServices
|
|
|
|
' General Information about an assembly is controlled through the following
|
|
' set of attributes. Change these attribute values to modify the information
|
|
' associated with an assembly.
|
|
|
|
' Review the values of the assembly attributes
|
|
|
|
<Assembly: AssemblyTitle("LockChecker")>
|
|
<Assembly: AssemblyDescription("")>
|
|
<Assembly: AssemblyCompany("")>
|
|
<Assembly: AssemblyProduct("LockChecker")>
|
|
<Assembly: AssemblyCopyright("Copyright © 2019")>
|
|
<Assembly: AssemblyTrademark("")>
|
|
|
|
<Assembly: ComVisible(False)>
|
|
|
|
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
<Assembly: Guid("6422a30e-03d9-4b6d-af72-79c2a4b849a1")>
|
|
|
|
' Version information for an assembly consists of the following four values:
|
|
'
|
|
' Major Version
|
|
' Minor Version
|
|
' Build Number
|
|
' Revision
|
|
'
|
|
' You can specify all the values or you can default the Build and Revision Numbers
|
|
' by using the '*' as shown below:
|
|
' <Assembly: AssemblyVersion("1.0.*")>
|
|
|
|
<Assembly: AssemblyVersion("1.0.0.0")>
|
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|