[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 358
  • Last Modified:

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?
1 Solution
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.


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now