-
hi all
i am new to these forums and also new to visual basic
i have a slight prob with the coding part . I have a start search btn , a cmbbox
setup with extensions in it,drive box and a list box ; I would like to search the hard drives of this computer for specific ext and list them in my listbox . i would really be greatful for any and all help thanks...................... :wave: :=)
-
Re: hi all
Welcome to the Forums.
This sounds like your using VB and not VBA. To do this you wil need to APIs.
Have you used APIs before? If not you can download the API Viewer and API Guide from allapi.net.
They will help you to learn and use APIs.
Check out FindFirstFile and FindNextFile. ;)
-
Re: hi all
hi robdog you are correct i am using vb sorry for not including that in my question
i will try the stuff that you suggested thanks :) :thumb:
-
Re: hi all
Just wanted to point out that if you need to post any VB6 threads you would be better off posting
them in the Classic VB Forum. ;)
-
Re: hi all
uh you can also use vbs inbuilt file functions (to get you started) then work up to the api calls :)
If I recall they are:
Dir$
mkdir
rmdir
They may not be as fast as api calls, but they are built into vb/vba. Check the help files of vbeditor to assist you with those.