Is there a way to programmatically disable then re-enable a mic [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 have been having some problems with my mic when I boot my pc I have to either disable and re-enable my mic in recording devices or unplug the usb and put it in again to reset it...
I'm a pretty novice programmer but do know my way around bat and C# (sort of).
Is there a way I can do this either through a program or through making a script and chucking it in the startup folder.
Thanks...

One easy solution is to use devcon in a .bat file.
Here are some additional details:
https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/devcon-disable

You can try the devcon command, available here: https://msdn.microsoft.com/windows/hardware/drivers/devtest/devcon?f=255&MSPPError=-2147217396

Related

How to connect two objects with a laser [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 11 months ago.
Improve this question
I'm absolutely new game developer. I created an idea when two objects are connected by laser (which can kills enemies). I'm going to make 2d game. I already downloaded Unity and C#.
Oohh, second question ==> what I need for move the game into Android?
Of course I can study this alone, but i want know this now😁)) Thanks
Go to this path: File > Build Settings...
In the Build Settings window select Android from the platforms list on the left side, then click the Switch Platform button.

Is it possible to open a movie in iTunes with 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 4 years ago.
Improve this question
I'm developing a C# application that needs to be able to tell iTunes to open a .m4v file on Windows. Is this possible? I've tried on Command Prompt to do this but it just opened iTunes without opening the movie. Is there any iTunes command line arguments or am I out of luck?
Edit: Also, once the movie is launched, is it possible to control it, such as playing, pausing, or closing it?
Your best bet might be iTunes COM object (How to control iTunes through winForms)
but I'm not sure if it's going to support action such as loading file into an iTunes, but if you are about to control it like play/pause, fast forward, rewind etc. then this is what you should looking at.

Remote Screen Viewing application [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 looking for a way to remotely share my screen with another computer, the main problem is that I need to integrate it into my current C# application. I have been doing research and was looking for someone who has already done this.
I am thinking from my research that I will need a piece of client software installed on the target machine to view the screen.
In theory I would like to view six separate screens from one computer and if possible have the ability to control the remote screen, just to verify I do not want to have a Remote Desktop like connection but a live view of the target computer.
Hoping someone can help.
Cheers,
Ben
You may need to implement piece of remote desktop in your code. There are plenty of resources addressed this problem some of them below.
http://bobcravens.com/2009/04/create-a-remote-desktop-viewer-using-c-and-wcf/
http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET
http://stackoverflow.com/questions/10311770/
http://www.codeproject.com/Articles/33979/Multi-RDP-Client-NET

Can you add a Console program to a WindowsFormApplication program? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make a C# WindowsFormApplication project to collect and store answers.
I then want to use these answers to generate input for selenium web driver which is a console application.
Is it possible to join the two projects together so I first collect my answers on the form, and when I click run on the windows application form, for the console application to start running? If so, how would this be done?
In case you don't want to use database as suggested by kat0r you can use sockets to make them communicate together.
The obvious answer would be to store the questions in a file/database, and simply access it from both applications. You can start other programs with something like Process

what the fastest way to get snapshot from ip-cam [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 5 years ago.
Improve this question
I have an IP-cam that i want to get a snapshot from it when event get fired.
I have tried to get images from it using an option in it's firmware but it's taking much time about 4-11 sec.
I need another way to get a snapshot from it using c# code.
I'm developing app using c# 3.5
OS windows server 2008
Any sample is very welcome and I will try it now.
Thanks in advance.
You might also want to look into OpenCV. There are a couple C# ports available out there:
Emgu CV
opencvdotnet
opencvsharp

Categories

Resources