Ray,
Thanks for the help. It works if the file in on the server side, how to use
the component (DSOleFile) with the file on the client side? Also how can I
calculate the width of the file. (Page set up - Landscape or porrait).
"Ray Costanzo [MVP]" wrote:
[color=blue]
> You can try using this: http://support.microsoft.com/?kbid=224351
>
> I don't know what you mean about width of length of a file though...
> <%
> Dim oDSO, oProps
> Set oDSO = CreateObject("D SOleFile.Proper tyReader")
> Set oProps = oDSO.GetDocumen tProperties("C: \path\to\file.x ls")
>
> Response.Write oProps.Version
>
> Set oProps = Nothing
> Set oDSO = Nothing
> %>
>
> Ray at work
>
> "akn" <akn@discussion s.microsoft.com > wrote in message
> news:A2E139BB-A6BD-4417-8BEC-2A93904DA5B0@mi crosoft.com...[color=green]
> > Help. I need to load Excel file from client into a database in asp, before
> > loading I need to verify the excel version and the file width ( and if
> > possible length).
> >[/color]
>
>
>[/color]
Thanks for the help. It works if the file in on the server side, how to use
the component (DSOleFile) with the file on the client side? Also how can I
calculate the width of the file. (Page set up - Landscape or porrait).
"Ray Costanzo [MVP]" wrote:
[color=blue]
> You can try using this: http://support.microsoft.com/?kbid=224351
>
> I don't know what you mean about width of length of a file though...
> <%
> Dim oDSO, oProps
> Set oDSO = CreateObject("D SOleFile.Proper tyReader")
> Set oProps = oDSO.GetDocumen tProperties("C: \path\to\file.x ls")
>
> Response.Write oProps.Version
>
> Set oProps = Nothing
> Set oDSO = Nothing
> %>
>
> Ray at work
>
> "akn" <akn@discussion s.microsoft.com > wrote in message
> news:A2E139BB-A6BD-4417-8BEC-2A93904DA5B0@mi crosoft.com...[color=green]
> > Help. I need to load Excel file from client into a database in asp, before
> > loading I need to verify the excel version and the file width ( and if
> > possible length).
> >[/color]
>
>
>[/color]