No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I want t play a video in a Window in my C# application. Looking aroundthe Internet I've found some info on how to use DirectX to accomplish that. But I've also come across comments that DirectX is deprecated, meaning that it's no longer recommended as the way to play videos. … |
|
Suppose I have a picture box on my form and I want to show a line that can move across the box. Perhaps it's tracking my cursor or it's programmatically moved. How do I do that? I know I can explicitly draw a line on the bitmap, but that doesn't … |
|
I've written a C# program to capture images from a webcam (connected to the laptop via a USB port). I also have some special hardware (Arduino Uno, relay, flash unit) that lets my program trigger a photographic flash unit. My problem is in trying to synchronize the flash so that … |
|
I'm writing a C# program that makes use of the webBrowser control. Generally I've been successful in using it but have encountered a problem I can't figure out. I intercept the DocumentCompleted event from my webBrowser control. During the processing of that event I create an additional webBrowser control and … |
|
I have a control. It happens to be a webBrowser control, but the issue seems to apply to ANY control. I want to copy the image of that control (the "source") and transfer it into a PictureBox control (the "target"). I can do that using a bitblt, with code like … |
|
I've got a webBrowser control. I've added an event handler for the GotFocus event and it works just fine. Well, not quite. I used the control to browse around on the Internet, and the GotFocus event triggers each and every time that I change from the webBrowser to some other … |
|
I have a panel object that contains a number of controls. I want to change the backColor of that panel whenever the user clicks either on one of the controls or on the panel itself. I suspect I need to detect that the panel "has focus", but I can't figure … |
|
I'm adding controls to a panel, using the .Controls.Add() function. How does Windows determine the display priority of the newly added controls? That is, if I position a new control so that it overlaps an existing control, which one shows up "on top", the older control or the newly added … |
|
I'm using Microsoft's webBrowser control. Actually, I"m using several of them in a single application. I'd like to be able to selectively turn off the sound. That is, turn it off for one or more of the webBrowser controls and maybe leave it on for the others. But there seems … |
|
I'm using a webBrowser control. After it is finished loading, I want to be able to determine what portion of the browser actually contains controls. For example, let's say the web page has a <CENTER> tag that centers the entire page within the browser. I'd like to be able to … |
|
I'm using the webBrowser control and trying to capture a screen shot from it. I start up the webBrowser control and set its URL to some web page. It displays just fine. Then, in response to a button press, I capture the image of the page that's contained within the … |