Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

vb.net WebBrowser1.Navigate Question network share

Need to navigate this vb.net component to a hidden networkshare like:
"\\server\folder name$\file.pdf"

WebBrowser1.Navigate(??)
0
HelpdeskJBC
Asked:
HelpdeskJBC
  • 2
  • 2
1 Solution
 
CodeCruiserCommented:
Did you try

WebBrowser1.Navigate("\\server\folder name$\file.pdf")
?
0
 
HelpdeskJBCAuthor Commented:
It will work with the "OpenFileDialog1.FileName"
"U:\PDFProject\File\Manual abc.pdf"

but not with my filelocation on a hidden share:
"\\servername\pdftemp$\User name\Office Manual abc.pdf"

The difference must be in the fileurl dimension:

 '{file:///U:/PDFProject/File/Manual abc.pdf%23toolbar=0&navpanes=0}

 '{file://server/pdftemp$/User Name/Manual abc.pdf%23toolbar=0&navpanes=0}

whats the problem with the url? could it be that the "\\" "//" at the beginning makes some troubles?
0
 
CodeCruiserCommented:
I think it could be the $ sign. Does it work if you replace $ with %24 ? Also try matching the ///.
0
 
HelpdeskJBCAuthor Commented:
may someone can try this on their own?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now