check if the file is opened before uploading using javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lipsa
    New Member
    • Aug 2006
    • 35

    check if the file is opened before uploading using javascript

    hello all,
    1-i m uploading an excel sheet(VB/ASP.NET).before uploading i want to check if the file to be uploaded is opened or not.if opened alert the user.i want to do it at the client side(using javascript).
    2-i m using the follwing connection string ,which is giving me the fiollowing error.
    "Keyword not supported: 'provider'".wha ts wrong?
    strConn = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" + _strFullPathFil eName + ";Extended Properties=""Ex cel 8.0;HDR=Yes;IME X=1"""

    Regards,
    lipsa
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    This wouldn't be possible with JavaScript. Perhaps some ActiveX (IE-only) in a reduced security environment might work.

    Comment

    Working...