How to: hide the Navision "Shell" ?

mvliet
Member Posts: 22
I'm looking for a way to display a Navision Forum without displaying the Navision Shell..
A Co-worker sayed he has seen it for Barcode and/or Cashregister Addons for Navision...and i want to do that as well !
I'm looking at VB windows Handler routines and all but can't find anything just yet !
Does anyone ever managed to do such a thing... or is this a Myth :roll: ?
Thanx in advance
A Co-worker sayed he has seen it for Barcode and/or Cashregister Addons for Navision...and i want to do that as well !
I'm looking at VB windows Handler routines and all but can't find anything just yet !
Does anyone ever managed to do such a thing... or is this a Myth :roll: ?
Thanx in advance
0
Comments
-
I am not sure I understood correctly, but if you want to launch a DOS-command without showing the DOS-box, try this:
variables:Name DataType Subtype Length Laut Automation 'Windows Script Host Object Model'.WshShell
DosShell(ItxtCommand : Text[1024];IintWindowStyle : Integer;IblnWaitForEndOfCommand : Boolean) OintReturnValue : Integer // DosShell //*** 109 // Works like SHELL and HYPERLINK of Navision but without the annoying confirmation-request of Navision 4.00 // (this function uses automation 'Windows Script Host Object Model'.WshShell) // PARAMETERS: // ItxtCommand : command + parameters for the SHELL // IintWindowStyle : Type of window for command // 0:Hides the window and activates another window. (=Doesn't even show a window, to kill the doscommand, // you have to do it with taskmanager=>Processes) // 1:Activates and displays a window. If the window is minimized or maximized, the system restores // it to its original size and position. An application should specify this flag when displaying // the window for the first time. (=shows the window as normal window) // 2:Activates the window and displays it as a minimized window. (=shows as minimized) // 3:Activates the window and displays it as a maximized window. (=shows as maximized) // 4:Displays a window in its most recent size and position. The active window remains active. // 5:Activates the window and displays it in its current size and position. // 6:Minimizes the specified window and activates the next top-level window in the Z order. // 7:Displays the window as a minimized window. The active window remains active. // 8:Displays the window in its current state. The active window remains active. // 9:Activates and displays the window. If the window is minimized or maximized, the system // restores it to its original size and position. An application should specify this flag // when restoring a minimized window. // 10:Sets the show-state based on the state of the program that started the application. // IblnWaitForEndOfCommand : TRUE : wait for the command to finish (and use the RETURN-VALUE) // FALSE: Launch the command and return (RETURN-VALUE will be 0) // RETURN-VALUE : SHELL-command RETURN-VALUE CREATE(Laut); OintReturnValue := Laut.Run(ItxtCommand,IintWindowStyle,IblnWaitForEndOfCommand); CLEAR(Laut);
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
kriki wrote:I am not sure I understood correctly, but if you want to launch a DOS-command without showing the DOS-box, try this:
Thnx for your reply but it was not realy what i was looking for
what i'm looking for is a way to externally start a Navision form from an application without seeing the navision shell (menu's/statusbar/etc)0 -
It is not possible... Navision is MDI application and all Windows are nested in the Main window... no way to disable this... You can only make form look like Navision etc... but without using the Forms from Navision...0
-
kine wrote:It is not possible... Navision is MDI application and all Windows are nested in the Main window... no way to disable this... You can only make form look like Navision etc... but without using the Forms from Navision...
yeah that's what i thought.... but Access is also a MDI application but there it IS possible to "hide" the shell.... by changing some window handlers with VBA.
But the navision Forms don't seem to react the same way :roll:0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions