C# is a multiparadigm, managed, garbage-collected object-oriented programming language created by Microsoft in parallel with the .NET platform

learn more… | top users | synonyms

0
votes
1answer
136 views

Start applications via windows task scheduler

I have a C# console application which starts the some of windows desktop applications say for example notepad, Skype. I have created a basic task in windows task scheduler and then gave when i log on ...
0
votes
0answers
28 views

How long does NAT keep a TCP translation field in it's table

I was wondering if I could create a TCP client on machine A and connect it to a remote host (S) and then close the connection from client side and create a TCP listener on the on the same machine (...
-1
votes
2answers
38 views

how to solve “Hyper-V is not enabled”

I am using the mobile emulator to run a UWP demo,but I get the error: the emulator requires the Hyper-V feature of Windows. Enable Hyper-V and then try running the emulator again. However, I can run ...
1
vote
0answers
145 views

Visual Studio Run Starts First Project Instead of Startup Project

In my solution, I have four projects. When I select the Release configuration and click on Run (or hit F5), it starts the first project in the solution list rather than the one I've set as the startup ...
0
votes
0answers
107 views

Microsoft Diagnostic Tool via C# remotely

I need an efficient way to execute the Microsoft Diagnostic Tool Troubleshooting Pack via C# on a remote machine. The criteria for the Troubleshooter is: Run elevated (admin). Run silent. Run ...
0
votes
0answers
23 views

Deskband on second monitor?

Is it possible to have a Deskband (taskbar toolbar) to be on the taskbar that is on Monitor #2? (Not the primary taskbar) I have two monitors in extending mode and the default Windows Taskbar on each ...
0
votes
0answers
36 views

How can I send a region of the screen to a TV that is connected to HDMI port ? (by FFmpeg or C# codes or etc)

I need to send a region of the screen to a TV that is connected to HDMI port. How can I do it? Is it possible by FFmpeg or other tools? (Cheap commercial or free tools)
0
votes
1answer
221 views

c# Automated Way To Add Domain User Profiles on Server 2012

Not been able to find a way to programatically add User Profiles to a server (Server 2012). I've already created a process that adds User Accounts to the domain programatically... but from what I can ...
1
vote
2answers
2k views

What is the Difference between USb Root Hub and USB Composite Device? [closed]

I am Developing an application where I need to fetch VID and PID of all the Current USB Devices Connected to the Computer. But I am just getting VID and PID number of my Headphone that is attached to ...
0
votes
0answers
502 views

Could not establish secure channel for SSL/TLS with authority 'xx.xx.xx.xx'

A windows service needs to connect to a server through mutual authentication. Same service needs to be run as local system account for IO operation. When it's run as local system account, Could not ...
0
votes
0answers
115 views

How to change rendering frame rate of elements in WPF?

We can change rendering frame rate of an visual element by Timeline.SetDesiredFrameRate If an animation applied on it . My question is: How can we change Rendering-FrameRate of an element ( that has ...
0
votes
0answers
207 views

Tcp connection target machine actively refused

I have a simple TCP client/server program on two laptops. The server should work fine as I use "netstat -anb" and the server shows up as listening, "0.0.0.0:102", then my client connection failed, ...
0
votes
0answers
365 views

How to autorun a C# mono applications on Raspberry PI startup?

I've a Raspberry PI: Raspbian and I'm connecting to it through RDP or SSH. And I've 2 applications in C# and I run them through mono. One is WinForms (GUI app - cannot be launcher through SSH requires ...
1
vote
1answer
6k views

How do I use psexec and robocopy together in order to copy a directory over to a remote machine?

Hi I'm trying to form a psexec (or perhaps robocopy?) command which will allow me to use given account credentials to copy a directory over to a remote machine. I'd prefer to use robocopy, but the ...
1
vote
1answer
177 views

Unable to use unicode in outputfile name for FFMPEG transcode

I am using FFMPEG in a C# windows service to convert videos. Conversion is working fin. But when I specify the outputfile name containing unicode, transcoding fails. Is it a known issue, or is there ...
1
vote
1answer
52 views

Windows Developer License Registration is stuck [closed]

I wanted to move on from Visual Basic to C#, so the other day I tried to create an application. It told me I need to get a developer license (at that time I was on holiday, so I couldn't be bothered). ...
1
vote
1answer
150 views

Can I install C# Razor .NET on XAMPP? [closed]

I have been trying to install IIS (Windows 8) on my head computer. I ended up installing XAMPP on it, setting up the FileZilla server to work with Visual Studio Community 2015 FTP on my development ...
4
votes
2answers
3k views

How to launch the Windows Explorer shell after starting with a different one?

The following is a hack, but for what I need it for its fine. I created a C# program that shows some EULA text and has an Agree and Disagree button. I set the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\...
4
votes
0answers
508 views

Visual Studio Code for Mac IntelliSense “Console” not working

Microsoft announced today that they have released Visual Studio Code for Mac, Linux, and Windows. I am trying to use IntelliSense for the keyword "Console" but nothing is showing up. I have tried ...
0
votes
0answers
126 views

I want to keep track of registry changes in a windows based system [closed]

I have been searching and searching the internet on how to track changes made to the registry through program. I want to develop a solution in which I specifically need to track changes happened to ...
1
vote
1answer
451 views

Visual Studio Short cuts using Mac Keyboard

I am having trouble coding in visual studios with my mac keyboard as some of the short cuts wouldn't work, notable the "Go to Definition" which is set as F12. I tried to change the shortcut for this ...
0
votes
0answers
145 views

How to create thumbnail of any file format in asp.net?

I am trying to create thumbnail of .docx, .excel, .pdf etc many format. I have problem how to create thumbnail of dynamic content in web form of asp.net.
0
votes
2answers
1k views

WinRAR - Using rar.exe command line to extract all files in all archives in a folder then delete all the archives?

I want to use rar.exe via command line to extract all files in all archives in a folder then delete all the archives automatically if they extracted successfully? I tried -df and -dr to no avail. ...
0
votes
1answer
340 views

How to get count of files in directory using command,exe in c# app

I want to use the Process class to execute a command.exe method to return the number of files in a parent directory. It has to be using the command.exe (various reasons). This is my code: ...
20
votes
3answers
13k views

How to make CTRL + / toggle a comment in Visual Studio

How can I make CTRL + / toggle a comment in Visual Studio, as it does with XCode and Eclipse?
0
votes
1answer
620 views

How to install mono dev libs on Arch?

I'm trying to compile an old tomboy addin of mine on Arch, but it seems there are no mono-dev-libs. MonoDevelop failed to compile because it's missing Unix,Gdk and Gtk. I also can't find the libs in ...
0
votes
0answers
544 views

Installing mono without root privileges

I use mono on my mac now for my .NET development, when I dont feel like using my pc, but I want to use mono on my Universities linux server, but I dont have root. Is there a way I can install mono in ...
0
votes
2answers
653 views

access local asp.net website from the Internet

I have a asp.net local website in C# (ISS 7). In order for my client to test it, I would need him to access my machine through the internet. How can I do it? There must be an easy way.
1
vote
0answers
633 views

Virtual COM Port Using usbser.sys Keeps Dropping

I have a C# wpf application that is communicating with a device via a virtual com port over USB. This device is using the usbser.sys driver. Everything works normally as expected and communication is ...
0
votes
1answer
301 views

How to get the List of Devices connected to the System

Is there any way or tool with which I can generate a report which contains the Devices attached to the system along with their Vendor ID's and Device ID's ? If there is no such tool, then can this be ...
11
votes
2answers
10k views

How can I compile a .NET project without having Visual Studio installed?

I want to compile a .NET/C# project, but I don't want to install Visual Studio to do this. What tools do I need and how can I compile the project?
0
votes
0answers
38 views

Many microphones in windows

I need to record from as many as 40 microphones simultaneously on a single Windows 7 PC. These microphones will be present as USB audio adapters connected to powered USB hubs (so limited power isn't ...
0
votes
4answers
39k views

Visual Studio Express Edition 2013, 30 days free trial period completed [closed]

I was using the free edition of Visual Studio 2013 Express Edition and it expired today. I tried to sign in and wanted to make a full use of it but I couldn't. I entered my hotmail address to sign in ...
1
vote
0answers
418 views

How to connect a Raspberry PI to a PC using wifi [closed]

For a schoolproject i'm making a quadcopter which can be flown from a laptop. On board of the quadcopter is a Raspberry PI to stabilize the aircraft and send back a video signal to the laptop. Im just ...
0
votes
0answers
71 views

Is it possible to connect multiple output screens to single machine

Suppose i have four screens A,B,C,D connected to single machine. I need to play different video to each screen which control and coordinated by application running on single machine. Problems i am ...
1
vote
1answer
2k views

One Way Syncing between two folders using a third folder

I want to create a one way sync between Folder A and Folder B so far so good and RoboCopy does the job. But Some of the files in Folder B will be moved to Folder C (not controlled by this system) So ...
0
votes
0answers
644 views

ffmpeg extract subtitles with unknown codec

I'm writing a program which extracts images and GPS coordinates from files that were created by car video recorder. In many models it creates two separate files Video and GPS but not all, some ...
1
vote
2answers
780 views

Why is Process Explorer not showing the .Net information in the .Net columns?

I see the process but the Heap Bytes, Gen 0 Collection cols are blank. Can someone tell me how to fix this?
0
votes
1answer
357 views

Multiple Ffmpeg instances choking up the CPU to 100%

I have a task to record timelapse videos from multiple IP-cameras (e.g. camera1.mp4, camera2.mp4, camera#.mp4,etc.). Currently i am running separate ffmpeg.exe instances simultaneously on an MS Azure ...
5
votes
4answers
1k views

Shortcuts to exe on network pc ok?

I created a simple calculator in C# for work. It's just one executable file. I was thinking of putting a single copy of it on a network drive and send everyone a shortcut to it to access it. I'm new ...
1
vote
3answers
11k views

Can I make C# Console applications on Visual Studio 2012 Express for Windows 8?

As the question, can I make C# console applications on Visual Studio 2012 Express for Windows 8? I am aware that you can create Windows 8 apps but is there a template to create C# based console ...
0
votes
2answers
422 views

How to choose if you want to close the command prompt window or not running a .exe or .bat file? [duplicate]

I have a program written in C#, console application. A .exe file is created and when executing the command window opens, writes the output and closes as usual. My problem is that I may need to see the ...
1
vote
1answer
176 views

Why do i get antiverus alert when use smtp & GetAsyncKeyState

I got antivirus alert tor\gen8 spy when I build here is my code : using System; using System.Windows.Forms; using System.Runtime.InteropServices; namespace reading { public partial class Form1 : ...
7
votes
1answer
426 views

Meaning of \b in .Net Regular Expressions [closed]

Microsoft has a nifty quick reference card for .Net Regular Expressions. But it seems to list \b as both matching Backspace and also matching "On word boundary". Which is it? Can \b really do both? ...
1
vote
1answer
581 views

Using Wine to open Windows .exe

I apologize for repeating my question, but it was suggested that I ask it on this StackExchange site instead of stackoverflow: Original post: I have created a simple .NET 4.5 Entity Framework ...
0
votes
2answers
2k views

Get and reserve an available IP address from a dhcp server to use for my ip camera

I have a c# desktop app. I have an ip camera and I want to assign a static ipaddress to it. I need to be able to get a 'free/available' ip address from my dhcp server, reserve it and assign it to my ...
1
vote
0answers
899 views

stream byte arrays to a video using ffmpeg

This is what I am trying to do: I receive jpegs from an IP camera. If motion is detected I want to upload the jpeg still shot to my server. To save on bandwidth I save each jpeg to a file on my ...
0
votes
0answers
567 views

Windows Console App Fails When Run in Task Manager

I have a written a .Net console app that scans my Exchange 2007 inbox looking for specific subject text then processes the email body text. It works fine when I launch the app directly but when I set ...
0
votes
0answers
395 views

Should i be worried about high CPU usage

This may seem an odd thing to ask. I have created a C# desktop application. It runs motion detection - real time - from images supplied from an IP camera. When I look at task manager (or other such ...
0
votes
0answers
18 views

IP Forwarding on windows [duplicate]

I want to redirect incoming traffic with a specific IP destination address coming to my computer to proxy server working on this PC (C# app). I tried to accomplish it by using netsh interface ...