June 3, 200719 yr hi, I have this bit of vb code...Private Sub MountB_Click() MountPath.Text = GetFolder(Me.hWnd, "ÇëÑ¡Ôñ WIM ¾µÏñ¹ÒÔØµÄĿ¼")End Suband 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 gentlethe last bit is in chinese PAR
June 4, 200719 yr 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/186118and 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 June 4, 200719 yr by #rootworm
June 4, 200719 yr Author 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
Create an account or sign in to comment