After creating the videoredo.dll using TLBIMP, I would reference the IVideoReDo object. Don't have vb.net loaded, but I'm sure it works the same. VS2005 should have been able to load the .tlb directly, but it wouldn't on my machine. Have no idea why. Maybe a conflict with VS2003?
Using TMPIMP alouded me to generate a new VideoReDo.dll That I could reference in a VB project. When I run the following code.
Public Class Form1
Private Vrd As New myvrdplus.VideoReDo
Private iVrd As myvrdplus.IVideoReDo
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
iVrd = Vrd
an instance of the VideoReDo program starts, Form1 Starts but when I try to open a Mpeg or Vprj file I get the following error message.
Unable to cast COM object of type 'myvrdplus.VideoReDoClass' to interface type 'myvrdplus.IVideoReDo'. This operation failed because the QueryInterface call on the COM component for the interface with IID
Ok, so here's how I got it to work. I looked at the code posted by Lawrence for his Auto Ad-Scan program and came up with
Private Vrd As Object = CreateObject("VideoReDo.Application")
to create an instance of VideoReDo. I don't get to use the IntelliSense feature of VS2005 but it does work, kind of. When I use the FileOpen method to open a .Vprj file the scene list from the project file is not loaded. I have to open the .Vprj file with the VideoReDo application to restore the scene list.
I have run VideoReDo in VS2008 C# using VideoReDo.tlb and then making DLL but i want to show the Video Editing/Display on my C# Form and not on VideoReDo Application to popup Any ideas how can i do that ?
You can't do that with the VideoReDo Application. You need the VideoReDoEditOCX which is a control you can drop into your own application. It primary audience are companies who wish to embed video editing into their own application. It also has different licensing structure than our consumer product both in terms of deployment and costs (much higher).
If you want evaluate the sdk and learn more about pricing, please send an email to us at sales @ videoredo.com