mirror of
https://github.com/kimmknight/remoteapptool.git
synced 2024-11-23 22:17:20 +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).
63 lines
2.7 KiB
VB.net
63 lines
2.7 KiB
VB.net
'------------------------------------------------------------------------------
|
|
' <auto-generated>
|
|
' This code was generated by a tool.
|
|
' Runtime Version:4.0.30319.42000
|
|
'
|
|
' Changes to this file may cause incorrect behavior and will be lost if
|
|
' the code is regenerated.
|
|
' </auto-generated>
|
|
'------------------------------------------------------------------------------
|
|
|
|
Option Strict On
|
|
Option Explicit On
|
|
|
|
|
|
Namespace My.Resources
|
|
|
|
'This class was auto-generated by the StronglyTypedResourceBuilder
|
|
'class via a tool like ResGen or Visual Studio.
|
|
'To add or remove a member, edit your .ResX file then rerun ResGen
|
|
'with the /str option, or rebuild your VS project.
|
|
'''<summary>
|
|
''' A strongly-typed resource class, for looking up localized strings, etc.
|
|
'''</summary>
|
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
|
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
|
Friend Module Resources
|
|
|
|
Private resourceMan As Global.System.Resources.ResourceManager
|
|
|
|
Private resourceCulture As Global.System.Globalization.CultureInfo
|
|
|
|
'''<summary>
|
|
''' Returns the cached ResourceManager instance used by this class.
|
|
'''</summary>
|
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
|
Get
|
|
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
|
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("LockChecker.Resources", GetType(Resources).Assembly)
|
|
resourceMan = temp
|
|
End If
|
|
Return resourceMan
|
|
End Get
|
|
End Property
|
|
|
|
'''<summary>
|
|
''' Overrides the current thread's CurrentUICulture property for all
|
|
''' resource lookups using this strongly typed resource class.
|
|
'''</summary>
|
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
|
Get
|
|
Return resourceCulture
|
|
End Get
|
|
Set(ByVal value As Global.System.Globalization.CultureInfo)
|
|
resourceCulture = value
|
|
End Set
|
|
End Property
|
|
End Module
|
|
End Namespace
|