p4ntb0y Posted June 3, 2007 Posted June 3, 2007 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
#rootworm Posted June 4, 2007 Posted June 4, 2007 (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/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, 2007 by #rootworm
p4ntb0y Posted June 4, 2007 Author Posted June 4, 2007 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now