Where is MS Photo viewer exe located

I have the same problem as mslacat2363 (September 2019)

I can attach a file to my data (actually, just the file link, the original file remains on disk).
My program needs to know what type of file it is.

It uses:
    E = String(260, Chr(0))
    i = FindExecutable(sFilePath, vbNullString, E)
    If i > 32 Then GetFileAssociation = Left(E, InStr(E, Chr(0)) - 1)

to find the default executable.  Which works prior to Windows 10, and tells me Acroread, Word, etc.  But if I try it for a 'jpg' it returns empty.

Is there a special way for Windows 10 to return something so I know that it's a picture?

Photos in included in All apps under P.

Go Settings, Apps, default apps, Choose default apps by file type, scroll down to .jpg, click on the app type and it will give you the available apps,

-----------
If this answers your question - Then mark it so. Then others may find it.
---------------
Around computers
since 1952
lacrumb

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Ian,

Thank you for letting us know about your inquiry

I am glad to work with you and help you find an answer for your question

I understand that you have some question regarding the location of MS Photo viewer exe.

Don't worry let us work together to find an answer for your question.

Useful information is located at bellow as well as well as an option to go to MS Photo viewer exe if it is available on the computer if not it will also be explained.

Photo viewer for Windows 10
https://support.microsoft.com/en-us/help/402713...

Thank you again for letting us know about your question Ian

Please let me know on how I can provide further assistance to you.

Best Regards,

Anthony De Jesus
Independent Advisor

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Sorry, I didn't explain myself properly.
As a person, I know where to find it (and change it).

But how do you automate the function so that when I get a JPG file, it knows that it should use MS Photos?  Because I don't know if this thing will be installed on a Windows-10, Windows-7, etc.  I don't want to open the file in my program (unless the user double-clicks it), but I DO want to load it into a small imagebox (if it's a picture), or a PDF icon if it's a PDF, or a Word icon if word, etc, etc.
It all works good on Windows-7, but MS fiddled with the operating system to hide all this in Windows-10.

My workaround is to check for jpg, jpeg, gif, png, ... and assume that it's a picture.  But is there a "correct" way?

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Anthony1129

My terminology may be confusing this.

I think that Windows-7 has a program called MS Photo Viewer.  My little bit of code finds that (again on Windows-7)

Not, on Windows-10, it's an APP called Photos.  And my bit of code cannot determine that. 

I DO NOT want to install anything, just use what's available (or more importantly, find out what is available, and using that information make a decision on whether to display the compressed picture or something else).

Thanks for your feedback

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

That is what defaults by file type does.
-----------
If this answers your question - Then mark it so. Then others may find it.
---------------
Around computers
since 1952
lacrumb

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Ian,

Thank you for updating me about your question.

To find Photos if it is installed on your computer.

On your computer go to the Search Bar it is next to the right of the windows start button, and type "photos" and hit ENTER, if Microsoft photos is on your computer it will show first up on search bar.

If we can't locate it on your search bar no need to worry, we can just get it back on Microsoft Store

Just type photos and the search bar on Microsoft Store and hit enter you will be able to find Microsoft Photos there that is the official Photo viewer for Windows 10.

I greatly appreciate your effort in providing me the details of your question Ian.

Best Regards,

Anthony De Jesus
Independent Advisor

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 26, 2024 Views 10,486 Applies to: