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

Which tools is best for Image Processing [on hold]

I wants to learn image processing, but I am confused with a lot of tools and libraries on the internet, What I want is to continuously detect the specific object through webcam and perform any ...
0
votes
0answers
7 views

How to clone a datagridview in c#? [on hold]

i use visual studio 2012 c#.I tried to do something but unfortunately it's not working. My problem: I have a form with two datagridviews: one should be master and the other details(clone). 1-) ...
0
votes
0answers
11 views

Mounting VHD, but not to a drive letter

Can I mount VHD so I can access it from my app, but not as a drive letter. I need to access some files from my app (C# apps), but don't want it to be visible in Windows Explorer.
0
votes
0answers
9 views

Access BitLocker drive from within .NET C# Application?

Can I open a password protected drive just from withing my .NET C# app? I need to unlock & access files from app, but not visible from Windows Explorer. I need some encrypted app only virtual ...
-1
votes
0answers
19 views

How to create multiple vms in azure in same cloud service using C# rest api [on hold]

I able to create storage account,cloud service and VM each separately using separate code. From this. https://msdn.microsoft.com/en-us/library/jj157194.aspx But I need to create multiple VMs with a ...
0
votes
1answer
17 views

How to export each Excel sheet to each page on PDF?

I want to export specified Excel sheet to specified page on PDF. For example, Sheet1 from Excel to Page1 on PDF. Sheet2 from Excel to Page2 on PDF...so on. I know how to export whole Excel book to PDF ...
0
votes
0answers
12 views

How to post only selected checkboxes to Controller? MVC

How can I post only selected checkboxes value to Controller in MVC? I've a list of checkboxes which generating with foreach, here is code: @foreach(var item in Model) { <input type="checkbox" ...
-2
votes
1answer
40 views

Visual Studio 2015 Setup.exe [closed]

I'm a very novice user of Visual Studio 2015 but I created my first windows form application recently. I published the application to a thumb drive and I can install it on my co-workers mac's that run ...
0
votes
0answers
22 views

Install Windows 8 update on Windows 10

I am creating a program in C# that uses Novation Launchpads, which are MIDI devices. Therefore I am using the functions midiInNumDevs and midiOutNumDevs and I am trying to make the program ...
-1
votes
0answers
9 views

Marshal.GetActiveObject(“Outlook.Application”) fails while Outlook has focus [migrated]

I am trying to automate Outlook using COM, and we are having terrible problems with Outlook crashing at arbitrary points when trying to use MAPI methods (eg Outlook.Recipient r = ...
2
votes
1answer
24 views

Standard Bar code device

I have a library system project and I'd like to ask if there is a standard bar code device for all books (new and old ones). thanks for any helpful answers.
-2
votes
0answers
7 views

Grabbing HTTP requests made by clients on Windows Hosted Network C#

I'm trying to create a software in C# in which users will be connected to Windows' Hosted Network. If the client/user makes a request to any site (e.g google.com), i want the request to go through a ...
0
votes
1answer
32 views

installed Software Version [closed]

I am developing software which is distributed through setup (Create with old Visual Studio 2003) and which is AutoUpdated through an AutoUpdate I created. This AutoUpdate replaces new files, updates ...
1
vote
1answer
35 views

Different structure when I copy text from PDF

When I copy and paste text from PDF, it shows different than it appears in the original. For example: In the original is "Hi my name is Victor and I am 23 years old". When I copy and paste the ...
0
votes
0answers
8 views

Connect two applications/devices through web service

I want to send commands from one application (e.g. running on mobile device) to another application (e.g. running on embedded device) which is located in a different network. I don't want to use VPN ...
0
votes
0answers
44 views

how can I redirect my network traffic through tor network

I have made a app that will send data to a server but due to confidentiality of the data of my clients , it needs to be anonymous so I thought of using TOR network and I know TOR doesn't work with ...
0
votes
0answers
17 views

Is there any way to connect to a gsm modem wirelessly with c#?

Is there any way to connect to a gsm modem wirelessly with c#? I mean without using a USB cable, with WiFi or Bluetooth so I can manage SMS and calls from my application.
0
votes
0answers
30 views

MSSQLLocalDB first connection has long delay

Using LocalDB before VS 2015 has always been fine, no delay whatsoever, however after upgrading to 2015 it now takes an awfully long time to connect to a database running from a .mdf file. My process ...
-2
votes
1answer
33 views

What is a good tool to navigate large C# code base [closed]

I am working on a large c# code base. I would like to know what is a good tool for code navigation? e.g. find out which class inherits a particular interface? where does this method get called? ...
1
vote
1answer
49 views

Windows 8: Launch application on logoff

I created an application (.NET Windows Forms) which shall be launched after a user presses the "Logoff" key in Windows 8. I created a gpo in my domain environment which works in Windows 7. However, ...
0
votes
0answers
24 views

Rules for accessing perf counters in perfmon?

I wrote a suite of powershell scripts using the .NET API to create, connect, and write to performance counters in perfmon. The whole setup is kind of complicated and probably not relevant to this ...
-2
votes
1answer
141 views

Deleting temp files via C# [closed]

Am trying to delete the temp files via C#. But it throws system.UnauthorizedAccessException. File.Delete(Path.GetTempPath()); How can i fix that issue
-1
votes
1answer
79 views

Upgrading windows 8.1 to windows 10

I am upgrading my PC to windows 10. I have multiple Microsoft products installed on my PC such as Visual studio 2012 pro , Visual studio pro 2013 , Microsoft SQL server 2014 and Microsoft office ...
0
votes
3answers
63 views

How to access SQL Configuration Manager

Upon checking the programs installed on my machine, it says that I have SQL Server 2014 installed. However I can't access the Configuration Manager in the "All apps" of the start menu to make a ...
1
vote
1answer
238 views

C# program sending email, always marked “Suspected Spam” by Gmail

I wrote a simple email program for a client. It sends an email. Just one. No bulk operation here. Yet, every email is marked as "Suspected Spam" by Gmail. I read that there is a statistical ...
0
votes
1answer
98 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
23 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
34 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
91 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
80 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
20 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
30 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
138 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 ...
0
votes
0answers
385 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 ...
1
vote
1answer
168 views

Running C# files out of Google Drive

I like to be able to code on both my laptop and desktop (both with Win 10), therefore I have Google Drive to sync my files between the two. My first issue was that the user folder on both computers ...
0
votes
0answers
79 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
147 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
249 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
529 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
49 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
125 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
99 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
455 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
83 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
82 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
329 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
49 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
118 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
278 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
1answer
254 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 ...