Hi there!
I have a Applicaction that uses as DB Engine MySQL, y use mysqldump.exe to Backup and MySql.exe to restore the DB.
I use Shell to run the EXEs which works great on (Vista 64), (Win 7 x86) Both with VB6 installed.
The Code I use to Restore:
UNTIL I install the program on a clean (Win 7 64) OS.
It just simply wont run the EXEs from my application, I have deduced that has to do some how with Administrative Privileges because
- I have tried to run EXEs from CMD directly without "As Adminsitrator" and is not working.
- But if i run it "As Adminsitrator" it works Great.
The Compiled EXE has being ran as Administrator and still not working.
What do you think it could be?
Thanks
I have a Applicaction that uses as DB Engine MySQL, y use mysqldump.exe to Backup and MySql.exe to restore the DB.
I use Shell to run the EXEs which works great on (Vista 64), (Win 7 x86) Both with VB6 installed.
The Code I use to Restore:
Code:
Shell("cmd.exe /c " & Chr(34) & App.Path & "\MySql.exe" & Chr(34) & " -u root --password=12345678 --host=localhost --port=3306 --default-character-set=latin1 MyDataBase < " & Chr(34) & App.Path & "\" & strNameFile & Chr(34), vbNormalFocus)
UNTIL I install the program on a clean (Win 7 64) OS.
It just simply wont run the EXEs from my application, I have deduced that has to do some how with Administrative Privileges because
- I have tried to run EXEs from CMD directly without "As Adminsitrator" and is not working.
- But if i run it "As Adminsitrator" it works Great.
The Compiled EXE has being ran as Administrator and still not working.
What do you think it could be?
Thanks