Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2cf83ce8
Kaydet (Commit)
2cf83ce8
authored
Eki 03, 2015
tarafından
Jean-Pierre Ledure
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Access2Base - new HtmlEncode property of Application object
Change-Id: I6eb68f78d32b1d73969d37f6991ff0ef3e795606
üst
749a0845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
Application.xba
wizards/source/access2base/Application.xba
+34
-0
No files found.
wizards/source/access2base/Application.xba
Dosyayı görüntüle @
2cf83ce8
...
...
@@ -899,6 +899,40 @@ Error_Function:
GoTo Exit_Function
End Function
'
Forms V0.9.0
REM -----------------------------------------------------------------------------------------------------------------------
Function HtmlEncode(ByVal pvString As Variant, ByVal Optional pvLength As Variant) As String
'
Converts a string to an HTML-encoded string.
If _ErrorHandler() Then On Local Error Goto Error_Function
Const cstThisSub =
"
HtmlEncode
"
Utils._SetCalledSub(cstThisSub)
HtmlEncode =
""
Dim sOutput As String, l As Long, lLength As Long
If IsMissing(pvLength) Then pvLength = 0
If Not Utils._CheckArgument(pvString, 1, vbString) Then Goto Exit_Function
If Not Utils._CheckArgument(pvLength, 1, _AddNumeric()) Then Goto Exit_Function
sOutput =
""
lLength = CLng(pvLength)
If Len(pvString)
>
0 Then
For l = 1 To Len(pvString)
If lLength
>
0 And Len(sOutput)
>
lLength Then Exit For
sOutput = sOutput
&
Utils._UTF8Encode(Mid(pvString, l, 1)
Next l
End If
HtmlEncode = sOutput
Exit_Function:
Utils._ResetCalledSub(cstThisSub)
Exit Function
Error_Function:
TraceError(TRACEABORT, Err, cstThisSub, Erl)
GoTo Exit_Function
End Function
'
HtmlEncode V1.4.0
REM -----------------------------------------------------------------------------------------------------------------------
Public Function OpenConnection ( _
Optional pvComponent As Variant _
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment