if what you want to know is "When does the user clicks outside the form?" so:
if there is only one form, try using the "lost focus" procedure.
well, if you want to write a file like:
(start of the file:)
hello hello
good bye
(end of file)
so you must open the file for binary, and when you want to change line put chR$(13) + chr$(10)
eg:
open "helo.txt" for binary as #1
j$ = "Hello!" + chr$(13) + chr$(10) +...
This is correct:
Private Type TypeSample
Var1 As Currency
Var2 As Long
Var3 As String
End Type
Sub hello()
Dim T As TypeSample
T.Var1 = "123"
T.Var2 = "1234"
T.Var3 = "Right!!!"
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.