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
0answers
8 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 ...
-2
votes
0answers
25 views

I want to try how to crop image in C#, I have this code but I don't know how will I use it [on hold]

I want to try how to crop image in C#, I have this code but I don't know how will I use it Here's my code: private static Image cropImage(Image img, Rectangle cropArea) { Bitmap bmpImage = new ...
-3
votes
0answers
14 views

If jquery has library, does C# also have? [migrated]

If jquery has library like this to have different actions, does C# also have?
-3
votes
0answers
22 views

Useful C# tutorial [closed]

I'm searching for tutorial about C# programming but all I find are basics like "how to make calculator, chat app, print "Hello, World!". Aren't there any other that are not common and more useful?
-3
votes
0answers
30 views

Does anyone here know of how this app could perform this things? [closed]

Does anyone here know of how this app could perform this things? like: duplicate only the cropped part of a windows and the display it to a new window, cropping, dragging, doing cool things, etc. Many ...
0
votes
0answers
15 views

What does “:this(100)” mean in a C# method declaration? [migrated]

What does ":this(100)" mean in a C# method declaration? While reading MDSN docs I came across it in line 6 of the following code: public class Stack { readonly int m_Size; int ...
0
votes
0answers
4 views

Powershell: Set-ItemProperty not working when script running from C# webapplication [migrated]

I have a C# web application which hosted on IIS 7.5, which runs powershell script for creating apppool and website. if I run the powershell script from command prompt it working but when i run it ...
-1
votes
0answers
9 views

How to record echo mssage displayed on command prompt using C#? [migrated]

I am using below function to call EAR_Encrypt_FTP.bat in C#. Is there any way to trace the echo messages dispayed in cmd.exe while running the batch file?? I need to process echo messages displayed ...
0
votes
0answers
24 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, ...
-1
votes
0answers
11 views

cant play an audio file in a windows store 8 application [migrated]

when i double click on the audio file (clock.wav) I get this error message: "there is no editor available for ...../assets/clock.wav please make sure that the application for the file type (.wav) is ...
0
votes
0answers
12 views

Trying to make a windows store app that runs when the laptop lid is closed [migrated]

Is there any way to make an app such that, say the user presses a button (in the app) and directly closes the lid, then the computer doesn't go to sleep (that way my app is still running) and I sort ...
0
votes
0answers
42 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 ...
0
votes
2answers
89 views

How to set output of FFmpeg to output of a video card instead of a file? Is this possible?

I have an UltraStudio-SDI video card and I can capture with this command: ffmpeg -f dshow -video_size 720x576 -framerate 60 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -r 30 ...
1
vote
1answer
36 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
58 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
46 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
0answers
382 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
49 views

Running PsExec via WebService in IIS 7 not working properly

I created a Web Service that will run a Psexec to execute a command to DHCP server (netsh dhcp server DHCP-IP-address show scope). It is running perfectly when I test/run it via Visual Studio in the ...
0
votes
0answers
32 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 ...
0
votes
1answer
110 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
30 views

Using 7zS.sfx - Any way to force uninstall of all versions (current or previous)

Here's my situation: I am building an application using a setup and deployment project in VS 2010 and packaging it into a self-extracting executable using 7zS.sfx. Generally, my users like to execute ...
0
votes
0answers
70 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
1answer
192 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: ...
0
votes
0answers
300 views

Playing VLC using 64bit bindings in C#

I have a 64bit C# desktop app. I am capturing a video from my digital camera using the nVLC binidings created here: http://www.codeproject.com/Articles/109639/nVLC When I was using VLC 32bit and my ...
0
votes
1answer
150 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 ...
0
votes
0answers
37 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
0answers
133 views

ffprobe: selecting from time until the next IFrame

I'm using ffprobe to get a set a set of frames starting from one IFrame to the next. ffprobe "<file>.MP4" -select_streams v -show_frames -read_intervals 30.031 When I'm done processing this ...
1
vote
0answers
252 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
56 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 ...
0
votes
0answers
390 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 ...
0
votes
2answers
944 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
195 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 ...
0
votes
2answers
214 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 ...
7
votes
1answer
208 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
0answers
1k views

Customize syntax highlighting in visual studio for C#

I've been unable to find within visual studio 2013, how to change the syntax highlighting color scheme for C# files. Namely, I'd want to change the color of variable names, and method names in method ...
1
vote
1answer
299 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
1k 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
640 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
405 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
259 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
17 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 ...
0
votes
1answer
27 views

how to save on existing video

I have this command : ffmpeg -f dshow -i video="screen-capture-recorder" -r 30 -t 10 E:\test01.flv and i am happy with it, but i wonder if i can make it save every 30 minutes so if the power went off ...
0
votes
1answer
359 views

remote connection to mysql

have two machine PC#1 with db mysql and appache and PC#2 with a c# form try to connect to this db here is my connection string used in PC#2: SERVER=My_public_ip;PORT=3306;DATABASE = my_test; UID = ...
1
vote
1answer
389 views

Video file created with FFmpeg too big

In my C# project I capture the screen at regular intervals (with a timer). I then have to convert the images into one video with FFmpeg, so I use this command: "-f image2 -framerate 9 -i ...
1
vote
1answer
120 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 : ...
0
votes
1answer
64 views

Stop print driver from opening windows

A program I've written is being used to send shipping labels to a label printer - or, more precisely, to five printers, each on a separate driver I've set up. The throughput is one every three seconds ...
-1
votes
1answer
47 views

How to retrieve the first argument when there is no Main()? [closed]

When the user drops a file icon on top of my application's icon, I am able to retrieve the filepath of the dropped file. It is contained in args[0]. How can I retrieve that filepath when there is no ...
0
votes
4answers
27k 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
134 views

BindIPEndPointDelegate to select VPN interface on Windows

I have multiple Windows-intergated L2TP VPN connections on my server. By default, all internet traffic should be routed through my local network adapter and not through the VPN. My application should ...
1
vote
1answer
139 views

Call WPF Application during windows 7 shutdown progress

I wanna call a WPF application, that during the windows 7 shutdown progress, will copy some files from computer to the server. The WPF application will show the copy files progress with progress bar. ...