Computer Learning Zone CLZ Access Excel Word Windows

We are just an advanced breed of monkeys on a minor planet of a very average star. But we can understand the Universe. That makes us something very special.

-Stephen Hawking
 
Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Templates > ABCD > Part 5 > < Part 4 | Part 6 >
Back to ABCD Core Part 5    Comments List
ABCD 51 Upload Images   Link   Email  
Brad Bogle 
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
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
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
Woohoo!!! I found the problem Richard. I had:

Set FD = Application.FileDialog(msoFileDialogFolderPicker)

It should have been:

Set FD = Application.FileDialog(msoFileDialogFilePicker)
Richard Rost
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
There ya go!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in ABCD Core Part 5.
 

 
 
 

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

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/27/2024 5:38:28 AM. PLT: 0s