We have a home grown program that uses Access2010 to pull data into a database to run reports off of. There is an .msi installer for this "reports" program that creates a shortcut on the desktop, it brings down the latest version of the Access database(usually 82MB) and puts it under a folder on %program Files%, and it also creates 2 ODBC connections to servers. I'm building it on an XP SP3 VM using VMware Workstation, and Thinapp 4.7.3. I installed just Access prior to running the prescan. I also have to join the VM to our domain, because it goes out to a server location for files...
After I build the program and test it on a Win7 32 bit VM, i run into usually two errors. One of the errors is once it starts opening Access I get the error "Microsoft Visual Basic for Applications" File not found: VBA6.DLL. Other times I get the error that it cannot find the file or location of the database and it's looking for the database in the %program files% folder it installed to in the first place. But because of the sandbox thingy the database obviously is not there. It's under %Appdata%
I've tried downloading a copy of the VBA6.DLL and registering it, but it says it's am invalid .dll. I have it running successfully on 1 Win7 VM right now, but can't figure out why it works on that, and not a fairly identical VM. The one it's working on, Office2010 is Thinapp'd. So I installed the ThinApp'd Office to the other VM and it gave me the file not found error. Where before I was getting the VB error. So I manually copied the database from a PC, and it get's in ok, but when I run something it gives me ODBC errors.
What am I doing wrong, or what should I be doing? I don't change anything in the Package.ini besides the MSI Manufacturer. Is this even possible to ThinApp? My co-workers will take me out to lunch if I get this working properly since it's kind of a headache to our customers, it breaks randomly. Also, I only select 1 entry point even though several are created. Help!