I have made a media player using VB.net but if does not support some ile formats such as mkv,rmvb etc.
Is it possible to embed a mkv file dll in a vb.net program to run the media file?
Is it possible to embed a mkv file dll in a vb.net program to run the
media file?
Yes it is possible if the dll is designed to interface with .net.
I would suggest looking at the VLC Api for .net. VLC runs most video formats.
Related
I'm making a program in VB.net and I need an easy way to take an external UI DLL (Bunifu) and embed it into my project.
So that the user don't have to have the .DLL in the same folder as the executable file.
How do I achieve this as simple as possible?
I'm trying to play audio files in Visual BASIC programs. It needs to add windows media player tool to play mp3 files. It adds two dll files with the application but I want to built a single executable file. I've already tried:
My.Computer.Audio.Play(path)
But it requires a .wav file which is very large in size. Is there any way to play mp3 files in a Visual BASIC program?
The .NET framework doesn not support MP3 files natively (so far). Therefore you will have to reply on a third-party framework to help. And unless you get access to the source code of this framework, you will have the incorporate it using (most likely) DLLs and won't be able generate a single .exe file.
If you are willing to switch to C++, some like this could help: http://www.codeproject.com/Articles/1191/A-very-simple-MP-Player
Windows allows us to print specific PDF files manually from the printing options. I only need a PDF reader (which can be free) to open the file, then print it by entering specific page numbers. However I couldn't find doing this process programmatically without using any third party licensed PDF program or library.
I am looking way to do this using MS VBA 2003. Is it possible?
I did what I aimed by using an COM exposed C# application.
The PDF printing library was easy to find as a C# .NET project, therefore I produced my own .dll file by creating a .NET C# Class library project. In this application, I used the library called PdfSharp which is opensource. I wrote my code in order to expose it to COM.
After I registered my produced .dll and created a .tlb file, I referenced this .tlb file to my Access Visual Basic editor. Voila! it worked perfect.
I want to include vlc mediaplayer plugin in vb6 form as a COM component ? I embedded it in .NET 2010. Is it possible to embedded in vb6
Yes, you can. but you must use an old version of VLC Media Player. i'm using 0.8.6 version. You can download it from here.
I have installed OpenERP 6.1 software and now i want to connect it to a fiscal printer. There are some files I got from the vendor of the fiscal printer which are .dll files. The fiscal printer should communicate through the serial port. As per the vendor these files should be incorporated in the source code of the program one is building. These files are .net files. Is there any way the program should communicate with the fiscal printer without using those .dll files?
Any idea on how to integrate the printer and the program will be highly appreciated.
Depending on what you want to print on that printer, you could try the following:
Write a .NET service that monitors a directory for text files. When a file is written to the directory, print its contents and delete the file. Then make OpenERP write files into that directory when you want to print something.
Use some interop tools to communicate directly from Python to .NET. I haven't used it, but Python for .NET sounds promising. You could also try some COM interop and write a wrapper for those libraries that exposes them via COM.
Figure out what the actual interface is for the printer, and write to the serial port from Python.
Configure the printer as a regular Windows printer, and then print the regular PDFs that OpenERP generates for reports. I'm not sure whether that's possible with your printer.