If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Play a movie...
Hello,
I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
#2
|
|||
|
|||
Play a movie...
You say this is a household inventory database and that the films have no
relationship to any record, so the first question that comes to my mind is ***why*** would you want to do this? -- There's ALWAYS more than one way to skin a cat! Answers/posts based on Access 2000/2003 Message posted via http://www.accessmonster.com |
#3
|
|||
|
|||
Play a movie...
I'm not sure, but this may work for you:
http://www.mvps.org/access/api/api0011.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Hello, I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
#4
|
|||
|
|||
Play a movie...
"Linq Adams via AccessMonster.com" u28780@uwe wrote in message
news:9d5c644b77345@uwe... You say this is a household inventory database and that the films have no relationship to any record, so the first question that comes to my mind is ***why*** would you want to do this? -- There's ALWAYS more than one way to skin a cat! Answers/posts based on Access 2000/2003 Message posted via http://www.accessmonster.com Thanks for your interest Linq. Each record in the db is for a specific item or small group of related items whereas each movie is a video/audio tour through a part of the house. It is not necessary to view an entire movie in order to examine a single record. Any ideas how to accomplish what I initially described? |
#5
|
|||
|
|||
Play a movie...
Arvin, it looks like this code applies to sound files, not WMV video files.
Thanks for your suggestion. Any other ideas? Jim... "Arvin Meyer [MVP]" wrote in message ... I'm not sure, but this may work for you: http://www.mvps.org/access/api/api0011.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Hello, I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
#6
|
|||
|
|||
Play a movie...
Notice it works with AVI files (which are movie files).
If it doesn't work for you, you can try Shelling out to a player: http://www.mvps.org/access/api/api0018.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Arvin, it looks like this code applies to sound files, not WMV video files. Thanks for your suggestion. Any other ideas? Jim... "Arvin Meyer [MVP]" wrote in message ... I'm not sure, but this may work for you: http://www.mvps.org/access/api/api0011.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Hello, I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
#7
|
|||
|
|||
Play a movie...
Arvin, I have no idea where to put this code or how to use it. However I
have devised a way to do what I want to do that is within my pay grade. I do thank you very much for taking time to respond. "Arvin Meyer [MVP]" wrote in message ... Notice it works with AVI files (which are movie files). If it doesn't work for you, you can try Shelling out to a player: http://www.mvps.org/access/api/api0018.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Arvin, it looks like this code applies to sound files, not WMV video files. Thanks for your suggestion. Any other ideas? Jim... "Arvin Meyer [MVP]" wrote in message ... I'm not sure, but this may work for you: http://www.mvps.org/access/api/api0011.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Hello, I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
#8
|
|||
|
|||
Play a movie...
Put either code into a standard Access module which you'll name something
like basMovies (anything but the function names) The just call the code from a button on a form. For ShellExecute, you'd use: fHandleFile("C:\FolderName\FileName.wmv",Win_Norma l) -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Arvin, I have no idea where to put this code or how to use it. However I have devised a way to do what I want to do that is within my pay grade. I do thank you very much for taking time to respond. "Arvin Meyer [MVP]" wrote in message ... Notice it works with AVI files (which are movie files). If it doesn't work for you, you can try Shelling out to a player: http://www.mvps.org/access/api/api0018.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Arvin, it looks like this code applies to sound files, not WMV video files. Thanks for your suggestion. Any other ideas? Jim... "Arvin Meyer [MVP]" wrote in message ... I'm not sure, but this may work for you: http://www.mvps.org/access/api/api0011.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Jim Orson" wrote in message ... Hello, I have a household inventory database (Access 2007 accdb). In my main form, I would like to click a button to select a WMV movie file from a drop down list and have the move run in whatever application the user has registered to WMV movie files. IOW, selecting a movie in the drop down list would be equivalent to double clicking the corresponding file in a file manager. The movies are NOT associated with any particular record and the list of movies should be the same for any record that happens to have the focus on the form. How would I accomplish this. I am not a professional programmer... Thanks! Jim... |
Thread Tools | |
Display Modes | |
|
|