Board index » delphi » Link to file from TDBGrid?

Link to file from TDBGrid?

Hello!

I have Delphi 6 Enterprise, MS Access 97 and ADO! Can I set one column in
TDBGrid associated with table column which can open any file which I specify
in TDBGrid Column! Or  can I use Hyperlink type field column in access for
that, but from TDBGrid!

Thanks

 

Re:Link to file from TDBGrid?


[As far as I know] you will have to make Windows API calls to execute the
default application that deals with the particular file type in the grid
column. It isn't something that ADO can do for you by default. I don't have
sample code but I have developed this in the past so it is possible. Perhaps
another newsgroup would be more enlightening.

--
Mike Collier BSc (Hons) - www.adoanywhere.com
ADO Object Browser and COM Server.
Consultancy and Design - ADO & Database Specialists.

Quote
"MikeNorton" <agenc...@gmx.net> wrote in message news:3d352d9a_2@dnews...
> Hello!

> I have Delphi 6 Enterprise, MS Access 97 and ADO! Can I set one column in
> TDBGrid associated with table column which can open any file which I
specify
> in TDBGrid Column! Or  can I use Hyperlink type field column in access for
> that, but from TDBGrid!

> Thanks

Other Threads