Overlaying Text in VLC using WPF [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am creating a program that displays song lyrics using WPF. I want to use videos as the background(using VLC player). How can I overlay the lyrics over the video background?
Thanks in advance.

This may not be possible directly in WPF. I assume that you would need a WinformsHost to host the VLC player. It's a known issue(limitation) that WPF controls and winforms can't share the same screen area(airspace limitation). However there are many workarounds for this limitation, one of them being adding 2 WPF windows overlayed.
Alternatively you can try upgrading to WPF 4.5(Using VS-2012), this issue seems to b e fixed there.
Read:
https://msdn.microsoft.com/en-us/library/aa970688(v=vs.100).aspx
http://bartwullems.blogspot.in/2010/11/wpf-and-winforms-airspace-problem.html?m=1

Related

How to show a WPF Window in front of a UWP app in fullscreen mode? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm looking for a way to make a WPF window stay on top of a fullscreen UWP app. I found numerous mentions of Window.Topmost, but it only works with a windowed app.
For a little bit of context, the idea is to create a virtual keyboard that I could launch from the app (with a brokered runtime component). I do know that there are some keyboard implementations, but they don't do the trick since they basically edit the textboxes themselves (and I need it to be able to also interact with WebViews).
Thanks :)

How to create Office UI in win form Using C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I google a lot for a long time. I have no idea how to create OfficeUI in C# Win Form. Less article teach this.
I found this video. But it is presentation of the OfficeUI only. Actually, I really want to develop a Win Form like this.
https://www.youtube.com/watch?v=dCTmWjN3WkA
any idea?
many thanks.
I assume you mean you want to add an Office Ribbon Bar to a WinForms application ? If you google ".net WinForms RibbonBar" you will find a bunch of examples; for instance this CodeProject one; http://www.codeproject.com/Articles/364272/Easily-Add-a-Ribbon-into-a-WinForms-Application-Cs

Finding bar code from an image file [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I do have a set of image files. Some of the files contains a bar code and I want to separate those from others. In c# how to find the presence of a bar code in an image file??
You have to apply some computer vision algorithms. You can develop them using OpenCV (via P/Invoke in C#), or EmguCV (http://www.emgu.com/wiki/index.php/Main_Page) which is .NET wrapper for OpenCV. There are also libraries made specific for barcode detection - ZXing comes to my mind.
If the bar codes are located at fixed positions, you can simply save these areas from the images to separate images and process them. If you need to locate the barcodes in the first place, you can use EmguCV for pattern recognition.

displaying images and playing sound in C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am learning C# and I want to create a countdown timer application that displays the time in a digital format on an image of a stopwatch and gives verbal time updates at certain times.
How do I go about displaying images to the screen and playing sound? I have used pygame in python to achieve this so basically I am looking for suggestions for something similar in C#.
I hope this makes sense! Thanks.
The best technology to use for that would probably be Windows Presentation Foundation (WPF).
Here's an example of an application made in WPF similar to what you want to do:
http://www.codeproject.com/Articles/20048/Immerse-Yourself-in-WPF-A-quot-World-Clocks-quot-A

Video capture in VPF [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What is the best way to capture video in a WPF application? I am looking for a way to detect the video devices, and then capture video from the selected one.
There is no WPF support for this. You need to use the traditional, expected windows APIs for video capture, such as DXVA.
If you are OK with using ActiveX controls in WPF app, you can use VideoCapX from http://www.fathsoft.com/videocapx.html

Categories