Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ActiveX is sometimes calling FMP ver 6 not ver 8

Featured Replies

I have a VBasic program that calls a run script via ActiveX. for the most part it runs fine, but since I have both FMP versions 6 and 8.5 installed, The ActiveX activates the Version 6 copy of FMP sometimes. If I reboot and then run FMP Ver 8.5 it works fine. as soon as I run ver 6, its continues to try and call it. The program then crashes, debuging reports a Runtime error '13': Type mismatch on the following line:

Set FMApp = CreateObject("FMPro.Application")

FMApp is defines as follows:

Dim FMApp As FMPro70Lib.Application

Has anyone had this problem or a suggestion on fixing it?

With fingers crossed,

Charles

the problem is with this call:

Set FMApp = CreateObject("FMPro.Application")

Because of the way FM implemented this it will always open or hook into the version of FM that was last opened manually. So you don't have to reboot to fix it, just close all FileMaker copies and launch 8.5. All calls will now go there.

You don't need this call in a real VB app though, you can do something like:

set FMapp = new FMPro70.Lib.application

Which gets around the whole problem. The Createobject call is more useful in VBscripts.

  • Author

GREAT!

That seems to be the problem, I really appriciate your help Wim

Charles

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.