This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Split() Alternative function | |
'Coded By hamavb | |
'MSVBVM60.rtcSplit | |
'MSVBVM60.__vbaAryCopy | |
Public Type WeirdType | |
e1 As Long | |
e2 As Long | |
e3 As Long | |
e4 As Long |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternatime_RTrim Function | |
'MSVBVM60.rtcRightTrimBstr | |
Private Declare Function rtcRightTrimBstr Lib "MSVBVM60" (ByVal ItemPtr As String) As String | |
Function Alternatime_RTrim(ByVal StrItem As String) As String | |
Alternatime_RTrim = StrConv(rtcRightTrimBstr(StrConv(StrItem, vbUnicode)), vbFromUnicode) | |
End Function | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternatime_LTrim Function | |
'MSVBVM60.rtcLeftTrimBstr | |
Private Declare Function rtcLeftTrimBstr Lib "MSVBVM60" (ByVal ItemPtr As String) As String | |
Function Alternatime_LTrim(ByVal StrItem As String) As String | |
Alternatime_LTrim = StrConv(rtcLeftTrimBstr(StrConv(StrItem, vbUnicode)), vbFromUnicode) | |
End Function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternatime_Trim Function | |
'MSVBVM60.rtcTrimBstr | |
Private Declare Function rtcTrimBstr Lib "MSVBVM60" (ByVal ItemPtr As String) As String | |
Function Alternatime_Trim(ByVal StrItem As String) As String | |
Alternatime_Trim = StrConv(rtcTrimBstr(StrConv(StrItem, vbUnicode)), vbFromUnicode) | |
End Function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternative_Environ Function | |
'MSVBVM60.rtcEnvironBstr | |
Private Declare Function rtcEnvironBstr Lib "MSVBVM60" (ByVal ItemPtr As Long) As String | |
Function Alternative_Environ(ByVal Item As Variant) As String | |
Alternative_Environ = StrConv(rtcEnvironBstr(Item), vbFromUnicode) | |
End Function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternative_CInt Function | |
'MSVBVM60.__vbaI2Str | |
Declare Function vbaI2Str Lib "msvbvm60" Alias "__vbaI2Str" (ByVal sStr As String) As Long | |
Public Function Alternative_CInt(ByVal expression As Variant) As Long | |
Dim Exp As String | |
Exp = expression | |
Alternative_CInt = vbaI2Str(StrConv(Exp, vbUnicode)) | |
End Function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Alternative_CLng Function | |
'MSVBVM60.__vbaI4Str | |
Declare Function vbaI4Str Lib "msvbvm60" Alias "__vbaI4Str" (ByVal sStr As String) As Long | |
Public Function Alternative_Clng(ByVal expression As Variant) As Long | |
Dim Exp As String | |
Exp = expression | |
Alternative_Clng = vbaI4Str(StrConv(Exp, vbUnicode)) | |
End Function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Lbound Alternative Function | |
'MSVBVM60.__vbaLbound | |
Public Declare Function iLBound Lib "MSVBVM60" Alias "__vbaLbound" (ByVal ptr As Long, ByVal Exp As Long) As Long | |
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Long, ByVal Length As Long) | |
Public Function Alternative_LBound(vbv As Variant) As Long | |
Dim a As Long | |
Dim aa As Long | |
a = VarPtr(vbv) + &H8 | |
CopyMemory aa, ByVal a, &H4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Ubound Alternative Function | |
'MSVBVM60.__vbaUbound | |
Public Declare Function iUBound Lib "MSVBVM60" Alias "__vbaUbound" (ByVal ptr As Long, ByVal Exp As Long) As Long | |
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Long, ByVal Length As Long) | |
Public Function Alternative_UBound(vbv As Variant) As Long | |
Dim a As Long | |
Dim aa As Long | |
a = VarPtr(vbv) + &H8 | |
CopyMemory aa, ByVal a, &H4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'InStrRev Alternative function | |
'MSVBVM60.rtcInStrRev | |
Public Declare Function InStrRev Lib "MSVBVM60" Alias "rtcInStrRev" (ByVal Exp As String, ByVal Find As String, Optional ByVal Start As Long = -1, Optional ByVal Compare As VbCompareMethod = vbBinaryCompare) As Long | |
Public Function Alternative_InStrRev(ByVal Exp As String, ByVal Find As String, Optional ByVal Start As Long = -1, Optional ByVal Compare As VbCompareMethod = vbBinaryCompare) As Long | |
Alternative_InStrRev = InStrRev(StrConv(Exp, vbUnicode), StrConv(Find, vbUnicode), Start, Compare) | |
End Function |
NewerOlder