Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.net AxShockwave Error
#10
Here's what I did as a test project:

Code on Form1:
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Form2.show()
    End Sub

Code on Form2:
Code:
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim VideoLink As String = "http://www.youtube.com/watch?v=JeJ6-gN0eB4"
        Dim VideoID As String = VideoLink.Replace("/watch?v=", "/v/")
        MyVideo.Movie = VideoID 'MyVideo is the shockwave object name
    End Sub

You know why it's not working? Because you have reference DLL's in the Debug folder for the shockwave object. That you need with the program. In debug mode it runs the application from the Debug folder. Exactly like what I guessed before lol, you need to keep those references with the .exe for it to work. There should be 2 dll's.
Reply


Messages In This Thread
.net AxShockwave Error - by alabama - 08-04-2011, 12:43 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 12:56 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 01:00 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 01:09 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 01:12 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 01:21 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 01:25 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 01:31 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 01:33 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 01:38 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 01:43 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 01:51 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 02:08 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 03:12 AM
RE: .net AxShockwave Error - by alabama - 08-04-2011, 03:24 AM
RE: .net AxShockwave Error - by AceInfinity - 08-04-2011, 03:53 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)