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
vote
1answer
12 views

Visual Studio 2013 missing Call Hierarchy

I want to open the Call Hierarchy of a property or method using C#. According to this I should just right-click on a Property and call the operation. But I do not have it in my context-menu I also ...
0
votes
0answers
26 views

Windows PowerShell version 3.0 doesn't support installation of an exe

I am trying to install an exe using C# code (.net framework 4.5) and PowerShell script in remote machine. The remote machine's OS is Windows 7 and its PowerShell version is 3. The exe has been moved ...
-3
votes
0answers
11 views

Mysql Key C # Active [closed]

I Creating And Selling Plugins For The Game "Unturned" Using C# So i afraid my customers will sell the plugins and i think about KeyCode... Like I Create KeyCode + IP Number In Mysql Database And When ...
0
votes
0answers
7 views

Using Mono.WebBrowser on WinForm [migrated]

I am really confused!! I found this: http://stackoverflow.com/questions/8415340/how-do-i-use-mono-webbrowser I am running Windows 10 and Visual Studio 2015 C# WinForm project. Mozilla Firefox is ...
0
votes
2answers
949 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 -...
0
votes
0answers
22 views

C# released project : project.exe doesn't do anything

I have a Console Application C# project, it runs fine in Debug mode, and I released it. The .exe file it created located in bin\release doesn't seem to work, it just changes my cursor to an arrow and ...
0
votes
2answers
33 views

Cant open corrupted .cs file

So my computer crashed while Visual Studio 2012 was on and my .cs file got corrupted. In Notepad++ there are just many 'NUL' words in black font and in simple notepad just white spaces, file had taken ...
0
votes
0answers
10 views

Could this shell extension program have corrupted anything(even temporarily) now that i've run it?

I am not sure where if anywhere, to post this question. I was reading an article recommended on a Stackoverflow answer, it suggested a series of article including http://www.codeproject.com/...
0
votes
0answers
44 views

Integrating IM applications with outlook 2013, user's presence not enabled in Contact Card

I have implemented the IM Client (32 bits) for Outlook 2013 (64 bits) as per article "https://msdn.microsoft.com/en-us/library/office/jj900715.aspx?f=255&MSPPError=-2147217396". I have implemented ...
27
votes
5answers
41k 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
1answer
38 views

What happens if I map a drive multiple times?

I have a drive mapping function called MapDrive which takes the necessary information to map a network drive (path, drive letter, user/pass). What happens if my code calls this function multiple times ...
0
votes
0answers
31 views

Server in Visual Studio 2015 Enterprise Edition

How do I set up a server in Visual Studio 2015 Enterprise Edition where I can deploy my C# applications on to that server? Like how Netbeans has a Glassfish server.
0
votes
0answers
56 views

Command prompt begins running .exe files but then stops working

I've been attempting to run some easy hello world programs on my command prompt in c++ and c# but after I compile them and attempt to run the .exe files the command jumps a line like it's going to ...
1
vote
1answer
52 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a ...
6
votes
3answers
38k views

How to use PSCP to copy file from Unix machine to Windows machine where target path has spaces?

I am having a problem using PSCP in a C# program to copy a file from a Unix machine to a Windows machine. The problem only happens when the target folder on the Windows machine has a space in it. ...
0
votes
1answer
166 views

Connect database in another computer

I cannot connect the database in another PC. I already disabled the firewall and followed the instruction in another forum. Should I install software or third party software to connect the database ...
2
votes
2answers
430 views

Recover Visual C# 2010 Project [duplicate]

I have spent a lot of time writing a project in Microsoft Visual C# 2010 Express. While creating it I used multiple computers and opted to store the files on a external hard drive. While finishing my ...
0
votes
2answers
1k 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 ...
1
vote
1answer
138 views

How to search for C# source code files in Windows File Explorer?

I'm trying to find some lost C# source code files on an old external drive. I believe the file extension for C# source files is .cs. When I enter in the search file *.cs and begin searching, I find ...
0
votes
0answers
124 views

Host “my ip” is not allowed to connect to this MySQL server

I have hosted my MySQL database on https://www.000webhost.com/ . I tried connecting the same using C# code , but getting error like Host "my ip" is not allowed to connect to this MySQL server . Please ...
0
votes
0answers
10 views

Issues with Viewing Markup in Visual Studio Development Environment

I have inherited a project from previous developers who left me zero documentation, and I am trying to figure out what is going on with the code in the projects I am reviewing. The projects are ASP....
-1
votes
1answer
176 views

C# console Application with DB

i have c# program connected to SQL server and it is working very good but when i am trying to install this program in other PC it doesn't work unless SQL installed the data base is very simple .. i ...
1
vote
1answer
1k views

What is .NET Multi-Targeting Pack?

Installing Visual Studio installs bunch of .Net packages called .NET x Targeting Pack .NET x Multi-Targeting Pack .NET x Multi-Targeting Pack (ENU) Where "x" is stand for the .Net version number ...
0
votes
1answer
52 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
91 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 ...
0
votes
1answer
76 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
46 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" ...
0
votes
3answers
97 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 ...
-2
votes
1answer
79 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
28 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 ...
2
votes
1answer
64 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.
0
votes
1answer
39 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
2answers
14k views

Can't open an .exe app made in c# with Visual Studio

So I made a simple calculator console application with C# and Visual Studio. Now I gave the .exe file from my debug folder to a friend to test the application. Unfortunately, when he tries to open it, ...
1
vote
1answer
63 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 text:...
2
votes
1answer
411 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 ...
1
vote
1answer
2k 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 ...
0
votes
0answers
22 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
124 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
36 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
56 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
51 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
72 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
4answers
6k views

Is there a way to get a new registry recognized without rebooting?

Is there a way to get a new registry recognized without rebooting? I'm adding HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLinkedConnections
1
vote
1answer
229 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
35 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
306 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
90 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 2010. ...
1
vote
1answer
430 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 word-...
1
vote
1answer
3k 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 ...