OLE Class in Unbound object frame

Hello Expert,
Can you tell me the OLE class for mpeg and wmv files? is it "mpeg/video"? thanks Joel
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In fact, the object type is not document-related, but application related. I know this is stupid, but that is the basic choice made by M$: the program is more important than the data...

Basically, create a new blank form, choose "Insert / Object", choose an application that will allow this or choose "create from file" and see what type you inherit.

Good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JoelRidleyAuthor Commented:
Hello (°v°),
Interesting name..... Your soklution is correct it gave me the class info I needed.
Do you have an easy way to use a text field(full path of file) to link the OLE field to the mpg or wmv file. Embedding makes the database get extremely large where as a text link would be nothing Thanks Joel
Well, I would never store OLE objects in a database... Instead:

* store a "root path" in some options table or property, e.g. "C:\DOCS\"
* store relative paths for any objects, e.g. "demos\howtoeat.mpeg"
* manipulate an unbound object frame to display most of these inline (on the form)
* or use FollowHyperlink "<full path>" to launch the object externally

I often skip the first step by assuming that the database path is the root for linked documents. This makes it easy to move, archive, backup the whole thing.

I believe that the latest versions of Northwind.mdb have a demonstration of externally stored pictures. Of course, that is easier than videos (I have no experience with those).


PS: It's the face of an owl, or a harfang, to be exact... see my profile ;)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.