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
12 views

Window open on another window close [on hold]

I am writing C# programming in Visual Studio 2010. I have created a simple window (form) and named it as Form1 and I have created another window Form2. Now I want to close Form1 and as soon as Form1 ...
-1
votes
1answer
19 views

Common email Contacts for workgroups [on hold]

Is it possable to create some sort of common email contacts for all users to use that can access this? So I have users that are on the same network and same WorkGroup with mostly MS Outlook clients ...
0
votes
0answers
14 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
0answers
13 views

Active Directory user rights [migrated]

I'm currently working on a ASP MVC Website solution that I retrieved from a predecessor, and I had to create an active directory machine to support the login implementation using it. Upon a user's ...
1
vote
0answers
16 views

visual studio 2012 debugger doesn't work [migrated]

My visual studio 2012 had stopped showing debugger exceptions. I mean this dialog that shows me exact exception and line: http://i.msdn.microsoft.com/dynimg/IC286574.jpg. In example if I run ...
0
votes
0answers
6 views

How to edit C# class template in Visual Studio Ultimate 2013 [migrated]

I'm trying to edit the C# template so that I don't have to keep adding directives that I commonly use. After googling a little there is mention of finding the template in some zip file however this ...
0
votes
1answer
43 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
26 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
122 views

How to login remote system connected in lan using C# code?

I can restart and shutdown and turn-on remote computers which are connected to my machine. In addition with those task I need a way to log-in remote system directly while I turn-on that machine. ...
0
votes
0answers
39 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
114 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
36 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
233 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
1answer
660 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
70 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
66 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
151 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? ...
0
votes
0answers
650 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
119 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
494 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
314 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
125 views

How build hotspot network and monitor with software on server?

I would like to build a hotspot network. I will have several hotspot locations which are connected to a main office. In my main office I would like have server that checks the connection requests from ...
0
votes
0answers
90 views

Can UPnP handle 1000+ devices with multiple services running on each device?

Good morning, We were going to use UPnP for our network discovery. In order to be able to use this protocol, we need to be able to handle discovery of 1,000 devices on a network. As a maximum, the ...
0
votes
0answers
166 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
114 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
240 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
75 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
0answers
52 views

ovftool library usage in standalone app

I am trying to create an application which will deploy VM on vSphere, right now I am using PowerCLI with ovftool, but sometimes I have deploy from computer which do not have PowerCLI neither ovftool ...
0
votes
1answer
49 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
44 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
10k 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
87 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
78 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. ...
2
votes
1answer
324 views

C# windows 7 run exe before computer shutdown

I want to run an executable that saves an XML file on a local drive before the computer (running on Windows 7) gets shut down. I know it is possible to run scripts before shutdown. This can be ...
0
votes
0answers
169 views

A socket operation was attempted to an unreachable host error

I'm developing a program in C# that uses a UDP multicast system. My Multicast group it's using 224.0.0.1 address to communicate. In all Windows 8 machines it is working fine. However, in a Win 7 64x ...
1
vote
0answers
24 views

Retrieve deleted accounts [closed]

Several thousand accounts were deleted by mistake in our CRM 2011 system. We have a backup where we can retrieve them, but are having issues with restoring those records. Is there a deep clone ...
0
votes
0answers
482 views

How to extract jpegs from a video file using ffmpeg

I am using C# and ffmpeg. In this scenario I have 279 individual jpegs and i have used ffmpeg to create a AVI file from these images on my client. CMD Line: -f image2 -r 10 -i ...
-2
votes
1answer
341 views

Unity 3D coding language, C# or JavaScript [closed]

Hello to the gaming community. I am a budding game designer, learning to code for the first time in my life. I did learned c++ in school, 8 years back, so I sort of understand the logic when people ...
-1
votes
2answers
1k views

How to reduce the font size while print notepad file from DOS using BAT file

I am using DOS BAT file for print text file(bill).The problem is font size is too large so, its not fit in the paper size.The BAT Code is copy bill.txt \\127.0.0.1\bill exit please explain how to ...
1
vote
1answer
424 views

Omnisharp for Emacs doesn't work

I tried recently to work with C# with Emacs24. I found https://github.com/sp3ctum/omnisharp-emacs I installed it with MELPA. Then I run it. Nothing happened. I wonder what went wrong. I think I don't ...
0
votes
1answer
221 views

More than 256 colors for xp .ico

I am working in a windows form application with .net 4.0 c#. I am having a problem with the .ico images. The machines that will use de application have xp installed(some of them). I've been having ...
4
votes
2answers
1k 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 ...
0
votes
1answer
116 views

Is there a software which prevents illegal distributing of my Windows application [closed]

The subject itself is saying : i created application for Windows 7 based on .Net 4 i want this application to be used only by legal users who really bought it thus i probably want some software ...
1
vote
1answer
107 views

.Net Specific PerfMon Counter Missing

I do have another issue with Perfmon data. On below screen you can see my Prod Box has all .Net Perfmon Data available while on Dev box it's missing. I thought it could be missing Registry ...
0
votes
1answer
498 views

Detecting whether a proxy is HTTP or SOCKS

Based on the long search in net I came to know that SOCKS uses a handshake protocol to inform the proxy software about the connection that the client is trying to make, and then acts as transparently ...
-2
votes
2answers
235 views

Need to start my application on Windows logon screen

I have a problem. I have a GSM device and I wrote an application in C#. The app continuously receives SMSs and stores them in a database, but when Windows gets restarted, I have to explicitly login ...
0
votes
0answers
213 views

how to change program name in setup UAC with installshield

I am trying to create a setup.exe using limited edition of Installshield, but I am not able to change the program name show in the user account control form. However when I uninstall, the program ...