Have VISUAL automatically open your "Start Up" windows after signing in
VISUAL doesn't have this as a built-in feature - but that's not to say we can't make it happen.
We can use a VMX file to achieve this.
VMX files are shortcuts to specific records in VISUAL. You may have come across them if you have ever used the Send To feature in VISUAL - they will be attached to emails for recipients to open. VMX files are associated to the VISUAL application - so the system will know what to do when the user double clicks on them.
The VMX file is basically a text file that VISUAL reads and executes. If you look at the contents of the file (using a text editor like Notepad), you will notice that all VMX files start with LSASTART. The next line indicates the module (program) to open and the document id to retrieve.
For example, if we wanted the VMX file to open Customer Order Id 123897, the file would contain:
VMORDENT refers to Customer Order Entry window - which is the VMORDENT.EXE executable file. The 123897 is the customer order record to retrieve. The tilde("~") is used to separate the program file and the record.
Now why am I explaining this?
Well, we can use this in our VISUAL hack. The VMX file does not limit us to the number of programs to open at once. And the document id reference is optional - meaning we can just reference the program without having it retrieve a record.
And another thing, because the VMX file is associated with VISUAL - the system will check whether you are signed in. If you are not, the Sign In window will appear before opening your windows.
So, all you need to do is create a VMX file with all the VISUAL windows you want to have opened after signing in. This VMX will now be your Shortcut to Signing into VISUAL (as oppose to your standard sign in shortcut pointing to the VM.exe file)
Here's a quick Walk-Through
- Create a new file using your favorite text editor (like Notepad)
- Enter "LSASTART" on the first line
- On the next line(s), enter the program name(s) of the VISUAL window(s) you want opened as part of your startup. For example, if you want Part Maintenance, Customer Order Entry and Material Planning Window to be part of your start up - you should have the following:
If you are not sure of the program name, you can look this up by calling up the window in VISUAL and selecting "About..." under the Help menu.
- Save the file to your desktop. Be sure to save it with a "VMX" extension.
- At lastly, make sure VMX files are associated to VISUAL.
To do this, right click on your VMX file - and select OPEN WITH from the popup menu.
Select Infor VISUAL from list of applications (and check the checkbox to always use the application) - and click the OK to confirm