asp_components thread: DateTimePicker Not Displayed. No download of Cab file.
Hi all,
I have following code in my ASP page:
Response.Write "<object name='" & DtTmName & "' classid='clsid:20DD1B9E-
87C4-11D1-8BE3-0000F8754DA1' " & vbCr
Response.Write "CODEBASE=""Mscomct2.cab#ver=2,0""" & vbCR
Response.Write "id='" & DtTmName & "' height='22' align=middle"
if DataFormat = "DATE" then
Response.Write " width='120'>" & vbCr
else
Response.Write " width='70'>" & vbCr
end if
The cab file is located in root folder of the application.
Yet, the file is not downloaded to the client and hence
no DateTimePicker control is displayed.
I downloaded the file from
http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB
No matter how many times I refresh, the object just refuses to be
displayed.
Thanks
- Anant