|
-
Dec 17th, 2001, 11:16 AM
#1
Thread Starter
Junior Member
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
-
Dec 18th, 2001, 04:35 AM
#2
Thread Starter
Junior Member
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 ....
-
Dec 18th, 2001, 02:03 PM
#3
Dazed Member
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.
Last edited by Dilenger4; Dec 19th, 2001 at 12:58 PM.
-
Dec 19th, 2001, 04:17 AM
#4
Thread Starter
Junior Member
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
-
Dec 19th, 2001, 01:00 PM
#5
Dazed Member
yeah that makes sense. If youre pressed for time and you know DAO then that would be the way to go.
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
|