Home > Archive > Cobol > August 2005 > Realia COBOL - how to see any file, just like Windows Explorer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Realia COBOL - how to see any file, just like Windows Explorer
|
|
| Melissa Kellom 2005-07-31, 9:59 pm |
| I would like to be able to shell out and execute any file that has a file
type set up. For example I could have an XXXX.PDF in a directory named
c:\temp. I would like to pass c:\temp\xxxx.pdf (just like windows explorer)
and have the PDF pop up for review. I would like and windows file types that
have been set up to do this.
| |
| Kellie Fitton 2005-08-01, 3:59 am |
| Hi,
Well, if you have ADOBE ACROBAT softWare installed on your machine, you
can use the win32 API ShellExecute() function, to open a document file
that
has its file type registered in the system registry, or to launch an
executable
program as well.
Here is microSoft's webSite link and the function's documentations:
http://msdn.microsoft.com/library/d...hellexecute.asp
Hope these information helps.
Kellie.
| |
|
| This is possible with any Windows based COBOL compiler using Flexus sp2
and an Add On called ApiSimple. You can learn more about Flexus and
their Gui tool offerings here:
http://www.flexus.com
PS - I do tech support for the products and am the author of the
ApiSimple add on.
|
|
|
|
|