Skip to content

Commit

Permalink
Added field to link an RDP file to a host, so you can save RDP config…
Browse files Browse the repository at this point in the history
…uration and password.
  • Loading branch information
basildane committed Nov 29, 2016
1 parent 581be6d commit 26ed92c
Show file tree
Hide file tree
Showing 14 changed files with 2,270 additions and 1,756 deletions.
1,030 changes: 1,030 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Imports System.Runtime.InteropServices
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:

<Assembly: AssemblyVersion("2.11.12.10")>
<Assembly: AssemblyVersion("2.11.12.20")>

<Assembly: ComVisibleAttribute(False)>
<Assembly: NeutralResourcesLanguageAttribute("en-US")>
4 changes: 2 additions & 2 deletions Console/WakeOnLanC/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("2.11.12.0")>
<Assembly: AssemblyFileVersion("2.11.12.0")>
<Assembly: AssemblyVersion("2.11.12.20")>
<Assembly: AssemblyFileVersion("2.11.12.20")>

<Assembly: NeutralResourcesLanguageAttribute("en-US")>
9 changes: 6 additions & 3 deletions Explorer.vb
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,13 @@ Public Class Explorer
End Sub

Private Sub RDPToolStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs) Handles RDPToolStripMenuItem.Click
Dim machine As Machine
Dim machine As Machine = Machines(ListView.SelectedItems(0).Name)

machine = Machines(ListView.SelectedItems(0).Name)
Shell(String.Format("mstsc.exe -v:{0}:{1}", machine.Netbios, machine.RDPPort), AppWinStyle.NormalFocus, False)
If (String.IsNullOrEmpty(machine.RDPFile)) Then
Shell(String.Format("mstsc.exe -v:{0}:{1}", machine.Netbios, machine.RDPPort), AppWinStyle.NormalFocus, False)
Else
Shell(String.Format("mstsc.exe ""{0}"" -v:{1}:{2}", machine.RDPFile, machine.Netbios, machine.RDPPort), AppWinStyle.NormalFocus, False)
End If
End Sub

Private Sub ShutdownToolStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ShutdownToolStripMenuItem.Click
Expand Down
1 change: 1 addition & 0 deletions Machines/Machines.vb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Imports System.Threading
Public Property UDPPort As Integer = 9
Public Property TTL As Integer = 128
Public Property RDPPort As Integer = 3389
Public Property RDPFile As String = String.Empty
Public Property Note As String = String.Empty
Public Property UserID As String = String.Empty
Public Property Password As String = String.Empty
Expand Down
6 changes: 3 additions & 3 deletions Machines/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Imports System.Runtime.InteropServices
<Assembly: ComVisible(False)>

'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("84db5b7c-5673-48ee-b2ee-4248773ba6e7")>
<Assembly: Guid("84db5b7c-5673-48ee-b2ee-4248773ba6e7")>

' Version information for an assembly consists of the following four values:
'
Expand All @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
<Assembly: AssemblyVersion("1.1.0.0")>
<Assembly: AssemblyFileVersion("1.1.0.0")>
267 changes: 61 additions & 206 deletions Properties.Designer.vb

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Properties.ar-JO.resx
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,21 @@
<data name="TabWakeUp.Text" xml:space="preserve">
<value>استنهاض</value>
</data>
<data name="tRDPFilename.Location" type="System.Drawing.Point, System.Drawing">
<value>99, 85</value>
</data>
<data name="EditRDPButton.Location" type="System.Drawing.Point, System.Drawing">
<value>18, 114</value>
</data>
<data name="File_Button.Location" type="System.Drawing.Point, System.Drawing">
<value>59, 85</value>
</data>
<data name="Label2.Location" type="System.Drawing.Point, System.Drawing">
<value>356, 88</value>
</data>
<data name="Label2.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 14</value>
</data>
<data name="lbRemoteDesktop.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 62</value>
</data>
Expand Down
Loading

0 comments on commit 26ed92c

Please sign in to comment.