>I am having a couple of problems adding Foxaudit6 to a MM 7.0 app. I am not sure if the problems are related or not.
>
>The first problem is that the icons do not appear in the buttons in the upper left of the log view window. The icons have been copied from the 'Foxaudit6' directory into the 'Graphics' directory of the project and the 'Graphics' directory is included in the project path. The icons are included in the 'Other Files' section of the project and the path for the icons for the fa_close icon for example is c:\foxaudit6\fa_close.bmp. Foxaudit6 is in the project path.
>
>The app runs in the development mode without any problem except the buttons are blank. If I click on the buttons the click event triggers and processing is as it should be.
>
Try setting the path for the icons using this format -
="fa_close.bmp"
>The second problem is the when the app is run on a production machine (no fox software loaded) the error 'Unable to Load Foxaudit' occurs.
>
>The special code generated by step 5 of the setup wizard is in the 'Main' prg and runs correctly. It runs before the'setup' prg is run. the only change I made was to substitute sys(5) in place of the hard coded dirve letter.
>
>The project includes the foxaudit.vcx, and the foxauditloader class (subclass of cfoxaudit) is included in my acompnet.vcx. Entries appear OK.
>
>The addchildren method of the application object contains amoung other things:
> This.Add('oFoxAuditLoader', 'FoxAuditLoader')
Make sure you 'do main' in debug mode (DEBUG.TXT) so that the metadata.dbf will be rebuilt. Remember MM uses this file to build the SET CLASSLIB TO statement. Are you including metadata in your project?
HTH
Dan