Hey, I'm new here and I wanna know how can I use the default Windows folders in my code in VB 6. For example, in VB.Net I can use My.Computer.FileSystem.SpecialDirectories.MyDocuments shorcuts to know the path of folders like My Music, My Docs, etc. But I don't know how to do it in VB 6. We already know that paths aren't the same in all computers cuz I can have two hard disks and My Music can be in another hard disk than C. So that's the question. Thanks for reading.

there might be no equivalent code with what you have in vb.net to obtain the path that you want. but how about using app.path or getparentfoldername you can play around with filesystemobject in vb6. check if it will help :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.