Computer Learning Zone CLZ Access Excel Word Windows

War is good for business.

-34th Rule of Acquisition
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > Courses > Access > Templates > ABCD > Part 5 > < Part 4 | Part 6 >
ABCD Core Part 5

Back to ABCD Core Part 5

ABCD 51 Upload Images   Link  
Brad Bogle 
10 months ago
I'm getting a Run-time error '438': "Object doesn't support this property or method" on these lines:

        .Filters.Add "JPG files", "*.jpg"
        .Filters.Add "GIF files", "*.gif"
        .Filters.Add "PNG files", "*.png"

I've tried commenting out individual lines but it returns the same error
Richard Rost
10 months ago
Hi Brad. I don't know what to say, except it should work. Works for me. Does it work in MY copy of the database if you download it to your system?
Brad Bogle
10 months ago
Yes, your copy does work but there isn't a DB file for after lesson 1, they start at lesson 2 and there are so many changes between 1 and 2 that I can't pinpoint the mistake in my code. So yes, to answer my own question, the mistake is most likely mine
Brad Bogle
10 months ago
Woohoo!!! I found the problem Richard. I had:

Set FD = Application.FileDialog(msoFileDialogFolderPicker)

It should have been:

Set FD = Application.FileDialog(msoFileDialogFilePicker)
Richard Rost
10 months ago
Let's see a little more of your code. Screen shot it for me... especially I want to see the With statement above that.
Richard Rost
10 months ago
There ya go!

This thread is now closed. If you wish to comment, start a NEW discussion, below.

Back to ABCD Core Part 5 Comments

Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to ABCD Core Part 5
Get notifications when this page is updated

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn