Solved

vb.net WebBrowser1.Navigate Question network share

Posted on 2013-06-13
4
208 Views
Last Modified: 2014-01-06
Need to navigate this vb.net component to a hidden networkshare like:
"\\server\folder name$\file.pdf"

WebBrowser1.Navigate(??)
0
Comment
Question by:HelpdeskJBC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39244415
Did you try

WebBrowser1.Navigate("\\server\folder name$\file.pdf")
?
0
 

Author Comment

by:HelpdeskJBC
ID: 39251463
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
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39251706
I think it could be the $ sign. Does it work if you replace $ with %24 ? Also try matching the ///.
0
 

Author Comment

by:HelpdeskJBC
ID: 39252421
may someone can try this on their own?
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question