|
-
Jul 17th, 2000, 11:54 AM
#1
Thread Starter
Addicted Member
Howdy!
I'm trying to figure out how to use DHTML. When I get an error with this code: WHY?
Private Function Store_onclick() As Boolean
PutProperty BaseWindow.Document, "Property1",TxtField1.Value
End Function
I get a Type Mismatch error.
DHTML.bas
Public Sub PutProperty(objDocument As HTMLDocument, strName As String, vntValue As Variant, Optional Expires As Date)
objDocument.cookie = strName & "=" & CStr(vntValue) & _
IIf(CLng(Expires) = 0, "", "; expires=" & Format(CStr(Expires), "ddd, dd-mmm-yy hh:mm:ss") & " GMT") ' & _
End Sub
Thanx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|