Hi
sorry if this is in the wrong section
I’m hoping someone can help me, I have been at this for two days and I’m just stuck. I created a windows form app (.net framework), which allows the user to watch a video and extract frames where needed. My program works fine does exactly what it is meant to do, however the problem I am facing is with the axVLCPlugin. When I load the program on another system to test it, the program doesn’t launch, I know its due to the axVLCPlugin but I can’t seem to figure out why.
. I decided to use axVLC was due to the fact that it has a scroll bar, I tried to implement libVLC however there was no track bar so I created one, honestly it was a hug mess, this worked out so much better I just can’t get it to work on another system
What I have done:
- I created a form, right clicked on the toolbar, clicked choose item, navigated to the coms section, clicked browse, went to my VLC (version 3.0.17.4) install in the C drive (programs (x86)) and finally clicked axvlc.dll which allowed me to import the vlc player.
- I have installed all the necessary Nuget packages
Again, the program seems to work fine and doesn’t seem to have any issues, one of the reasons I know that the program is fine is based on what I have tired to get it to work.
What I have tried on two different systems:
- I copied the whole VideoLAN directory into the debug folder of my program, and added the axvlc.dll from there
- I have modified the target of my application to x86
- I have made sure interop.AXVLC.dll and axinterop.AXVLC.dll are within the debug folder
- On both I tried to install VLC on the other system in both the program files x86 and program files
- I have checked both systems have the right .NET framework
- I created a new form added thye axVLCPlugin and then deleted the form.
What I did to get it working on one system
- What I did to get it working on one system was to install visual studio and see where the error lies, when I opened it up all my forms were visible but the form with the axVLCPlugin, it popped up with ‘to prevent possible data loss before loading’ window, with the error ‘the variable axVLCPlugin21 is either undeclared or was never assigned’. what I did was go to the form1.Desginer.cs and removed all instances of axVLCPlugin21 which then made the form1 Designer window appear again. I then did the whole thing with the toolbar where I right click go to the VLC install location in program files and added axvlc.dll, created a new vlc media player which was called axVLCPlugin21 and it started working again
As you can see by the way I got it to work with one system it must have been down to the axVLCPlugin, however I want to re distribute this program to multiple pcs, however I don’t want to keep goring through the same thing in getting it to work.
I’m sorry if this is long I just don’t want to waste anyone’s time on things I have tired, of course I apricate all the help anyone can give me
Thank you