Executing VB6 from within Navision

McCoy
Member Posts: 39
Has anyone executed a VB6 program from within Navision? I need to send 3 fields from a Navision table to a VB program and have the VB run time show on the Navision screen - It should work like Excel or word but am unsure how to pass the fields - any ideas? [-o<
0
Comments
-
wy dont you create a DLL, register it, create a var automation to reference that library and use it inside Navision?Andre Fidalgo
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com0 -
Not sure how this is done - any references I can look at? Also does the old 'SHELL' command or a form of it exist for Navision? The Shell lets you run another EXE externally from the current process.0
-
Hi,
SHELL works fine, and it is that simple:
SHELL(program.exe + '/commandline_parameter /parameter2');
Just put the command line parameters in single quotes. This runs an exe in the current directory, if you want to change the directory just put the full path before the exe.
Check the help, this is pretty straightfoward.
Andrew0 -
Thanks - it worked just great.. I am so glad that this is available in Navision, I have used it in many other languages but am fairly new to Navision so this is great \:D/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