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

-1
votes
0answers
15 views

timer won't close form and open's multiple instances if another form [migrated]

I'm having an issue with my program, I'm trying to close a form and open a new form using a timer but the form a won't close and opens multiple instances of form b, private void timer1_Tick(object ...
1
vote
1answer
2k views

Downloading Themes for GUI in windows application?

Is it possible to download from the net or customize the GUI, or form of a windows application made in Visual Studio? I have tried to make the form better to look at, but i want cool or casual look ...
-1
votes
0answers
11 views

Convert infopath form to PDF

I have several Infopath forms that I want to create a button within the forms to automatically convert them to PDF while maintaining text format and standard letter page size. I know you can print ...
0
votes
0answers
61 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
380 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
197 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
441 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
419 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
48 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 ...
7
votes
2answers
3k 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
27 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
12k 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
votes
0answers
141 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
51 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
126 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
41 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
1answer
806 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 ...
25
votes
5answers
25k views

How do I add formatted code to a Microsoft Word document?

I need to write a document in MS-Word 2007 that contains a lot of examples of VB.NET and C# code. What is the best way of getting the code to look reasonable in the document? What styles etc do ...
0
votes
0answers
255 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
526 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
711 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
83 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
884 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
7k 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
77 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
81 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
156 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
743 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
141 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
511 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
318 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
132 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
94 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
176 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
152 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
248 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 ...
0
votes
1answer
50 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 ...
0
votes
0answers
56 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 ...
2
votes
2answers
734 views

Disable Dropbox when WiFi isn't available

I have an ultralight PC with Windows 7 that I use during my daily bus commute. Since the processor speed is limited, I'm looking for a way to disable/enable Dropbox when I'm not connected to a WiFi ...
-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 ...
3
votes
1answer
2k views

TrueCrypt drive letter not available

With c# or a batch file I mount a trueCrypt volume located at A:\volumeTrueCrypt.tc With c# I do: static void Main(string[] args) { var p = Process.Start( fileName:@"C:\Program ...
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 ...
4
votes
2answers
253 views

“Stream” an app?

Is there a way to "stream" an application on windows? This might not be the right place to ask this, but, is there a way to, say, stream something like Avast from one computer to another, and then ...
1
vote
0answers
91 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
83 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
347 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 ...
1
vote
1answer
960 views

how to connect to secured wireless network connection in cmd in windows?

I program on C#, I don't want to use P/invoke, so I will use shell, so I need to connect to a secured wireless network connection on the CMD in windows, I know how to connect to a wireless network but ...