Refresh Mapped drives

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I posted this question some time ago, but didn't get a response. So, I'll
try again.

Hello,

I have a VB.NET app which polls mapped drives periodically looking for files.
However, if the mapped drive ever gets disconnected (remote machine
reboot), the drive is disconnected. When the remote machine comes back up,
the mapped drive generally stays disconnected(red x). But all it takes is a
F5 keypress in explorer to make the drives visible again. How can I emulate
the F5 key used in explorer in a VB.NET app.

Thanks for any response.
Mark
 
I don't think it's necessary to refresh it.... I think it will refresh
itself when you try to access it.... Or do I not understand your question ?

Br

Kristian F. Thomsen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top