Click here to Skip to main content
15,891,253 members
Articles / Programming Languages / Visual Basic

RDP Manager

Rate me:
Please Sign up or sign in to vote.
4.38/5 (3 votes)
11 Oct 2006CPOL3 min read 71.1K   2K   33  
Simple RDP and VNC connection manager built on .NET 2.0.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
		Me.components = New System.ComponentModel.Container
		Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
		Me.TreeView1 = New System.Windows.Forms.TreeView
		Me.ContextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
		Me.ConnectToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
		Me.ConnectToolStripMenuItem1 = New System.Windows.Forms.ToolStripMenuItem
		Me.VNCToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
		Me.TelnetToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
		Me.tsmiRename = New System.Windows.Forms.ToolStripMenuItem
		Me.DeleteToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
		Me.bgGetExisting = New System.ComponentModel.BackgroundWorker
		Me.bgReadFile = New System.ComponentModel.BackgroundWorker
		Me.StatusStrip1 = New System.Windows.Forms.StatusStrip
		Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel
		Me.btnCon = New System.Windows.Forms.Button
		Me.txtQC = New System.Windows.Forms.TextBox
		Me.PropertiesToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
		Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator
		Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator
		Me.ContextMenuStrip1.SuspendLayout()
		Me.StatusStrip1.SuspendLayout()
		Me.SuspendLayout()
		'
		'TreeView1
		'
		Me.TreeView1.AllowDrop = True
		Me.TreeView1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
					Or System.Windows.Forms.AnchorStyles.Left) _
					Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
		Me.TreeView1.ContextMenuStrip = Me.ContextMenuStrip1
		Me.TreeView1.LabelEdit = True
		Me.TreeView1.Location = New System.Drawing.Point(12, 12)
		Me.TreeView1.Name = "TreeView1"
		Me.TreeView1.ShowRootLines = False
		Me.TreeView1.Size = New System.Drawing.Size(174, 194)
		Me.TreeView1.TabIndex = 0
		'
		'ContextMenuStrip1
		'
		Me.ContextMenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ConnectToolStripMenuItem, Me.ToolStripSeparator2, Me.tsmiRename, Me.DeleteToolStripMenuItem, Me.ToolStripSeparator1, Me.PropertiesToolStripMenuItem})
		Me.ContextMenuStrip1.Name = "ContextMenuStrip1"
		Me.ContextMenuStrip1.Size = New System.Drawing.Size(153, 126)
		'
		'ConnectToolStripMenuItem
		'
		Me.ConnectToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ConnectToolStripMenuItem1, Me.VNCToolStripMenuItem, Me.TelnetToolStripMenuItem})
		Me.ConnectToolStripMenuItem.Name = "ConnectToolStripMenuItem"
		Me.ConnectToolStripMenuItem.Size = New System.Drawing.Size(152, 22)
		Me.ConnectToolStripMenuItem.Text = "Connect"
		'
		'ConnectToolStripMenuItem1
		'
		Me.ConnectToolStripMenuItem1.Name = "ConnectToolStripMenuItem1"
		Me.ConnectToolStripMenuItem1.Size = New System.Drawing.Size(107, 22)
		Me.ConnectToolStripMenuItem1.Text = "RDP"
		'
		'VNCToolStripMenuItem
		'
		Me.VNCToolStripMenuItem.Name = "VNCToolStripMenuItem"
		Me.VNCToolStripMenuItem.Size = New System.Drawing.Size(107, 22)
		Me.VNCToolStripMenuItem.Text = "VNC"
		'
		'TelnetToolStripMenuItem
		'
		Me.TelnetToolStripMenuItem.Name = "TelnetToolStripMenuItem"
		Me.TelnetToolStripMenuItem.Size = New System.Drawing.Size(107, 22)
		Me.TelnetToolStripMenuItem.Text = "Telnet"
		'
		'tsmiRename
		'
		Me.tsmiRename.Name = "tsmiRename"
		Me.tsmiRename.Size = New System.Drawing.Size(152, 22)
		Me.tsmiRename.Text = "Rename"
		'
		'DeleteToolStripMenuItem
		'
		Me.DeleteToolStripMenuItem.Name = "DeleteToolStripMenuItem"
		Me.DeleteToolStripMenuItem.Size = New System.Drawing.Size(152, 22)
		Me.DeleteToolStripMenuItem.Text = "Delete"
		'
		'bgGetExisting
		'
		Me.bgGetExisting.WorkerReportsProgress = True
		Me.bgGetExisting.WorkerSupportsCancellation = True
		'
		'bgReadFile
		'
		'
		'StatusStrip1
		'
		Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripStatusLabel1})
		Me.StatusStrip1.Location = New System.Drawing.Point(0, 241)
		Me.StatusStrip1.Name = "StatusStrip1"
		Me.StatusStrip1.Size = New System.Drawing.Size(198, 22)
		Me.StatusStrip1.TabIndex = 3
		Me.StatusStrip1.Text = "StatusStrip1"
		'
		'ToolStripStatusLabel1
		'
		Me.ToolStripStatusLabel1.Name = "ToolStripStatusLabel1"
		Me.ToolStripStatusLabel1.Size = New System.Drawing.Size(121, 17)
		Me.ToolStripStatusLabel1.Text = "ToolStripStatusLabel1"
		'
		'btnCon
		'
		Me.btnCon.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
		Me.btnCon.Location = New System.Drawing.Point(129, 212)
		Me.btnCon.Name = "btnCon"
		Me.btnCon.Size = New System.Drawing.Size(57, 23)
		Me.btnCon.TabIndex = 4
		Me.btnCon.Text = "Connect"
		Me.btnCon.UseVisualStyleBackColor = True
		'
		'txtQC
		'
		Me.txtQC.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
					Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
		Me.txtQC.Location = New System.Drawing.Point(12, 214)
		Me.txtQC.Name = "txtQC"
		Me.txtQC.Size = New System.Drawing.Size(111, 20)
		Me.txtQC.TabIndex = 5
		'
		'PropertiesToolStripMenuItem
		'
		Me.PropertiesToolStripMenuItem.Name = "PropertiesToolStripMenuItem"
		Me.PropertiesToolStripMenuItem.Size = New System.Drawing.Size(152, 22)
		Me.PropertiesToolStripMenuItem.Text = "Properties"
		'
		'ToolStripSeparator1
		'
		Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
		Me.ToolStripSeparator1.Size = New System.Drawing.Size(149, 6)
		'
		'ToolStripSeparator2
		'
		Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
		Me.ToolStripSeparator2.Size = New System.Drawing.Size(149, 6)
		'
		'Form1
		'
		Me.AllowDrop = True
		Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
		Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
		Me.ClientSize = New System.Drawing.Size(198, 263)
		Me.Controls.Add(Me.txtQC)
		Me.Controls.Add(Me.btnCon)
		Me.Controls.Add(Me.StatusStrip1)
		Me.Controls.Add(Me.TreeView1)
		Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
		Me.Name = "Form1"
		Me.Text = "RDPMan"
		Me.TopMost = True
		Me.ContextMenuStrip1.ResumeLayout(False)
		Me.StatusStrip1.ResumeLayout(False)
		Me.StatusStrip1.PerformLayout()
		Me.ResumeLayout(False)
		Me.PerformLayout()

	End Sub
	Friend WithEvents TreeView1 As System.Windows.Forms.TreeView
	Friend WithEvents bgGetExisting As System.ComponentModel.BackgroundWorker
	Friend WithEvents bgReadFile As System.ComponentModel.BackgroundWorker
	Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip
	Friend WithEvents ToolStripStatusLabel1 As System.Windows.Forms.ToolStripStatusLabel
	Friend WithEvents ContextMenuStrip1 As System.Windows.Forms.ContextMenuStrip
	Friend WithEvents tsmiRename As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents DeleteToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents btnCon As System.Windows.Forms.Button
	Friend WithEvents txtQC As System.Windows.Forms.TextBox
	Friend WithEvents ConnectToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents ConnectToolStripMenuItem1 As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents VNCToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents TelnetToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
	Friend WithEvents ToolStripSeparator2 As System.Windows.Forms.ToolStripSeparator
	Friend WithEvents ToolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
	Friend WithEvents PropertiesToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions