Naanan
asked on
Open PDF in new Browser window
Hi,
So I am trying to open a .pdf document in a new browser window the path is
\\wdres01\share\Released Documents\Drawings, Lettered (& DLs)\PCM\PCM-010-B.pdf
If I paste that path exactly like that into an IE6 url it pulls the document just fine. However when I use this code attached to a buttons OnClick attribute it can't find the file
Me.dwgButton.Button.Attrib utes.Item( "onClick") = "window.open('\\wdres01\sh are\Releas ed Documents\Drawings, Lettered (& DLs)\PCM\PCM-010-B.pdf', '_blank', 'width=900, height=700, resizable, scrollbars, modal=yes'); return false;"
I am sure there is just some syntactical thing I am missing here.
Any Help?
So I am trying to open a .pdf document in a new browser window the path is
\\wdres01\share\Released Documents\Drawings, Lettered (& DLs)\PCM\PCM-010-B.pdf
If I paste that path exactly like that into an IE6 url it pulls the document just fine. However when I use this code attached to a buttons OnClick attribute it can't find the file
Me.dwgButton.Button.Attrib
I am sure there is just some syntactical thing I am missing here.
Any Help?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks a ton