|
-
Mar 31st, 2005, 11:41 PM
#1
Thread Starter
New Member
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...................... :=)
-
Apr 1st, 2005, 12:09 AM
#2
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 1st, 2005, 09:44 AM
#3
Thread Starter
New Member
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
-
Apr 1st, 2005, 10:59 AM
#4
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 5th, 2005, 03:38 AM
#5
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.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|