Solved Form: Picture Viewer (see isladogs) (1 Viewer)

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
I found it interesting, a craft of Isladogs "IMAGE VIEWER"
but when i use it and add to my Accdb an errror occured
with this lines below, (but i'm still working to fixed the error, still hope I could do it)


Dim F As /"FileDialog"/
Set F = Application.FileDialog /"(msoFileDialogFilePicker)"/

As of now i already re-desidgn the features, and working to fix the error on upload images list.
 

Attachments

  • PictureViewer.png
    PictureViewer.png
    128 KB · Views: 137

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 22:12
Joined
Oct 29, 2018
Messages
21,471
What was the error message?
 

isladogs

MVP / VIP
Local time
Today, 06:12
Joined
Jan 14, 2017
Messages
18,218
Check you have all the references that are in my example app. It includes several non-standard references but not all are used in the main form. Check your version compiles.
If your code really has the double quotes and forward slashes then you've copied it incorrectly and it won't compile.
It should read

SQL:
    Dim F As FileDialog
    Set F = Application.FileDialog(msoFileDialogFilePicker)

BTW it would help others help you if you had provided a link. Obviously I know my example app but others won't necessarily have looked at it.
My website has this at Folder Image Viewer - Mendip Data Systems. Its also in sample databases in this forum
 

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
Check you have all the references that are in my example app. It includes several non-standard references but not all are used in the main form. Check your version compiles.
If your code really has the double quotes and forward slashes then you've copied it incorrectly and it won't compile.
It should read

SQL:
    Dim F As FileDialog
    Set F = Application.FileDialog(msoFileDialogFilePicker)
good day merry christmas
>is it possible to omit some parts of the codes that are having compile error?
 

isladogs

MVP / VIP
Local time
Today, 06:12
Joined
Jan 14, 2017
Messages
18,218
You have got that error because you have more than one function with the same name
When you imported my code you've somehow managed to import more than one instance of the ShowControls function.
Assuming you haven't changed the module names you probably have a modControlState and another identical modControlState1.
If so, delete the latter.
 

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
ok sir, thanks
> could I also make change of this: Set F = Application.FileDialog /"(msoFileDialogFilePicker)"/: to
Dim F As Object
Set F = Application.FileDialog(3)
 

isladogs

MVP / VIP
Local time
Today, 06:12
Joined
Jan 14, 2017
Messages
18,218
You should already know the answer to that. I rarely use the number values myself but they exist to be used.
 

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
You should already know the answer to that. I rarely use the number values myself but they exist to be used.
yes sir, I have to fixed it well
>I hope could run it smoothly
 

isladogs

MVP / VIP
Local time
Today, 06:12
Joined
Jan 14, 2017
Messages
18,218
@vhung
The original runs smoothly so, if your version doesn't, it is due to changes you've made
Good luck
 

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
@vhung
The original runs smoothly so, if your version doesn't, it is due to changes you've made
Good luck
That is true sir,
you're right it is on loading additional modules to my whole project
I gently make traces where to pick that of same functions/control name
Still my goal is to run it smoothly inside on my project...
 
Last edited:

vhung

Member
Local time
Yesterday, 22:12
Joined
Jul 8, 2020
Messages
235
Seems I've got the right traces
Few changes has been applied

Could already view and update images
1 n 2 forms already works well and so w/ the image report

Advance Happy New Year...

see attachment;
 

Attachments

  • viewer1.png
    viewer1.png
    521.5 KB · Views: 92
  • viewer2.png
    viewer2.png
    438.2 KB · Views: 92

Users who are viewing this thread

Top Bottom