G
Guest
I'm writing a Winforms program in VB, Dot Net 2.0. I have a datagridview on
a form and I've defined a column as a DataGridViewLinkColumn. (I have the
usual programmer's problem. I am not sure what sort of machines this code
will run on so I am shooting for the lowest common demoninator.)
As a minimum, this link is intended to point to image files, most likely
Jpegs and gifs, possibly tiffs. What I have so far works fine with the
Office picture manager. This fires when I click on the link.
Public p As New System.Diagnostics.Process
p = System.Diagnostics.Process.Start("ois.exe", s)
(where s is the content of the link.)
How do I call the Picture and Fax viewer in a similar manner?
(And if anyone wants to be extra helpful, what I would like to do next is
come up with an all pupose routine so that I can generate and view links for
all the most common file types including Word Docs and Adobe pdfs, the view
to be based on the individual machine's defaults and capabilities. Is there
any sort of one-size-fits-all generic call I could use?)
Thanks
a form and I've defined a column as a DataGridViewLinkColumn. (I have the
usual programmer's problem. I am not sure what sort of machines this code
will run on so I am shooting for the lowest common demoninator.)
As a minimum, this link is intended to point to image files, most likely
Jpegs and gifs, possibly tiffs. What I have so far works fine with the
Office picture manager. This fires when I click on the link.
Public p As New System.Diagnostics.Process
p = System.Diagnostics.Process.Start("ois.exe", s)
(where s is the content of the link.)
How do I call the Picture and Fax viewer in a similar manner?
(And if anyone wants to be extra helpful, what I would like to do next is
come up with an all pupose routine so that I can generate and view links for
all the most common file types including Word Docs and Adobe pdfs, the view
to be based on the individual machine's defaults and capabilities. Is there
any sort of one-size-fits-all generic call I could use?)
Thanks