Solved

VBA using ShellExecute to Open a flowchart file

Posted on 2013-11-11
3
432 Views
Last Modified: 2013-11-15
I have a client who uses RRFlow software to create flowcharts. I have an Access application that permits the saving of paths to various file types to be related to specific pieces of equipment, for example.

From within the application I have an On Double-click to permit the user to view associated documents from within the application.

For example:

Equipment ABS

* C:\.....\ABS.doc
* C:\.....\ABS.xls
* C:\.....\ABS.pdf
* C:\.....\ABS.txt

etc...

When the user double-clicks the record my code opens the file in its native application.

I use the ShellExecute funtion and it works great -- however -- I am having a problem with the flowchart file type with an extension of .flo.

Does anyone have any ideas?
0
Comment
Question by:Ei0914
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 500 total points
ID: 39639582
Also try Application.Hyperlink YourFile.flo

This (either, Ithink) should work -- assuming that you have the default application is set correctly for files with that extension.
0
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39639590
This shows you how to set the default application for a file type in Windows 7.  The exact steps will differ based on your operating system:
http://windows.microsoft.com/en-us/windows7/change-the-program-that-opens-a-type-of-file
0
 

Author Closing Comment

by:Ei0914
ID: 39652178
As always, thanks!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question