Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DIRECTOR: HomeDirector ForumTagMotion Graphics

Buddy API - open file with...

Cow Forums : Adobe Director
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Buddy API - open file with...
by darren john on Aug 7, 2008 at 3:20:57 pm

Hey there guys!

Wonder if any of you geniuses could help me out with a small thing:

Basically I use the buddy api Xtra to open bitmap jpg files:

on mouseUp
cursor -1
OK = baOpenFile(the moviePath & "Disc resourcesImages" & "image.jpg" , "Normal")
end

All works perfectly, but what I want to do is ensure that the bitmap jpg files ALWAYS open in Windows Picture and Fax viewer (sometimes they open in different applications such as Microsoft Photo Editor on other PCs, depending on what the users default settings are) but I'm thinking that this could simply be out of mine and buddy api's control? Or is there a way? Perhaps using the FindApp function?

The reason I want to open the bitmap files in this application is because it has a scrolling facility (Previous image / Next image) where users can scroll through each of the images without having to open each image individually. This was the clients request and I would just like to know if there IS a way and if so, any help would be greatly appreciated to make this happen but if not, then I can confidently inform the client that it is beyond our control.

HOWEVER...I did a bit of the old research and it seems the Windows Picture and Fax viewer in Vista has now been completely re-written and now uses Windows Photo Gallery Viewer.

So this could be a problem since the project I'm working on now has to consider Vista users so I'm thinking the safest bet is just to leave the function as is, in which case the bitmap file should simply open in the users default picture viewer be it WPAFV or WPGV or some other application that the user has knowingly or unknowlingly set as the default for viewing pictures/images etc on their system.

Then again, I could always code my own image viewer, but I must admit I have never coded my own image viewer to date. Would it be worth me doing this? Are there any good resources you could point me to on how to get started on implementing this?

Your thoughts and advice would be appreciated.

Thanks in advance guys.

Darren



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:


Related Threads:
Opening File via BuddyApi



Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]