Visual Basic Programming Tutorial: Functions, Loops, Arrays, and File Operations
Code
Imports System.Drawing.Printing
Public Class Form1
Dim pSize As PaperSize
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Dim InstPrinters As String
‘ Find all printers installed
For Each InstPrinters In _
PrinterSettings.InstalledPrinters
cboPrinters.Items.Add(InstPrinters)
Next InstPrinters
‘ Set the combo to the first printer in the list
cboPrinters.SelectedIndex = 0
‘ Put the available paper sizes in a combo box for the
Cisco Router Configuration for Secure Network Connectivity
Router R1 Configuration
Basic Configuration
Interface Configuration
Understanding Operating System Processes and Exceptions
Processes and Exceptions in Operating Systems
Process Management
A process is an instance of a program in execution. The operating system (OS) provides essential resources and abstractions for each process, including:
- Logical Flows of Control:
- Single-threaded programs have one flow of control.
- Multi-threaded programs have multiple flows of control.
- Private, Protected Address Space: Each process has its own isolated memory space for security and stability.
- Abstracted Resources: The OS provides a layer of
Common Polymers: Types, Trade Names, and Applications
Phenolic Resins
Phenolic resins are formed by combining phenol (carbolic acid) with formaldehyde. They are known for their electrical insulation properties and are used in power supplies, handles, switches, plugs, housings, and various boxes. Trade names include Bakelite, Durito, and Resiform.
Urea Resins
Urea resins are synthetic materials made from urea and formaldehyde. They are commonly used in electrical equipment (switches, plugs), insulation boards, and kitchen items. Trade names include Pollopas,
Read MoreMasonry Repair and Strengthening Techniques: A Comprehensive Guide
Masonry Repair Techniques
Drilling and Plugging
The drilling and plugging method is suitable for repairing cracks that run in reasonably straight lines and are accessible at one end. This involves drilling along the length of the crack and grouting it to form a key using precast concrete or mortar plugs set in bitumen. The bitumen serves to break the bond between the plugs and the hole, preventing the plugs from cracking due to subsequent movement of the opening. For an enhanced seal, a second hole
Read MoreStrengthening and Repair of Building Structures
Underpinning and Strengthening of Building Foundations
Methods for Underpinning Building Foundations
Pile and Beam Underpinning
Piles are installed beside the walls, and beams are inserted, both within the walls and through them, to join the tops of the piles.
`Pynford’ Stool Method of Underpinning
This method can be used where the existing foundations are in a poor condition, and it enables the wall to be underpinned in a continuous run without the need for needles or shoring.