LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI OpenDocumentInDefaultViewer equivalent

What is CVI equivalent of OpenDocumentInDefaultViewer in LabVIEW?
 
This function opens a document in its default viewer. This function has the same effect as double-clicking on a document in Windows Explorer.
You can register file types and their default viewers in Windows Explorer by selecting the File Types tab in the Folder Options dialog.
/*-------------------- Prototype ---------------------*/
int OpenDocumentInDefaultViewer (const char Document_Filename[],
                                 int Window_Display);
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 1 of 8
(4,234 Views)
Hi, Sheetal.

A quick search for "open document" in the CVI help produced the following:

int OpenDocumentInDefaultViewer (const char documentFilename[], int windowDisplay);

(Your ptototype is an uncanny likeness!)

Good luck!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 2 of 8
(4,222 Views)
Gothcaaaa!!!
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 8
(4,215 Views)
Any LabVIEW experts out there?
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 4 of 8
(4,198 Views)


@sheetal wrote:
Any LabVIEW experts out there?

Are you asking us what the equivalent function in LabVIEW is? I interprete your post that you ask us what the equivalent function in CVI is and so has obviously the other poster?

If you want to know the LabVIEW function I guess you will have to look for "vi.lib\Platform\browser.llb\Open a Document on Disk.vi"

Rolf Kalbermatter

 
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 8
(4,190 Views)

Here is my question.

"What is CVI equivalent of OpenDocumentInDefaultViewer in LabVIEW?"

Your post answers my question regarding labview.

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 6 of 8
(4,186 Views)


@sheetal wrote:

Here is my question.

"What is CVI equivalent of OpenDocumentInDefaultViewer in LabVIEW?"

Your post answers my question regarding labview.



I know what your post said. It may be my German roots but the order of the sentence seems to be placed such that you are looking for the CVI equivalent of a function that opens a document in the default viewer. And there are apparantly others that thought likewise.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 7 of 8
(4,184 Views)


@rolfk wrote:

It may be my German roots...

It's not.

Your english, as usual, is impeccable, and that's exactly what the question appears to be.


___________________
Try to take over the world!
0 Kudos
Message 8 of 8
(4,180 Views)