Using Quicktime COM within vb.net

Hi all--

I want to do a little Quicktime scripting using vb.net. Although there doesn't seem to be a bunch of info on the Net, it definitely seems possible.

I've started a quick little app, then added my QT references: Add > COM > Apple QuickTime Control 2.0 and Apple QuickTime Liblrary 2.0

Next I added:

    Dim test As New QTOLibrary.QTMovie

to my application. When I debug the app, I get a System.Runtime.InteropServices.COMException error. I thought that maybe the COMs weren't registered so I registered them via regsvr32 but I'm still getting the error.

Any suggestions?
APixelsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

APixelsAuthor Commented:
Heh, I figured it out.

Turns out, it was because I'm trying to build it under a 64-bit enviro. Setting the compile options from "Any CPU" to "x86" fixed the problem.

0

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
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
Visual Basic.NET

From novice to tech pro — start learning today.