how to get the current windows explorer path in vb.net windows app?

Page 1 of 1

3 Replies - 3808 Views - Last Post: 24 January 2012 - 11:17 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=264137&amp;s=506c6fe6c7290aee9ad0b6464bd3351b&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

#1 jayawant

Reputation: 0
• Posts: 21
• Joined: 10-May 11

how to get the current windows explorer path in vb.net windows app?

Posted 24 January 2012 - 09:51 PM

Hi All,

how to get the current windows explorer path in vb.net windows application?

Thanks,
Jayawant
Is This A Good Question/Topic? 0

Replies To: how to get the current windows explorer path in vb.net windows app?

#2 no2pencil

• Professor Snuggly Pants

Reputation: 6223
• Posts: 29,814
• Joined: 10-May 07

Re: how to get the current windows explorer path in vb.net windows app?

Posted 24 January 2012 - 09:54 PM

** Moved to VB.NET **

#3 trevster344

• The Peasant

Reputation: 224
• Posts: 1,519
• Joined: 16-March 11

Re: how to get the current windows explorer path in vb.net windows app?

Posted 24 January 2012 - 10:09 PM

jayawant, on 24 January 2012 - 10:51 PM, said:

Hi All,

how to get the current windows explorer path in vb.net windows application?

Thanks,
Jayawant

What do you mean?

#4 dan.r.priest

Reputation: 0
• Posts: 1
• Joined: 22-January 12

Re: how to get the current windows explorer path in vb.net windows app?

Posted 24 January 2012 - 11:17 PM

I could be way off, but are you looking at a method of returning the full path when given a filename?

If that is the case, you may want to look at
```System.IO.Path.GetDirectoryName()
```
or
```System.IO.Path.GetFullPath()
```

Again, that is just a shot in the dark at what you are trying to do, and just a bare bones idea of where you might look.