API Einstellungen, Überstundenauszahlung, Sammelrechnungsdruck, etc
This commit is contained in:
3
VERAGAddIn/rbnMailItem.Designer.vb
generated
3
VERAGAddIn/rbnMailItem.Designer.vb
generated
@@ -41,7 +41,6 @@
|
|||||||
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
<System.Diagnostics.DebuggerStepThrough()>
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.components = New System.ComponentModel.Container()
|
|
||||||
Me.Tab1 = Me.Factory.CreateRibbonTab
|
Me.Tab1 = Me.Factory.CreateRibbonTab
|
||||||
Me.Group1 = Me.Factory.CreateRibbonGroup
|
Me.Group1 = Me.Factory.CreateRibbonGroup
|
||||||
Me.Button1 = Me.Factory.CreateRibbonButton
|
Me.Button1 = Me.Factory.CreateRibbonButton
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
Me.btnGestellungsgarantien = Me.Factory.CreateRibbonButton
|
Me.btnGestellungsgarantien = Me.Factory.CreateRibbonButton
|
||||||
Me.btnInfo = Me.Factory.CreateRibbonButton
|
Me.btnInfo = Me.Factory.CreateRibbonButton
|
||||||
Me.btnUnsichtbar = Me.Factory.CreateRibbonButton
|
Me.btnUnsichtbar = Me.Factory.CreateRibbonButton
|
||||||
Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon(Me.components)
|
Me.NotifyIcon1 = New System.Windows.Forms.NotifyIcon()
|
||||||
Me.Tab1.SuspendLayout()
|
Me.Tab1.SuspendLayout()
|
||||||
Me.Group1.SuspendLayout()
|
Me.Group1.SuspendLayout()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
|
|||||||
@@ -136,12 +136,14 @@ Public Class AVISO_Mail_Functions
|
|||||||
Shared Sub addMailToAviso(mailItem As Outlook.MailItem, sender As Object)
|
Shared Sub addMailToAviso(mailItem As Outlook.MailItem, sender As Object)
|
||||||
Try
|
Try
|
||||||
If mailItem IsNot Nothing Then
|
If mailItem IsNot Nothing Then
|
||||||
' Remove special characters from the file name and make sure it is not longer than 100 characters
|
|
||||||
' Remove special characters from the file name and make sure it is not longer than 100 characters
|
' Remove special characters from the file name and make sure it is not longer than 100 characters
|
||||||
Dim strFileName As String = "E-Mail"
|
Dim strFileName As String = "E-Mail"
|
||||||
If mailItem.Subject IsNot Nothing AndAlso mailItem.Subject <> "" Then
|
If mailItem.Subject IsNot Nothing AndAlso mailItem.Subject <> "" Then
|
||||||
strFileName = Left(Regex.Replace(mailItem.Subject, "[\/\\\:\?!€,&'\*\<\>\|""]", ""), 100).Replace("""", "").Replace(vbTab, " ") & ".msg"
|
strFileName = Left(Regex.Replace(mailItem.Subject, "[\/\\\:\?!€,&'\*\<\>\|""]", ""), 100).Replace("""", "").Replace(vbTab, "_")
|
||||||
strFileName = VERAG_PROG_ALLGEMEIN.cDATENSERVER.replaceInvalidCahr(strFileName)
|
strFileName = VERAG_PROG_ALLGEMEIN.cDATENSERVER.replaceInvalidCahr(strFileName)
|
||||||
|
strFileName = strFileName.Replace("?", "")
|
||||||
|
strFileName = strFileName.Replace(".", "")
|
||||||
|
strFileName &= ".msg"
|
||||||
End If
|
End If
|
||||||
'Dim strFileName As String = "Mail.msg"
|
'Dim strFileName As String = "Mail.msg"
|
||||||
Dim pdf_mail = ""
|
Dim pdf_mail = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user