Jump to content

Recommended Posts

Posted

hi,

I have this bit of vb code...

Private Sub MountB_Click()

MountPath.Text = GetFolder(Me.hWnd, "ÇëÑ¡Ôñ WIM ¾µÏñ¹ÒÔØµÄĿ¼")

End Sub

and it does not seem to work properly within vista pe winpe 2. Works fine in XP and 2003 but just opens an blank explorer window.

I am new to all the vb thing so please be gentle

the last bit is in chinese PAR


Posted (edited)

i first posted a VBS example, then realised you were using normal VB, but i'm putting it back.

either way, that GetFolder statement is strange looking.

GetFolder returns a folder object which contains various properties/methods.

here's a VB example:

http://support.microsoft.com/kb/186118

and here's a short VBS example:

http://devguru.com/technologies/vbscript/q..._getfolder.html

(even though it's in VBS it should be similar enough for you to understand)

Edited by #rootworm
Posted

Many Thanks for the reply rootworm.

I am taking this into work for how i put this nicly ah yeah our resident code geek to have a look.

He prob tell me I am being a biff or something.

again many thanks and I will post back with my findings

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...