To display the number of bytes in a textbox.
This does not answer your question, but do what you want easily, without
open the database file for file size:
Dim fileSize as long
fileSize=FileLength("C:\....\filename.mdb")
> To display the number of bytes in a textbox.
>
[quoted text clipped - 11 lines]
>> >
>> > Ideas? TIA - Bob
Bob Barnes - 18 May 2008 02:01 GMT
Works great..Since 1999..until now.
FileNum = FreeFile()
N = "C:\Bob\ABC.mdb"
Open "C:\Bob\ABC.mdb" For Input As #FileNum
FileLength = LOF(FileNum)
Close #FileNum
lblShowSize.Caption = "Front-end = " & Format(FileLength, "##,##") & " Bytes."
> This does not answer your question, but do what you want easily, without
> open the database file for file size:
[quoted text clipped - 17 lines]
> >> >
> >> > Ideas? TIA - Bob