Solved

vb.net WebBrowser1.Navigate Question network share

Posted on 2013-06-13
4
193 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
  • 2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
Did you try

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

Author Comment

by:HelpdeskJBC
Comment Utility
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
Comment Utility
I think it could be the $ sign. Does it work if you replace $ with %24 ? Also try matching the ///.
0
 

Author Comment

by:HelpdeskJBC
Comment Utility
may someone can try this on their own?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now