Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Launching OI 10 with multiple entry points (OpenInsight 64-bit)

At 23 NOV 2020 12:37:05PM rdhull50 wrote:

Is it possible to create a shortcut that open OI 10.8.1 with a different Entry Point. I.e. to have a different entry point open from a shortcut than is specified in the config file?

I guess another way of asking this is: Can you launch a specific Entry point from the command line in a shortcut which overrides the entry point specified in the config?

I want to have a shortcut that launches OI 10 with an MDI frame, but also want a shortcut that will launch OI using the AREV64_STANDALONE_FORM. In both cases it would be launching the same named application. Just that one is the OI 10 version and one is the AREV64 version.

I'm guessing that this might be accomplished by creating an MDI frame that calls a login page where you select the form to launch? If that is the only way to do it, then I would appreciate some guidance.

Thanks

Robert Hull


At 23 NOV 2020 12:52PM Carl Pates wrote:

Hi Robert,

Does the AutoForm (/AF=) switch work for you? (Sorry, it appears to be missing from the online documentation on this website, otherwise I'd give you a link).

autoForm

This option specifies the name of a form to execute at startup, overriding both the IDE (if in DevMode) or the Application Entry Point (if in RunMode).

In the RXI file you can use the "autoForm" element:

   <revPS>

      <autoForm>MY_FORM_NAME</autoForm>

   </revPS>

On the command line you use the /AF switch

   C:\RevSoft\OpenInsight\OpenInsight.exe /AF=MY_FORM_NAME

etc…

Carl Pates


At 23 NOV 2020 01:03PM rdhull50 wrote:

Carl, that's perfect. Exactly what I needed.

Nothing beats good documentation!

Robert Hull


At 24 NOV 2020 07:18AM cmeyer wrote:

You can also have any custom switched in shortcut and read the shortcut details in your login commuter module. I do this all the time when I wish to attach different customer databases e.d …/un=cm /dv /dp=c:\customer1.data where I look for a "dp=" and attach the appropriate database. I chose "DP" to represent DataPath.

May this helps as well.

Chris

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ce3fd05a1e50754cb61ed1d09a426293.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1