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.

FileMaker and VB.NET

Featured Replies

Hi! I have to check for a registry key, I was using tiral of WinBatchm, but run out of time, so I made a small app that read the key, end return wheter 0 or 1 in a text file key.txt, then I import that file in fileMaker. The problem is that when I run the readKey.exe from FileMaker, it doesnt generate any text file, when I run it myself it works. Is there any trick to do when talking from FileMaker to .NET !?!?!?

BTW, I'm not sure I posted in the correct forum, feel free to move to the appropriate place, thank you!.

How do you call the exe?

I do this kind of thing all the time so it should work.

  • Author

readKey.exe and I will have another one called clearKey.exe

I think what Wim means is, how are you launching the .exe files from within filemaker. (The send event script step, for example)

  • Author

I call it with Send Message["readKey.exe","aevt","odoc"]

  • Author

well.. it works fine now. I don't really know why though... in my .net script, I change the file created at "key.txt" to "c:key.txt" and it works just fine... anyone would habe an idea?

A better way is to use a full command line syntax in the Send message instead of using the "open" in Send Message.

A command line like:

cmd /c c:someFolderyourExe.exe

Benefits:

- you can calculate this string to put in any location

- you can pass command line parameters to the exe

- much easier to troubleshoot by using "/k" instead of "/c"

I believe that if you do not specify the full path then VB.net or VB file uses app to create the file in the directory from which the application is running or in the common files folder. A best way to see whether a file is created is by using a msgbox step after the creation code.

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.