Active X form not showing file display

Hi All,

i Have created a form in which i want to display the selected file. I am using Attachment form to get the path of saved file.

But when i am accessing this file from the path it’s opening as a separate file. I want to show it in my form only (Active X)

How can i view any file in active X form only ?

Getting below display in form.

Please tell us what ActiveX control you’re using and how. We can’t find bugs in your solution if we have no information about what you’ve done.
Also, referring the local paths is almost always wrong, because the same file won’t exist on all machines.