sweet-66


Hi everybody,

I'm creating a program in MS. Access but I just want to ask:, how to open *.pdf(extension) file in visual basic access (vba)

thanks in advance. :-)




Re: Open PDF file

RhysDavies


Depends what you want to do - if you want to be able to save a PDF into your database (or any other document type) then i have code that allows you to do that and then double clicking on it will open it up in the appropriate program.

Is this what you want

RHhs.






Re: Open PDF file

sweet-66

By double clicking the desire path in the data sheet view, the *.pdf file name would be open.

For example:

Path = \\ipc154\contract\filename.pdf

when you double click that path in the datasheet view it will open.

Do you have code for that application

sweet






Re: Open PDF file

sweet-66

I already got the answer to my question.... thanks...



Re: Open PDF file

Andy Pope

Hi sweet-66,

It's great that you got your answer but for the sake of others reading this thread in the future can you post the solution or a link.





Re: Open PDF file

RhysDavies

Hi sweet66 - sorry but ive been away for a while - yes that was exactly what my code did but it also allowed you to browse for the file and insert the path into datasheet view - a guy called Derek Smyth who is one of the fountains of knowledge on this forum helped me out with it - glad you got it sorted though.

Rhys.