Start a local application in RTC

andyR
Member Posts: 27
Hi,
is is possible (how?) to start a local application with an action button in RTC?
I did not find any information about it.
Thanks for help
Andy
is is possible (how?) to start a local application with an action button in RTC?
I did not find any information about it.
Thanks for help
Andy
0
Answers
-
1. Add Variable:
Name: wSHShell
DataType: Automation
Subtype: 'Windows Script Host Object Model'.WshShell
2. Add Action
Caption: Internet Explorer
Type: Action
3. Add this code to on OnAction trigger:
CREATE(wSHShell,FALSE,ISSERVICETIER);
wSHShell.Run('iexplore.exe');
CLEAR(wSHShell);
4. When running the action you will get this message:
The Server has requested to run Windows Script Host Shell Object on your client.
• Allow this time, but ask next time
• Always allow
• Never allow
5. If you select either "Allow this time, but ask next time" or "Always allow", Internet Explorer will open.
Regards,
ClausClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)0 -
Thank you very much!0
-
Please use the Attribute-field, to mark your posting as solved. Then a green checkmark is visible, next to your topic title. And you can remove the "[SOLVED]"-text in your title.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