1.

Solve : VB - linking to external flash movie?

Answer»

I am building a vb project that has a flash movie embedded into that - that I link to via a URL. I've built this on my Vista machine and it runs fine (tested without internet CONNECTION and no movie loads),

however, my XP machine (newly formatted with .Net 2.0 SP1 installed) displays the following:

An error OCCURRED creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'AxInterop.ShockwaveFlashObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the path specified.

I've checked the Movie URL in my VB project, embedded the movie and banged my head against the wall - all to no avail!!

I did check my .Net versions on both machines:

Vista has v2.0.50727, v3.0 & v3.5
XP has v2.0.50727

Would this have any bearing on the issue?

**edit**

Just installed .Net 3.5 and still the same issue so I GUESS that's not the cause!
Quote

I've built this on my Vista machine and it runs fine (tested without internet connection and no movie loads)

I have no idea what that means. Without an internet connection and no movie loads, how do you know it works fine?

This link may help. Be SURE not to use the default web browser control.

Quote from: Sidewinder on November 06, 2008, 04:54:39 AM
Quote
I've built this on my Vista machine and it runs fine (tested without internet connection and no movie loads)

I have no idea what that means. Without an internet connection and no movie loads, how do you know it works fine?

I knew it worked because without an internet connection it wouldn't display the movie - checking that it's not using a local source. With an internet connection the movie did load.

The problem I've since found is that when building the .exe I had to also include the Shockwave Flash Object image holder, along with the other build files (my naivety of VB is showing through!!)


Quote
The problem I've since found is that when building the .exe I had to also include the Shockwave Flash Object image holder, along with the other build files (my naivety of VB is showing through!!)

Best way to learn. You probably won't have that problem again, at least not anytime soon.


Discussion

No Comment Found