Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub JoinFiles(ByVal File1 As String, ByVal File2 As String, ByVal SaveAs As String)
Dim intFF As Integer, strBuffer As String
Dim lonL1 As Long, lonL2 As Long
lonL1 = FileLen(File1)
lonL2 = FileLen(File2)
'Allocate space for the 2 files.
strBuffer = Space$(lonL1 + lonL2)
intFF = FreeFile
Open File1 For Input As #intFF
Mid$(strBuffer, 1, lonL1) = Input(LOF(intFF), intFF)
Close #intFF
intFF = FreeFile
Open File2 For Input As #intFF
Mid$(strBuffer, lonL1 + 1) = Input(LOF(intFF), intFF)
Close #intFF
intFF = FreeFile
'Write new file.
Open SaveAs For Output As #intFF
Print #intFF, strBuffer
Close #intFF
strBuffer = ""
End Sub