created new structure

This commit is contained in:
2025-04-16 13:31:51 +03:00
parent 82d5746b71
commit 4e43c17242
243 changed files with 0 additions and 10859 deletions

101
VS code/App.config Normal file
View File

@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Management_Resurse_Companie.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Quality_Scan.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<Management_Resurse_Companie.My.MySettings>
<setting name="serverName" serializeAs="String">
<value>PH-OMEN\SQLEXPRESS</value>
</setting>
<setting name="serverPort" serializeAs="String">
<value />
</setting>
<setting name="serverUser" serializeAs="String">
<value>sa</value>
</setting>
<setting name="serverUserpass" serializeAs="String">
<value>Recticel@123</value>
</setting>
<setting name="serverdatabase" serializeAs="String">
<value>calitate</value>
</setting>
<setting name="adminPass" serializeAs="String">
<value>Aquinos@123</value>
</setting>
<setting name="subnet" serializeAs="String">
<value>False</value>
</setting>
<setting name="reason" serializeAs="String">
<value>ReadWrite</value>
</setting>
<setting name="cert" serializeAs="String">
<value>False</value>
</setting>
<setting name="timeout" serializeAs="String">
<value>30</value>
</setting>
<setting name="encrypt" serializeAs="String">
<value>False</value>
</setting>
<setting name="ServerNameW" serializeAs="String">
<value>bewetms252.be.recticel.net\wizpro2</value>
</setting>
<setting name="ServerPortW" serializeAs="String">
<value />
</setting>
<setting name="ServerUserPasW" serializeAs="String">
<value>789uiop.1!</value>
</setting>
<setting name="ServerDatabaseW" serializeAs="String">
<value>bkp2360</value>
</setting>
<setting name="ServerUserW" serializeAs="String">
<value>sa</value>
</setting>
<setting name="SubnetW" serializeAs="String">
<value>False</value>
</setting>
</Management_Resurse_Companie.My.MySettings>
<Quality_Scan.My.MySettings>
<setting name="serverName" serializeAs="String">
<value>PH-OMEN\SQLEXPRESS</value>
</setting>
<setting name="serverPort" serializeAs="String">
<value />
</setting>
<setting name="serverUser" serializeAs="String">
<value>sa</value>
</setting>
<setting name="serverUserpass" serializeAs="String">
<value>Recticel@123</value>
</setting>
<setting name="serverdatabase" serializeAs="String">
<value>calitate</value>
</setting>
<setting name="adminPass" serializeAs="String">
<value>Aquinos@123</value>
</setting>
<setting name="subnet" serializeAs="String">
<value>False</value>
</setting>
<setting name="reason" serializeAs="String">
<value>ReadWrite</value>
</setting>
<setting name="cert" serializeAs="String">
<value>False</value>
</setting>
<setting name="timeout" serializeAs="String">
<value>30</value>
</setting>
<setting name="encrypt" serializeAs="String">
<value>False</value>
</setting>
</Quality_Scan.My.MySettings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,29 @@
Imports Microsoft.VisualBasic.ApplicationServices
Namespace My
' The following events are available for MyApplication:
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
' **NEW** ApplyApplicationDefaults: Raised when the application queries default values to be set for the application.
' Example:
' Private Sub MyApplication_ApplyApplicationDefaults(sender As Object, e As ApplyApplicationDefaultsEventArgs) Handles Me.ApplyApplicationDefaults
'
' ' Setting the application-wide default Font:
' e.Font = New Font(FontFamily.GenericSansSerif, 12, FontStyle.Regular)
'
' ' Setting the HighDpiMode for the Application:
' e.HighDpiMode = HighDpiMode.PerMonitorV2
'
' ' If a splash dialog is used, this sets the minimum display time:
' e.MinimumSplashScreenDisplayTime = 4000
' End Sub
Partial Friend Class MyApplication
End Class
End Namespace

382
VS code/Form1.Designer.vb generated Normal file
View File

@@ -0,0 +1,382 @@
<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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
Me.Button1 = New System.Windows.Forms.Button()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Button2 = New System.Windows.Forms.Button()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.Button3 = New System.Windows.Forms.Button()
Me.GroupBox3 = New System.Windows.Forms.GroupBox()
Me.Button4 = New System.Windows.Forms.Button()
Me.GroupBox4 = New System.Windows.Forms.GroupBox()
Me.Button5 = New System.Windows.Forms.Button()
Me.GroupBox5 = New System.Windows.Forms.GroupBox()
Me.Button6 = New System.Windows.Forms.Button()
Me.Button7 = New System.Windows.Forms.Button()
Me.Button8 = New System.Windows.Forms.Button()
Me.GroupBox6 = New System.Windows.Forms.GroupBox()
Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel()
Me.Button9 = New System.Windows.Forms.Button()
Me.GroupBox7 = New System.Windows.Forms.GroupBox()
Me.GroupBox8 = New System.Windows.Forms.GroupBox()
Me.Button10 = New System.Windows.Forms.Button()
Me.GroupBox9 = New System.Windows.Forms.GroupBox()
Me.Button11 = New System.Windows.Forms.Button()
Me.SqlCommand1 = New Microsoft.Data.SqlClient.SqlCommand()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.GroupBox5.SuspendLayout()
Me.GroupBox6.SuspendLayout()
Me.GroupBox7.SuspendLayout()
Me.GroupBox8.SuspendLayout()
Me.GroupBox9.SuspendLayout()
Me.SuspendLayout()
'
'Button1
'
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.Location = New System.Drawing.Point(16, 33)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(312, 56)
Me.Button1.TabIndex = 2
Me.Button1.Text = "Intra in forma de scanare calitate"
Me.Button1.UseVisualStyleBackColor = True
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Button1)
Me.GroupBox1.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox1.Location = New System.Drawing.Point(21, 102)
Me.GroupBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Size = New System.Drawing.Size(366, 115)
Me.GroupBox1.TabIndex = 2
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Detalii Logare program scanare Calitate"
'
'Button2
'
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Red
Me.Button2.Location = New System.Drawing.Point(63, 20)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(153, 54)
Me.Button2.TabIndex = 0
Me.Button2.Text = "Acces Setari"
Me.Button2.UseVisualStyleBackColor = True
'
'GroupBox2
'
Me.GroupBox2.BackColor = System.Drawing.Color.Brown
Me.GroupBox2.Controls.Add(Me.Button2)
Me.GroupBox2.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox2.ForeColor = System.Drawing.Color.White
Me.GroupBox2.Location = New System.Drawing.Point(724, 396)
Me.GroupBox2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox2.Size = New System.Drawing.Size(296, 90)
Me.GroupBox2.TabIndex = 3
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "Completeaza campuri de logare server"
'
'Button3
'
Me.Button3.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.Location = New System.Drawing.Point(39, 34)
Me.Button3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(206, 81)
Me.Button3.TabIndex = 0
Me.Button3.Text = "Export master data Clitate"
Me.Button3.UseVisualStyleBackColor = True
'
'GroupBox3
'
Me.GroupBox3.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox3.Controls.Add(Me.Button3)
Me.GroupBox3.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox3.Location = New System.Drawing.Point(405, 102)
Me.GroupBox3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox3.Size = New System.Drawing.Size(284, 125)
Me.GroupBox3.TabIndex = 4
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "Import Export Data Calitate"
'
'Button4
'
Me.Button4.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button4.Location = New System.Drawing.Point(16, 38)
Me.Button4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(312, 68)
Me.Button4.TabIndex = 2
Me.Button4.Text = "Intra in forma de scanare Articole Pregatite"
Me.Button4.UseVisualStyleBackColor = True
'
'GroupBox4
'
Me.GroupBox4.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox4.Controls.Add(Me.Button4)
Me.GroupBox4.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox4.Location = New System.Drawing.Point(21, 231)
Me.GroupBox4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox4.Name = "GroupBox4"
Me.GroupBox4.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox4.Size = New System.Drawing.Size(366, 119)
Me.GroupBox4.TabIndex = 5
Me.GroupBox4.TabStop = False
Me.GroupBox4.Text = "Detalii Logare program scanare Pregatit"
'
'Button5
'
Me.Button5.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button5.Location = New System.Drawing.Point(39, 20)
Me.Button5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(206, 81)
Me.Button5.TabIndex = 0
Me.Button5.Text = "Export master data Pregatit"
Me.Button5.UseVisualStyleBackColor = True
'
'GroupBox5
'
Me.GroupBox5.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox5.Controls.Add(Me.Button5)
Me.GroupBox5.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox5.Location = New System.Drawing.Point(405, 241)
Me.GroupBox5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox5.Name = "GroupBox5"
Me.GroupBox5.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox5.Size = New System.Drawing.Size(284, 109)
Me.GroupBox5.TabIndex = 6
Me.GroupBox5.TabStop = False
Me.GroupBox5.Text = "Import Export Data Pregatit"
'
'Button6
'
Me.Button6.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button6.Location = New System.Drawing.Point(14, 37)
Me.Button6.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(341, 47)
Me.Button6.TabIndex = 0
Me.Button6.Text = "Inregistreaza Tichet Mentenanta"
Me.Button6.UseVisualStyleBackColor = True
'
'Button7
'
Me.Button7.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button7.Location = New System.Drawing.Point(14, 179)
Me.Button7.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button7.Name = "Button7"
Me.Button7.Size = New System.Drawing.Size(341, 47)
Me.Button7.TabIndex = 1
Me.Button7.Text = "Management Tichete Mentenanta"
Me.Button7.UseVisualStyleBackColor = True
'
'Button8
'
Me.Button8.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button8.Location = New System.Drawing.Point(14, 106)
Me.Button8.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button8.Name = "Button8"
Me.Button8.Size = New System.Drawing.Size(341, 47)
Me.Button8.TabIndex = 2
Me.Button8.Text = "Prelucreaza Tichet Mentenanta"
Me.Button8.UseVisualStyleBackColor = True
'
'GroupBox6
'
Me.GroupBox6.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox6.Controls.Add(Me.Button8)
Me.GroupBox6.Controls.Add(Me.Button7)
Me.GroupBox6.Controls.Add(Me.Button6)
Me.GroupBox6.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox6.Location = New System.Drawing.Point(710, 135)
Me.GroupBox6.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox6.Name = "GroupBox6"
Me.GroupBox6.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox6.Size = New System.Drawing.Size(366, 248)
Me.GroupBox6.TabIndex = 7
Me.GroupBox6.TabStop = False
Me.GroupBox6.Text = "Inregistrare/Administrare tichete mentenanta"
'
'FlowLayoutPanel1
'
Me.FlowLayoutPanel1.BackColor = System.Drawing.Color.White
Me.FlowLayoutPanel1.BackgroundImage = Global.Management_Resurse_Companie.My.Resources.Resources.AQUINOS_BEDDING_AQUINOS_GROUP_copy_32
Me.FlowLayoutPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(21, 4)
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(366, 83)
Me.FlowLayoutPanel1.TabIndex = 8
'
'Button9
'
Me.Button9.Location = New System.Drawing.Point(75, 38)
Me.Button9.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button9.Name = "Button9"
Me.Button9.Size = New System.Drawing.Size(235, 59)
Me.Button9.TabIndex = 0
Me.Button9.Text = "Lansare Modul Etichete"
Me.Button9.UseVisualStyleBackColor = True
'
'GroupBox7
'
Me.GroupBox7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
Me.GroupBox7.Controls.Add(Me.Button9)
Me.GroupBox7.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox7.Location = New System.Drawing.Point(710, 11)
Me.GroupBox7.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox7.Name = "GroupBox7"
Me.GroupBox7.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox7.Size = New System.Drawing.Size(355, 115)
Me.GroupBox7.TabIndex = 9
Me.GroupBox7.TabStop = False
Me.GroupBox7.Text = "Modul Etichete"
'
'GroupBox8
'
Me.GroupBox8.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox8.Controls.Add(Me.Button10)
Me.GroupBox8.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox8.Location = New System.Drawing.Point(21, 367)
Me.GroupBox8.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox8.Name = "GroupBox8"
Me.GroupBox8.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox8.Size = New System.Drawing.Size(366, 119)
Me.GroupBox8.TabIndex = 10
Me.GroupBox8.TabStop = False
Me.GroupBox8.Text = "Detalii Logare program scanare Pregatit"
'
'Button10
'
Me.Button10.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button10.Location = New System.Drawing.Point(16, 38)
Me.Button10.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button10.Name = "Button10"
Me.Button10.Size = New System.Drawing.Size(312, 68)
Me.Button10.TabIndex = 2
Me.Button10.Text = "Intra in forma comenzi cusut"
Me.Button10.UseVisualStyleBackColor = True
'
'GroupBox9
'
Me.GroupBox9.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox9.Controls.Add(Me.Button11)
Me.GroupBox9.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.GroupBox9.Location = New System.Drawing.Point(405, 360)
Me.GroupBox9.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox9.Name = "GroupBox9"
Me.GroupBox9.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox9.Size = New System.Drawing.Size(284, 126)
Me.GroupBox9.TabIndex = 11
Me.GroupBox9.TabStop = False
Me.GroupBox9.Text = "Import Export Data Cusut"
'
'Button11
'
Me.Button11.Font = New System.Drawing.Font("Segoe UI Black", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button11.Location = New System.Drawing.Point(39, 32)
Me.Button11.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button11.Name = "Button11"
Me.Button11.Size = New System.Drawing.Size(206, 81)
Me.Button11.TabIndex = 0
Me.Button11.Text = "Export master data comenzi cusut"
Me.Button11.UseVisualStyleBackColor = True
'
'SqlCommand1
'
Me.SqlCommand1.CommandTimeout = 30
Me.SqlCommand1.EnableOptimizedParameterBinding = False
'
'Form1
'
Me.AcceptButton = Me.Button1
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1088, 520)
Me.Controls.Add(Me.GroupBox9)
Me.Controls.Add(Me.GroupBox7)
Me.Controls.Add(Me.GroupBox8)
Me.Controls.Add(Me.FlowLayoutPanel1)
Me.Controls.Add(Me.GroupBox6)
Me.Controls.Add(Me.GroupBox5)
Me.Controls.Add(Me.GroupBox4)
Me.Controls.Add(Me.GroupBox3)
Me.Controls.Add(Me.GroupBox2)
Me.Controls.Add(Me.GroupBox1)
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form1"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Management Resurse Companie "
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox2.ResumeLayout(False)
Me.GroupBox3.ResumeLayout(False)
Me.GroupBox4.ResumeLayout(False)
Me.GroupBox5.ResumeLayout(False)
Me.GroupBox6.ResumeLayout(False)
Me.GroupBox7.ResumeLayout(False)
Me.GroupBox8.ResumeLayout(False)
Me.GroupBox9.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
Friend WithEvents Button1 As Button
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Button2 As Button
Friend WithEvents GroupBox2 As GroupBox
Friend WithEvents Button3 As Button
Friend WithEvents GroupBox3 As GroupBox
Friend WithEvents Button4 As Button
Friend WithEvents GroupBox4 As GroupBox
Friend WithEvents Button5 As Button
Friend WithEvents GroupBox5 As GroupBox
Friend WithEvents Button6 As Button
Friend WithEvents Button7 As Button
Friend WithEvents Button8 As Button
Friend WithEvents GroupBox6 As GroupBox
Friend WithEvents FlowLayoutPanel1 As FlowLayoutPanel
Friend WithEvents Button9 As Button
Friend WithEvents GroupBox7 As GroupBox
Friend WithEvents GroupBox8 As GroupBox
Friend WithEvents Button10 As Button
Friend WithEvents GroupBox9 As GroupBox
Friend WithEvents Button11 As Button
Friend WithEvents SqlCommand1 As Microsoft.Data.SqlClient.SqlCommand
End Class

274
VS code/Form1.resx Normal file
View File

@@ -0,0 +1,274 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SqlCommand1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>66</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAAAAAAAEAIABqLwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAALzFJ
REFUeNrt3XmUXFd9L/rv3vvMNVd1DT0P6tbQ3ZIl2fIsYwsPwibYGDCJeTySxWWRhLzFNQ4hPD/uZbiX
wAsJIQOElVx4WQ8SMINtDH7YDjbGAx4lW/Pc6lE9d3XXfKb9/pBtCJarTjuy1W1+n7WaZbR27Tr1O3t/
69SpU/sAhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEII
IYQQQgghhBBCCCGEEEIIIYQQQgghhJCA2K//n/h1fwomVPi1IqT0z/GGMTChQEqJxX//Cu0psurErv4o
GGOQngsJeW7nE+PgehjSc5C//0u/+vf4DZ9Eec99ENEsvMVTcGeH0P0PBaX43PcVMH5utlZKMNWQk195
e03NrQU3YtC7t8ErTKP07Pd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8j/5Cxp1ZEXI/+QvwDQLzIg8xvTQwVUxl4TmMs38LkJbb06L
aO4ecL6iz1YyzVzUWgdvBYD4dbfRqCMryktjUmsdvJVp5uJKnkvgXIpo7p7Q1pvTwl+aKmstG56B78Wk
565hkDqkv0JiioMpquRm9LCabL/DOu/td4poxpNOFfb4Php1ZMVQmrqhZvtgrLnksF+YHpO+ux7ST0FK
tlJOsjOhgKlGQYlmv6Nleu+oDT09xgBA79wKrev8kDNxcIc7P7pJ1kqdUNTIOdtuBkBKH54zriTahkU0
+3B5/wMHQltugleYRvXYEzTiyIpj9F4KEcmgtPtuWAPX9ntLU1e5C2OdEGorGOPndD65ToHpoWEl2b5H
bel/yD75bKk2vAssfsMnUd5zH0Q0C2/xFNzZIXT/Q0EpPvd95Y245P+MpARTDTn5lbfX1NxacCMGvXsb
vMI0Ss9+n0YaWbFCF7wbIpJBbegZ+NVFOJNHkPvoj3XpVBkYOzcbJX2Ez3+3O/SRiKs0dUPEmuEtTcPa
9Lb/+AOF+HV/CiZU+LUi5Dn+GMDAwIQCKSUW//0rNLLIqhO7+qNgjEF6LuQ5/hjAGAfXw5Ceg/z9X6Kd
QwghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQ
QgghhBBCCCGEEEIIIYQQQsjy/f+g5gASGbjh1QAAAABJRU5ErkJggg==
</value>
</data>
</root>

107
VS code/Form1.vb Normal file
View File

@@ -0,0 +1,107 @@
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Public Module variable
Public user As String = "0"
Public userp As String = "0"
End Module
Public Class Form1
' forma principala de lansare a tuturor programelor in cadrul acestui soft
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
' butonul aceseasa scanare calitate
' this button luchhes the forrm2 window that is used for quality scan.
' that form will update all the infos in the sql "calitate" database table with name "scanare"
' lanseaza forma initiala de scanare finala a calitatii comenzilor de productie, aceasta forma va introduce date in DB. Calitatea Tabelul scanare
' tabelul scanare di DB va fi folosit pentru a se face query in excel si a se obtine raportarea in format prietenos pentru utilizator
Form2.Show()
Me.Hide()
End Sub
Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click
' butonul acces setari
' this button will take to form nr 3 wich is an interogation form for Updating settings. tha password in this table is Aquinos@123
' forma intermediara de verificare a parolei de administrarea a conexiunilor programului, parola standard este Aquinos@123
' aceasta forma ne duce in forma intermediara de verificare a setarilor de conexiune
Form3.Show()
Me.Hide()
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
' butonul export masterdata calitate
' acest buton te duce in forma de exportare CSV din baza de date pentru calitate.
' acest export trebuie facut manual sau se seteaza excel care sa comunice cu baza de date si nu e nevoie utilizarea lui.
Form5.Show()
Me.Hide()
End Sub
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
' Buton Intra in forma de scanare pregatit
' buton acesare forma scanare pregatit scanare disponibila pentru zona de pregatit
' informatiile se salveaa in db.calitate tabeleul pregatit
Form6.Show()
Me.Hide()
End Sub
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
' buton export date master pregatit
' buton prin care se acceseaza forma de export din baza de date sql pentru informatiile din pregatit. aceste informatii pot fi accesate si direct in excel pri qurery din SQL
Form7.Show()
Me.Hide()
End Sub
Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
' buton Inregistreaza tichet mentenanta
' nuton care deschide interfata de creare tichet mentenanta
' interfata creare tichet mentenanta salveaza informatii in BD.calitate tabelul mentenanta
Form8.Show()
Me.Hide()
End Sub
Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click
' buton ce te triminte in forma de export data base from sql server tabel mentenanta
' pentru informatiile de acolo se poate folosi si excel cu power query from sql Database
Form10.Show()
Me.Hide()
End Sub
Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click
' buton administreaza tichet mentenanta
' acest buton acceseaza forma de alterare a tabelului mentenanta cu informatiile operatorului de mentenanta
' defectul constatat , inregistreaza timpii de realizare a mentenantei
Form9.Show()
Me.Hide()
End Sub
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
' buton management etichete
' buton de accesare a forma de import fisiere excel pentru etichete
' fisierele sunt importate in baza de date Calitate tabelul info etichete
Form15.Show()
Me.Hide()
End Sub
Private Sub Button10_Click(sender As Object, e As EventArgs) Handles Button10.Click
' buton aceseaza forma scanare cusut
' buton ce deschide forma de scanare a informatiilor cu privire la timpul si data in care a intrat in cusut o comanda
' acesta forma incarca informatii in tabelul cusut din baza de date Calitate
Form12.Show()
Me.Hide()
End Sub
Private Sub Button11_Click(sender As Object, e As EventArgs) Handles Button11.Click
' buton export master data cusut
' acceseaza forma de export informatii din baza de calitate tabelul cusut
' informatia din baza de date poate fi accesata si prin power query din baza de date
Form13.Show()
Me.Hide()
End Sub
Private Sub Button12_Click(sender As Object, e As EventArgs)
Form14.Show()
Me.Hide()
End Sub
End Class

170
VS code/Form10.Designer.vb generated Normal file
View File

@@ -0,0 +1,170 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form10
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.DateTimePicker3 = New System.Windows.Forms.DateTimePicker()
Me.Label1 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
Me.GroupBox1.SuspendLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'DateTimePicker1
'
Me.DateTimePicker1.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker1.Location = New System.Drawing.Point(150, 26)
Me.DateTimePicker1.Name = "DateTimePicker1"
Me.DateTimePicker1.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker1.TabIndex = 0
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.DateTimePicker3)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.DateTimePicker1)
Me.GroupBox1.Location = New System.Drawing.Point(35, 22)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(637, 86)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Alege intervalul din care trebuie sa faci exportul in excel"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(332, 31)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(98, 28)
Me.Label3.TabIndex = 3
Me.Label3.Text = "End Date"
'
'DateTimePicker3
'
Me.DateTimePicker3.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker3.Location = New System.Drawing.Point(445, 26)
Me.DateTimePicker3.Name = "DateTimePicker3"
Me.DateTimePicker3.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker3.TabIndex = 2
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(17, 32)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(110, 28)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Start Date"
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 125)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1306, 530)
Me.DataGridView1.TabIndex = 2
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Black
Me.Button1.Location = New System.Drawing.Point(712, 41)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(194, 54)
Me.Button1.TabIndex = 3
Me.Button1.Text = "Preview"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Black
Me.Button2.Location = New System.Drawing.Point(940, 40)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(194, 54)
Me.Button2.TabIndex = 4
Me.Button2.Text = "Export to Excel"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Red
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.ForeColor = System.Drawing.Color.White
Me.Button3.Location = New System.Drawing.Point(1140, 22)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(178, 79)
Me.Button3.TabIndex = 5
Me.Button3.Text = "Inchide program"
Me.Button3.UseVisualStyleBackColor = False
'
'Form7
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1352, 681)
Me.ControlBox = False
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.GroupBox1)
Me.Name = "Form7"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Export from SQL Database"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
End Sub
Friend WithEvents DateTimePicker1 As DateTimePicker
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Label3 As Label
Friend WithEvents DateTimePicker3 As DateTimePicker
Friend WithEvents Label1 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents SaveFileDialog1 As SaveFileDialog
End Class

63
VS code/Form10.resx Normal file
View File

@@ -0,0 +1,63 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

76
VS code/Form10.vb Normal file
View File

@@ -0,0 +1,76 @@
Imports System.IO
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form10
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
' this button handle the SQL consction for filling the data grid view with information from SQL database.
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select * from calitate.dbo.mentenanta where [Data] between @date1 and @date2", con)
command.Parameters.Add("date1", SqlDbType.Date).Value = DateTimePicker1.Value ' date from to be selected
command.Parameters.Add("date2", SqlDbType.Date).Value = DateTimePicker3.Value ' date to to be selected
Dim da As New SqlDataAdapter ' Sql adaptor for table
con.Open()
da.SelectCommand = command ' sql command for downnload
Dim dt As New DataTable ' sql table preparing for Datagrig
dt.Clear() ' clear table adaptor
da.Fill(dt) ' fill table adaptor
DataGridView1.DataSource = dt ' filling the data grid view
con.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
'Button for saving the information from data grid view to CSV
Dim saveFileDialog As New SaveFileDialog()
saveFileDialog.Filter = "CSV (.csv)|.csv" 'save fiel dialog
saveFileDialog.FileName = "export.csv" ' save file type
If (saveFileDialog.ShowDialog() = DialogResult.OK) Then ' check if name for file exist
Using sw As New StreamWriter(saveFileDialog.FileName) ' comand for rithing CSV file
Dim columnCount As Integer = DataGridView1.ColumnCount
For i As Integer = 0 To columnCount - 1
sw.Write(DataGridView1.Columns(i).HeaderText)
If (i < columnCount - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
For Each row As DataGridViewRow In DataGridView1.Rows
For i As Integer = 0 To row.Cells.Count - 1
If Not row.IsNewRow Then
sw.Write(row.Cells(i).Value.ToString())
End If
If (i < row.Cells.Count - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
Next
sw.Close()
End Using
MessageBox.Show("CSV file saved.") ' message that file was succesfuly created
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form1.Show()
Me.Close()
End Sub
End Class

234
VS code/Form11.Designer.vb generated Normal file
View File

@@ -0,0 +1,234 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form11
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form11))
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
Me.Button1 = New System.Windows.Forms.Button()
Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.Button4 = New System.Windows.Forms.Button()
Me.Button5 = New System.Windows.Forms.Button()
Me.Button6 = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'OpenFileDialog1
'
Me.OpenFileDialog1.FileName = "OpenFileDialog1"
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.Location = New System.Drawing.Point(225, 10)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(204, 35)
Me.Button1.TabIndex = 0
Me.Button1.Text = "Import Fisier Excel"
Me.Button1.UseVisualStyleBackColor = False
'
'FlowLayoutPanel1
'
Me.FlowLayoutPanel1.BackColor = System.Drawing.Color.White
Me.FlowLayoutPanel1.BackgroundImage = CType(resources.GetObject("FlowLayoutPanel1.BackgroundImage"), System.Drawing.Image)
Me.FlowLayoutPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(10, 10)
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(209, 45)
Me.FlowLayoutPanel1.TabIndex = 1
'
'DataGridView1
'
Me.DataGridView1.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.DataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter
DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window
DataGridViewCellStyle1.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point)
DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText
DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
Me.DataGridView1.DefaultCellStyle = DataGridViewCellStyle1
Me.DataGridView1.Location = New System.Drawing.Point(10, 100)
Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1353, 441)
Me.DataGridView1.TabIndex = 2
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(225, 67)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(101, 21)
Me.Label1.TabIndex = 3
Me.Label1.Text = "Nume Fisier"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(331, 67)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(14, 21)
Me.Label2.TabIndex = 4
Me.Label2.Text = ":"
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 10.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.Location = New System.Drawing.Point(455, 10)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(204, 55)
Me.Button2.TabIndex = 5
Me.Button2.Text = "Update Etichete Serii Hulshot"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 10.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.Location = New System.Drawing.Point(675, 10)
Me.Button3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(204, 55)
Me.Button3.TabIndex = 6
Me.Button3.Text = "Update Etichete Single cover Hulshot"
Me.Button3.UseVisualStyleBackColor = False
'
'Button4
'
Me.Button4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.Button4.Font = New System.Drawing.Font("Segoe UI", 10.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button4.Location = New System.Drawing.Point(884, 10)
Me.Button4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(204, 55)
Me.Button4.TabIndex = 7
Me.Button4.Text = "Update Etichete Kesteren"
Me.Button4.UseVisualStyleBackColor = False
'
'Button5
'
Me.Button5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.Button5.Font = New System.Drawing.Font("Segoe UI", 10.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button5.Location = New System.Drawing.Point(1093, 10)
Me.Button5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(204, 55)
Me.Button5.TabIndex = 8
Me.Button5.Text = "Update Etichete Bochum"
Me.Button5.UseVisualStyleBackColor = False
'
'Button6
'
Me.Button6.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.Button6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
Me.Button6.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button6.ForeColor = System.Drawing.SystemColors.ButtonHighlight
Me.Button6.Location = New System.Drawing.Point(1135, 551)
Me.Button6.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(185, 38)
Me.Button6.TabIndex = 9
Me.Button6.Text = "Inchide Forma"
Me.Button6.UseVisualStyleBackColor = False
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(225, 52)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(10, 15)
Me.Label3.TabIndex = 10
Me.Label3.Text = ":"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(23, 566)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(10, 15)
Me.Label5.TabIndex = 12
Me.Label5.Text = ":"
'
'Form11
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1375, 596)
Me.ControlBox = False
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Button6)
Me.Controls.Add(Me.Button5)
Me.Controls.Add(Me.Button4)
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.FlowLayoutPanel1)
Me.Controls.Add(Me.Button1)
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form11"
Me.Text = "Import fisiere pentru etichete"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents OpenFileDialog1 As OpenFileDialog
Friend WithEvents Button1 As Button
Friend WithEvents FlowLayoutPanel1 As FlowLayoutPanel
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label1 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents Button4 As Button
Friend WithEvents Button5 As Button
Friend WithEvents Button6 As Button
Friend WithEvents Label3 As Label
Friend WithEvents Label5 As Label
End Class

480
VS code/Form11.resx Normal file
View File

@@ -0,0 +1,480 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="OpenFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="FlowLayoutPanel1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAABU0AAAHDCAYAAAAQkzvuAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAX
EQAAFxEByibzPwAAX19JREFUeF7t3T2y7Mh1KNw3ghvUDBiKuD4jOAEZGgAdGTeeQ4t2e8+lKZNue7Rl
0f8cDYAGJ6CIdo6r6Bno27v7FFVE7zqnUAWgkDuXsaL75ikkMlGoBLCRP//nf/7nfwAAAAAAeFcmAgAA
AADMqkwEAAAAAJhVmQgAAAAAMKsyEQAAAABgVmUiAAAAAMCsykQAAAAAgFmViQAAAAAAsyoTAQAAAABm
VSYCAAAAAMyqTAQAAAAAmFWZCAAAAAAwqzIRAAAAAGBWZSIAAAAAwKzKRAAAAACAWZWJAAAAAACzKhMB
AAAAAGZVJgIAAAAAzKpMBAAAAACYVZkIAAAAADCrMhEAAAAAYFZlIgAAAADArMpEAAAAAIBZlYkAAAAA
ALMqEwEAAAAAZlUmAgAAAADMqkwEAAAAAJhVmQgAAAAAMKsyEQAAAABgVmUiAAAAAMCsykQAAAAAgFmV
iQAAAAAAsyoTAQAAAABmVSYCAAAAAMyqTAQAAAAAmFWZCAAAAAAwqzIRAAAAAGBWZSIAAAAAwKz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lUm
AgAAAADMqkwEAAAAAJhVmQgAAAAAMKsyEQAAAABgVmUiAAAAAMCsykQAAAAAgFmViQAAAAAAsyoTAQAA
AADm9D//5/8HLg8GL6uTIyUAAAAASUVORK5CYII=
</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root>

704
VS code/Form11.vb Normal file
View File

@@ -0,0 +1,704 @@
Imports System.Linq
Imports System.Data.SqlClient
Imports System.Data.OleDb
Imports Microsoft.Office.Core
Imports Microsoft.Office.Interop
Imports System.IO
Imports System.Xml.XPath
Imports System.Data
Imports System.Xml
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Imports System.Security.Cryptography
Public Class Form11
'setari pentru server
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim surceW As String = My.Settings.ServerNameW
Dim catalogW As String = My.Settings.ServerDatabaseW
Dim userW As String = My.Settings.ServerUserW
Dim passW As String = My.Settings.ServerUserPasW
Dim subnetW As String = My.Settings.SubnetW
Dim rowIdval As String ' gasirea randului din datagrid
Dim rowData As String
Dim rowOra As String
Dim rowZona As String
Dim rowmasina As String
Dim rowdefect As String
Dim rowstatus As String
Dim rowindex As Int16
Dim cpSerial As String
Private Sub rowIndexv() ' command to give the row index of tha SQL table With info about labels,
'this row indezx help us manipulate the sql table and if a comand to update table is not succesfuly we myust delete the rows addet incorrect
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "") ' conection to data string from settings
Dim Cmd2 As SqlCommand ' sql command
Dim rowindex1 As Int32
Dim query As String = "select max(id_eti) from Info_etichete"
con.Open()
Cmd2 = New SqlCommand(query, con)
rowindex1 = Cmd2.ExecuteScalar()
con.Close()
Label3.Text = rowindex1
rowindex = rowindex1 ' rowindez is declarated as a variable in the his form and will be avalabele in other subrutines
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' cod for uploading data from excel files
Dim conn As OleDbConnection ' we use oldb conection
'Dim dtr As OleDbDataReader
Dim dta As OleDbDataAdapter
'Dim cmd As OleDbCommand
Dim dts As DataSet
Dim excel As String
Dim OpenFileDialog As New OpenFileDialog
OpenFileDialog1.FileName = ""
OpenFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.Desktop
OpenFileDialog1.Filter = "All Files (*.*)|*.*|Excel files (*.xlsx)|*.xlsx|CSV Files (*.csv)|*.csv|XLS Files (*.xls)|*xls" ' types of file avalable to be uploadet
If (OpenFileDialog1.ShowDialog(Me) = System.Windows.Forms.DialogResult.OK) Then
DataGridView1.Columns.Clear() ' clear first tha data grid view
Dim fi As New FileInfo(OpenFileDialog1.FileName) ' name of the file
Dim FileName As String = OpenFileDialog1.FileName
excel = fi.FullName
conn = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + excel + ";Extended Properties=Excel 12.0") ' conection to transfor file from data file tu be updated in data grid
dta = New OleDbDataAdapter("Select * From [Sheet1$]", conn) ' select from Sheet 1
dts = New DataSet
dta.Fill(dts, "[Sheet1$]")
DataGridView1.DataSource = dts
DataGridView1.DataMember = "[Sheet1$]"
conn.Close()
Label2.Text = FileName ' the name of the file will apear in Label 12 that is on top of data grid view
rowIndexv() ' update of the row index to prepare for loading them on SQL server
End If
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click ' comand that will upload info in SQL server from files that contain series labels for Hulshot
Dim Msg, Style, Title, Response
Msg = " Esti sigur ca vrei sa incarci etichetele de Hulshot Serii?" ' msg box for confirmation
Style = vbYesNo
Title = "Interogare de siguranta"
Response = MsgBox(Msg, Style, Title)
If Response = vbNo Then ' if response is no , the program will delete the information from datagrid and wil put the program in whaiting state for new file upload
MsgBox("Se va goli Informatia din Datagrid")
DataGridView1.DataSource = Nothing
Else
' the program will start uploading informations in SQL server according to the transformation required for correct labbel.
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "") ' conection for SQL
rowIndexv() ' get row index for the case we can not update the file
Dim nrLinii As Integer = DataGridView1.Rows.Count - 1 ' get thr number of rows in Datagrid to prepare for Uploading in SQL
Try
For i As Integer = 0 To DataGridView1.Rows.Count - 2 ' for each row we perform upload comand in SQL
' next rows will perform file transformation to be able to upload to SQL
Dim codfirma As String = "007" ' romanian code for uploading from Hulshot companu code 007
Dim comanda As String ' info for order number taked from Cell 2 of each row
If DataGridView1.Rows(i).Cells(2).Value IsNot DBNull.Value Then ' if cell has no info result will be -
comanda = DataGridView1.Rows(i).Cells(2).Value
Else
comanda = "-"
End If
Dim linia As String
' info for line of the order number taked from Cell 3 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(3).Value IsNot DBNull.Value Then
linia = DataGridView1.Rows(i).Cells(3).Value
Else
linia = "-"
End If
Dim cant As String
' info for the quantity of the order taked from Cell 12 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(12).Value IsNot DBNull.Value Then
cant = DataGridView1.Rows(i).Cells(12).Value
Else
cant = "-"
End If
Dim onsordercode As String
' info for ons ordercode of the order number taked from Cell 13 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(13).Value IsNot DBNull.Value Then
onsordercode = DataGridView1.Rows(i).Cells(13).Value
Else
onsordercode = "-"
End If
Dim descriere As String
' info for the description of the order number taked from Cell 7 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(7).Value IsNot DBNull.Value Then
descriere = DataGridView1.Rows(i).Cells(7).Value
Else
descriere = "-"
End If
' info for dimensions of the order number taked from Cell 9 / 10/ 11 of each row
Dim Dimensiune1 As String = DataGridView1.Rows(i).Cells(9).Value
Dim Dimensiune2 As String = DataGridView1.Rows(i).Cells(10).Value
Dim Dimensiune3 As String = DataGridView1.Rows(i).Cells(11).Value
Dim Client As String
' info for name of the customer for the order number taked from Cell 6 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(6).Value IsNot DBNull.Value Then
Client = DataGridView1.Rows(i).Cells(6).Value
Else
Client = "-"
End If
Dim Strada As String
' info for strate addres of the order number taked from Cell 4 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(4).Value IsNot DBNull.Value Then
Strada = DataGridView1.Rows(i).Cells(4).Value
Else
Strada = "-"
End If
' post code we have no postcode on the files for series
Dim postcode As String = "-"
' we have no information customer town that is definde in sql as orasclient
Dim orasclient As String = "-"
Dim pf As String
' info for miercurea article code of the order number taked from Cell 8 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(8).Value IsNot DBNull.Value Then
pf = DataGridView1.Rows(i).Cells(8).Value
Else
pf = "-"
End If
Dim marcaj As String
' info for marking of the order number taked from Cell 14 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(14).Value IsNot DBNull.Value Then
marcaj = DataGridView1.Rows(i).Cells(14).Value
Else
marcaj = "-"
End If
Dim data_livrare As String
' info for delivery date of the order number taked from Cell 15 of each row
' for mts orders some time delivery date is not avalable
' if cell has no info result will be --/--/--
If DataGridView1.Rows(i).Cells(15).Value IsNot DBNull.Value Then
Me.DataGridView1.Columns("hpp-dat").DefaultCellStyle.Format = "dd.MM.yyyy" ' formating cel in an accepted date format for SQL
data_livrare = DataGridView1.Rows(i).Cells(15).Value
Else
data_livrare = "--/--/--"
End If
Dim volum As String
' info for volume of the covers from the order number taked from Cell 3 of each row
' if cell has no info result will be -
If DataGridView1.Rows(i).Cells(16).Value IsNot DBNull.Value Then
volum = DataGridView1.Rows(i).Cells(16).Value
Else
volum = "-"
End If
Dim barcode As String = DataGridView1.Rows(i).Cells(0).Value ' information for the barcode
Dim NumeCli As String = "Hushout" ' customer name for internal task
Dim comLinia As String = comanda & "-" & linia ' gruping the order to be able to recover from SQL after CP import
Dim comLinia1 As String = codfirma & "-" & comLinia ' gruping info for label with cod firma, an order and line
Dim dimens As String = Dimensiune1 & "X" & Dimensiune2 & "X" & Dimensiune3 ' gruping dimensions in one cell
Dim cmd As New SqlCommand("Insert into Info_etichete values ('" & comLinia & "','" & cant & "','" & comLinia1 & "','" & onsordercode & "',
'" & descriere & "','" & dimens & "','" & Client & "','" & Strada & "','" & postcode & "','" & orasclient & "',
'" & pf & "','" & marcaj & "','" & data_livrare & "','" & volum & "','" & barcode & "','" & NumeCli & "') ", con) ' the sql command for inserting defined values
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Next ' continuing the loop for each i equal with data grid views rows number
MsgBox("Au fost Incarcate un numar de - " & nrLinii & " linii cu succes") ' when the loop is done with no error we receve this message
Catch ex As Exception
MsgBox("Incercarea de a incarca un nr de : " & nrLinii & " linii nu a reusit, este posibil ca informatia pentru aceste etichete sa fie deja incarcata")
' this is the message in case the loop has an error an not all the information was inserted.
Dim CmdDel As New SqlCommand("DELETE from Info_etichete where id_eti >" & rowindex & "", con) ' if we have an error and som rows wher not corectly updated in SQL we delet the rows using the index number
CmdDel.ExecuteNonQuery() ' execute the delet command
con.Close() ' close the query
End Try
' when all the data was uploadet or it has an eror, next command will delet the info from data grid
DataGridView1.DataSource = Nothing
End If
rowIndexv() ' get the new index row number
End Sub
Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
Form15.Show() ' button for close the form and send to label upload
Me.Close()
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
' this button handles the transformation for single cover, all tha transformations ar in the same method mades as for the Series covers only the colums ar a litle different
' the information coms in different flavor in excel and for that we ned different transformations from the data grid to SQL
Dim Msg, Style, Title, Response
Msg = " esti sigur ca vrei sa incarci etichetele de Hulshot Single Covers?"
Style = vbYesNo
Title = "Interogare de siguranta"
Response = MsgBox(Msg, Style, Title)
If Response = vbNo Then
MsgBox("Se va goli Informatia din Datagrid")
DataGridView1.DataSource = Nothing
Else
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
rowIndexv()
Dim nrLinii As Integer = DataGridView1.Rows.Count - 1
Try
For i As Integer = 0 To DataGridView1.Rows.Count - 2
Dim codfirma As String = "007"
Dim comanda As String
If DataGridView1.Rows(i).Cells(2).Value IsNot DBNull.Value Then
comanda = DataGridView1.Rows(i).Cells(2).Value
Else
comanda = "-"
End If
Dim linia As String
If DataGridView1.Rows(i).Cells(3).Value IsNot DBNull.Value Then
linia = DataGridView1.Rows(i).Cells(3).Value
Else
linia = "-"
End If
Dim cant As String = "1" 'DataGridView1.Rows(i).Cells(12).Value
Dim onsordercode As String
If DataGridView1.Rows(i).Cells(10).Value IsNot DBNull.Value Then
onsordercode = DataGridView1.Rows(i).Cells(10).Value
Else
onsordercode = "-"
End If
Dim descriere As String
If DataGridView1.Rows(i).Cells(6).Value IsNot DBNull.Value Then
descriere = DataGridView1.Rows(i).Cells(6).Value
Else
descriere = "-"
End If
Dim Dimensiune1 As String
If DataGridView1.Rows(i).Cells(7).Value IsNot DBNull.Value Then
Dimensiune1 = DataGridView1.Rows(i).Cells(7).Value
Else
Dimensiune1 = "-"
End If
Dim Dimensiune2 As String
If DataGridView1.Rows(i).Cells(8).Value IsNot DBNull.Value Then
Dimensiune2 = DataGridView1.Rows(i).Cells(8).Value
Else
Dimensiune2 = "-"
End If
Dim Dimensiune3 As String
If DataGridView1.Rows(i).Cells(9).Value IsNot DBNull.Value Then
Dimensiune3 = DataGridView1.Rows(i).Cells(9).Value
Else
Dimensiune3 = "-"
End If
Dim Client As String
If DataGridView1.Rows(i).Cells(11).Value IsNot DBNull.Value Then
Client = DataGridView1.Rows(i).Cells(11).Value
Else
Client = "-"
End If
Dim Strada As String
If DataGridView1.Rows(i).Cells(12).Value IsNot DBNull.Value Then
Strada = DataGridView1.Rows(i).Cells(12).Value
Else
Strada = "-"
End If
Dim postcode As String
If DataGridView1.Rows(i).Cells(13).Value IsNot DBNull.Value Then
postcode = DataGridView1.Rows(i).Cells(13).Value
Else
postcode = "-"
End If
Dim orasclient As String
If DataGridView1.Rows(i).Cells(14).Value IsNot DBNull.Value Then
orasclient = DataGridView1.Rows(i).Cells(14).Value
Else
orasclient = "-"
End If
Dim pf As String = "-"
Dim dateN As Date = Today()
Dim duedate As Date = dateN.AddDays(9)
Dim marcaj As String
If DataGridView1.Rows(i).Cells(15).Value IsNot DBNull.Value Then
marcaj = DataGridView1.Rows(i).Cells(15).Value
Else
marcaj = "-"
End If
Dim data_livrare As String
If DataGridView1.Rows(i).Cells(16).Value IsNot DBNull.Value Then
Me.DataGridView1.Columns("hpp-dat").DefaultCellStyle.Format = "dd.MM.yyyy"
data_livrare = DataGridView1.Rows(i).Cells(16).Value
Else
data_livrare = "--/--/--"
End If
Dim volum As String
If DataGridView1.Rows(i).Cells(17).Value IsNot DBNull.Value Then
volum = DataGridView1.Rows(i).Cells(17).Value
Else
volum = "-"
End If
Dim barcode As String = DataGridView1.Rows(i).Cells(0).Value
Dim NumeCli As String = "Hushout"
Dim comLinia As String = comanda & "-" & linia
Dim comLinia1 As String = DataGridView1.Rows(i).Cells(18).Value
Dim dimens As String = Dimensiune1 & "X" & Dimensiune2 & "X" & Dimensiune3
Dim cmd As New SqlCommand("Insert into Info_etichete values ('" & comLinia & "','" & cant & "','" & comLinia1 & "','" & onsordercode & "',
'" & descriere & "','" & dimens & "','" & Client & "','" & Strada & "','" & postcode & "','" & orasclient & "',
'" & pf & "','" & marcaj & "','" & data_livrare & "','" & volum & "','" & barcode & "','" & NumeCli & "') ", con)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Next
MsgBox("Au fost Incarcate un numar de - " & nrLinii & " linii cu succes")
Catch ex As Exception
MsgBox("Incercarea de a incarca un nr de : " & nrLinii & " linii nu a reusit, este posibil ca informatia pentru aceste etichete sa fie deja incarcata")
Dim CmdDel As New SqlCommand("DELETE from dbo.Info_etichete where id_eti >" & rowindex & "", con)
con.Open()
CmdDel.ExecuteNonQuery()
con.Close()
End Try
DataGridView1.DataSource = Nothing
End If
rowIndexv()
End Sub
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
' this button handles the transformation for Kesteren cover, all tha transformations ar in the same method mades as for the Series covers only the colums ar a litle different
' the information coms in different flavor in excel and for that we ned different transformations from the data grid to SQL
Dim Msg, Style, Title, Response
Msg = " esti sigur ca vrei sa incarci etichetele de Kesteren?"
Style = vbYesNo
Title = "Interogare de siguranta"
Response = MsgBox(Msg, Style, Title)
If Response = vbNo Then
MsgBox("Se va goli Informatia din Datagrid")
DataGridView1.DataSource = Nothing
Else
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
rowIndexv()
Dim nrLinii As Integer = DataGridView1.Rows.Count - 1
Try
For i As Integer = 0 To DataGridView1.Rows.Count - 2
Dim codfirma As String = "7345"
Dim comanda As String
If DataGridView1.Rows(i).Cells(5).Value IsNot DBNull.Value Then
comanda = DataGridView1.Rows(i).Cells(5).Value
Else
comanda = "-"
End If
Dim linia As String
If DataGridView1.Rows(i).Cells(6).Value IsNot DBNull.Value Then
linia = DataGridView1.Rows(i).Cells(6).Value
Else
linia = "-"
End If
Dim cant As String
If DataGridView1.Rows(i).Cells(10).Value IsNot DBNull.Value Then
cant = DataGridView1.Rows(i).Cells(10).Value
Else
cant = "-"
End If
Dim onsordercode As String
If DataGridView1.Rows(i).Cells(3).Value IsNot DBNull.Value Then
onsordercode = "created on:" & DataGridView1.Rows(i).Cells(3).Value
Else
onsordercode = "-"
End If
Dim descriere As String
If DataGridView1.Rows(i).Cells(8).Value IsNot DBNull.Value Then
descriere = DataGridView1.Rows(i).Cells(8).Value
Else
descriere = "-"
End If
Dim Dimensiune1 As String = DataGridView1.Rows(i).Cells(7).Value
Dim Dimensiune2 As String = DataGridView1.Rows(i).Cells(8).Value
Dim Dimensiune3 As String = DataGridView1.Rows(i).Cells(9).Value
Dim Client As String = "Aquinos Bedding Romania"
'If DataGridView1.Rows(i).Cells(11).Value IsNot DBNull.Value Then
'Client = DataGridView1.Rows(i).Cells(11).Value
' Else
'Client = "-"
'End If
Dim Strada As String
If DataGridView1.Rows(i).Cells(7).Value IsNot DBNull.Value Then
Strada = DataGridView1.Rows(i).Cells(7).Value
Else
Strada = "-"
End If
Dim postcode As String
If DataGridView1.Rows(i).Cells(5).Value IsNot DBNull.Value Then
postcode = DataGridView1.Rows(i).Cells(5).Value
Else
postcode = "-"
End If
Dim orasclient As String
If DataGridView1.Rows(i).Cells(6).Value IsNot DBNull.Value Then
orasclient = DataGridView1.Rows(i).Cells(6).Value
Else
orasclient = "-"
End If
Dim pf As String
If DataGridView1.Rows(i).Cells(9).Value IsNot DBNull.Value Then
pf = DataGridView1.Rows(i).Cells(9).Value
Else
pf = "-"
End If
Dim dateN As Date = Today()
Dim duedate As Date = dateN.AddDays(9)
Dim marcaj As String
If DataGridView1.Rows(i).Cells(11).Value IsNot DBNull.Value Then
marcaj = DataGridView1.Rows(i).Cells(11).Value
Else
marcaj = "-"
End If
Dim data_livrare As String
If DataGridView1.Rows(i).Cells(5).Value IsNot DBNull.Value Then
Me.DataGridView1.Columns("Delivery date").DefaultCellStyle.Format = "dd.MM.yyyy"
data_livrare = DataGridView1.Rows(i).Cells(4).Value
Else
data_livrare = "--/--/--"
End If
Dim volum As String
If DataGridView1.Rows(i).Cells(12).Value IsNot DBNull.Value Then
volum = DataGridView1.Rows(i).Cells(12).Value
Else
volum = "-"
End If
Dim barcode As String = comanda & "-" & linia
Dim NumeCli As String = "Kesteren"
Dim comLinia As String = comanda & "-" & linia
Dim comLinia1 As String = comLinia
Dim dimens As String = descriere.Substring(descriere.Length - 7)
Dim cmd As New SqlCommand("insert into Info_etichete values ('" & comLinia & "','" & cant & "','" & comLinia1 & "','" & onsordercode & "',
'" & descriere & "','" & dimens & "','" & Client & "','" & Strada & "','" & postcode & "','" & orasclient & "',
'" & pf & "','" & marcaj & "','" & data_livrare & "','" & volum & "','" & barcode & "','" & NumeCli & "') ", con)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Next
MsgBox("Au fost Incarcate un numar de - " & nrLinii & " linii cu succes")
Catch ex As Exception
MsgBox("Incercarea de a incarca un nr de : " & nrLinii & " linii nu a reusit, este posibil ca informatia pentru aceste etichete sa fie deja incarcata")
Dim CmdDel As New SqlCommand("DELETE from Info_etichete where id_eti >" & rowindex & "", con)
CmdDel.ExecuteNonQuery()
con.Close()
End Try
DataGridView1.DataSource = Nothing
End If
rowIndexv()
End Sub
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
' this button handles the transformation for single cover, all tha transformations ar in the same method mades as for the Series covers only the colums ar a litle different
' the information coms in different flavor in excel and for that we ned different transformations from the data grid to SQL
Dim Msg, Style, Title, Response
Msg = " esti sigur ca vrei sa incarci etichetele de Bochum?"
Style = vbYesNo
Title = "Interogare de siguranta"
Response = MsgBox(Msg, Style, Title)
If Response = vbNo Then
MsgBox("Se va goli Informatia din Datagrid")
DataGridView1.DataSource = Nothing
Else
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
rowIndexv()
Dim nrLinii As Integer = DataGridView1.Rows.Count - 1
Try
For i As Integer = 1 To DataGridView1.Rows.Count - 2
Dim comanda As String
If DataGridView1.Rows(i).Cells(3).Value IsNot DBNull.Value Then
comanda = DataGridView1.Rows(i).Cells(3).Value
Else
comanda = "-"
End If
Dim linia As String
If DataGridView1.Rows(i).Cells(4).Value IsNot DBNull.Value Then
linia = DataGridView1.Rows(i).Cells(4).Value
Else
linia = "-"
End If
Dim cant As String
If DataGridView1.Rows(i).Cells(9).Value IsNot DBNull.Value Then
cant = DataGridView1.Rows(i).Cells(9).Value
Else
cant = "-"
End If
Dim onsordercode As String
If DataGridView1.Rows(i).Cells(18).Value IsNot DBNull.Value Then
onsordercode = DataGridView1.Rows(i).Cells(18).Value
Else
onsordercode = "-"
End If
Dim descriere As String
If DataGridView1.Rows(i).Cells(19).Value IsNot DBNull.Value Then
descriere = DataGridView1.Rows(i).Cells(19).Value
Else
descriere = "-"
End If
Dim Dimensiune1 As String = DataGridView1.Rows(i).Cells(7).Value
Dim Dimensiune2 As String = DataGridView1.Rows(i).Cells(8).Value
'Dim Dimensiune3 As String = DataGridView1.Rows(i).Cells(9).Value
Dim Client As String = "Aguinos Bedding Romania" ' "Aquinos Bedding Romania"
'If DataGridView1.Rows(i).Cells(11).Value IsNot DBNull.Value Then
'Client = DataGridView1.Rows(i).Cells(11).Value
'Else
'Client = "-"
'End If
Dim Strada As String ' data comenzii catre client
If DataGridView1.Rows(i).Cells(20).Value IsNot DBNull.Value Then
Strada = DataGridView1.Rows(i).Cells(20).Value
Else
Strada = "-"
End If
Dim postcode As String
If DataGridView1.Rows(i).Cells(13).Value IsNot DBNull.Value Then
postcode = DataGridView1.Rows(i).Cells(13).Value
Else
postcode = "-"
End If
Dim orasclient As String
If DataGridView1.Rows(i).Cells(12).Value IsNot DBNull.Value Then
orasclient = DataGridView1.Rows(i).Cells(12).Value
Else
orasclient = "-"
End If
Dim pf As String
If DataGridView1.Rows(i).Cells(21).Value IsNot DBNull.Value Then
pf = DataGridView1.Rows(i).Cells(21).Value
Else
pf = "-"
End If
Dim dateN As Date = Today()
Dim duedate As Date = dateN.AddDays(9)
Dim marcaj As String = "-"
Dim data_livrare As String
If DataGridView1.Rows(i).Cells(10).Value IsNot DBNull.Value Then
Me.DataGridView1.Columns(10).DefaultCellStyle.Format = "dd.MM.yyyy"
data_livrare = DataGridView1.Rows(i).Cells(10).Value
Else
data_livrare = "--/--/--"
End If
Dim volum As String = "-"
' If DataGridView1.Rows(i).Cells(12).Value IsNot DBNull.Value Then
'volum = DataGridView1.Rows(i).Cells(12).Value
' Else
'volum = "-"
'End If
Dim barcode As String = comanda & "-" & linia
Dim NumeCli As String = "Bochum"
Dim comLinia As String = comanda & "-" & linia
Dim comLinia1 As String = comanda & "-" & linia
Dim dimens As String = Dimensiune1 & "x" & Dimensiune2 & "x"
Dim cmd As New SqlCommand("insert into Info_etichete values ('" & comLinia & "','" & cant & "','" & comLinia1 & "','" & onsordercode & "',
'" & descriere & "','" & dimens & "','" & Client & "','" & Strada & "','" & postcode & "','" & orasclient & "',
'" & pf & "','" & marcaj & "','" & data_livrare & "','" & volum & "','" & barcode & "','" & NumeCli & "') ", con)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Next
MsgBox("Au fost Incarcate un numar de - " & nrLinii & " linii cu succes")
Catch ex As Exception
MsgBox("Incercarea de a incarca un nr de : " & nrLinii & " linii nu a reusit, este posibil ca informatia pentru aceste etichete sa fie deja incarcata")
Dim CmdDel As New SqlCommand("DELETE from Info_etichete where id_eti >" & rowindex & "", con)
con.Open()
CmdDel.ExecuteNonQuery()
con.Close()
End Try
DataGridView1.DataSource = Nothing
End If
rowIndexv()
End Sub
Private Sub Button7_Click(sender As Object, e As EventArgs)
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select top 1 * from dbo.SERIAL order by SERIAL desc", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con.Close() ' inchiderea conexiuneii cu serverul
Label5.Text = DataGridView1.Rows(0).Cells(0).Value.ToString()
cpSerial = DataGridView1.Rows(0).Cells(0).Value.ToString()
End Sub
Private Sub Button9_Click(sender As Object, e As EventArgs)
Dim con1 As New SqlConnection("Data Source=" & surceW & "; Initial Catalog=" & catalogW & "; User ID=" & userW &
"; Password=" & passW & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con1.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select * from dbo.SERIAL where serial > " & cpSerial & " ", con1)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con1.Close() ' inchiderea conexiuneii cu serverul
End Sub
End Class

204
VS code/Form12.Designer.vb generated Normal file
View File

@@ -0,0 +1,204 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form12
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.Label2 = New System.Windows.Forms.Label()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'TextBox2
'
Me.TextBox2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox2.Location = New System.Drawing.Point(9, 45)
Me.TextBox2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox2.MaxLength = 4
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(285, 32)
Me.TextBox2.TabIndex = 1
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.ForeColor = System.Drawing.Color.White
Me.Label2.Location = New System.Drawing.Point(12, 90)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(122, 25)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Scaneaza CP"
'
'TextBox5
'
Me.TextBox5.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox5.Location = New System.Drawing.Point(9, 129)
Me.TextBox5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox5.MaxLength = 10
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(286, 32)
Me.TextBox5.TabIndex = 2
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.ForeColor = System.Drawing.Color.White
Me.Label5.Location = New System.Drawing.Point(10, 9)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(176, 25)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Introdu Cantitatea"
'
'DataGridView1
'
Me.DataGridView1.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.DataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells
Me.DataGridView1.BackgroundColor = System.Drawing.Color.White
Me.DataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised
DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control
DataGridViewCellStyle3.Font = New System.Drawing.Font("Segoe UI", 16.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText
DataGridViewCellStyle3.Padding = New System.Windows.Forms.Padding(0, 0, 0, 4)
DataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
Me.DataGridView1.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle3
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window
DataGridViewCellStyle4.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
DataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText
DataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
Me.DataGridView1.DefaultCellStyle = DataGridViewCellStyle4
Me.DataGridView1.GridColor = System.Drawing.SystemColors.ControlLight
Me.DataGridView1.Location = New System.Drawing.Point(323, 21)
Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1004, 409)
Me.DataGridView1.TabIndex = 10
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.ForeColor = System.Drawing.Color.White
Me.Label6.Location = New System.Drawing.Point(17, 187)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(42, 20)
Me.Label6.TabIndex = 11
Me.Label6.Text = "Data"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.ForeColor = System.Drawing.Color.White
Me.Label7.Location = New System.Drawing.Point(164, 187)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(34, 20)
Me.Label7.TabIndex = 13
Me.Label7.Text = "Ora"
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Black
Me.Button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Lime
Me.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button1.Location = New System.Drawing.Point(33, 289)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(239, 41)
Me.Button1.TabIndex = 14
Me.Button1.Text = "Inchide Formularul"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
Me.Button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Lime
Me.Button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button2.Location = New System.Drawing.Point(16, 229)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(256, 41)
Me.Button2.TabIndex = 15
Me.Button2.Text = "Sterge randul selectat"
Me.Button2.UseVisualStyleBackColor = False
'
'Form12
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
Me.ClientSize = New System.Drawing.Size(1339, 439)
Me.ControlBox = False
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.TextBox5)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.TextBox2)
Me.Controls.Add(Me.Label2)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form12"
Me.RightToLeftLayout = True
Me.Text = "Scanare comenzi"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents TextBox2 As TextBox
Friend WithEvents Label2 As Label
Friend WithEvents TextBox5 As TextBox
Friend WithEvents Label5 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
End Class

60
VS code/Form12.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

122
VS code/Form12.vb Normal file
View File

@@ -0,0 +1,122 @@

Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form12
'setari pentru server
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("select top 14 * from dbo.cusut order by id desc", con)
Dim sda As New SqlDataAdapter(command)
Dim dt As New DataTable
sda.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub UserForm2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' text box1 incarcare valoare, set text box 2 pentru scan
updateTable()
TextBox5.Focus()
End Sub
Private Sub TextBox2_TextChangeed(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
' validare CP text box 2
End Sub
Private Sub TextBox5_TextChangeed(sender As Object, e As EventArgs) Handles TextBox5.TextChanged
' validare Calitate text box5
If TextBox5.Text.Length < 10 Then
ElseIf TextBox5.Text.Length = 10 Then
Dim val As String
val = TextBox5.Text
If InStr(1, val, "CP") > 0 Then
Dim cp As String = TextBox2.Text 'string pentru SQL cp
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label6.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh: mm") 'Format time
Label7.Text = dTime ' update in label
Dim cant As String
cant = TextBox5.Text
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.cusut values('" & TextBox2.Text & "','" & cant & "','" & dta & "','" & dTime & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
TextBox5.Clear()
TextBox2.Clear()
TextBox5.Focus()
Else
MsgBox("Introdu CP Corect")
TextBox2.Clear()
TextBox2.Focus()
End If
Else
End If
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' inchidere forma scanare articole
Form1.Show()
Me.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
' stergere rand din datagrid
Dim result1 As DialogResult = MsgBox("Sigur Vrei sa strigi linia selectata ?", MsgBoxStyle.Information + MsgBoxStyle.YesNo,
"Confirmare stergere Linie")
If DialogResult.OK Then 'confirmare MsgBox
' cod stergere din SQL
If rowIdval >= 0 Then ' id row datagrid din sub datagrid
Dim id As Integer = rowIdval
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Delete calitate.dbo.cusut where id = '" & id & "'", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
MsgBox(" Linia a fost stearsa")
TextBox2.Focus()
End If
Else
MsgBox(" Ai anulat stergerea liniei")
End If
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("id").Value.ToString()
rowIdval = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
End If
End Sub
End Class

179
VS code/Form13.Designer.vb generated Normal file
View File

@@ -0,0 +1,179 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form13
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.DateTimePicker3 = New System.Windows.Forms.DateTimePicker()
Me.Label1 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
Me.GroupBox1.SuspendLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'DateTimePicker1
'
Me.DateTimePicker1.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker1.Location = New System.Drawing.Point(131, 20)
Me.DateTimePicker1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DateTimePicker1.Name = "DateTimePicker1"
Me.DateTimePicker1.Size = New System.Drawing.Size(140, 29)
Me.DateTimePicker1.TabIndex = 0
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.DateTimePicker3)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.DateTimePicker1)
Me.GroupBox1.Location = New System.Drawing.Point(31, 16)
Me.GroupBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Size = New System.Drawing.Size(557, 64)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Alege intervalul din care trebuie sa faci exportul in excel"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(290, 23)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(79, 21)
Me.Label3.TabIndex = 3
Me.Label3.Text = "End Date"
'
'DateTimePicker3
'
Me.DateTimePicker3.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker3.Location = New System.Drawing.Point(389, 20)
Me.DateTimePicker3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DateTimePicker3.Name = "DateTimePicker3"
Me.DateTimePicker3.Size = New System.Drawing.Size(140, 29)
Me.DateTimePicker3.TabIndex = 2
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(15, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(86, 21)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Start Date"
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(10, 94)
Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1143, 398)
Me.DataGridView1.TabIndex = 2
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Black
Me.Button1.Location = New System.Drawing.Point(623, 31)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(170, 40)
Me.Button1.TabIndex = 3
Me.Button1.Text = "Preview"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Black
Me.Button2.Location = New System.Drawing.Point(822, 30)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(170, 40)
Me.Button2.TabIndex = 4
Me.Button2.Text = "Export to Excel"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Red
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.ForeColor = System.Drawing.Color.White
Me.Button3.Location = New System.Drawing.Point(998, 16)
Me.Button3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(156, 59)
Me.Button3.TabIndex = 5
Me.Button3.Text = "Inchide program"
Me.Button3.UseVisualStyleBackColor = False
'
'Form13
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1183, 511)
Me.ControlBox = False
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.GroupBox1)
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form13"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Export from SQL Database Cusut"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
End Sub
Friend WithEvents DateTimePicker1 As DateTimePicker
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Label3 As Label
Friend WithEvents DateTimePicker3 As DateTimePicker
Friend WithEvents Label1 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents SaveFileDialog1 As SaveFileDialog
End Class

63
VS code/Form13.resx Normal file
View File

@@ -0,0 +1,63 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

89
VS code/Form13.vb Normal file
View File

@@ -0,0 +1,89 @@
Imports System.IO
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form13
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select * from calitate.dbo.cusut where [data] between @date1 and @date2", con)
command.Parameters.Add("date1", SqlDbType.Date).Value = DateTimePicker1.Value
command.Parameters.Add("date2", SqlDbType.Date).Value = DateTimePicker3.Value
Dim da As New SqlDataAdapter
da.SelectCommand = command
Dim dt As New DataTable
dt.Clear()
da.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim saveFileDialog As New SaveFileDialog()
'Dim fileName As String = "Cusut" & "-" & dta & ".csv"
saveFileDialog.Filter = "CSV (.csv)|.csv"
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
saveFileDialog.FileName = "Cusut" & "-" & dta & ".csv"
If (saveFileDialog.ShowDialog() = DialogResult.OK) Then
Using sw As New StreamWriter(saveFileDialog.FileName)
Dim columnCount As Integer = DataGridView1.ColumnCount
For i As Integer = 0 To columnCount - 1
sw.Write(DataGridView1.Columns(i).HeaderText)
If (i < columnCount - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
For Each row As DataGridViewRow In DataGridView1.Rows
For i As Integer = 0 To row.Cells.Count - 1
If Not row.IsNewRow Then
sw.Write(row.Cells(i).Value.ToString())
End If
If (i < row.Cells.Count - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
Next
sw.Close()
End Using
MessageBox.Show("CSV file saved.")
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form1.Show()
Me.Close()
End Sub
End Class

268
VS code/Form14.Designer.vb generated Normal file
View File

@@ -0,0 +1,268 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form14
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form14))
Me.Label1 = New System.Windows.Forms.Label()
Me.ScanCP = New System.Windows.Forms.TextBox()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.BTPRINT = New System.Windows.Forms.Button()
Me.Label4 = New System.Windows.Forms.Label()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.PrintDialog1 = New System.Windows.Forms.PrintDialog()
Me.PrintPreviewDialog1 = New System.Windows.Forms.PrintPreviewDialog()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
Me.Button1 = New System.Windows.Forms.Button()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(12, 85)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(83, 25)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Scan CP"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'ScanCP
'
Me.ScanCP.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ScanCP.Location = New System.Drawing.Point(109, 77)
Me.ScanCP.MaxLength = 10
Me.ScanCP.Name = "ScanCP"
Me.ScanCP.Size = New System.Drawing.Size(275, 33)
Me.ScanCP.TabIndex = 1
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 126)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowTemplate.Height = 25
Me.DataGridView1.Size = New System.Drawing.Size(1367, 109)
Me.DataGridView1.TabIndex = 2
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(431, 80)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(218, 25)
Me.Label2.TabIndex = 3
Me.Label2.Text = "Comanda si linia Client:"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(655, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(17, 25)
Me.Label3.TabIndex = 4
Me.Label3.Text = ":"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'BTPRINT
'
Me.BTPRINT.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
Me.BTPRINT.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.BTPRINT.Location = New System.Drawing.Point(12, 251)
Me.BTPRINT.Name = "BTPRINT"
Me.BTPRINT.Size = New System.Drawing.Size(324, 86)
Me.BTPRINT.TabIndex = 5
Me.BTPRINT.Text = "Print"
Me.BTPRINT.UseVisualStyleBackColor = False
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.Location = New System.Drawing.Point(27, 24)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(176, 25)
Me.Label4.TabIndex = 6
Me.Label4.Text = "Alege Imprimanta "
'
'ComboBox1
'
Me.ComboBox1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ComboBox1.FormattingEnabled = True
Me.ComboBox1.Location = New System.Drawing.Point(209, 16)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(287, 33)
Me.ComboBox1.TabIndex = 7
'
'PrintDialog1
'
Me.PrintDialog1.UseEXDialog = True
'
'PrintPreviewDialog1
'
Me.PrintPreviewDialog1.AutoScrollMargin = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.AutoScrollMinSize = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.ClientSize = New System.Drawing.Size(400, 300)
Me.PrintPreviewDialog1.Enabled = True
Me.PrintPreviewDialog1.Icon = CType(resources.GetObject("PrintPreviewDialog1.Icon"), System.Drawing.Icon)
Me.PrintPreviewDialog1.Name = "PrintPreviewDialog1"
Me.PrintPreviewDialog1.Visible = False
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.Location = New System.Drawing.Point(898, 80)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(126, 25)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Cantitate CP:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.Location = New System.Drawing.Point(1030, 80)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(17, 25)
Me.Label6.TabIndex = 9
Me.Label6.Tag = ""
Me.Label6.Text = ":"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.Location = New System.Drawing.Point(972, 24)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(17, 25)
Me.Label7.TabIndex = 11
Me.Label7.Tag = ""
Me.Label7.Text = ":"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.Location = New System.Drawing.Point(898, 24)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(68, 25)
Me.Label8.TabIndex = 10
Me.Label8.Text = "Client:"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'PictureBox1
'
Me.PictureBox1.Location = New System.Drawing.Point(1270, 241)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(100, 300)
Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
Me.PictureBox1.TabIndex = 12
Me.PictureBox1.TabStop = False
'
'PictureBox2
'
Me.PictureBox2.Location = New System.Drawing.Point(955, 262)
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(300, 100)
Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox2.TabIndex = 13
Me.PictureBox2.TabStop = False
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Red
Me.Button1.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.SystemColors.ControlLightLight
Me.Button1.Location = New System.Drawing.Point(12, 411)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(324, 86)
Me.Button1.TabIndex = 14
Me.Button1.Text = "Inchide printul"
Me.Button1.UseVisualStyleBackColor = False
'
'Form14
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1391, 553)
Me.ControlBox = False
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.PictureBox2)
Me.Controls.Add(Me.PictureBox1)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.ComboBox1)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.BTPRINT)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.ScanCP)
Me.Controls.Add(Me.Label1)
Me.Name = "Form14"
Me.Text = "Print Etichete"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents ScanCP As TextBox
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents BTPRINT As Button
Friend WithEvents Label4 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents PrintDialog1 As PrintDialog
Friend WithEvents PrintPreviewDialog1 As PrintPreviewDialog
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
Friend WithEvents PictureBox1 As PictureBox
Friend WithEvents PictureBox2 As PictureBox
Friend WithEvents Button1 As Button
End Class

90
VS code/Form14.resx Normal file
View File

@@ -0,0 +1,90 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PrintDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="PrintPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>136, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="PrintPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
AAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b2
9v////8A////AP///wD///8A9vb2//b29v/29vb/9vb2//b29v/29vb/QkJC/0JCQv9CQkL/QkJC/0JC
Qv/29vb/////AP///wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JCQv9CQkL/QkJC/0JC
Qv9CQkL/9vb2/////wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b29v9CQkL/QkJC/0JC
Qv9CQkL/QkJC//b29v////8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv/29vb/9vb2//b2
9v/29vb/9vb2//b29v/29vb/9vb2//b29v////8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JC
Qv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b2
9v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A9vb2/0JCQv9CQkL/QkJC/0JC
Qv/29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////APb29v/29vb/9vb2//b2
9v/29vb/9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD///8A////AP//
/wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A////AP//
/wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////AP//
/wD///8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP//
/wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b29v/29vb/9vb2////
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A
</value>
</data>
</root>

374
VS code/Form14.vb Normal file
View File

@@ -0,0 +1,374 @@
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Imports DocumentFormat.OpenXml.VariantTypes
Imports System.Drawing.Printing
Imports System.Reflection
Imports DocumentFormat.OpenXml.Bibliography
Public Class Form14
Dim DataString As String = My.Settings.subnet ' informatii cu privire la subnet
Dim surce As String = My.Settings.serverName ' informatii preluate din system settings numele servarului
Dim catalog As String = My.Settings.serverdatabase ' informatii din system setings cu privire la numele bazei de date
Dim user As String = My.Settings.serverUser ' informatii din system setings cu privire la userul de introducere a datelor in baza de date
Dim pass As String = My.Settings.serverUserpass ' informatii din system setings cu privire la parola userului
Dim timeout As String = My.Settings.timeout ' informatii din system setings cu privire la server time out
Dim encrypt As String = My.Settings.encrypt ' ' informatii din system setings cu privire la encriptie
Dim trust As String = My.Settings.cert ' informatii din system setings cu privire la certificate
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Dim comCli As String
Dim comCli2 As String
Dim plusCpSerie As String
Dim cpserie As String
Dim row As Integer = 0
'Dim dataStringforE As String
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' Get available printers and add them to combo box
For Each printer As String In PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(printer)
Next
End Sub
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select * from Info_etichete where Comanda_Linia = '" & comCli & "' ", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
Me.DataGridView1.Columns("Data_Livrare").DefaultCellStyle.Format = "yyyy.MM.dd"
con.Close() ' inchiderea conexiuneii cu serverul
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
End Sub
Private Sub ScanCP_TextChangeed(sender As Object, e As EventArgs) Handles ScanCP.TextChanged
If ScanCP.Text.Length < 10 Then
ElseIf ScanCP.Text.Length = 10 Then
Dim val As String
val = ScanCP.Text
If InStr(1, val, "CP") > 0 Then
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select Com_Achiz_Client from CP_Import_Wiz where Comanda_Productie = '" & val & "' ", con)
Dim command2 As New SqlCommand("select Cantitate_Com_Prod from CP_Import_Wiz where Comanda_Productie = '" & val & "' ", con)
con.Open() ' deschiderea conexiuni cu serverul
comCli = CStr(command.ExecuteScalar())
comCli2 = CStr(command2.ExecuteScalar())
Label3.Text = comCli
Label6.Text = comCli2
updateTable()
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
Label7.Text = clientDataGrid
Else
MsgBox("Scaneaza codul CP corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
Else
End If
cpserie = ScanCP.Text & "-00" & Label6.Text
End Sub
Dim WithEvents PD As New PrintDocument
Dim WithEvents PD1 As New PrintDocument
Dim PPD As New PrintPreviewDialog
Dim PPD1 As New PrintPreviewDialog
Private Sub BTPRINT_Click(sender As Object, e As EventArgs) Handles BTPRINT.Click
PPD.Document = PD
PPD1.Document = PD1
If comCli2 < 5 Then
Dim serieCant As Integer
serieCant = comCli2
For i As Integer = 1 To serieCant
Dim number As String = i.ToString().PadLeft(3, "0"c)
plusCpSerie = number.ToString()
Dim rowCount As Integer = DataGridView1.RowCount
If rowCount = serieCant Then
row = serieCant - 1
Else
row = 0
End If
PD.Print() 'Direct Print
PD.Print() ' PPD.ShowDialog()
Next
Else
Dim serieCant As Integer
serieCant = comCli2
For i As Integer = 1 To serieCant
Dim number As String = i.ToString().PadLeft(3, "0"c)
plusCpSerie = number.ToString()
Dim rowCount As Integer = DataGridView1.RowCount
If rowCount = serieCant Then
row = serieCant - 1
Else
row = 0
End If
PD.Print() 'Direct Print
Next
PD1.Print()
End If
DataGridView1.DataSource = Nothing
ScanCP.Clear()
ScanCP.Focus()
End Sub
Private Sub PD_BeginPrint(sender As Object, e As PrintEventArgs) Handles PD.BeginPrint
Dim pagesetup As New PageSettings
pagesetup.PaperSize = New PaperSize("Custom", 300, 500)
PD.DefaultPageSettings = pagesetup
PD1.DefaultPageSettings = pagesetup
If ComboBox1.Text = "" Then
MsgBox("Selecteaza un printer")
Else
PD.PrinterSettings.PrinterName = ComboBox1.SelectedItem.ToString()
PD1.PrinterSettings.PrinterName = ComboBox1.SelectedItem.ToString()
End If
End Sub
Private Sub PD_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim cpserie As String
cpserie = ScanCP.Text + "-" + plusCpSerie
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(1).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(13).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(14).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 60, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
Dim cpBarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim cpbarcodeimage As Image
cpbarcodeimage = New Bitmap(cpBarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, cpserie))
PictureBox2.Image = cpbarcodeimage
PictureBox2.SizeMode = PictureBoxSizeMode.Zoom
PictureBox2.Size = New Size(300, 200)
e.Graphics.DrawImage(PictureBox2.Image, -55, 353, 400, 100)
PictureBox1.Dispose()
PictureBox2.Dispose()
'InfoPrintEtichete()
Try
Dim cpserieE As String = cpserie
Dim comLiniaE As String = DataGridView1.Rows(row).Cells(0).Value.ToString()
Dim cantGE As String = DataGridView1.Rows(row).Cells(1).Value.ToString()
Dim comLinia1E As String = DataGridView1.Rows(row).Cells(2).Value.ToString()
Dim onsE As String = DataGridView1.Rows(row).Cells(3).Value.ToString()
Dim descrE As String = DataGridView1.Rows(row).Cells(4).Value.ToString()
Dim dimE As String = DataGridView1.Rows(row).Cells(5).Value.ToString()
Dim clientE As String = DataGridView1.Rows(row).Cells(6).Value.ToString()
Dim stradaE As String = DataGridView1.Rows(row).Cells(7).Value.ToString()
Dim pCodeE As String = DataGridView1.Rows(row).Cells(8).Value.ToString()
Dim orasClientE As String = DataGridView1.Rows(row).Cells(9).Value.ToString()
Dim pfE As String = DataGridView1.Rows(row).Cells(10).Value.ToString()
Dim marcajE As String = DataGridView1.Rows(row).Cells(11).Value.ToString()
Dim dataStringE As Date = DataGridView1.Rows(row).Cells(12).Value
Dim volE As String = DataGridView1.Rows(row).Cells(13).Value.ToString()
Dim barcodeE As String = DataGridView1.Rows(row).Cells(14).Value.ToString()
Dim numeClientE As String = DataGridView1.Rows(row).Cells(15).Value.ToString()
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
'con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("INSERT INTO Etichete_Printate VALUES('" & cpserieE & "','" & comLiniaE & "','" & cantGE & "','" & comLinia1E & "','" & onsE & "',
'" & descrE & "','" & dimE & "','" & clientE & "','" & stradaE & "','" & pCodeE & "','" & orasClientE & "','" & pfE & "',
'" & marcajE & "','" & dataStringE & "','" & volE & "','" & barcodeE & "','" & numeClientE & "')", con)
con.Open()
command.ExecuteNonQuery()
con.Close()
Catch ex As Exception
End Try
End Sub
Private Sub PD1_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim cpserie As String
cpserie = ScanCP.Text + "-" + plusCpSerie
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(1).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(13).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(14).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 70, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
PictureBox1.Dispose()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form15.Show()
Me.Close()
End Sub
End Class

126
VS code/Form15.Designer.vb generated Normal file
View File

@@ -0,0 +1,126 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form15
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.Button4 = New System.Windows.Forms.Button()
Me.Button5 = New System.Windows.Forms.Button()
Me.Button6 = New System.Windows.Forms.Button()
Me.SuspendLayout()
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Lime
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.Location = New System.Drawing.Point(29, 24)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(404, 52)
Me.Button1.TabIndex = 0
Me.Button1.Text = "Meniu Incarcare Etichete"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.Cyan
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.Location = New System.Drawing.Point(29, 93)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(404, 52)
Me.Button2.TabIndex = 1
Me.Button2.Text = "Printare Etichete "
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Cyan
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.Location = New System.Drawing.Point(28, 165)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(404, 52)
Me.Button3.TabIndex = 2
Me.Button3.Text = "Printare Etichete Bochum"
Me.Button3.UseVisualStyleBackColor = False
'
'Button4
'
Me.Button4.BackColor = System.Drawing.Color.Cyan
Me.Button4.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button4.Location = New System.Drawing.Point(28, 240)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(404, 52)
Me.Button4.TabIndex = 3
Me.Button4.Text = "Printare Etichete Pierdute"
Me.Button4.UseVisualStyleBackColor = False
'
'Button5
'
Me.Button5.BackColor = System.Drawing.Color.Red
Me.Button5.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button5.ForeColor = System.Drawing.Color.White
Me.Button5.Location = New System.Drawing.Point(28, 383)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(404, 52)
Me.Button5.TabIndex = 4
Me.Button5.Text = "Inchide Meniul Etichetelor"
Me.Button5.UseVisualStyleBackColor = False
'
'Button6
'
Me.Button6.BackColor = System.Drawing.Color.Lime
Me.Button6.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button6.Location = New System.Drawing.Point(28, 318)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(403, 46)
Me.Button6.TabIndex = 5
Me.Button6.Text = "Printare Etichete MTS"
Me.Button6.UseVisualStyleBackColor = False
'
'Form15
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(481, 481)
Me.ControlBox = False
Me.Controls.Add(Me.Button6)
Me.Controls.Add(Me.Button5)
Me.Controls.Add(Me.Button4)
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Name = "Form15"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Modul Management Etichete"
Me.ResumeLayout(False)
End Sub
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents Button4 As Button
Friend WithEvents Button5 As Button
Friend WithEvents Button6 As Button
End Class

60
VS code/Form15.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

32
VS code/Form15.vb Normal file
View File

@@ -0,0 +1,32 @@
Public Class Form15
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
Form1.Show()
Me.Close()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form11.Show()
Me.Hide()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Form14.Show()
Me.Hide()
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form16.Show()
Me.Hide()
End Sub
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Form17.Show()
Me.Hide()
End Sub
Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
Form18.Show()
Me.Hide()
End Sub
End Class

268
VS code/Form16.Designer.vb generated Normal file
View File

@@ -0,0 +1,268 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form16
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form16))
Me.Label1 = New System.Windows.Forms.Label()
Me.ScanCP = New System.Windows.Forms.TextBox()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.BTPRINT = New System.Windows.Forms.Button()
Me.Label4 = New System.Windows.Forms.Label()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.PrintDialog1 = New System.Windows.Forms.PrintDialog()
Me.PrintPreviewDialog1 = New System.Windows.Forms.PrintPreviewDialog()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
Me.Button1 = New System.Windows.Forms.Button()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(12, 85)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(83, 25)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Scan CP"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'ScanCP
'
Me.ScanCP.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ScanCP.Location = New System.Drawing.Point(109, 77)
Me.ScanCP.MaxLength = 10
Me.ScanCP.Name = "ScanCP"
Me.ScanCP.Size = New System.Drawing.Size(275, 33)
Me.ScanCP.TabIndex = 1
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 126)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowTemplate.Height = 25
Me.DataGridView1.Size = New System.Drawing.Size(1239, 268)
Me.DataGridView1.TabIndex = 2
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(431, 80)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(218, 25)
Me.Label2.TabIndex = 3
Me.Label2.Text = "Comanda si linia Client:"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(655, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(17, 25)
Me.Label3.TabIndex = 4
Me.Label3.Text = ":"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'BTPRINT
'
Me.BTPRINT.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
Me.BTPRINT.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.BTPRINT.Location = New System.Drawing.Point(12, 432)
Me.BTPRINT.Name = "BTPRINT"
Me.BTPRINT.Size = New System.Drawing.Size(324, 86)
Me.BTPRINT.TabIndex = 5
Me.BTPRINT.Text = "Print"
Me.BTPRINT.UseVisualStyleBackColor = False
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.Location = New System.Drawing.Point(27, 24)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(176, 25)
Me.Label4.TabIndex = 6
Me.Label4.Text = "Alege Imprimanta "
'
'ComboBox1
'
Me.ComboBox1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ComboBox1.FormattingEnabled = True
Me.ComboBox1.Location = New System.Drawing.Point(209, 16)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(287, 33)
Me.ComboBox1.TabIndex = 7
'
'PrintDialog1
'
Me.PrintDialog1.UseEXDialog = True
'
'PrintPreviewDialog1
'
Me.PrintPreviewDialog1.AutoScrollMargin = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.AutoScrollMinSize = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.ClientSize = New System.Drawing.Size(400, 300)
Me.PrintPreviewDialog1.Enabled = True
Me.PrintPreviewDialog1.Icon = CType(resources.GetObject("PrintPreviewDialog1.Icon"), System.Drawing.Icon)
Me.PrintPreviewDialog1.Name = "PrintPreviewDialog1"
Me.PrintPreviewDialog1.Visible = False
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.Location = New System.Drawing.Point(898, 80)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(126, 25)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Cantitate CP:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.Location = New System.Drawing.Point(1030, 80)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(17, 25)
Me.Label6.TabIndex = 9
Me.Label6.Tag = ""
Me.Label6.Text = ":"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.Location = New System.Drawing.Point(972, 24)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(17, 25)
Me.Label7.TabIndex = 11
Me.Label7.Tag = ""
Me.Label7.Text = ":"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.Location = New System.Drawing.Point(898, 24)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(68, 25)
Me.Label8.TabIndex = 10
Me.Label8.Text = "Client:"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'PictureBox1
'
Me.PictureBox1.Location = New System.Drawing.Point(1270, 241)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(100, 300)
Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
Me.PictureBox1.TabIndex = 12
Me.PictureBox1.TabStop = False
'
'PictureBox2
'
Me.PictureBox2.Location = New System.Drawing.Point(951, 418)
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(300, 100)
Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox2.TabIndex = 13
Me.PictureBox2.TabStop = False
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Red
Me.Button1.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.SystemColors.ControlLightLight
Me.Button1.Location = New System.Drawing.Point(348, 432)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(324, 86)
Me.Button1.TabIndex = 14
Me.Button1.Text = "Inchide printul"
Me.Button1.UseVisualStyleBackColor = False
'
'Form16
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1391, 553)
Me.ControlBox = False
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.PictureBox2)
Me.Controls.Add(Me.PictureBox1)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.ComboBox1)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.BTPRINT)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.ScanCP)
Me.Controls.Add(Me.Label1)
Me.Name = "Form16"
Me.Text = "Print Etichete"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents ScanCP As TextBox
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents BTPRINT As Button
Friend WithEvents Label4 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents PrintDialog1 As PrintDialog
Friend WithEvents PrintPreviewDialog1 As PrintPreviewDialog
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
Friend WithEvents PictureBox1 As PictureBox
Friend WithEvents PictureBox2 As PictureBox
Friend WithEvents Button1 As Button
End Class

90
VS code/Form16.resx Normal file
View File

@@ -0,0 +1,90 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PrintDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="PrintPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>136, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="PrintPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
AAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b2
9v////8A////AP///wD///8A9vb2//b29v/29vb/9vb2//b29v/29vb/QkJC/0JCQv9CQkL/QkJC/0JC
Qv/29vb/////AP///wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JCQv9CQkL/QkJC/0JC
Qv9CQkL/9vb2/////wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b29v9CQkL/QkJC/0JC
Qv9CQkL/QkJC//b29v////8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv/29vb/9vb2//b2
9v/29vb/9vb2//b29v/29vb/9vb2//b29v////8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JC
Qv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b2
9v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A9vb2/0JCQv9CQkL/QkJC/0JC
Qv/29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////APb29v/29vb/9vb2//b2
9v/29vb/9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD///8A////AP//
/wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A////AP//
/wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////AP//
/wD///8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP//
/wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b29v/29vb/9vb2////
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A
</value>
</data>
</root>

371
VS code/Form16.vb Normal file
View File

@@ -0,0 +1,371 @@
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Imports DocumentFormat.OpenXml.VariantTypes
Imports System.Drawing.Printing
Imports System.Reflection
Imports DocumentFormat.OpenXml.Bibliography
Public Class Form16
Dim DataString As String = My.Settings.subnet ' informatii cu privire la subnet
Dim surce As String = My.Settings.serverName ' informatii preluate din system settings numele servarului
Dim catalog As String = My.Settings.serverdatabase ' informatii din system setings cu privire la numele bazei de date
Dim user As String = My.Settings.serverUser ' informatii din system setings cu privire la userul de introducere a datelor in baza de date
Dim pass As String = My.Settings.serverUserpass ' informatii din system setings cu privire la parola userului
Dim timeout As String = My.Settings.timeout ' informatii din system setings cu privire la server time out
Dim encrypt As String = My.Settings.encrypt ' ' informatii din system setings cu privire la encriptie
Dim trust As String = My.Settings.cert ' informatii din system setings cu privire la certificate
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Dim comCli As String
Dim comCli2 As String
Dim plusCpSerie As String
Dim cpserie As String
Dim row As Integer = 0
'Dim dataStringforE As String
Private Sub Form16_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' Get available printers and add them to combo box
For Each printer As String In PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(printer)
Next
End Sub
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select * from Info_etichete where Comanda_Linia = '" & comCli & "' ", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con.Close() ' inchiderea conexiuneii cu serverul
End Sub
Private Sub ScanCP_TextChangeed(sender As Object, e As EventArgs) Handles ScanCP.TextChanged
' validare text box 1 cu OQ
' acest text box are o lungime a stringului de 4 caractere
If ScanCP.Text.Length < 10 Then
' caod de validare a criteriilor de Operator calitate OQ01 OQ02 OQ03 OQ04....
ElseIf ScanCP.Text.Length = 10 Then
Dim val As String
val = ScanCP.Text
If InStr(1, val, "CP") > 0 Then
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select Com_Achiz_Client from CP_Import_Wiz where Comanda_Productie = '" & val & "' ", con)
Dim command2 As New SqlCommand("select Cantitate_Com_Prod from CP_Import_Wiz where Comanda_Productie = '" & val & "' ", con)
con.Open() ' deschiderea conexiuni cu serverul
comCli = CStr(command.ExecuteScalar())
comCli2 = CStr(command2.ExecuteScalar())
Label3.Text = comCli
Label6.Text = comCli2
updateTable()
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
Label7.Text = clientDataGrid
Else
MsgBox("Scaneaza codul CP corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
Else
End If
cpserie = ScanCP.Text & "-00" & Label6.Text
End Sub
Dim WithEvents PD As New PrintDocument
Dim PPD As New PrintPreviewDialog
Dim WithEvents PD1 As New PrintDocument
Dim PPD1 As New PrintPreviewDialog
Private Sub BTPRINT_Click(sender As Object, e As EventArgs) Handles BTPRINT.Click
PPD.Document = PD
PPD1.Document = PD1
If comCli2 < 5 Then
Dim serieCant As Integer
serieCant = comCli2
For i As Integer = 1 To serieCant
Dim number As String = i.ToString().PadLeft(3, "0"c)
plusCpSerie = number.ToString()
Dim rowCount As Integer = DataGridView1.RowCount
If rowCount = serieCant Then
row = serieCant - 1
Else
row = 0
End If
PD.Print() 'Direct Print
PD.Print() ' PPD.ShowDialog()
Next
Else
Dim serieCant As Integer
serieCant = comCli2
For i As Integer = 1 To serieCant
Dim number As String = i.ToString().PadLeft(3, "0"c)
plusCpSerie = number.ToString()
Dim rowCount As Integer = DataGridView1.RowCount
If rowCount = serieCant Then
row = serieCant - 1
Else
row = 0
End If
PD.Print() 'Direct Print
PD1.Print()
Next
End If
DataGridView1.DataSource = Nothing
ScanCP.Clear()
ScanCP.Focus()
End Sub
Private Sub PD_BeginPrint(sender As Object, e As PrintEventArgs) Handles PD.BeginPrint
Dim pagesetup As New PageSettings
pagesetup.PaperSize = New PaperSize("Custom", 300, 500)
PD.DefaultPageSettings = pagesetup
If ComboBox1.Text = "" Then
MsgBox("Selecteaza un printer")
Else
PD.PrinterSettings.PrinterName = ComboBox1.SelectedItem.ToString()
End If
End Sub
Private Sub PD_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim cpserie As String
cpserie = ScanCP.Text + "-" + plusCpSerie
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(1).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(13).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(14).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 60, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
Dim cpBarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim cpbarcodeimage As Image
cpbarcodeimage = New Bitmap(cpBarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, cpserie))
PictureBox2.Image = cpbarcodeimage
PictureBox2.SizeMode = PictureBoxSizeMode.Zoom
PictureBox2.Size = New Size(300, 200)
e.Graphics.DrawImage(PictureBox2.Image, -50, 353, 400, 100)
PictureBox1.Dispose()
PictureBox2.Dispose()
Try
Dim cpserieE As String = cpserie
Dim comLiniaE As String = DataGridView1.Rows(row).Cells(0).Value.ToString()
Dim cantGE As String = DataGridView1.Rows(row).Cells(1).Value.ToString()
Dim comLinia1E As String = DataGridView1.Rows(row).Cells(2).Value.ToString()
Dim onsE As String = DataGridView1.Rows(row).Cells(3).Value.ToString()
Dim descrE As String = DataGridView1.Rows(row).Cells(4).Value.ToString(0)
Dim dimE As String = DataGridView1.Rows(row).Cells(5).Value.ToString(0)
Dim clientE As String = DataGridView1.Rows(row).Cells(6).Value.ToString()
Dim stradaE As String = DataGridView1.Rows(row).Cells(7).Value.ToString()
Dim pCodeE As String = DataGridView1.Rows(row).Cells(8).Value.ToString()
Dim orasClientE As String = DataGridView1.Rows(row).Cells(9).Value.ToString()
Dim pfE As String = DataGridView1.Rows(row).Cells(10).Value.ToString()
Dim marcajE As String = DataGridView1.Rows(row).Cells(11).Value.ToString(0)
Dim dataStringE As String
dataStringE = DataGridView1.Rows(row).Cells(12).Value
Dim volE As String = DataGridView1.Rows(row).Cells(13).Value.ToString()
Dim barcodeE As String = DataGridView1.Rows(row).Cells(14).Value.ToString()
Dim numeClientE As String = DataGridView1.Rows(row).Cells(15).Value.ToString()
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
'con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("INSERT INTO Etichete_Printate VALUES('" & cpserieE & "','" & comLiniaE & "','" & cantGE & "','" & comLinia1E & "','" & onsE & "',
'" & descrE & "','" & dimE & "','" & clientE & "','" & stradaE & "','" & pCodeE & "','" & orasClientE & "','" & pfE & "',
'" & marcajE & "','" & dataStringE & "','" & volE & "','" & barcodeE & "','" & numeClientE & "')", con)
con.Open()
command.ExecuteNonQuery()
con.Close()
Catch ex As Exception
End Try
End Sub
Private Sub PD1_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim cpserie As String
cpserie = ScanCP.Text + "-" + plusCpSerie
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(1).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(13).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(14).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 60, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
PictureBox1.Dispose()
Label7.Text = "-"
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form15.Show()
Me.Close()
End Sub
End Class

268
VS code/Form17.Designer.vb generated Normal file
View File

@@ -0,0 +1,268 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form17
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form17))
Me.Label1 = New System.Windows.Forms.Label()
Me.ScanCP = New System.Windows.Forms.TextBox()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.BTPRINT = New System.Windows.Forms.Button()
Me.Label4 = New System.Windows.Forms.Label()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.PrintDialog1 = New System.Windows.Forms.PrintDialog()
Me.PrintPreviewDialog1 = New System.Windows.Forms.PrintPreviewDialog()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
Me.Button1 = New System.Windows.Forms.Button()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(12, 85)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(83, 25)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Scan CP"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'ScanCP
'
Me.ScanCP.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ScanCP.Location = New System.Drawing.Point(109, 77)
Me.ScanCP.MaxLength = 10
Me.ScanCP.Name = "ScanCP"
Me.ScanCP.Size = New System.Drawing.Size(275, 33)
Me.ScanCP.TabIndex = 1
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 126)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowTemplate.Height = 25
Me.DataGridView1.Size = New System.Drawing.Size(1341, 282)
Me.DataGridView1.TabIndex = 2
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(431, 80)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(218, 25)
Me.Label2.TabIndex = 3
Me.Label2.Text = "Comanda si linia Client:"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(655, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(17, 25)
Me.Label3.TabIndex = 4
Me.Label3.Text = ":"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'BTPRINT
'
Me.BTPRINT.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
Me.BTPRINT.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.BTPRINT.Location = New System.Drawing.Point(12, 438)
Me.BTPRINT.Name = "BTPRINT"
Me.BTPRINT.Size = New System.Drawing.Size(324, 86)
Me.BTPRINT.TabIndex = 5
Me.BTPRINT.Text = "Print"
Me.BTPRINT.UseVisualStyleBackColor = False
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.Location = New System.Drawing.Point(27, 24)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(176, 25)
Me.Label4.TabIndex = 6
Me.Label4.Text = "Alege Imprimanta "
'
'ComboBox1
'
Me.ComboBox1.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ComboBox1.FormattingEnabled = True
Me.ComboBox1.Location = New System.Drawing.Point(209, 16)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(287, 33)
Me.ComboBox1.TabIndex = 7
'
'PrintDialog1
'
Me.PrintDialog1.UseEXDialog = True
'
'PrintPreviewDialog1
'
Me.PrintPreviewDialog1.AutoScrollMargin = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.AutoScrollMinSize = New System.Drawing.Size(0, 0)
Me.PrintPreviewDialog1.ClientSize = New System.Drawing.Size(400, 300)
Me.PrintPreviewDialog1.Enabled = True
Me.PrintPreviewDialog1.Icon = CType(resources.GetObject("PrintPreviewDialog1.Icon"), System.Drawing.Icon)
Me.PrintPreviewDialog1.Name = "PrintPreviewDialog1"
Me.PrintPreviewDialog1.Visible = False
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.Location = New System.Drawing.Point(898, 80)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(126, 25)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Cantitate CP:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.Location = New System.Drawing.Point(1030, 80)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(17, 25)
Me.Label6.TabIndex = 9
Me.Label6.Tag = ""
Me.Label6.Text = ":"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'PictureBox1
'
Me.PictureBox1.Location = New System.Drawing.Point(1378, 251)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(100, 300)
Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
Me.PictureBox1.TabIndex = 12
Me.PictureBox1.TabStop = False
'
'PictureBox2
'
Me.PictureBox2.Location = New System.Drawing.Point(1053, 438)
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(300, 100)
Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
Me.PictureBox2.TabIndex = 13
Me.PictureBox2.TabStop = False
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Red
Me.Button1.Font = New System.Drawing.Font("Segoe UI Black", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.SystemColors.ControlLightLight
Me.Button1.Location = New System.Drawing.Point(376, 438)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(324, 86)
Me.Button1.TabIndex = 14
Me.Button1.Text = "Inchide printul"
Me.Button1.UseVisualStyleBackColor = False
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.Location = New System.Drawing.Point(972, 24)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(17, 25)
Me.Label7.TabIndex = 11
Me.Label7.Tag = ""
Me.Label7.Text = ":"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.Location = New System.Drawing.Point(898, 24)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(68, 25)
Me.Label8.TabIndex = 10
Me.Label8.Text = "Client:"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Form17
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1490, 553)
Me.ControlBox = False
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.PictureBox2)
Me.Controls.Add(Me.PictureBox1)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.ComboBox1)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.BTPRINT)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.ScanCP)
Me.Controls.Add(Me.Label1)
Me.Name = "Form17"
Me.Text = "Print Etichete"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents ScanCP As TextBox
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents BTPRINT As Button
Friend WithEvents Label4 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents PrintDialog1 As PrintDialog
Friend WithEvents PrintPreviewDialog1 As PrintPreviewDialog
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents PictureBox1 As PictureBox
Friend WithEvents PictureBox2 As PictureBox
Friend WithEvents Button1 As Button
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
End Class

90
VS code/Form17.resx Normal file
View File

@@ -0,0 +1,90 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PrintDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="PrintPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>136, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="PrintPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
AAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b2
9v////8A////AP///wD///8A9vb2//b29v/29vb/9vb2//b29v/29vb/QkJC/0JCQv9CQkL/QkJC/0JC
Qv/29vb/////AP///wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JCQv9CQkL/QkJC/0JC
Qv9CQkL/9vb2/////wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b29v9CQkL/QkJC/0JC
Qv9CQkL/QkJC//b29v////8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv/29vb/9vb2//b2
9v/29vb/9vb2//b29v/29vb/9vb2//b29v////8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JC
Qv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b2
9v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A9vb2/0JCQv9CQkL/QkJC/0JC
Qv/29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////APb29v/29vb/9vb2//b2
9v/29vb/9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD///8A////AP//
/wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A////AP//
/wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////AP//
/wD///8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP//
/wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b29v/29vb/9vb2////
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A
</value>
</data>
</root>

221
VS code/Form17.vb Normal file
View File

@@ -0,0 +1,221 @@
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Imports DocumentFormat.OpenXml.VariantTypes
Imports System.Drawing.Printing
Imports System.Reflection
Imports DocumentFormat.OpenXml.Bibliography
Public Class Form17
Dim DataString As String = My.Settings.subnet ' informatii cu privire la subnet
Dim surce As String = My.Settings.serverName ' informatii preluate din system settings numele servarului
Dim catalog As String = My.Settings.serverdatabase ' informatii din system setings cu privire la numele bazei de date
Dim user As String = My.Settings.serverUser ' informatii din system setings cu privire la userul de introducere a datelor in baza de date
Dim pass As String = My.Settings.serverUserpass ' informatii din system setings cu privire la parola userului
Dim timeout As String = My.Settings.timeout ' informatii din system setings cu privire la server time out
Dim encrypt As String = My.Settings.encrypt ' ' informatii din system setings cu privire la encriptie
Dim trust As String = My.Settings.cert ' informatii din system setings cu privire la certificate
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Dim comCli As String
Dim comCli2 As String
Dim plusCpSerie As String
Dim cpserie As String
Dim CP_Seriat As String
Dim row As Integer = 0
'Dim dataStringforE As String
Private Sub Form17_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' Get available printers and add them to combo box
For Each printer As String In PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(printer)
Next
End Sub
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select * from Etichete_Printate where SUBSTRING (CP_Seriat, 1, 10) = '" & CP_Seriat & "' ", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con.Close() ' inchiderea conexiuneii cu serverul
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
Label7.Text = clientDataGrid
End Sub
Private Sub ScanCP_TextChangeed(sender As Object, e As EventArgs) Handles ScanCP.TextChanged
' validare text box 1 cu OQ
' acest text box are o lungime a stringului de 4 caractere
If ScanCP.Text.Length < 10 Then
' caod de validare a criteriilor de Operator calitate OQ01 OQ02 OQ03 OQ04....
ElseIf ScanCP.Text.Length = 10 Then
Dim val As String
val = ScanCP.Text
If InStr(1, val, "CP") > 0 Then
CP_Seriat = val
updateTable()
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
Label7.Text = clientDataGrid
Else
MsgBox("Scaneaza codul CP corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
Else
MsgBox("Scaneaza codul CP corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
End Sub
Dim WithEvents PD As New PrintDocument
Dim WithEvents PD1 As New PrintDocument
Dim PPD As New PrintPreviewDialog
Dim PPD1 As New PrintPreviewDialog
Private Sub BTPRINT_Click(sender As Object, e As EventArgs) Handles BTPRINT.Click
PPD.Document = PD
PPD1.Document = PD1
PD.Print() 'Direct Print
End Sub
Private Sub PD_BeginPrint(sender As Object, e As PrintEventArgs) Handles PD.BeginPrint
Dim pagesetup As New PageSettings
pagesetup.PaperSize = New PaperSize("Custom", 300, 500)
PD.DefaultPageSettings = pagesetup
If ComboBox1.Text = "" Then
MsgBox("Selecteaza un printer")
Else
PD.PrinterSettings.PrinterName = ComboBox1.SelectedItem.ToString()
End If
End Sub
Private Sub PD_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(15).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(15).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 60, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
cpserie = DataGridView1.Rows(row).Cells(0).Value.ToString
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
Dim cpBarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim cpbarcodeimage As Image
cpbarcodeimage = New Bitmap(cpBarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, cpserie))
PictureBox2.Image = cpbarcodeimage
PictureBox2.SizeMode = PictureBoxSizeMode.Zoom
PictureBox2.Size = New Size(300, 200)
e.Graphics.DrawImage(PictureBox2.Image, -50, 353, 400, 100)
PictureBox1.Dispose()
PictureBox2.Dispose()
Label7.Text = "-"
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form15.Show()
Me.Close()
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
row = selectRow
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("CP_Seriat").Value.ToString()
CP_Seriat = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
End If
End Sub
End Class

277
VS code/Form18.Designer.vb generated Normal file
View File

@@ -0,0 +1,277 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form18
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As ComponentModel.ComponentResourceManager = New ComponentModel.ComponentResourceManager(GetType(Form18))
Label1 = New Label()
ScanCP = New TextBox()
DataGridView1 = New DataGridView()
Label2 = New Label()
Label3 = New Label()
BTPRINT = New Button()
Label4 = New Label()
ComboBox1 = New ComboBox()
PrintDialog1 = New PrintDialog()
PrintPreviewDialog1 = New PrintPreviewDialog()
Label5 = New Label()
Label6 = New Label()
PictureBox1 = New PictureBox()
PictureBox2 = New PictureBox()
Button1 = New Button()
Button2 = New Button()
Label7 = New Label()
Label8 = New Label()
CType(DataGridView1, ComponentModel.ISupportInitialize).BeginInit()
CType(PictureBox1, ComponentModel.ISupportInitialize).BeginInit()
CType(PictureBox2, ComponentModel.ISupportInitialize).BeginInit()
SuspendLayout()
'
' Label1
'
Label1.AutoSize = True
Label1.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label1.Location = New Point(27, 80)
Label1.Name = "Label1"
Label1.Size = New Size(160, 25)
Label1.TabIndex = 0
Label1.Text = "Comanda Si linia"
Label1.TextAlign = ContentAlignment.MiddleCenter
'
' ScanCP
'
ScanCP.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
ScanCP.Location = New Point(193, 77)
ScanCP.MaxLength = 10
ScanCP.Name = "ScanCP"
ScanCP.Size = New Size(275, 33)
ScanCP.TabIndex = 1
'
' DataGridView1
'
DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridView1.Location = New Point(12, 126)
DataGridView1.Name = "DataGridView1"
DataGridView1.RowTemplate.Height = 25
DataGridView1.Size = New Size(1341, 282)
DataGridView1.TabIndex = 2
'
' Label2
'
Label2.AutoSize = True
Label2.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label2.Location = New Point(830, 80)
Label2.Name = "Label2"
Label2.Size = New Size(218, 25)
Label2.TabIndex = 3
Label2.Text = "Comanda si linia Client:"
Label2.TextAlign = ContentAlignment.MiddleCenter
'
' Label3
'
Label3.AutoSize = True
Label3.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label3.Location = New Point(1054, 80)
Label3.Name = "Label3"
Label3.Size = New Size(17, 25)
Label3.TabIndex = 4
Label3.Text = ":"
Label3.TextAlign = ContentAlignment.MiddleCenter
'
' BTPRINT
'
BTPRINT.BackColor = Color.FromArgb(CByte(192), CByte(255), CByte(255))
BTPRINT.Font = New Font("Segoe UI Black", 18F, FontStyle.Bold, GraphicsUnit.Point)
BTPRINT.Location = New Point(12, 438)
BTPRINT.Name = "BTPRINT"
BTPRINT.Size = New Size(324, 86)
BTPRINT.TabIndex = 5
BTPRINT.Text = "Print"
BTPRINT.UseVisualStyleBackColor = False
'
' Label4
'
Label4.AutoSize = True
Label4.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label4.Location = New Point(27, 24)
Label4.Name = "Label4"
Label4.Size = New Size(176, 25)
Label4.TabIndex = 6
Label4.Text = "Alege Imprimanta "
'
' ComboBox1
'
ComboBox1.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
ComboBox1.FormattingEnabled = True
ComboBox1.Location = New Point(209, 16)
ComboBox1.Name = "ComboBox1"
ComboBox1.Size = New Size(259, 33)
ComboBox1.TabIndex = 7
'
' PrintDialog1
'
PrintDialog1.UseEXDialog = True
'
' PrintPreviewDialog1
'
PrintPreviewDialog1.AutoScrollMargin = New Size(0, 0)
PrintPreviewDialog1.AutoScrollMinSize = New Size(0, 0)
PrintPreviewDialog1.ClientSize = New Size(400, 300)
PrintPreviewDialog1.Enabled = True
PrintPreviewDialog1.Icon = CType(resources.GetObject("PrintPreviewDialog1.Icon"), Icon)
PrintPreviewDialog1.Name = "PrintPreviewDialog1"
PrintPreviewDialog1.Visible = False
'
' Label5
'
Label5.AutoSize = True
Label5.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label5.Location = New Point(1242, 77)
Label5.Name = "Label5"
Label5.Size = New Size(126, 25)
Label5.TabIndex = 8
Label5.Text = "Cantitate CP:"
Label5.TextAlign = ContentAlignment.MiddleCenter
'
' Label6
'
Label6.AutoSize = True
Label6.Font = New Font("Segoe UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point)
Label6.Location = New Point(1374, 77)
Label6.Name = "Label6"
Label6.Size = New Size(17, 25)
Label6.TabIndex = 9
Label6.Tag = ""
Label6.Text = ":"
Label6.TextAlign = ContentAlignment.MiddleCenter
'
' PictureBox1
'
PictureBox1.Location = New Point(1378, 251)
PictureBox1.Name = "PictureBox1"
PictureBox1.Size = New Size(100, 300)
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.TabIndex = 12
PictureBox1.TabStop = False
'
' PictureBox2
'
PictureBox2.Location = New Point(1053, 438)
PictureBox2.Name = "PictureBox2"
PictureBox2.Size = New Size(300, 100)
PictureBox2.SizeMode = PictureBoxSizeMode.Zoom
PictureBox2.TabIndex = 13
PictureBox2.TabStop = False
'
' Button1
'
Button1.BackColor = Color.Red
Button1.Font = New Font("Segoe UI Black", 18F, FontStyle.Bold, GraphicsUnit.Point)
Button1.ForeColor = SystemColors.ControlLightLight
Button1.Location = New Point(376, 438)
Button1.Name = "Button1"
Button1.Size = New Size(324, 86)
Button1.TabIndex = 14
Button1.Text = "Inchide printul"
Button1.UseVisualStyleBackColor = False
'
' Button2
'
Button2.BackColor = Color.FromArgb(CByte(128), CByte(255), CByte(128))
Button2.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
Button2.Location = New Point(523, 75)
Button2.Name = "Button2"
Button2.Size = New Size(186, 38)
Button2.TabIndex = 15
Button2.Text = "Verifica baza de date"
Button2.UseVisualStyleBackColor = False
'
' Label7
'
Label7.AutoSize = True
Label7.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
Label7.Location = New Point(875, 16)
Label7.Name = "Label7"
Label7.Size = New Size(0, 21)
Label7.TabIndex = 16
'
' Label8
'
Label8.AutoSize = True
Label8.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
Label8.Location = New Point(813, 16)
Label8.Name = "Label8"
Label8.Size = New Size(55, 21)
Label8.TabIndex = 17
Label8.Text = "Client"
'
' Form18
'
AutoScaleDimensions = New SizeF(7F, 15F)
AutoScaleMode = AutoScaleMode.Font
BackColor = Color.FromArgb(CByte(192), CByte(192), CByte(255))
ClientSize = New Size(1490, 553)
ControlBox = False
Controls.Add(Label8)
Controls.Add(Label7)
Controls.Add(Button2)
Controls.Add(Button1)
Controls.Add(PictureBox2)
Controls.Add(PictureBox1)
Controls.Add(Label6)
Controls.Add(Label5)
Controls.Add(ComboBox1)
Controls.Add(Label4)
Controls.Add(BTPRINT)
Controls.Add(Label3)
Controls.Add(Label2)
Controls.Add(DataGridView1)
Controls.Add(ScanCP)
Controls.Add(Label1)
Name = "Form18"
Text = "Print Etichete"
CType(DataGridView1, ComponentModel.ISupportInitialize).EndInit()
CType(PictureBox1, ComponentModel.ISupportInitialize).EndInit()
CType(PictureBox2, ComponentModel.ISupportInitialize).EndInit()
ResumeLayout(False)
PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents ScanCP As TextBox
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents BTPRINT As Button
Friend WithEvents Label4 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents PrintDialog1 As PrintDialog
Friend WithEvents PrintPreviewDialog1 As PrintPreviewDialog
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents PictureBox1 As PictureBox
Friend WithEvents PictureBox2 As PictureBox
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
End Class

90
VS code/Form18.resx Normal file
View File

@@ -0,0 +1,90 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PrintDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="PrintPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>136, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="PrintPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
AAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A////AP///wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b2
9v////8A////AP///wD///8A9vb2//b29v/29vb/9vb2//b29v/29vb/QkJC/0JCQv9CQkL/QkJC/0JC
Qv/29vb/////AP///wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JCQv9CQkL/QkJC/0JC
Qv9CQkL/9vb2/////wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b29v9CQkL/QkJC/0JC
Qv9CQkL/QkJC//b29v////8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv/29vb/9vb2//b2
9v/29vb/9vb2//b29v/29vb/9vb2//b29v////8A////APb29v9CQkL/QkJC/0JCQv9CQkL/9vb2/0JC
Qv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC//b2
9v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A9vb2/0JCQv9CQkL/QkJC/0JC
Qv/29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////APb29v/29vb/9vb2//b2
9v/29vb/9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP///wD///8A////AP//
/wD///8A////APb29v9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/9vb2/////wD///8A////AP//
/wD///8A////AP///wD29vb/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC//b29v////8A////AP//
/wD///8A////AP///wD///8A9vb2/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv/29vb/////AP//
/wD///8A////AP///wD///8A////APb29v/29vb/9vb2//b29v/29vb/9vb2//b29v/29vb/9vb2////
/wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP//
/wD///8A
</value>
</data>
</root>

219
VS code/Form18.vb Normal file
View File

@@ -0,0 +1,219 @@
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Imports DocumentFormat.OpenXml.VariantTypes
Imports System.Drawing.Printing
Imports System.Reflection
Imports DocumentFormat.OpenXml.Bibliography
Imports System.Reflection.Emit
Public Class Form18
Dim DataString As String = My.Settings.subnet ' informatii cu privire la subnet
Dim surce As String = My.Settings.serverName ' informatii preluate din system settings numele servarului
Dim catalog As String = My.Settings.serverdatabase ' informatii din system setings cu privire la numele bazei de date
Dim user As String = My.Settings.serverUser ' informatii din system setings cu privire la userul de introducere a datelor in baza de date
Dim pass As String = My.Settings.serverUserpass ' informatii din system setings cu privire la parola userului
Dim timeout As String = My.Settings.timeout ' informatii din system setings cu privire la server time out
Dim encrypt As String = My.Settings.encrypt ' ' informatii din system setings cu privire la encriptie
Dim trust As String = My.Settings.cert ' informatii din system setings cu privire la certificate
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Dim comCli As String
Dim comCli2 As String
Dim plusCpSerie As String
Dim cpserie As String
Dim CP_Seriat As String
Dim row As Integer = 0
'Dim dataStringforE As String
Private Sub Form17_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' Get available printers and add them to combo box
For Each printer As String In PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(printer)
Next
End Sub
Private Sub updateTable()
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select * from Info_etichete where Comanda_Linia = '" & comCli & "' ", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con.Close() ' inchiderea conexiuneii cu serverull
Dim clientDataGrid As String
clientDataGrid = DataGridView1.Rows(0).Cells(15).Value
Label7.Text = clientDataGrid
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
row = selectRow
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("CP_Seriat").Value.ToString()
CP_Seriat = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
End If
End Sub
Private Sub ScanCP_TextChangeed(sender As Object, e As EventArgs) Handles ScanCP.TextChanged
' validare text box 1 cu OQ
' acest text box are o lungime a stringului de 4 caractere
If ScanCP.Text.Length < 10 Then
' caod de validare a criteriilor de Operator calitate OQ01 OQ02 OQ03 OQ04....
ElseIf ScanCP.Text.Length = 10 Then
Dim val As String
val = ScanCP.Text
If InStr(1, val, ) > 0 Then
comCli = val
updateTable()
Else
MsgBox("Scaneaza codul corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
Else
MsgBox("Scaneaza codul CP corect") ' cod de eroare in cazul introducerii codului gresit
ScanCP.Focus() 'focus pe textbox 1
End If
End Sub
Dim WithEvents PD As New PrintDocument
Dim PPD As New PrintPreviewDialog
Private Sub BTPRINT_Click(sender As Object, e As EventArgs) Handles BTPRINT.Click
PPD.Document = PD
PPD.ShowDialog()
End Sub
Private Sub PD_BeginPrint(sender As Object, e As PrintEventArgs) Handles PD.BeginPrint
Dim pagesetup As New PageSettings
pagesetup.PaperSize = New PaperSize("Custom", 300, 500)
PD.DefaultPageSettings = pagesetup
If ComboBox1.Text = "" Then
MsgBox("Selecteaza un printer")
Else
PD.PrinterSettings.PrinterName = ComboBox1.SelectedItem.ToString()
End If
End Sub
Private Sub PD_PrintPage(sender As Object, e As PrintPageEventArgs) Handles PD.PrintPage
Dim f8 As New Font("Calibri", 8, FontStyle.Regular)
Dim f10 As New Font("Calibri", 10, FontStyle.Regular)
Dim f10b As New Font("Calibri", 10, FontStyle.Bold)
Dim f14 As New Font("Calibri", 12, FontStyle.Bold)
Dim leftmargin As Integer = PD.DefaultPageSettings.Margins.Left
Dim centermargin As Integer = PD.DefaultPageSettings.PaperSize.Width / 2
Dim rightmargin As Integer = PD.DefaultPageSettings.PaperSize.Width
'font alignment
Dim right As New StringFormat
Dim center As New StringFormat
right.Alignment = StringAlignment.Far
center.Alignment = StringAlignment.Center
Dim line As String
line = "----------------------------------------------"
Dim bara As String
bara = "|"
'Dim row As Integer = 0
DataGridView1.AllowUserToAddRows = False
e.Graphics.DrawString("Quantity:", f14, Brushes.Black, 5, 40) 'first line
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(1).Value.ToString, f14, Brushes.Black, 90, 40) 'first line
e.Graphics.DrawString("To Pallet", f14, Brushes.Black, 110, 40) 'First line
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 55) ' linia nr 2
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(2).Value.ToString, f14, Brushes.Black, 5, 65) ' linia nr 3
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 80) 'linia nr 4
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(3).Value.ToString, f14, Brushes.Black, 5, 90) 'inia nr 5
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 100) 'linia 6
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(4).Value.ToString, f14, Brushes.Black, 5, 110) 'linia 7
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 125) 'linia 8
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(5).Value.ToString, f14, Brushes.Black, 5, 135) 'linia 9
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 147) 'linia 10
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(6).Value.ToString, f14, Brushes.Black, 5, 155) 'linia 11
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 167) 'linia 12
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(7).Value.ToString, f14, Brushes.Black, 5, 175) ' 'linia 13
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 187) 'linia 14
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(8).Value.ToString, f14, Brushes.Black, 5, 195) 'linia 15
e.Graphics.DrawString(bara, f14, Brushes.Black, 100, 195) 'linia 15
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(9).Value.ToString, f14, Brushes.Black, 110, 195) 'linia 15
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 205) 'linia 16
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(10).Value.ToString, f14, Brushes.Black, 5, 215) 'linia 17
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 225) 'linia 18
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(11).Value.ToString, f14, Brushes.Black, 5, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 50, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(12).Value, f14, Brushes.Black, 65, 235) 'linia 19
e.Graphics.DrawString(bara, f14, Brushes.Black, 160, 235) 'linia 19
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(13).Value.ToString, f14, Brushes.Black, 170, 235) 'linia 19
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 250) 'linia 20
e.Graphics.DrawString("Barcode Number =>", f14, Brushes.Black, 5, 260) 'linia 21
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 275) 'linia 22
e.Graphics.DrawString(DataGridView1.Rows(row).Cells(14).Value.ToString, f14, Brushes.Black, 10, 285) 'linia 23
Dim barcodeData As String = DataGridView1.Rows(row).Cells(14).Value.ToString
Dim gbarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim barcodeimage As Image
Dim w As Integer = 100
Dim h As Integer = 300
barcodeimage = New Bitmap(gbarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, barcodeData))
PictureBox1.Image = barcodeimage
Me.PictureBox1.Height = h
Me.PictureBox1.Width = w
Me.PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 300) 'linia 24
e.Graphics.DrawImage(PictureBox1.Image, 205, 60, 90, 300) ''Print lateral code de bare
e.Graphics.DrawString("Production Number & Series ", f14, Brushes.Black, 5, 310)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 320)
cpserie = DataGridView1.Rows(row).Cells(0).Value.ToString
e.Graphics.DrawString(cpserie, f14, Brushes.Black, 5, 330)
e.Graphics.DrawString(line, f10b, Brushes.Black, 0, 345)
Dim cpBarcode As New MessagingToolkit.Barcode.BarcodeEncoder
Dim cpbarcodeimage As Image
cpbarcodeimage = New Bitmap(cpBarcode.Encode(MessagingToolkit.Barcode.BarcodeFormat.Code128, cpserie))
PictureBox2.Image = cpbarcodeimage
PictureBox2.SizeMode = PictureBoxSizeMode.Zoom
PictureBox2.Size = New Size(300, 200)
e.Graphics.DrawImage(PictureBox2.Image, -50, 353, 400, 100)
PictureBox1.Dispose()
PictureBox2.Dispose()
'InfoPrintEtichete()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form15.Show()
Me.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
comCli = ScanCP.Text
updateTable()
End Sub
End Class

281
VS code/Form2.Designer.vb generated Normal file
View File

@@ -0,0 +1,281 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form2
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim DataGridViewCellStyle1 As DataGridViewCellStyle = New DataGridViewCellStyle()
Dim DataGridViewCellStyle2 As DataGridViewCellStyle = New DataGridViewCellStyle()
Label1 = New Label()
TextBox1 = New TextBox()
TextBox2 = New TextBox()
Label2 = New Label()
TextBox3 = New TextBox()
Label3 = New Label()
TextBox4 = New TextBox()
Label4 = New Label()
TextBox5 = New TextBox()
Label5 = New Label()
DataGridView1 = New DataGridView()
Label6 = New Label()
Label7 = New Label()
Button1 = New Button()
Button2 = New Button()
CType(DataGridView1, ComponentModel.ISupportInitialize).BeginInit()
SuspendLayout()
'
' Label1
'
Label1.AutoSize = True
Label1.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label1.ForeColor = Color.White
Label1.Location = New Point(24, 7)
Label1.Name = "Label1"
Label1.Size = New Size(233, 25)
Label1.TabIndex = 0
Label1.Text = "Scaneaza nume operator"
'
' TextBox1
'
TextBox1.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
TextBox1.Location = New Point(26, 42)
TextBox1.Margin = New Padding(3, 2, 3, 2)
TextBox1.MaxLength = 4
TextBox1.Name = "TextBox1"
TextBox1.Size = New Size(283, 32)
TextBox1.TabIndex = 1
'
' TextBox2
'
TextBox2.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
TextBox2.Location = New Point(24, 106)
TextBox2.Margin = New Padding(3, 2, 3, 2)
TextBox2.Name = "TextBox2"
TextBox2.Size = New Size(285, 32)
TextBox2.TabIndex = 3
'
' Label2
'
Label2.AutoSize = True
Label2.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label2.ForeColor = Color.White
Label2.Location = New Point(26, 76)
Label2.Name = "Label2"
Label2.Size = New Size(122, 25)
Label2.TabIndex = 2
Label2.Text = "Scaneaza CP"
'
' TextBox3
'
TextBox3.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
TextBox3.Location = New Point(24, 177)
TextBox3.Margin = New Padding(3, 2, 3, 2)
TextBox3.Name = "TextBox3"
TextBox3.Size = New Size(284, 32)
TextBox3.TabIndex = 5
'
' Label3
'
Label3.AutoSize = True
Label3.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label3.ForeColor = Color.White
Label3.Location = New Point(26, 142)
Label3.Name = "Label3"
Label3.Size = New Size(239, 25)
Label3.TabIndex = 4
Label3.Text = "Scaneaza Cod Cusatoare1"
'
' TextBox4
'
TextBox4.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
TextBox4.Location = New Point(25, 237)
TextBox4.Margin = New Padding(3, 2, 3, 2)
TextBox4.MaxLength = 4
TextBox4.Name = "TextBox4"
TextBox4.Size = New Size(284, 32)
TextBox4.TabIndex = 7
'
' Label4
'
Label4.AutoSize = True
Label4.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label4.ForeColor = Color.White
Label4.Location = New Point(26, 211)
Label4.Name = "Label4"
Label4.Size = New Size(239, 25)
Label4.TabIndex = 6
Label4.Text = "Scaneaza Cod Cusatoare2"
'
' TextBox5
'
TextBox5.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
TextBox5.Location = New Point(24, 294)
TextBox5.Margin = New Padding(3, 2, 3, 2)
TextBox5.MaxLength = 4
TextBox5.Name = "TextBox5"
TextBox5.Size = New Size(286, 32)
TextBox5.TabIndex = 9
'
' Label5
'
Label5.AutoSize = True
Label5.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label5.ForeColor = Color.White
Label5.Location = New Point(24, 268)
Label5.Name = "Label5"
Label5.Size = New Size(196, 25)
Label5.TabIndex = 8
Label5.Text = "Scaneaza Cod Defect"
'
' DataGridView1
'
DataGridView1.Anchor = AnchorStyles.Top Or AnchorStyles.Bottom Or AnchorStyles.Left Or AnchorStyles.Right
DataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells
DataGridView1.BackgroundColor = Color.White
DataGridView1.CellBorderStyle = DataGridViewCellBorderStyle.Raised
DataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle1.BackColor = SystemColors.Control
DataGridViewCellStyle1.Font = New Font("Segoe UI", 16.2F, FontStyle.Bold, GraphicsUnit.Point)
DataGridViewCellStyle1.ForeColor = SystemColors.WindowText
DataGridViewCellStyle1.Padding = New Padding(0, 0, 0, 4)
DataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight
DataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText
DataGridViewCellStyle1.WrapMode = DataGridViewTriState.True
DataGridView1.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle2.BackColor = SystemColors.Window
DataGridViewCellStyle2.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
DataGridViewCellStyle2.ForeColor = SystemColors.ControlText
DataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight
DataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText
DataGridViewCellStyle2.WrapMode = DataGridViewTriState.False
DataGridView1.DefaultCellStyle = DataGridViewCellStyle2
DataGridView1.GridColor = SystemColors.ControlLight
DataGridView1.Location = New Point(323, 21)
DataGridView1.Margin = New Padding(3, 2, 3, 2)
DataGridView1.Name = "DataGridView1"
DataGridView1.RowHeadersWidth = 51
DataGridView1.RowTemplate.Height = 29
DataGridView1.Size = New Size(1004, 519)
DataGridView1.TabIndex = 10
'
' Label6
'
Label6.AutoSize = True
Label6.Font = New Font("Segoe UI", 10.8F, FontStyle.Bold, GraphicsUnit.Point)
Label6.ForeColor = Color.White
Label6.Location = New Point(25, 338)
Label6.Name = "Label6"
Label6.Size = New Size(42, 20)
Label6.TabIndex = 11
Label6.Text = "Data"
'
' Label7
'
Label7.AutoSize = True
Label7.Font = New Font("Segoe UI", 10.8F, FontStyle.Bold, GraphicsUnit.Point)
Label7.ForeColor = Color.White
Label7.Location = New Point(172, 338)
Label7.Name = "Label7"
Label7.Size = New Size(34, 20)
Label7.TabIndex = 13
Label7.Text = "Ora"
'
' Button1
'
Button1.BackColor = Color.Black
Button1.BackgroundImageLayout = ImageLayout.None
Button1.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Button1.ForeColor = Color.Lime
Button1.ImageAlign = ContentAlignment.MiddleLeft
Button1.Location = New Point(36, 425)
Button1.Margin = New Padding(3, 2, 3, 2)
Button1.Name = "Button1"
Button1.Size = New Size(239, 41)
Button1.TabIndex = 14
Button1.Text = "Inchide Formularul"
Button1.UseVisualStyleBackColor = False
'
' Button2
'
Button2.BackColor = Color.FromArgb(CByte(192), CByte(0), CByte(0))
Button2.BackgroundImageLayout = ImageLayout.None
Button2.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Button2.ForeColor = Color.Lime
Button2.ImageAlign = ContentAlignment.MiddleLeft
Button2.Location = New Point(24, 380)
Button2.Margin = New Padding(3, 2, 3, 2)
Button2.Name = "Button2"
Button2.Size = New Size(256, 41)
Button2.TabIndex = 15
Button2.Text = "Sterge randul selectat"
Button2.UseVisualStyleBackColor = False
'
' Form2
'
AutoScaleDimensions = New SizeF(7F, 15F)
AutoScaleMode = AutoScaleMode.Font
BackColor = Color.FromArgb(CByte(192), CByte(0), CByte(192))
BackgroundImageLayout = ImageLayout.Zoom
ClientSize = New Size(1339, 549)
ControlBox = False
Controls.Add(Button2)
Controls.Add(Button1)
Controls.Add(Label7)
Controls.Add(Label6)
Controls.Add(DataGridView1)
Controls.Add(TextBox5)
Controls.Add(Label5)
Controls.Add(TextBox4)
Controls.Add(Label4)
Controls.Add(TextBox3)
Controls.Add(Label3)
Controls.Add(TextBox2)
Controls.Add(Label2)
Controls.Add(TextBox1)
Controls.Add(Label1)
FormBorderStyle = FormBorderStyle.SizableToolWindow
Margin = New Padding(3, 2, 3, 2)
Name = "Form2"
RightToLeftLayout = True
Text = "Scanare comenzi"
CType(DataGridView1, ComponentModel.ISupportInitialize).EndInit()
ResumeLayout(False)
PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents TextBox1 As TextBox
Friend WithEvents TextBox2 As TextBox
Friend WithEvents Label2 As Label
Friend WithEvents TextBox3 As TextBox
Friend WithEvents Label3 As Label
Friend WithEvents TextBox4 As TextBox
Friend WithEvents Label4 As Label
Friend WithEvents TextBox5 As TextBox
Friend WithEvents Label5 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
End Class

60
VS code/Form2.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

210
VS code/Form2.vb Normal file
View File

@@ -0,0 +1,210 @@

Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form2
'setari pentru server
Dim DataString As String = My.Settings.subnet ' informatii cu privire la subnet
Dim surce As String = My.Settings.serverName ' informatii preluate din system settings numele servarului
Dim catalog As String = My.Settings.serverdatabase ' informatii din system setings cu privire la numele bazei de date
Dim user As String = My.Settings.serverUser ' informatii din system setings cu privire la userul de introducere a datelor in baza de date
Dim pass As String = My.Settings.serverUserpass ' informatii din system setings cu privire la parola userului
Dim timeout As String = My.Settings.timeout ' informatii din system setings cu privire la server time out
Dim encrypt As String = My.Settings.encrypt ' ' informatii din system setings cu privire la encriptie
Dim trust As String = My.Settings.cert ' informatii din system setings cu privire la certificate
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open() ' deschiderea conexiuni cu serverul
Dim command As New SqlCommand("select top 14 * from dbo.scanare order by id desc", con)
Dim sda As New SqlDataAdapter(command) ' adaptorul pentru data grig view
Dim dt As New DataTable ' pregatirea datelor pentru data grid view
sda.Fill(dt) ' actualizarea data grid view
DataGridView1.DataSource = dt
con.Close() ' inchiderea conexiuneii cu serverul
End Sub
Private Sub UserForm2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' text box1 incarcare valoare, set text box 2 pentru scan
updateTable()
TextBox1.Focus() ' setarea textbox 1 a defaul entry la deschiderea formei, se introduce cotul operatoruului de calitate
End Sub
Private Sub TextBox1_TextChangeed(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
' validare text box 1 cu OQ
' acest text box are o lungime a stringului de 4 caractere
If TextBox1.Text.Length < 4 Then
' caod de validare a criteriilor de Operator calitate OQ01 OQ02 OQ03 OQ04....
ElseIf TextBox1.Text.Length = 4 Then
Dim val As String
val = TextBox1.Text
If InStr(1, val, "OQ") > 0 Then
TextBox2.Focus() ' schimbarea focusului pe textbox 2 daca este valida informatia din cod operator
Else
MsgBox("Introdu cod Operator") ' cod de eroare in cazul introducerii codului gresit
TextBox1.Focus() 'focus pe textbox 1
End If
Else
End If
End Sub
Private Sub TextBox2_TextChangeed(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
' validare CP text box 2
' acest text box are o lungime a stringului de 14 caractere
If TextBox2.Text.Length < 14 Then
' cod ce valideaza lungimea de 14 caractere a scanarii codului de bare
' codul de bare are structura CP00000000-000
ElseIf TextBox2.Text.Length = 14 Then
Dim val As String
val = TextBox2.Text
If InStr(1, val, "CP") > 0 Then ' confirmare ca stringul contine CP focus pe textbox 3
TextBox3.Focus()
Else
MsgBox("Introdu CP Corect") ' rescanare articol
TextBox2.Clear()
TextBox2.Focus()
End If
Else
End If
End Sub
Private Sub TextBox3_TextChangeed(sender As Object, e As EventArgs) Handles TextBox3.TextChanged
' validare oc text box 3
' acest text box are o lungime a stringului de 4 caractere
If TextBox3.Text.Length < 4 Then
ElseIf TextBox3.Text.Length = 4 Then ' veificare a valorii OC pentru operator cusut
Dim val As String
val = TextBox3.Text
If InStr(1, val, "OC") > 0 Then ' confirmare oc si mutare la text box 4
TextBox4.Focus()
ElseIf InStr(1, val, "sp") > 0 Then
TextBox4.Focus()
ElseIf InStr(1, val, "SP") > 0 Then
TextBox4.Focus()
ElseIf InStr(1, val, "sn") > 0 Then
TextBox4.Focus()
ElseIf InStr(1, val, "SN") > 0 Then
TextBox4.Focus()
Else
MsgBox("Introdu cod Operator")
TextBox3.Clear()
TextBox3.Focus()
End If
Else
End If
End Sub
Private Sub TextBox4_TextChangeed(sender As Object, e As EventArgs) Handles TextBox4.TextChanged
' validare oc text box 4
' acest text box are o lungime a stringului de 4 caractere
If TextBox4.Text.Length < 4 Then
ElseIf TextBox4.Text.Length = 4 Then
Dim val As String
val = TextBox4.Text
If InStr(1, val, "OC") > 0 Then ' verificar oc 2
TextBox5.Focus()
Else
MsgBox("Introdu cod Cusatoare Corect")
TextBox4.Clear()
TextBox4.Focus()
End If
Else
End If
End Sub
Private Sub TextBox5_TextChangeed(sender As Object, e As EventArgs) Handles TextBox5.TextChanged
' validare Calitate text box5
' acest text box are o lungime a stringului de 4 caractere
If TextBox5.Text.Length < 4 Then
ElseIf TextBox5.Text.Length = 4 Then ' verificare string ca e corect codul de defect
Dim val As String
val = TextBox5.Text
If InStr(1, val, "Q") > 0 Then ' daca codul de defect e corect urmeaza incarcarea in baza de date
Dim oq As String = TextBox1.Text 'string pentru SQL oq
Dim cp As String = TextBox2.Text 'string pentru SQL cp
Dim oc1 As String = TextBox3.Text 'string pentru SQL oc1
Dim oc2 As String = TextBox4.Text 'string pentru SQL oc2
Dim quality As String = TextBox4.Text 'string pentru SQL calitate
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label6.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh: mm") 'Format time
Label7.Text = dTime ' update in label
Dim cant As Integer 'cantitate 1 intodeauna
cant = 1
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.scanare values('" & TextBox2.Text & "','" & TextBox1.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & dta & "','" & dTime & "','" & cant & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable() ' update tabel in data grid view
TextBox2.Clear() ' curatarea informatiilor scanate
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox2.Focus()
Else
MsgBox("Introdu cod Defect Corect") ' msg box in caz de croare la scanat textul din casuta cod defect
TextBox5.Clear()
TextBox5.Focus()
End If
Else
End If
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' inchidere forma scanare articole
' buton Inchide Formularul inchide forma de scanare relanseaza forma
Form1.Show()
Me.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
' stergere rand din datagrid
Dim result1 As DialogResult = MsgBox("Sigur Vrei sa strigi linia selectata ?", MsgBoxStyle.Information + MsgBoxStyle.YesNo,
"Confirmare stergere Linie")
' msg bog stergere
If DialogResult.OK Then 'confirmare MsgBox
' cod stergere din SQL
If rowIdval >= 0 Then ' id row datagrid din sub datagrid
Dim id As Integer = rowIdval
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Delete calitate.dbo.scanare where id = '" & id & "'", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
MsgBox(" Linia a fost stearsa")
TextBox2.Focus()
End If
Else
MsgBox(" Ai anulat stergerea liniei")
End If
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("id").Value.ToString()
rowIdval = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
End If
End Sub
End Class

93
VS code/Form3.Designer.vb generated Normal file
View File

@@ -0,0 +1,93 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form3
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
TextBox1 = New TextBox()
Label1 = New Label()
Button1 = New Button()
FlowLayoutPanel1 = New FlowLayoutPanel()
SuspendLayout()
'
' TextBox1
'
TextBox1.Font = New Font("Segoe UI", 16.2F, FontStyle.Bold, GraphicsUnit.Point)
TextBox1.Location = New Point(64, 216)
TextBox1.Name = "TextBox1"
TextBox1.Size = New Size(506, 36)
TextBox1.TabIndex = 0
'
' Label1
'
Label1.AutoSize = True
Label1.Font = New Font("Segoe UI", 16.2F, FontStyle.Bold, GraphicsUnit.Point)
Label1.Location = New Point(95, 165)
Label1.Name = "Label1"
Label1.Size = New Size(304, 30)
Label1.TabIndex = 1
Label1.Text = "Parola Administrator Sistem"
'
' Button1
'
Button1.BackColor = Color.FromArgb(CByte(0), CByte(192), CByte(0))
Button1.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Button1.Location = New Point(94, 274)
Button1.Name = "Button1"
Button1.Size = New Size(436, 48)
Button1.TabIndex = 2
Button1.Text = "Administreaza"
Button1.UseVisualStyleBackColor = False
'
' FlowLayoutPanel1
'
FlowLayoutPanel1.BackColor = Color.White
FlowLayoutPanel1.BackgroundImage = My.Resources.Resources.AQUINOS_BEDDING_AQUINOS_GROUP_copy_31
FlowLayoutPanel1.BackgroundImageLayout = ImageLayout.Zoom
FlowLayoutPanel1.Location = New Point(83, 12)
FlowLayoutPanel1.Name = "FlowLayoutPanel1"
FlowLayoutPanel1.Size = New Size(487, 131)
FlowLayoutPanel1.TabIndex = 3
'
' Form3
'
AutoScaleDimensions = New SizeF(7F, 15F)
AutoScaleMode = AutoScaleMode.Font
BackColor = Color.FromArgb(CByte(255), CByte(224), CByte(192))
ClientSize = New Size(639, 325)
ControlBox = False
Controls.Add(FlowLayoutPanel1)
Controls.Add(Button1)
Controls.Add(Label1)
Controls.Add(TextBox1)
Font = New Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point)
FormBorderStyle = FormBorderStyle.Fixed3D
Name = "Form3"
Text = "Admin Login"
ResumeLayout(False)
PerformLayout()
End Sub
Friend WithEvents TextBox1 As TextBox
Friend WithEvents Label1 As Label
Friend WithEvents Button1 As Button
Friend WithEvents FlowLayoutPanel1 As FlowLayoutPanel
End Class

60
VS code/Form3.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

22
VS code/Form3.vb Normal file
View File

@@ -0,0 +1,22 @@
Public Class Form3
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If TextBox1.Text = My.Settings.adminPass Then
Form4.Show()
Me.Close()
Else
MsgBox("Introdu Parola de admin corecta")
TextBox1.Clear()
TextBox1.Focus()
End If
End Sub
Private Sub FlowLayoutPanel1_Paint(sender As Object, e As PaintEventArgs) Handles FlowLayoutPanel1.Paint
End Sub
End Class

577
VS code/Form4.Designer.vb generated Normal file
View File

@@ -0,0 +1,577 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form4
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.Label1 = New System.Windows.Forms.Label()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.Label2 = New System.Windows.Forms.Label()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.TextBox6 = New System.Windows.Forms.TextBox()
Me.Label6 = New System.Windows.Forms.Label()
Me.TextBox7 = New System.Windows.Forms.TextBox()
Me.Label7 = New System.Windows.Forms.Label()
Me.TextBox8 = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
Me.TextBox9 = New System.Windows.Forms.TextBox()
Me.Label9 = New System.Windows.Forms.Label()
Me.TextBox10 = New System.Windows.Forms.TextBox()
Me.Label10 = New System.Windows.Forms.Label()
Me.TextBox12 = New System.Windows.Forms.TextBox()
Me.Label12 = New System.Windows.Forms.Label()
Me.TextBox13 = New System.Windows.Forms.TextBox()
Me.Label13 = New System.Windows.Forms.Label()
Me.TextBox14 = New System.Windows.Forms.TextBox()
Me.Label14 = New System.Windows.Forms.Label()
Me.TextBox15 = New System.Windows.Forms.TextBox()
Me.Label15 = New System.Windows.Forms.Label()
Me.TextBox16 = New System.Windows.Forms.TextBox()
Me.Label16 = New System.Windows.Forms.Label()
Me.TextBox17 = New System.Windows.Forms.TextBox()
Me.Label17 = New System.Windows.Forms.Label()
Me.TextBox18 = New System.Windows.Forms.TextBox()
Me.Label18 = New System.Windows.Forms.Label()
Me.TextBox19 = New System.Windows.Forms.TextBox()
Me.Label19 = New System.Windows.Forms.Label()
Me.TextBox20 = New System.Windows.Forms.TextBox()
Me.Label20 = New System.Windows.Forms.Label()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Button4 = New System.Windows.Forms.Button()
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(15, 7)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(109, 21)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Server String"
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(15, 30)
Me.TextBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(232, 23)
Me.TextBox1.TabIndex = 1
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Cyan
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.Location = New System.Drawing.Point(7, 248)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(169, 32)
Me.Button1.TabIndex = 10
Me.Button1.Text = "Check Setings"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.Lime
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.Location = New System.Drawing.Point(181, 248)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(169, 32)
Me.Button2.TabIndex = 11
Me.Button2.Text = "Update Setings"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Blue
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.ForeColor = System.Drawing.Color.White
Me.Button3.Location = New System.Drawing.Point(355, 248)
Me.Button3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(169, 32)
Me.Button3.TabIndex = 12
Me.Button3.Text = "Back to Form"
Me.Button3.UseVisualStyleBackColor = False
'
'TextBox2
'
Me.TextBox2.Location = New System.Drawing.Point(15, 76)
Me.TextBox2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(232, 23)
Me.TextBox2.TabIndex = 14
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(15, 52)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(132, 21)
Me.Label2.TabIndex = 13
Me.Label2.Text = "Server database"
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(15, 123)
Me.TextBox3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(232, 23)
Me.TextBox3.TabIndex = 16
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(15, 100)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(95, 21)
Me.Label3.TabIndex = 15
Me.Label3.Text = "Server user"
'
'TextBox4
'
Me.TextBox4.Location = New System.Drawing.Point(15, 176)
Me.TextBox4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(232, 23)
Me.TextBox4.TabIndex = 18
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.Location = New System.Drawing.Point(15, 152)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(132, 21)
Me.Label4.TabIndex = 17
Me.Label4.Text = "Server user Pass"
'
'TextBox5
'
Me.TextBox5.Location = New System.Drawing.Point(303, 30)
Me.TextBox5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(232, 23)
Me.TextBox5.TabIndex = 20
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.Location = New System.Drawing.Point(303, 7)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(128, 21)
Me.Label5.TabIndex = 19
Me.Label5.Text = "Server time out"
'
'TextBox6
'
Me.TextBox6.Location = New System.Drawing.Point(303, 76)
Me.TextBox6.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox6.Name = "TextBox6"
Me.TextBox6.Size = New System.Drawing.Size(232, 23)
Me.TextBox6.TabIndex = 22
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.Location = New System.Drawing.Point(303, 52)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(122, 21)
Me.Label6.TabIndex = 21
Me.Label6.Text = "Server encrypt"
'
'TextBox7
'
Me.TextBox7.Location = New System.Drawing.Point(303, 123)
Me.TextBox7.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox7.Name = "TextBox7"
Me.TextBox7.Size = New System.Drawing.Size(232, 23)
Me.TextBox7.TabIndex = 24
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.Location = New System.Drawing.Point(303, 100)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(98, 21)
Me.Label7.TabIndex = 23
Me.Label7.Text = "Server trust"
'
'TextBox8
'
Me.TextBox8.Location = New System.Drawing.Point(303, 176)
Me.TextBox8.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox8.Name = "TextBox8"
Me.TextBox8.Size = New System.Drawing.Size(232, 23)
Me.TextBox8.TabIndex = 26
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.Location = New System.Drawing.Point(303, 152)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(114, 21)
Me.Label8.TabIndex = 25
Me.Label8.Text = "Server reason"
'
'TextBox9
'
Me.TextBox9.Location = New System.Drawing.Point(15, 221)
Me.TextBox9.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox9.Name = "TextBox9"
Me.TextBox9.Size = New System.Drawing.Size(232, 23)
Me.TextBox9.TabIndex = 28
Me.TextBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'Label9
'
Me.Label9.AutoSize = True
Me.Label9.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label9.Location = New System.Drawing.Point(15, 198)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(115, 21)
Me.Label9.TabIndex = 27
Me.Label9.Text = "Server subnet"
'
'TextBox10
'
Me.TextBox10.Location = New System.Drawing.Point(302, 221)
Me.TextBox10.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox10.Name = "TextBox10"
Me.TextBox10.Size = New System.Drawing.Size(232, 23)
Me.TextBox10.TabIndex = 30
Me.TextBox10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'Label10
'
Me.Label10.AutoSize = True
Me.Label10.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label10.Location = New System.Drawing.Point(302, 198)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(146, 21)
Me.Label10.TabIndex = 29
Me.Label10.Text = "Administrare Pass"
'
'TextBox12
'
Me.TextBox12.Location = New System.Drawing.Point(14, 243)
Me.TextBox12.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox12.Name = "TextBox12"
Me.TextBox12.Size = New System.Drawing.Size(232, 23)
Me.TextBox12.TabIndex = 48
Me.TextBox12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'Label12
'
Me.Label12.AutoSize = True
Me.Label12.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label12.Location = New System.Drawing.Point(14, 220)
Me.Label12.Name = "Label12"
Me.Label12.Size = New System.Drawing.Size(135, 21)
Me.Label12.TabIndex = 47
Me.Label12.Text = "Server subnet W"
'
'TextBox13
'
Me.TextBox13.Location = New System.Drawing.Point(302, 202)
Me.TextBox13.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox13.Name = "TextBox13"
Me.TextBox13.Size = New System.Drawing.Size(232, 23)
Me.TextBox13.TabIndex = 46
'
'Label13
'
Me.Label13.AutoSize = True
Me.Label13.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label13.Location = New System.Drawing.Point(302, 178)
Me.Label13.Name = "Label13"
Me.Label13.Size = New System.Drawing.Size(134, 21)
Me.Label13.TabIndex = 45
Me.Label13.Text = "Server reason W"
'
'TextBox14
'
Me.TextBox14.Location = New System.Drawing.Point(302, 149)
Me.TextBox14.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox14.Name = "TextBox14"
Me.TextBox14.Size = New System.Drawing.Size(232, 23)
Me.TextBox14.TabIndex = 44
'
'Label14
'
Me.Label14.AutoSize = True
Me.Label14.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label14.Location = New System.Drawing.Point(302, 126)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(118, 21)
Me.Label14.TabIndex = 43
Me.Label14.Text = "Server trust W"
'
'TextBox15
'
Me.TextBox15.Location = New System.Drawing.Point(302, 102)
Me.TextBox15.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox15.Name = "TextBox15"
Me.TextBox15.Size = New System.Drawing.Size(232, 23)
Me.TextBox15.TabIndex = 42
'
'Label15
'
Me.Label15.AutoSize = True
Me.Label15.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label15.Location = New System.Drawing.Point(302, 78)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(142, 21)
Me.Label15.TabIndex = 41
Me.Label15.Text = "Server encrypt W"
'
'TextBox16
'
Me.TextBox16.Location = New System.Drawing.Point(302, 56)
Me.TextBox16.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox16.Name = "TextBox16"
Me.TextBox16.Size = New System.Drawing.Size(232, 23)
Me.TextBox16.TabIndex = 40
'
'Label16
'
Me.Label16.AutoSize = True
Me.Label16.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label16.Location = New System.Drawing.Point(302, 33)
Me.Label16.Name = "Label16"
Me.Label16.Size = New System.Drawing.Size(148, 21)
Me.Label16.TabIndex = 39
Me.Label16.Text = "Server time out W"
'
'TextBox17
'
Me.TextBox17.Location = New System.Drawing.Point(14, 198)
Me.TextBox17.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox17.Name = "TextBox17"
Me.TextBox17.Size = New System.Drawing.Size(232, 23)
Me.TextBox17.TabIndex = 38
'
'Label17
'
Me.Label17.AutoSize = True
Me.Label17.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label17.Location = New System.Drawing.Point(14, 174)
Me.Label17.Name = "Label17"
Me.Label17.Size = New System.Drawing.Size(152, 21)
Me.Label17.TabIndex = 37
Me.Label17.Text = "Server user Pass W"
'
'TextBox18
'
Me.TextBox18.Location = New System.Drawing.Point(14, 145)
Me.TextBox18.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox18.Name = "TextBox18"
Me.TextBox18.Size = New System.Drawing.Size(232, 23)
Me.TextBox18.TabIndex = 36
'
'Label18
'
Me.Label18.AutoSize = True
Me.Label18.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label18.Location = New System.Drawing.Point(14, 122)
Me.Label18.Name = "Label18"
Me.Label18.Size = New System.Drawing.Size(115, 21)
Me.Label18.TabIndex = 35
Me.Label18.Text = "Server user W"
'
'TextBox19
'
Me.TextBox19.Location = New System.Drawing.Point(14, 98)
Me.TextBox19.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox19.Name = "TextBox19"
Me.TextBox19.Size = New System.Drawing.Size(232, 23)
Me.TextBox19.TabIndex = 34
'
'Label19
'
Me.Label19.AutoSize = True
Me.Label19.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label19.Location = New System.Drawing.Point(14, 74)
Me.Label19.Name = "Label19"
Me.Label19.Size = New System.Drawing.Size(152, 21)
Me.Label19.TabIndex = 33
Me.Label19.Text = "Server database W"
'
'TextBox20
'
Me.TextBox20.Location = New System.Drawing.Point(14, 52)
Me.TextBox20.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox20.Name = "TextBox20"
Me.TextBox20.Size = New System.Drawing.Size(232, 23)
Me.TextBox20.TabIndex = 32
'
'Label20
'
Me.Label20.AutoSize = True
Me.Label20.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label20.Location = New System.Drawing.Point(14, 29)
Me.Label20.Name = "Label20"
Me.Label20.Size = New System.Drawing.Size(129, 21)
Me.Label20.TabIndex = 31
Me.Label20.Text = "Server String W"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.Button4)
Me.GroupBox1.Controls.Add(Me.TextBox12)
Me.GroupBox1.Controls.Add(Me.Label12)
Me.GroupBox1.Controls.Add(Me.TextBox13)
Me.GroupBox1.Controls.Add(Me.Label13)
Me.GroupBox1.Controls.Add(Me.TextBox14)
Me.GroupBox1.Controls.Add(Me.Label14)
Me.GroupBox1.Controls.Add(Me.TextBox15)
Me.GroupBox1.Controls.Add(Me.Label15)
Me.GroupBox1.Controls.Add(Me.TextBox16)
Me.GroupBox1.Controls.Add(Me.Label16)
Me.GroupBox1.Controls.Add(Me.TextBox17)
Me.GroupBox1.Controls.Add(Me.Label17)
Me.GroupBox1.Controls.Add(Me.TextBox18)
Me.GroupBox1.Controls.Add(Me.Label18)
Me.GroupBox1.Controls.Add(Me.TextBox19)
Me.GroupBox1.Controls.Add(Me.Label19)
Me.GroupBox1.Controls.Add(Me.TextBox20)
Me.GroupBox1.Controls.Add(Me.Label20)
Me.GroupBox1.Location = New System.Drawing.Point(545, 4)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(555, 276)
Me.GroupBox1.TabIndex = 49
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Setari Servar Priority"
'
'Button4
'
Me.Button4.BackColor = System.Drawing.Color.Lime
Me.Button4.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button4.Location = New System.Drawing.Point(302, 237)
Me.Button4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(219, 32)
Me.Button4.TabIndex = 49
Me.Button4.Text = "Update Setings"
Me.Button4.UseVisualStyleBackColor = False
'
'Form4
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1112, 289)
Me.ControlBox = False
Me.Controls.Add(Me.GroupBox1)
Me.Controls.Add(Me.TextBox10)
Me.Controls.Add(Me.Label10)
Me.Controls.Add(Me.TextBox9)
Me.Controls.Add(Me.Label9)
Me.Controls.Add(Me.TextBox8)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.TextBox7)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.TextBox6)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.TextBox5)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.TextBox4)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.TextBox3)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.TextBox2)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.Label1)
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form4"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Administrare Program"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents TextBox1 As TextBox
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents TextBox2 As TextBox
Friend WithEvents Label2 As Label
Friend WithEvents TextBox3 As TextBox
Friend WithEvents Label3 As Label
Friend WithEvents TextBox4 As TextBox
Friend WithEvents Label4 As Label
Friend WithEvents TextBox5 As TextBox
Friend WithEvents Label5 As Label
Friend WithEvents TextBox6 As TextBox
Friend WithEvents Label6 As Label
Friend WithEvents TextBox7 As TextBox
Friend WithEvents Label7 As Label
Friend WithEvents TextBox8 As TextBox
Friend WithEvents Label8 As Label
Friend WithEvents TextBox9 As TextBox
Friend WithEvents Label9 As Label
Friend WithEvents TextBox10 As TextBox
Friend WithEvents Label10 As Label
Friend WithEvents TextBox12 As TextBox
Friend WithEvents Label12 As Label
Friend WithEvents TextBox13 As TextBox
Friend WithEvents Label13 As Label
Friend WithEvents TextBox14 As TextBox
Friend WithEvents Label14 As Label
Friend WithEvents TextBox15 As TextBox
Friend WithEvents Label15 As Label
Friend WithEvents TextBox16 As TextBox
Friend WithEvents Label16 As Label
Friend WithEvents TextBox17 As TextBox
Friend WithEvents Label17 As Label
Friend WithEvents TextBox18 As TextBox
Friend WithEvents Label18 As Label
Friend WithEvents TextBox19 As TextBox
Friend WithEvents Label19 As Label
Friend WithEvents TextBox20 As TextBox
Friend WithEvents Label20 As Label
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Button4 As Button
End Class

60
VS code/Form4.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

58
VS code/Form4.vb Normal file
View File

@@ -0,0 +1,58 @@
Public Class Form4
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
TextBox1.Text = My.Settings.serverName
TextBox2.Text = My.Settings.serverdatabase
TextBox3.Text = My.Settings.serverUser
TextBox4.Text = My.Settings.serverUserpass
TextBox5.Text = My.Settings.timeout
TextBox6.Text = My.Settings.encrypt
TextBox7.Text = My.Settings.cert
TextBox8.Text = My.Settings.reason
TextBox9.Text = My.Settings.subnet
TextBox10.Text = My.Settings.adminPass
TextBox20.Text = My.Settings.ServerNameW
TextBox19.Text = My.Settings.ServerDatabaseW
TextBox18.Text = My.Settings.ServerUserW
TextBox17.Text = My.Settings.ServerUserPasW
TextBox12.Text = My.Settings.SubnetW
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
My.Settings.subnet = TextBox9.Text
My.Settings.reason = TextBox8.Text
My.Settings.encrypt = TextBox9.Text
My.Settings.timeout = TextBox5.Text
My.Settings.serverUserpass = TextBox4.Text
My.Settings.serverUser = TextBox3.Text
My.Settings.serverdatabase = TextBox2.Text
My.Settings.serverName = TextBox1.Text
My.Settings.Save()
MsgBox("au fost incarcate setarile pentru server")
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form1.Show()
Me.Close()
End Sub
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
End Sub
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
My.Settings.SubnetW = TextBox12.Text
My.Settings.ServerNameW = TextBox20.Text
My.Settings.ServerDatabaseW = TextBox19.Text
My.Settings.ServerUserPasW = TextBox17.Text
My.Settings.ServerUserW = TextBox18.Text
End Sub
End Class

170
VS code/Form5.Designer.vb generated Normal file
View File

@@ -0,0 +1,170 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form5
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.DateTimePicker3 = New System.Windows.Forms.DateTimePicker()
Me.Label1 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
Me.GroupBox1.SuspendLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'DateTimePicker1
'
Me.DateTimePicker1.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker1.Location = New System.Drawing.Point(150, 26)
Me.DateTimePicker1.Name = "DateTimePicker1"
Me.DateTimePicker1.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker1.TabIndex = 0
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.DateTimePicker3)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.DateTimePicker1)
Me.GroupBox1.Location = New System.Drawing.Point(35, 22)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(637, 86)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Alege intervalul din care trebuie sa faci exportul in excel"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(332, 31)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(98, 28)
Me.Label3.TabIndex = 3
Me.Label3.Text = "End Date"
'
'DateTimePicker3
'
Me.DateTimePicker3.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker3.Location = New System.Drawing.Point(445, 26)
Me.DateTimePicker3.Name = "DateTimePicker3"
Me.DateTimePicker3.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker3.TabIndex = 2
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(17, 32)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(110, 28)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Start Date"
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 125)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1306, 530)
Me.DataGridView1.TabIndex = 2
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Black
Me.Button1.Location = New System.Drawing.Point(712, 41)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(194, 54)
Me.Button1.TabIndex = 3
Me.Button1.Text = "Preview"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Black
Me.Button2.Location = New System.Drawing.Point(940, 40)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(194, 54)
Me.Button2.TabIndex = 4
Me.Button2.Text = "Export to Excel"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Red
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.ForeColor = System.Drawing.Color.White
Me.Button3.Location = New System.Drawing.Point(1140, 22)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(178, 79)
Me.Button3.TabIndex = 5
Me.Button3.Text = "Inchide program"
Me.Button3.UseVisualStyleBackColor = False
'
'Form5
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1330, 681)
Me.ControlBox = False
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.GroupBox1)
Me.Name = "Form5"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Export from SQL Database Calitate"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
End Sub
Friend WithEvents DateTimePicker1 As DateTimePicker
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Label3 As Label
Friend WithEvents DateTimePicker3 As DateTimePicker
Friend WithEvents Label1 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents SaveFileDialog1 As SaveFileDialog
End Class

63
VS code/Form5.resx Normal file
View File

@@ -0,0 +1,63 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

86
VS code/Form5.vb Normal file
View File

@@ -0,0 +1,86 @@
Imports System.IO
Imports Microsoft.Data.SqlClient
Public Class Form5
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select * from calitate.dbo.scanare where [date] between @date1 and @date2", con)
command.Parameters.Add("date1", SqlDbType.Date).Value = DateTimePicker1.Value
command.Parameters.Add("date2", SqlDbType.Date).Value = DateTimePicker3.Value
Dim da As New SqlDataAdapter
da.SelectCommand = command
Dim dt As New DataTable
dt.Clear()
da.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim saveFileDialog As New SaveFileDialog()
saveFileDialog.Filter = "CSV (.csv)|.csv"
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
saveFileDialog.FileName = "Calitate" & "-" & dta & ".csv"
If (saveFileDialog.ShowDialog() = DialogResult.OK) Then
Using sw As New StreamWriter(saveFileDialog.FileName)
Dim columnCount As Integer = DataGridView1.ColumnCount
For i As Integer = 0 To columnCount - 1
sw.Write(DataGridView1.Columns(i).HeaderText)
If (i < columnCount - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
For Each row As DataGridViewRow In DataGridView1.Rows
For i As Integer = 0 To row.Cells.Count - 1
If Not row.IsNewRow Then
sw.Write(row.Cells(i).Value.ToString())
End If
If (i < row.Cells.Count - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
Next
sw.Close()
End Using
MessageBox.Show("CSV file saved.")
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form1.Show()
Me.Close()
End Sub
End Class

311
VS code/Form6.Designer.vb generated Normal file
View File

@@ -0,0 +1,311 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form6
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.Label1 = New System.Windows.Forms.Label()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.Label2 = New System.Windows.Forms.Label()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.TextBox6 = New System.Windows.Forms.TextBox()
Me.Label8 = New System.Windows.Forms.Label()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.ForeColor = System.Drawing.Color.White
Me.Label1.Location = New System.Drawing.Point(24, 7)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(233, 25)
Me.Label1.TabIndex = 0
Me.Label1.Text = "Scaneaza nume operator"
'
'TextBox1
'
Me.TextBox1.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox1.Location = New System.Drawing.Point(26, 42)
Me.TextBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox1.MaxLength = 4
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(283, 32)
Me.TextBox1.TabIndex = 1
'
'TextBox2
'
Me.TextBox2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox2.Location = New System.Drawing.Point(24, 106)
Me.TextBox2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(285, 32)
Me.TextBox2.TabIndex = 3
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.ForeColor = System.Drawing.Color.White
Me.Label2.Location = New System.Drawing.Point(26, 76)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(122, 25)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Scaneaza CP"
'
'TextBox3
'
Me.TextBox3.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox3.Location = New System.Drawing.Point(25, 172)
Me.TextBox3.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(284, 32)
Me.TextBox3.TabIndex = 5
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.ForeColor = System.Drawing.Color.White
Me.Label3.Location = New System.Drawing.Point(26, 142)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(277, 25)
Me.Label3.TabIndex = 4
Me.Label3.Text = "Scaneaza Cod Operator Taiere"
'
'TextBox4
'
Me.TextBox4.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox4.Location = New System.Drawing.Point(25, 237)
Me.TextBox4.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox4.MaxLength = 4
Me.TextBox4.Name = "TextBox4"
Me.TextBox4.Size = New System.Drawing.Size(284, 32)
Me.TextBox4.TabIndex = 7
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.ForeColor = System.Drawing.Color.White
Me.Label4.Location = New System.Drawing.Point(26, 211)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(217, 25)
Me.Label4.TabIndex = 6
Me.Label4.Text = "Scaneaza Cod Matlasor"
'
'TextBox5
'
Me.TextBox5.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox5.Location = New System.Drawing.Point(24, 294)
Me.TextBox5.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox5.MaxLength = 4
Me.TextBox5.Name = "TextBox5"
Me.TextBox5.Size = New System.Drawing.Size(286, 32)
Me.TextBox5.TabIndex = 9
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.ForeColor = System.Drawing.Color.White
Me.Label5.Location = New System.Drawing.Point(24, 268)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(281, 25)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Scaneaza Cod Operator Banda"
'
'DataGridView1
'
Me.DataGridView1.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.DataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells
Me.DataGridView1.BackgroundColor = System.Drawing.Color.White
Me.DataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised
DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control
DataGridViewCellStyle1.Font = New System.Drawing.Font("Segoe UI", 16.2!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText
DataGridViewCellStyle1.Padding = New System.Windows.Forms.Padding(0, 0, 0, 4)
DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
Me.DataGridView1.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomCenter
DataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window
DataGridViewCellStyle2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
DataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText
DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
Me.DataGridView1.DefaultCellStyle = DataGridViewCellStyle2
Me.DataGridView1.GridColor = System.Drawing.SystemColors.ControlLight
Me.DataGridView1.Location = New System.Drawing.Point(323, 21)
Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1062, 512)
Me.DataGridView1.TabIndex = 10
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.ForeColor = System.Drawing.Color.White
Me.Label6.Location = New System.Drawing.Point(25, 393)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(42, 20)
Me.Label6.TabIndex = 11
Me.Label6.Text = "Data"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.ForeColor = System.Drawing.Color.White
Me.Label7.Location = New System.Drawing.Point(172, 393)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(34, 20)
Me.Label7.TabIndex = 13
Me.Label7.Text = "Ora"
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.Black
Me.Button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Lime
Me.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button1.Location = New System.Drawing.Point(36, 464)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(239, 41)
Me.Button1.TabIndex = 14
Me.Button1.Text = "Inchide Formularul"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer))
Me.Button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Lime
Me.Button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button2.Location = New System.Drawing.Point(24, 418)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(256, 41)
Me.Button2.TabIndex = 15
Me.Button2.Text = "Sterge randul selectat"
Me.Button2.UseVisualStyleBackColor = False
'
'TextBox6
'
Me.TextBox6.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextBox6.Location = New System.Drawing.Point(25, 359)
Me.TextBox6.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextBox6.MaxLength = 4
Me.TextBox6.Name = "TextBox6"
Me.TextBox6.Size = New System.Drawing.Size(286, 32)
Me.TextBox6.TabIndex = 17
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.ForeColor = System.Drawing.Color.White
Me.Label8.Location = New System.Drawing.Point(26, 333)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(253, 21)
Me.Label8.TabIndex = 16
Me.Label8.Text = "Scaneaza Cod Operatori Borduri"
'
'Form6
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
Me.ClientSize = New System.Drawing.Size(1396, 546)
Me.ControlBox = False
Me.Controls.Add(Me.TextBox6)
Me.Controls.Add(Me.Label8)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.Label7)
Me.Controls.Add(Me.Label6)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.TextBox5)
Me.Controls.Add(Me.Label5)
Me.Controls.Add(Me.TextBox4)
Me.Controls.Add(Me.Label4)
Me.Controls.Add(Me.TextBox3)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.TextBox2)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.Label1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form6"
Me.RightToLeftLayout = True
Me.Text = "Scanare comenzi Pregatit"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents TextBox1 As TextBox
Friend WithEvents TextBox2 As TextBox
Friend WithEvents Label2 As Label
Friend WithEvents TextBox3 As TextBox
Friend WithEvents Label3 As Label
Friend WithEvents TextBox4 As TextBox
Friend WithEvents Label4 As Label
Friend WithEvents TextBox5 As TextBox
Friend WithEvents Label5 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents TextBox6 As TextBox
Friend WithEvents Label8 As Label
End Class

60
VS code/Form6.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

284
VS code/Form6.vb Normal file
View File

@@ -0,0 +1,284 @@

Imports System.Security.Cryptography
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form6
'setari pentru server
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("select top 14 * from dbo.pregatit order by id desc", con)
Dim sda As New SqlDataAdapter(command)
Dim dt As New DataTable
sda.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub UserForm2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' text box1 incarcare valoare, set text box 2 pentru scan
TextBox1.Text = variable.userp
updateTable()
TextBox2.Focus()
End Sub
Private Sub TextBox1_TextChangeed(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
' validare text box 1 cu OQ
If TextBox1.Text.Length < 4 Then
ElseIf TextBox1.Text.Length = 4 Then
Dim val As String
val = TextBox1.Text
If InStr(1, val, "OP") > 0 Then
TextBox2.Focus()
Else
MsgBox("Introdu cod Operator")
TextBox1.Focus()
End If
Else
End If
End Sub
Private Sub TextBox2_TextChangeed(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
' validare CP text box 2
If TextBox2.Text.Length < 10 Then
ElseIf TextBox2.Text.Length = 10 Then
Dim val As String
val = TextBox2.Text
If InStr(1, val, "CP") > 0 Then
TextBox3.Focus()
Else
MsgBox("Introdu CP Corect")
TextBox2.Clear()
TextBox2.Focus()
End If
Else
End If
End Sub
Private Sub TextBox3_TextChangeed(sender As Object, e As EventArgs) Handles TextBox3.TextChanged
' validare oc text box 3
If TextBox3.Text.Length < 4 Then
ElseIf TextBox3.Text.Length = 4 Then
Dim val As String
val = TextBox3.Text
If InStr(1, val, "00") > 0 Then
TextBox4.Focus()
ElseIf InStr(1, val, "ct") > 0 Then
TextBox4.Focus()
ElseIf InStr(1, val, "CT") > 0 Then
TextBox4.Focus()
Else
MsgBox("Introdu cod Operator Taiere corect")
TextBox3.Clear()
TextBox3.Focus()
End If
Else
End If
End Sub
Private Sub TextBox4_TextChangeed(sender As Object, e As EventArgs) Handles TextBox4.TextChanged
' validare oc text box 4
If TextBox4.Text.Length < 4 Then
ElseIf TextBox4.Text.Length = 4 Then
Dim val As String
val = TextBox4.Text
If InStr(1, val, "00") > 0 Then
TextBox5.Focus()
ElseIf InStr(1, val, "mn") > 0 Then
TextBox5.Focus()
ElseIf InStr(1, val, "MN") > 0 Then
TextBox5.Focus()
ElseIf InStr(1, val, "sn") > 0 Then
TextBox5.Focus()
ElseIf InStr(1, val, "SN") > 0 Then
TextBox5.Focus()
Else
MsgBox("Introdu cod Matlasor Corect")
TextBox4.Clear()
TextBox4.Focus()
End If
Else
End If
End Sub
Private Sub TextBox5_TextChangeed(sender As Object, e As EventArgs) Handles TextBox5.TextChanged
' validare sp text box 4
If TextBox5.Text.Length < 4 Then
ElseIf TextBox5.Text.Length = 4 Then
Dim val As String
val = TextBox5.Text
If InStr(1, val, "00") > 0 Then
TextBox6.Focus()
ElseIf InStr(1, val, "sp") > 0 Then
TextBox6.Focus()
ElseIf InStr(1, val, "SP") > 0 Then
TextBox6.Focus()
Else
MsgBox("Introdu cod Matlasor Corect")
TextBox5.Clear()
TextBox5.Focus()
End If
Else
End If
End Sub
Private Sub TextBox6_TextChangeed(sender As Object, e As EventArgs) Handles TextBox6.TextChanged
' validare Calitate text box5
If TextBox6.Text.Length < 4 Then
ElseIf TextBox6.Text.Length = 4 Then
Dim val As String
val = TextBox6.Text
If InStr(1, val, "0000") > 0 Then
Dim oq As String = TextBox1.Text 'string pentru SQL oq
Dim cp As String = TextBox2.Text 'string pentru SQL cp
Dim oc1 As String = TextBox3.Text 'string pentru SQL oc1
Dim oc2 As String = TextBox4.Text 'string pentru SQL oc2
Dim quality As String = TextBox4.Text 'string pentru SQL calitate
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label6.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh: mm") 'Format time
Label7.Text = dTime ' update in label
Dim cant As Integer 'cantitate 1 intodeauna
cant = 1
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.pregatit values('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & TextBox6.Text & "','" & dta & "','" & dTime & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
TextBox2.Focus()
ElseIf InStr(1, val, "sp") > 0 Then
Dim oq As String = TextBox1.Text 'string pentru SQL oq
Dim cp As String = TextBox2.Text 'string pentru SQL cp
Dim oc1 As String = TextBox3.Text 'string pentru SQL oc1
Dim oc2 As String = TextBox4.Text 'string pentru SQL oc2
Dim quality As String = TextBox4.Text 'string pentru SQL calitate
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label6.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh: mm") 'Format time
Label7.Text = dTime ' update in label
Dim cant As Integer 'cantitate 1 intodeauna
cant = 1
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.pregatit values('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & TextBox6.Text & "','" & dta & "','" & dTime & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
TextBox2.Focus()
ElseIf InStr(1, val, "SP") > 0 Then
Dim oq As String = TextBox1.Text 'string pentru SQL oq
Dim cp As String = TextBox2.Text 'string pentru SQL cp
Dim oc1 As String = TextBox3.Text 'string pentru SQL oc1
Dim oc2 As String = TextBox4.Text 'string pentru SQL oc2
Dim quality As String = TextBox4.Text 'string pentru SQL calitate
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label6.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh: mm") 'Format time
Label7.Text = dTime ' update in label
Dim cant As Integer 'cantitate 1 intodeauna
cant = 1
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.pregatit values('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & TextBox6.Text & "','" & dta & "','" & dTime & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
TextBox2.Focus()
Else
MsgBox("Introdu cod Defect Corect")
TextBox6.Clear()
TextBox6.Focus()
End If
Else
End If
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' inchidere forma scanare articole
Form1.Show()
Me.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
' stergere rand din datagrid
Dim result1 As DialogResult = MsgBox("Sigur Vrei sa strigi linia selectata ?", MsgBoxStyle.Information + MsgBoxStyle.YesNo,
"Confirmare stergere Linie")
If DialogResult.OK Then 'confirmare MsgBox
' cod stergere din SQL
If rowIdval >= 0 Then ' id row datagrid din sub datagrid
Dim id As Integer = rowIdval
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Delete calitate.dbo.pregatit where id = '" & id & "'", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
MsgBox(" Linia a fost stearsa")
TextBox2.Focus()
End If
Else
MsgBox(" Ai anulat stergerea liniei")
End If
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("id").Value.ToString()
rowIdval = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
End If
End Sub
End Class

170
VS code/Form7.Designer.vb generated Normal file
View File

@@ -0,0 +1,170 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form7
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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.DateTimePicker1 = New System.Windows.Forms.DateTimePicker()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.DateTimePicker3 = New System.Windows.Forms.DateTimePicker()
Me.Label1 = New System.Windows.Forms.Label()
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Button1 = New System.Windows.Forms.Button()
Me.Button2 = New System.Windows.Forms.Button()
Me.Button3 = New System.Windows.Forms.Button()
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
Me.GroupBox1.SuspendLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'DateTimePicker1
'
Me.DateTimePicker1.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker1.Location = New System.Drawing.Point(150, 26)
Me.DateTimePicker1.Name = "DateTimePicker1"
Me.DateTimePicker1.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker1.TabIndex = 0
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.DateTimePicker3)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.DateTimePicker1)
Me.GroupBox1.Location = New System.Drawing.Point(35, 22)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(637, 86)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Alege intervalul din care trebuie sa faci exportul in excel"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(332, 31)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(98, 28)
Me.Label3.TabIndex = 3
Me.Label3.Text = "End Date"
'
'DateTimePicker3
'
Me.DateTimePicker3.CustomFormat = "yyyy-MM-dd"
Me.DateTimePicker3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.DateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom
Me.DateTimePicker3.Location = New System.Drawing.Point(445, 26)
Me.DateTimePicker3.Name = "DateTimePicker3"
Me.DateTimePicker3.Size = New System.Drawing.Size(159, 34)
Me.DateTimePicker3.TabIndex = 2
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(17, 32)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(110, 28)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Start Date"
'
'DataGridView1
'
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(12, 125)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1306, 530)
Me.DataGridView1.TabIndex = 2
'
'Button1
'
Me.Button1.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.ForeColor = System.Drawing.Color.Black
Me.Button1.Location = New System.Drawing.Point(712, 41)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(194, 54)
Me.Button1.TabIndex = 3
Me.Button1.Text = "Preview"
Me.Button1.UseVisualStyleBackColor = False
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.FromArgb(CType(CType(128, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.ForeColor = System.Drawing.Color.Black
Me.Button2.Location = New System.Drawing.Point(940, 40)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(194, 54)
Me.Button2.TabIndex = 4
Me.Button2.Text = "Export to Excel"
Me.Button2.UseVisualStyleBackColor = False
'
'Button3
'
Me.Button3.BackColor = System.Drawing.Color.Red
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button3.ForeColor = System.Drawing.Color.White
Me.Button3.Location = New System.Drawing.Point(1140, 22)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(178, 79)
Me.Button3.TabIndex = 5
Me.Button3.Text = "Inchide program"
Me.Button3.UseVisualStyleBackColor = False
'
'Form7
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 20.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1352, 681)
Me.ControlBox = False
Me.Controls.Add(Me.Button3)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.DataGridView1)
Me.Controls.Add(Me.GroupBox1)
Me.Name = "Form7"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Export from SQL Database Pregatit"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
End Sub
Friend WithEvents DateTimePicker1 As DateTimePicker
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Label3 As Label
Friend WithEvents DateTimePicker3 As DateTimePicker
Friend WithEvents Label1 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Button1 As Button
Friend WithEvents Button2 As Button
Friend WithEvents Button3 As Button
Friend WithEvents SaveFileDialog1 As SaveFileDialog
End Class

63
VS code/Form7.resx Normal file
View File

@@ -0,0 +1,63 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

86
VS code/Form7.vb Normal file
View File

@@ -0,0 +1,86 @@
Imports System.IO
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Public Class Form7
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
Dim command As New SqlCommand("select * from calitate.dbo.pregatit where [date] between @date1 and @date2", con)
command.Parameters.Add("date1", SqlDbType.Date).Value = DateTimePicker1.Value
command.Parameters.Add("date2", SqlDbType.Date).Value = DateTimePicker3.Value
Dim da As New SqlDataAdapter
da.SelectCommand = command
Dim dt As New DataTable
dt.Clear()
da.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim saveFileDialog As New SaveFileDialog()
saveFileDialog.Filter = "CSV (.csv)|.csv"
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
saveFileDialog.FileName = "Pregatit" & "-" & dta & ".csv"
If (saveFileDialog.ShowDialog() = DialogResult.OK) Then
Using sw As New StreamWriter(saveFileDialog.FileName)
Dim columnCount As Integer = DataGridView1.ColumnCount
For i As Integer = 0 To columnCount - 1
sw.Write(DataGridView1.Columns(i).HeaderText)
If (i < columnCount - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
For Each row As DataGridViewRow In DataGridView1.Rows
For i As Integer = 0 To row.Cells.Count - 1
If Not row.IsNewRow Then
sw.Write(row.Cells(i).Value.ToString())
End If
If (i < row.Cells.Count - 1) Then
sw.Write(","c)
End If
Next
sw.Write(sw.NewLine)
Next
sw.Close()
End Using
MessageBox.Show("CSV file saved.")
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Form1.Show()
Me.Close()
End Sub
End Class

230
VS code/Form8.Designer.vb generated Normal file
View File

@@ -0,0 +1,230 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form8
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Label1 = New Label()
ComboBox1 = New ComboBox()
Label2 = New Label()
TextMasina = New TextBox()
TextDefect = New TextBox()
Label3 = New Label()
DataGridView1 = New DataGridView()
Label4 = New Label()
Label5 = New Label()
Button1 = New Button()
Label6 = New Label()
Label7 = New Label()
Label8 = New Label()
FlowLayoutPanel1 = New FlowLayoutPanel()
CType(DataGridView1, ComponentModel.ISupportInitialize).BeginInit()
SuspendLayout()
'
' Label1
'
Label1.AutoSize = True
Label1.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label1.Location = New Point(24, 92)
Label1.Name = "Label1"
Label1.Size = New Size(189, 25)
Label1.TabIndex = 0
Label1.Text = "Tichet pentru zona: "
'
' ComboBox1
'
ComboBox1.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
ComboBox1.FormattingEnabled = True
ComboBox1.Location = New Point(28, 124)
ComboBox1.Margin = New Padding(3, 2, 3, 2)
ComboBox1.Name = "ComboBox1"
ComboBox1.Size = New Size(254, 29)
ComboBox1.TabIndex = 1
'
' Label2
'
Label2.AutoSize = True
Label2.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label2.Location = New Point(28, 166)
Label2.Name = "Label2"
Label2.Size = New Size(85, 25)
Label2.TabIndex = 2
Label2.Text = "Masina: "
'
' TextMasina
'
TextMasina.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
TextMasina.Location = New Point(108, 164)
TextMasina.Margin = New Padding(3, 2, 3, 2)
TextMasina.MaxLength = 4
TextMasina.Name = "TextMasina"
TextMasina.Size = New Size(174, 29)
TextMasina.TabIndex = 3
'
' TextDefect
'
TextDefect.Font = New Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point)
TextDefect.Location = New Point(108, 212)
TextDefect.Margin = New Padding(3, 2, 3, 2)
TextDefect.MaxLength = 4
TextDefect.Name = "TextDefect"
TextDefect.Size = New Size(174, 29)
TextDefect.TabIndex = 5
'
' Label3
'
Label3.AutoSize = True
Label3.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label3.Location = New Point(24, 214)
Label3.Name = "Label3"
Label3.Size = New Size(74, 25)
Label3.TabIndex = 4
Label3.Text = "Defect:"
'
' DataGridView1
'
DataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize
DataGridView1.Location = New Point(314, 45)
DataGridView1.Margin = New Padding(3, 2, 3, 2)
DataGridView1.Name = "DataGridView1"
DataGridView1.RowHeadersWidth = 51
DataGridView1.RowTemplate.Height = 29
DataGridView1.Size = New Size(654, 302)
DataGridView1.TabIndex = 6
'
' Label4
'
Label4.AutoSize = True
Label4.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label4.Location = New Point(111, 244)
Label4.Name = "Label4"
Label4.Size = New Size(17, 25)
Label4.TabIndex = 7
Label4.Text = ":"
'
' Label5
'
Label5.AutoSize = True
Label5.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label5.Location = New Point(111, 276)
Label5.Name = "Label5"
Label5.Size = New Size(22, 25)
Label5.TabIndex = 8
Label5.Text = ": "
'
' Button1
'
Button1.BackColor = Color.Red
Button1.Font = New Font("Segoe UI", 10.2F, FontStyle.Bold, GraphicsUnit.Point)
Button1.Location = New Point(38, 314)
Button1.Margin = New Padding(3, 2, 3, 2)
Button1.Name = "Button1"
Button1.Size = New Size(246, 33)
Button1.TabIndex = 9
Button1.Text = "Inchide formular"
Button1.UseVisualStyleBackColor = False
'
' Label6
'
Label6.AutoSize = True
Label6.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label6.Location = New Point(38, 276)
Label6.Name = "Label6"
Label6.Size = New Size(59, 25)
Label6.TabIndex = 11
Label6.Text = "Ora : "
'
' Label7
'
Label7.AutoSize = True
Label7.Font = New Font("Segoe UI", 13.8F, FontStyle.Bold, GraphicsUnit.Point)
Label7.Location = New Point(38, 244)
Label7.Name = "Label7"
Label7.Size = New Size(63, 25)
Label7.TabIndex = 10
Label7.Text = "Data :"
'
' Label8
'
Label8.AutoSize = True
Label8.Font = New Font("Segoe UI Black", 19.8F, FontStyle.Bold, GraphicsUnit.Point)
Label8.ForeColor = Color.MidnightBlue
Label8.Location = New Point(485, 7)
Label8.Name = "Label8"
Label8.Size = New Size(251, 37)
Label8.TabIndex = 12
Label8.Text = "Tichete Deschise "
'
' FlowLayoutPanel1
'
FlowLayoutPanel1.BackColor = Color.White
FlowLayoutPanel1.BackgroundImage = My.Resources.Resources.AQUINOS_BEDDING_AQUINOS_GROUP_copy_3
FlowLayoutPanel1.BackgroundImageLayout = ImageLayout.Zoom
FlowLayoutPanel1.Location = New Point(24, 7)
FlowLayoutPanel1.Margin = New Padding(3, 2, 3, 2)
FlowLayoutPanel1.Name = "FlowLayoutPanel1"
FlowLayoutPanel1.Size = New Size(261, 74)
FlowLayoutPanel1.TabIndex = 13
'
' Form8
'
AutoScaleDimensions = New SizeF(7F, 15F)
AutoScaleMode = AutoScaleMode.Font
BackColor = SystemColors.ActiveCaption
ClientSize = New Size(979, 368)
ControlBox = False
Controls.Add(FlowLayoutPanel1)
Controls.Add(Label8)
Controls.Add(Label6)
Controls.Add(Label7)
Controls.Add(Button1)
Controls.Add(Label5)
Controls.Add(Label4)
Controls.Add(DataGridView1)
Controls.Add(TextDefect)
Controls.Add(Label3)
Controls.Add(TextMasina)
Controls.Add(Label2)
Controls.Add(ComboBox1)
Controls.Add(Label1)
Margin = New Padding(3, 2, 3, 2)
Name = "Form8"
Text = "Lansare tichete mentenanta"
CType(DataGridView1, ComponentModel.ISupportInitialize).EndInit()
ResumeLayout(False)
PerformLayout()
End Sub
Friend WithEvents Label1 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents Label2 As Label
Friend WithEvents TextMasina As TextBox
Friend WithEvents TextDefect As TextBox
Friend WithEvents Label3 As Label
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label4 As Label
Friend WithEvents Label5 As Label
Friend WithEvents Button1 As Button
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
Friend WithEvents FlowLayoutPanel1 As FlowLayoutPanel
End Class

60
VS code/Form8.resx Normal file
View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

96
VS code/Form8.vb Normal file
View File

@@ -0,0 +1,96 @@
Imports DocumentFormat.OpenXml.InkML
Imports Microsoft.Data.SqlClient
Imports System.Reflection.Emit
Imports System.Threading
Imports System.Windows.Forms.VisualStyles.VisualStyleElement
Public Class Form8
'setari pentru server
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user & "; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("select top 14 * from dbo.mentenanta where (status = 'Deschis' )order by id desc", con)
Dim sda As New SqlDataAdapter(command)
Dim dt As New DataTable
sda.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
End Sub
Private Sub Form8_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim items As String() = New String() {"", "Cusut", "Pregatit", "Matlasat"}
ComboBox1.DataSource = items
updateTable()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Form1.Show()
Me.Close()
End Sub
Private Sub TextMasina_TextChangeed(sender As Object, e As EventArgs) Handles TextMasina.TextChanged
' validare text box 1 cu OQ
If TextMasina.Text.Length < 4 Then
ElseIf TextMasina.Text.Length = 4 Then
TextDefect.Focus()
Else
MsgBox("Introdu cod Operator")
TextMasina.Focus()
End If
End Sub
Private Sub TextDefect_TextChangeed(sender As Object, e As EventArgs) Handles TextDefect.TextChanged
' validare text box 1 cu OQ
If TextDefect.Text.Length < 4 Then
ElseIf TextDefect.Text.Length = 4 Then
Dim val As String
val = TextDefect.Text
If InStr(1, val, "D") > 0 Then
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Label4.Text = dta 'Update in Label
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh:mm") 'Format time
Dim nu As String = "NULL"
Label5.Text = dTime ' update in label
Dim cant As Integer 'cantitate 1 intodeauna
cant = 1
Dim status As String = "Deschis"
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("Insert into calitate.dbo.mentenanta (Data, Ora, zona, masina, defect, status) values('" & dta & "','" & dTime & "','" & ComboBox1.Text & "','" & TextMasina.Text & "','" & TextDefect.Text & "','" & status & "')", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
TextMasina.Clear()
TextDefect.Clear()
End If
Else
MsgBox("Introdu cod Operator")
TextDefect.Focus()
End If
End Sub
End Class

419
VS code/Form9.Designer.vb generated Normal file
View File

@@ -0,0 +1,419 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form9
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)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
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()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form9))
Me.DataGridView1 = New System.Windows.Forms.DataGridView()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label10 = New System.Windows.Forms.Label()
Me.Label11 = New System.Windows.Forms.Label()
Me.Label12 = New System.Windows.Forms.Label()
Me.Label13 = New System.Windows.Forms.Label()
Me.Button1 = New System.Windows.Forms.Button()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label15 = New System.Windows.Forms.Label()
Me.Label14 = New System.Windows.Forms.Label()
Me.Button2 = New System.Windows.Forms.Button()
Me.TextUser = New System.Windows.Forms.TextBox()
Me.Label16 = New System.Windows.Forms.Label()
Me.Label17 = New System.Windows.Forms.Label()
Me.TextConst = New System.Windows.Forms.TextBox()
Me.Label18 = New System.Windows.Forms.Label()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.Label19 = New System.Windows.Forms.Label()
Me.Label20 = New System.Windows.Forms.Label()
Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel()
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'DataGridView1
'
Me.DataGridView1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
Me.DataGridView1.Location = New System.Drawing.Point(19, 56)
Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersWidth = 51
Me.DataGridView1.RowTemplate.Height = 29
Me.DataGridView1.Size = New System.Drawing.Size(1054, 313)
Me.DataGridView1.TabIndex = 0
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label1.Location = New System.Drawing.Point(428, 14)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(173, 21)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Lista tichete Deschise"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label2.Location = New System.Drawing.Point(5, 19)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(35, 21)
Me.Label2.TabIndex = 2
Me.Label2.Text = "ID :"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label3.Location = New System.Drawing.Point(172, 19)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(50, 21)
Me.Label3.TabIndex = 4
Me.Label3.Text = "Data:"
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label4.Location = New System.Drawing.Point(172, 39)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(41, 21)
Me.Label4.TabIndex = 6
Me.Label4.Text = "Ora:"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label5.Location = New System.Drawing.Point(5, 42)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(53, 21)
Me.Label5.TabIndex = 8
Me.Label5.Text = "Zona:"
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label6.Location = New System.Drawing.Point(7, 78)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(69, 21)
Me.Label6.TabIndex = 9
Me.Label6.Text = "Masina:"
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label7.Location = New System.Drawing.Point(7, 99)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(121, 21)
Me.Label7.TabIndex = 10
Me.Label7.Text = "Defect initial : "
'
'Label8
'
Me.Label8.AutoSize = True
Me.Label8.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label8.Location = New System.Drawing.Point(46, 19)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(14, 21)
Me.Label8.TabIndex = 11
Me.Label8.Text = ":"
'
'Label9
'
Me.Label9.AutoSize = True
Me.Label9.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label9.Location = New System.Drawing.Point(222, 19)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(14, 21)
Me.Label9.TabIndex = 12
Me.Label9.Text = ":"
'
'Label10
'
Me.Label10.AutoSize = True
Me.Label10.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label10.Location = New System.Drawing.Point(214, 40)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(14, 21)
Me.Label10.TabIndex = 13
Me.Label10.Text = ":"
'
'Label11
'
Me.Label11.AutoSize = True
Me.Label11.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label11.Location = New System.Drawing.Point(57, 42)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(14, 21)
Me.Label11.TabIndex = 14
Me.Label11.Text = ":"
'
'Label12
'
Me.Label12.AutoSize = True
Me.Label12.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label12.Location = New System.Drawing.Point(77, 78)
Me.Label12.Name = "Label12"
Me.Label12.Size = New System.Drawing.Size(14, 21)
Me.Label12.TabIndex = 15
Me.Label12.Text = ":"
'
'Label13
'
Me.Label13.AutoSize = True
Me.Label13.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label13.Location = New System.Drawing.Point(10, 118)
Me.Label13.Name = "Label13"
Me.Label13.Size = New System.Drawing.Size(14, 21)
Me.Label13.TabIndex = 16
Me.Label13.Text = ":"
'
'Button1
'
Me.Button1.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button1.Location = New System.Drawing.Point(390, 541)
Me.Button1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(210, 33)
Me.Button1.TabIndex = 17
Me.Button1.Text = "Update Info Tichet"
Me.Button1.UseVisualStyleBackColor = True
'
'GroupBox1
'
Me.GroupBox1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer))
Me.GroupBox1.Controls.Add(Me.Label15)
Me.GroupBox1.Controls.Add(Me.Label14)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Label13)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label12)
Me.GroupBox1.Controls.Add(Me.Label9)
Me.GroupBox1.Controls.Add(Me.Label11)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label10)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Location = New System.Drawing.Point(19, 386)
Me.GroupBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.GroupBox1.Size = New System.Drawing.Size(350, 157)
Me.GroupBox1.TabIndex = 18
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Info despre tichet"
'
'Label15
'
Me.Label15.AutoSize = True
Me.Label15.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label15.Location = New System.Drawing.Point(172, 105)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(14, 21)
Me.Label15.TabIndex = 18
Me.Label15.Text = ":"
'
'Label14
'
Me.Label14.AutoSize = True
Me.Label14.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label14.Location = New System.Drawing.Point(172, 78)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(65, 21)
Me.Label14.TabIndex = 17
Me.Label14.Text = "Status: "
'
'Button2
'
Me.Button2.BackColor = System.Drawing.Color.Red
Me.Button2.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Button2.Location = New System.Drawing.Point(867, 504)
Me.Button2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(207, 67)
Me.Button2.TabIndex = 19
Me.Button2.Text = "Inchide Fereastra"
Me.Button2.UseVisualStyleBackColor = False
'
'TextUser
'
Me.TextUser.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextUser.Location = New System.Drawing.Point(446, 386)
Me.TextUser.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextUser.Name = "TextUser"
Me.TextUser.Size = New System.Drawing.Size(172, 29)
Me.TextUser.TabIndex = 20
'
'Label16
'
Me.Label16.AutoSize = True
Me.Label16.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label16.Location = New System.Drawing.Point(382, 386)
Me.Label16.Name = "Label16"
Me.Label16.Size = New System.Drawing.Size(44, 21)
Me.Label16.TabIndex = 21
Me.Label16.Text = "User"
'
'Label17
'
Me.Label17.AutoSize = True
Me.Label17.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label17.Location = New System.Drawing.Point(394, 417)
Me.Label17.Name = "Label17"
Me.Label17.Size = New System.Drawing.Size(153, 21)
Me.Label17.TabIndex = 23
Me.Label17.Text = "Defecte constatate"
'
'TextConst
'
Me.TextConst.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.TextConst.Location = New System.Drawing.Point(394, 444)
Me.TextConst.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.TextConst.Name = "TextConst"
Me.TextConst.Size = New System.Drawing.Size(207, 29)
Me.TextConst.TabIndex = 24
'
'Label18
'
Me.Label18.AutoSize = True
Me.Label18.Font = New System.Drawing.Font("Segoe UI", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label18.Location = New System.Drawing.Point(399, 477)
Me.Label18.Name = "Label18"
Me.Label18.Size = New System.Drawing.Size(94, 21)
Me.Label18.TabIndex = 25
Me.Label18.Text = "Status Nou"
'
'ComboBox1
'
Me.ComboBox1.Font = New System.Drawing.Font("Segoe UI", 10.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.ComboBox1.FormattingEnabled = True
Me.ComboBox1.Location = New System.Drawing.Point(390, 502)
Me.ComboBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(210, 27)
Me.ComboBox1.TabIndex = 26
'
'Label19
'
Me.Label19.AutoSize = True
Me.Label19.Font = New System.Drawing.Font("Segoe UI", 13.8!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label19.Location = New System.Drawing.Point(19, 550)
Me.Label19.Name = "Label19"
Me.Label19.Size = New System.Drawing.Size(159, 25)
Me.Label19.TabIndex = 27
Me.Label19.Text = "Actualizat la ora:"
'
'Label20
'
Me.Label20.AutoSize = True
Me.Label20.Font = New System.Drawing.Font("Segoe UI", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point)
Me.Label20.Location = New System.Drawing.Point(194, 544)
Me.Label20.Name = "Label20"
Me.Label20.Size = New System.Drawing.Size(21, 32)
Me.Label20.TabIndex = 28
Me.Label20.Text = ":"
'
'FlowLayoutPanel1
'
Me.FlowLayoutPanel1.BackColor = System.Drawing.Color.White
Me.FlowLayoutPanel1.BackgroundImage = CType(resources.GetObject("FlowLayoutPanel1.BackgroundImage"), System.Drawing.Image)
Me.FlowLayoutPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(19, 5)
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(219, 46)
Me.FlowLayoutPanel1.TabIndex = 29
'
'Form9
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
Me.ClientSize = New System.Drawing.Size(1085, 580)
Me.ControlBox = False
Me.Controls.Add(Me.FlowLayoutPanel1)
Me.Controls.Add(Me.Label20)
Me.Controls.Add(Me.Label19)
Me.Controls.Add(Me.ComboBox1)
Me.Controls.Add(Me.Label18)
Me.Controls.Add(Me.TextConst)
Me.Controls.Add(Me.Label17)
Me.Controls.Add(Me.Label16)
Me.Controls.Add(Me.TextUser)
Me.Controls.Add(Me.Button2)
Me.Controls.Add(Me.GroupBox1)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.DataGridView1)
Me.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Name = "Form9"
Me.Text = "Administrare tichete mentenanta"
CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit()
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents DataGridView1 As DataGridView
Friend WithEvents Label1 As Label
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents Label4 As Label
Friend WithEvents Label5 As Label
Friend WithEvents Label6 As Label
Friend WithEvents Label7 As Label
Friend WithEvents Label8 As Label
Friend WithEvents Label9 As Label
Friend WithEvents Label10 As Label
Friend WithEvents Label11 As Label
Friend WithEvents Label12 As Label
Friend WithEvents Label13 As Label
Friend WithEvents Button1 As Button
Friend WithEvents GroupBox1 As GroupBox
Friend WithEvents Button2 As Button
Friend WithEvents Label15 As Label
Friend WithEvents Label14 As Label
Friend WithEvents TextUser As TextBox
Friend WithEvents Label16 As Label
Friend WithEvents Label17 As Label
Friend WithEvents TextConst As TextBox
Friend WithEvents Label18 As Label
Friend WithEvents ComboBox1 As ComboBox
Friend WithEvents Label19 As Label
Friend WithEvents Label20 As Label
Friend WithEvents FlowLayoutPanel1 As FlowLayoutPanel
End Class

474
VS code/Form9.resx Normal file
View File

@@ -0,0 +1,474 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="FlowLayoutPanel1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAABU0AAAHDCAYAAAAQkzvuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAAFxEAABcRAcom8z8AAF9fSURBVHhe7d09suzIdSjcN4Ib1AwYirg+IzgBGRoAHRk3
nkOLdnvPpSmTbnu0ZdH/HA2ABiegiHaOq+gZ6Nu7+xRVRO86p1AFoJA7l7Gi++YpJDJRqASwkT//53/+
538AAAAAAHhXJgIAAAAAzKpMBAAAAACYVZkIAAAAADCrMhEAAAAAYFZlIgAAAADArMpEAAAAAIBZlYkA
AAAAALMqEwEAAAAAZlUmAgAAAADMqkwEAAAAAJhVmQgAAAAAMKsyEQAAAABgVmUiAAAAAMCsykQAAAAA
gFmViQAAAAAAsyoTAQAAAABmVSYCAAAAAMyqTAQAAAAAmFWZCAAAAAAwqzIRAAAAAGBWZSIAAAAAwKzK
RAAAAACAWZWJAAAAAACzKhMBA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AAMCsykQAAAAAgFmViQAAAAAAsyoT
AQAAAABmVSYCAAAAAMyqTAQAAAAAmFWZCAAAAAAwqzIRAAAAAGBWZSIAAAAAwKzKRAAAAACAWZWJAAAA
AACzKhMBAAAAAGZVJgIAAAAAzKpMBAAAAACYVZkIAAAAADCrMhEAAAAAYFZlIgAAAADArMpEAAAAAIBZ
lYkAAAAAALMqEwEAAAAA5vQ//+f/By4PBi+rkyMlAAAAAElFTkSuQmCC
</value>
</data>
</root>

107
VS code/Form9.vb Normal file
View File

@@ -0,0 +1,107 @@
Imports DocumentFormat.OpenXml.Wordprocessing
Imports Microsoft.Data.SqlClient
Imports System.Data.DataTable
Imports System.Timers
Public Class Form9
'setari pentru server
Dim DataString As String = My.Settings.subnet
Dim surce As String = My.Settings.serverName
Dim catalog As String = My.Settings.serverdatabase
Dim user As String = My.Settings.serverUser
Dim pass As String = My.Settings.serverUserpass
Dim timeout As String = My.Settings.timeout
Dim encrypt As String = My.Settings.encrypt
Dim trust As String = My.Settings.cert
Dim reason As String = My.Settings.reason
Dim subnet As String = My.Settings.subnet
Dim rowIdval As String ' gasirea randului din datagrid
Dim rowData As String
Dim rowOra As String
Dim rowZona As String
Dim rowmasina As String
Dim rowdefect As String
Dim rowstatus As String
Dim Timer1 As System.Timers.Timer
Private Sub Form9_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'updateTable()
Dim items As String() = New String() {"", "In Lucru", "Inchis"}
ComboBox1.DataSource = items
updateTable()
End Sub
Private Sub updateTable()
' updateul tabelului din datagrid care se face dupa fiecare conexiune la server
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("select top 14 * from dbo.mentenanta order by id desc", con)
Dim sda As New SqlDataAdapter(command)
Dim dt As New DataTable
sda.Fill(dt)
DataGridView1.DataSource = dt
con.Close()
Dim LTime As String 'string pentru SQL time
LTime = Date.Now.ToString("hh:mm") 'Format time
Label20.Text = LTime
End Sub
Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
Dim selectRow As Integer = e.RowIndex ' gasirea indezului din datagrid
If selectRow >= 0 Then 'gasirea id din randul selectat din datagrid
Dim selectedCellValue As String = DataGridView1.Rows(selectRow).Cells("id").Value.ToString()
rowIdval = selectedCellValue ' devinirea valorii lui rowIdVal pe baza selectarii din datagrid
Dim selectedCellValue1 As String = DataGridView1.Rows(selectRow).Cells("Data").Value.ToString()
rowData = selectedCellValue1 ' devinirea valorii lui rowData pe baza selectarii din datagrid
Dim selectedCellValue2 As String = DataGridView1.Rows(selectRow).Cells("Ora").Value.ToString()
rowOra = selectedCellValue2 ' devinirea valorii lui rowOra pe baza selectarii din datagrid
Dim selectedCellValue3 As String = DataGridView1.Rows(selectRow).Cells("zona").Value.ToString()
rowZona = selectedCellValue3 ' devinirea valorii lui rowzona pe baza selectarii din datagrid
Dim selectedCellValue4 As String = DataGridView1.Rows(selectRow).Cells("masina").Value.ToString()
rowmasina = selectedCellValue4 ' devinirea valorii lui rowzona pe baza selectarii din datagrid
Dim selectedCellValue5 As String = DataGridView1.Rows(selectRow).Cells("defect").Value.ToString()
rowdefect = selectedCellValue5 ' devinirea valorii lui rowzona pe baza selectarii din datagrid
Dim selectedCellValue6 As String = DataGridView1.Rows(selectRow).Cells("status").Value.ToString()
rowstatus = selectedCellValue6 ' devinirea valorii lui rowzona pe baza selectarii din datagrid
Label8.Text = rowIdval
Label9.Text = rowData
Label10.Text = rowOra
Label11.Text = rowZona
Label12.Text = rowmasina
Label13.Text = rowdefect
Label15.Text = rowstatus
End If
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Form1.Show() 'inchiderea formularului
Me.Close()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
' incarcare informatii noi in tabelul pentru mentenanta
Dim dta As String 'string pentru SQL data
dta = Date.Now.ToString("yyyy.MM.dd") ' format string
Dim dTime As String 'string pentru SQL time
dTime = Date.Now.ToString("hh:mm") 'Format time
Dim con As New SqlConnection("Data Source=" & surce & "; Initial Catalog=" & catalog & "; User ID=" & user &
"; Password=" & pass & "; Connect Timeout=" & timeout & "; Encrypt=" & encrypt &
"; TrustServerCertificate=" & trust & "; ApplicationIntent=" & reason & "; MultiSubnetFailover=" & subnet & "")
con.Open()
Dim command As New SqlCommand("update calitate.dbo.mentenanta set status = '" & ComboBox1.Text & "', datastart = '" & dta & "', Orastart = '" & dTime & "', constatare = '" & TextConst.Text & "', operator = '" & TextUser.Text & "' where id ='" & rowIdval & "' ", con)
command.ExecuteNonQuery()
con.Close()
updateTable()
End Sub
End Class

View File

@@ -0,0 +1,117 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<StartupObject>Sub Main</StartupObject>
<UseWindowsForms>true</UseWindowsForms>
<MyType>WindowsForms</MyType>
</PropertyGroup>
<ItemGroup>
<COMReference Include="Microsoft.Office.Core">
<WrapperTool>tlbimp</WrapperTool>
<VersionMinor>8</VersionMinor>
<VersionMajor>2</VersionMajor>
<Guid>2df8d04c-5bfa-101b-bde5-00aa0044de52</Guid>
<Lcid>0</Lcid>
<Isolated>false</Isolated>
<EmbedInteropTypes>true</EmbedInteropTypes>
</COMReference>
<COMReference Include="Microsoft.Office.Interop.Excel">
<WrapperTool>tlbimp</WrapperTool>
<VersionMinor>9</VersionMinor>
<VersionMajor>1</VersionMajor>
<Guid>00020813-0000-0000-c000-000000000046</Guid>
<Lcid>0</Lcid>
<Isolated>false</Isolated>
<EmbedInteropTypes>true</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<Import Include="System.Data" />
<Import Include="System.Drawing" />
<Import Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Update="Form10.vb" />
<Compile Update="Form18.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form17.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form16.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form2 - Copy.vb" />
<Compile Update="Form13.vb" />
<Compile Update="Form7.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form6.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="My Project\Application.Designer.vb">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Update="My Project\Resources.Designer.vb">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Update="My Project\Settings.Designer.vb">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Update="My Project\Settings.settings">
<CustomToolNamespace>My</CustomToolNamespace>
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="My Project\DataSources\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ClosedXML" Version="0.100.3" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.0" />
<PackageReference Include="Microsoft.Office.Interop.Excel" Version="15.0.4795.1001" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="7.0.0" />
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="20.4.0.44" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.117" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="MessagingToolkit.Barcode">
<HintPath>..\..\report print\waredata.com_RECEIPT\MessagingToolkit.Barcode.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel">
<HintPath>..\..\Microsoft.Office.Interop.Excel.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="My Project\Resources.resx">
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="Form1.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form10.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form11.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form12.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form14.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form15.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form2.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form3.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form4.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form5.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form13.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form8.vb">
<SubType>Form</SubType>
</Compile>
<Compile Update="Form9.vb">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,29 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33213.308
MinimumVisualStudioVersion = 10.0.40219.1
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "Management_Resurse_Companie", "Management_Resurse_Companie.vbproj", "{ACC1025E-F27D-47DA-8A60-0F0DC5E42C14}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Instal Management resurse Companie", "..\Quality scan\Quality scan.vdproj", "{4FC93D3C-AC39-4F1B-A8F8-B764FB6C7793}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ACC1025E-F27D-47DA-8A60-0F0DC5E42C14}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{ACC1025E-F27D-47DA-8A60-0F0DC5E42C14}.Debug|Any CPU.Build.0 = Release|Any CPU
{ACC1025E-F27D-47DA-8A60-0F0DC5E42C14}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACC1025E-F27D-47DA-8A60-0F0DC5E42C14}.Release|Any CPU.Build.0 = Release|Any CPU
{4FC93D3C-AC39-4F1B-A8F8-B764FB6C7793}.Debug|Any CPU.ActiveCfg = Release
{4FC93D3C-AC39-4F1B-A8F8-B764FB6C7793}.Release|Any CPU.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FA120826-0D16-428A-9C10-3402C8677093}
EndGlobalSection
EndGlobal

274
VS code/UpgradeLog.htm Normal file
View File

@@ -0,0 +1,274 @@
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
Migration Report
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1
{
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2
{
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3
{
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a
{
color: #1382CE;
}
/* Table styles */
table
{
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th
{
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td
{
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink
{
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover
{
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered
{
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell
{
width: 100%;
}
/* Padding around the content after the h1 */
#content
{
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table
{
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table
{
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded
{
min-width:18px;
min-height:18px;
background-repeat:no-repeat;
background-position:center;
}
/* Success icon encoded */
.IconSuccessEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconSuccess#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABcElEQVR4Xq2TsUsCURzHv15g8ZJcBWlyiYYgCIWcb9DFRRwMW5TA2c0/QEFwFkxxUQdxVlBwCYWOi6IhWgQhBLHJUCkhLr/BW8S7gvrAg+N+v8/v+x68Z8MGy+XSCyABQAXgBgHGALoASkIIDWSLeLBetdHryMjd5IxQPWT4rn1c/P7+xxp72Cs9m5SZ0Bq2vPnbPFafK2zDvmNHypdC0BPkLlQhxJsCAhQoZwdZU5mwxh720qGo8MzTxTTKZDPCx2HoVzp6lz0Q9tKhyx0kGs8Ny+TkWRKk8lCROwEduhyg9l/6lunOPSfmH3NUH6uQ0KHLAe7JYvJjevm+DAMGJHToKtigE+vwvIidxLamb8IBY9e+C5LiXREkfho3TSd06HJA13/oh6T51MTsfQbHrsMynQ5dDihFjiK8JJAU9AKIWTp76dCVN7HWHrajmUEGvyF9nkbAE6gLIS7kTUyuf2gscLoJrElZo/Mvj+nPz/kLTmfnEwP3tB0AAAAASUVORK5CYII=);
}
/* Information icon encoded */
.IconInfoEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconInformation#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHElEQVR4Xs2TsUoDQRRF7wwoziokjZUKadInhdhukR9YP8DMX1hYW+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/mv9gkhtyMDhcAxgzRsp7flj8B/HF1RsMXq+NZMkopaHe7lbKxQUEIGbKsYNoGn969060hZBkQex/W8oRQwsQaW2o3Ago2SVcJUzAgY3N0lTCZZm+zPS8HB51gMmS1DEYyOz9acKO1D8JWTlafKIMxdhvlfdyT94Vv5h7P8Ky7nQzACmhvKq3zk3PjW9asz9D/1oigecsioooAAAAASUVORK5CYII=);
}
/* Warning icon encoded */
.IconWarningEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconWarning#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/QGTCxdWJgiQYWKXJWKIXHIlyw5lqr34tQgEOdcBsCOx5yZK3hCCKdYXneQkh4pEfqzLfu+wVDSyyzFoJjfz9NB+pAF+eizx2Vruts0k15mPgvS6GYvpVtQhB61IB/dk6AF6fS4Ben0uIX5odtFe8Q/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/gFq44JaVSCXeQAAAABJRU5ErkJggg==);
}
/* Error icon encoded */
.IconErrorEncoded
{
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
/* [---XsltValidateInternal-Base64EncodedImage:IconError#Begin#background-image: url(data:image/png;base64,#Separator#);#End#] */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABQElEQVR4XqWTvUoEQRCE6wYPZUA80AfwAQz23uCMjA7MDRQEIzPBVEyNTQUFIw00vcQTTMzuAh/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+GsHRk0fQmPAH1GfmZirbCfDJ61tw3Px8/8pZsPAG4jlVhcPgZ7adwNWBB68lkRQWFiTgFlbnLY3DGGM7izIJIyT/jjIvEJw6fdJTc6krDzh6aMwMP9bvDH4ADSsa9uSWVJkAAAAASUVORK5CYII=);
}
</style><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
Migration Report - </h1><div id="content"><h2 _locID="OverviewTitle">Overview</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">Project</th><th _locID="PathTableHeader">Path</th><th _locID="ErrorsTableHeader">Errors</th><th _locID="WarningsTableHeader">Warnings</th><th _locID="MessagesTableHeader">Messages</th></tr><tr><td class="IconErrorEncoded" /><td><strong><a href="#Instal Excell">Instal Excell</a></strong></td><td>..\Instal Excell\Instal Excell.vdproj</td><td class="textCentered"><a href="#Instal ExcellError">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td class="IconSuccessEncoded" /><td><strong><a href="#Quality_Scan">Quality_Scan</a></strong></td><td>Quality_Scan.vbproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td class="IconSuccessEncoded" /><td><strong><a href="#Solution"><span _locID="OverviewSolutionSpan">Solution</span></a></strong></td><td>Quality_Scan.sln</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('Solution'); return false;">1</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">Solution and projects</h2><div id="messages"><a name="Instal Excell" /><h3>Instal Excell</h3><table><tr id="Instal ExcellHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr name="ErrorRowClassInstal Excell"><td class="IconErrorEncoded"><a name="Instal ExcellError" /></td><td class="messageCell"><strong>..\Instal Excell\Instal Excell.vdproj:
</strong><span>The application which this project type is based on was not found. Please try this link for further information: 54435603-dbb4-11d2-8724-00a0c9a8b90c</span></td></tr></table><a name="Quality_Scan" /><h3>Quality_Scan</h3><table><tr id="Quality_ScanHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td class="IconInfoEncoded" /><td class="messageCell" _locID="NoMessagesRow">Quality_Scan logged no messages.
</td></tr></table><a name="Solution" /><h3 _locID="ProjectDisplayNameHeader">Solution</h3><table><tr id="SolutionHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr name="MessageRowHeaderShowSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
Show 1 additional messages
</a></td></tr><tr name="MessageRowClassSolution" style="display: none"><td class="IconInfoEncoded"><a name="SolutionMessage" /></td><td class="messageCell"><strong>Quality_Scan.sln:
</strong><span>The solution file does not require migration.</span></td></tr><tr style="display: none" name="MessageRowHeaderHideSolution"><td class="IconInfoEncoded" /><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
Hide 1 additional messages
</a></td></tr></table></div></div></body></html>