Results 1 to 5 of 5

Thread: Error 52:bad file name or number on Win 2000

  1. #1

    Thread Starter
    Junior Member desch's Avatar
    Join Date
    Aug 2000
    Location
    Paris, France
    Posts
    28

    Error 52:bad file name or number on Win 2000

    Hello everybody

    I have done an install Procedure with Inno setup
    It's working well on all platform (Win NT/ 2000/...)
    the Software application work on Win NT 4.0 but not on Window 2000. In the splash there is the message "error 52:Bad file name or number " ; I don't known why it's working well on OS like Win NT and not on Win 2000

    For information I have VB 6.0 SP5 and Inno setup to install software

    If you have the answer...

    Thanks

    David

  2. #2

    Thread Starter
    Junior Member desch's Avatar
    Join Date
    Aug 2000
    Location
    Paris, France
    Posts
    28

    software I have done

    I have news about this subject
    I have tested this software on Windows 2000 with DAO 3.5 and Excel: Ok

    I have tested this software on Windows XP with DAO 3.5 and Excel: Ok

    I have tested this software on Windows 98 with Office 97: Ok

    There s only one machine which doesn't work
    I think DAO hasn't been installed; so I test it

    this software is simple ; it's work with Excel 8.0 Library, DAO 3.5...

    only executable doesn't work
    I 'm looking for why ....

  3. #3
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Sounds like you are working with VBA(Visual Basic for Applications)
    since you are using DAO. I would post this in the Database forum though because this is a Java forum. And why arent you using DAO anyway? DAO 3.6 i believe is the last type library which i being phased out. You should be using ADO. But that's just my opinion.

  4. #4

    Thread Starter
    Junior Member desch's Avatar
    Join Date
    Aug 2000
    Location
    Paris, France
    Posts
    28

    Talking Sure you're right

    I will had to use ADO instead DAO but My company ask me to develop quickly a software and I know DAO ; I have make it in 1 month. So I had'nt any time to learn ADO

    but I have found my error
    This is a bug I have done

    I do a recursif research to find the default directory. On my computer the default directory is d:\... . That's the problem. On certain computer, D is the cdrom drive; so when I do the Dir Function on cd rom( because there no cdrom into cdrom drive) I have this error "Error 52..."

    Sorry for all; next time I pay attention about that

    Thanks

  5. #5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width