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 - VB.NET not working once FM solution is stand-alone runtime

Featured Replies

Hi!

I have a filemaker script that uses VB.NET. It works just great while the file is .fp5, but it give me an error once the file is binded as a Stand-Alone Runtime... it says it "cannot create activex component"... Someone can help me???

I'm using FileMaker 6

Edited by Guest

  • Author

Let's say I have this VB.NET code,


    Sub Main()

        Dim FMApp As FMPRO50Lib.Application

        Dim FMDocs As FMPRO50Lib.Documents

        Dim FMFile As FMPRO50Lib.Document



        Dim rgk As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARESoft 3DSigns PRO", True)



        Try

            FMApp = CreateObject("FMPRO.Application")

        Catch ex As Exception

            MsgBox(ex.ToString)



        End Try



        FMApp.Visible = True



        FMDocs = FMApp.Documents

        FMFile = FMDocs.Open(Application.StartupPath & "Soft 3D Signs 3.8.EXE", "")





        If rgk.GetValue("reg") <> 1 Then

            FMFile.DoFMScript("perform_registration_check")

        Else

            FMFile.DoFMScript("startSoft")

        End If



        FMDocs = Nothing

        FMFile = Nothing

        FMApp = Nothing

    End Sub

Is it possible to open the runtime version (EXE) or it only works when opening USR or FP5 file??

Edited by Guest

Like most "external" APIs in FileMaker, there is no ActiveX available in a runtime, only in the real version of FM.

As a side note, if you want to avoid the "createObject" call, check out the VB.NET sample project I have up on my website: www.connectingdata.com (downloads section)

  • 1 month later...

Take a look at this. It works in our kiosk. Link

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.