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
3answers
1k views

Sending mail application sends mail to Junk email folder

I have a console application that attaches files from a folder on the server and mails it to myself. This works well, but it always seems to put the mails in the Junk email folder. Can anyone tell me ...
2
votes
2answers
2k views

C# lost local variable window from debug (f11 step by step)

I was running my code (visual studio 2010) and I accidentally closed the window that shows the state of variables step by step. I think it was called locals but I can't find it on any of the menu ...
1
vote
1answer
10k views

File does not contain a valid CIL image. [closed]

Hey guys i installed mono on my suse 12.1. When i create a file say "hello.cs" and run "$ mono hello.cs " on the terminal, i get this error: Cannot open assembly 'hello.cs': File does not contain a ...
2
votes
2answers
5k views

Command line RDP call CMD on target machine

I need to remote into ~50 machines and run a batch file. Is there any way I can start up an RDP session and call cmd?
1
vote
1answer
461 views

Removing case sensitivity [closed]

My program has a search and update function. But it will only find a match if the user types in Jane Doe not jane doe. ATM my programs retrieving user input, converting into char array and changing ...
0
votes
1answer
357 views

How to add an Environ Variable Path to VS command Prompt

If I open Developer Command Prompt for VS2012 using 'Run as Administrator' and then run the following will the path C:\foo get added to the list of environment variable pathways for the command ...
1
vote
2answers
2k views

What is the Difference between USb Root Hub and USB Composite Device? [closed]

I am Developing an application where I need to fetch VID and PID of all the Current USB Devices Connected to the Computer. But I am just getting VID and PID number of my Headphone that is attached to ...
0
votes
2answers
678 views

How to add hotkey to trigger a program?

I've deployed a project on client PC. Is it possible to add a shortcut key to invoke this program. How to make it minimized to the tray when it's triggered? (User can still open it by clicking the ...
0
votes
1answer
1k views

how to use custom ip address to browse a web page c#/.net [closed]

i am trying to browse web page using custom(user provided) ip address but it's not working. webBrowser1 loads web page successfully but it's not using custom ip address, it loads page with real ip ...
0
votes
1answer
269 views

options in compression with 7z

I want to create an archive, through a program I am writing in C#, and later decompress it. The archive will contain folders from completely different locations, grouped on 3 major subdivisions. ...
2
votes
6answers
10k views

How to recover my source code?

after a system crash down, one of my .cs file get lost. The size of the file is 18KB, when I tried to open it in VS2010, vs2010 auto opens it in NotePad, but the content is empty. I tried to open it ...
0
votes
1answer
642 views

Microsoft Outlook Password Protected Email Add In

I am facing an issue. I want my Microsoft Outlook email's to be password protected. I Google'd for it, came to know about "AddIn's for Outlook 2007" project. Any tutorial on how to setup a password ...
1
vote
0answers
186 views

Script for Bits Uploads - Allow clients to upload files in IIS7/IIS7.5

I need to write a script in C#\appcmd/some other script to automatically enable the checkbox for "Allow clients to upload files" under "BITS Uploads" in virtual directory configuration Thanks!
0
votes
1answer
744 views

Word list filtering and duplicate removing in multiple files - Tool or Program?

I've a wordlist which contains, username,phonenumber and email. It's gathered from various sources therefore in variable sizes. I need to filter the duplicate username and all things in a row. So far ...
1
vote
2answers
494 views

DISABLETHEMES for application compatibility in windows 7 not working

i am porting an legacy winform application developed for xp on windows 7 ,which is currently developed using c#.net 3.5 and some third party controls which are very old but don't want to change them ...
1
vote
0answers
49 views

Can a C# Client run through a VB Server? [closed]

I was wanting to see if it is possible to make a C# application connect to a Visual Basic Server as I already have a complete engine in VB, I was just wanting to convert the Client to C# so I can make ...
4
votes
1answer
680 views

Microsoft Visual C# 2010 Express error loading Silverlight

What's going on?: After selecting Silverlight Navigation with Accent Color from Online Templates in Microsoft Visual Studio C# 2010 Express, I am receiving the following error message. Error: ...
0
votes
1answer
65 views

Corrupted data from terminal to Host

Ive got a terminal which sends data to a host that is wrapped with <stx> and <etx>. However when it enters the network it always has 5/6 bytes of junk data in place of the <stx> and ...
0
votes
1answer
112 views

Can't install MS VS 2008 on a computer with MS VS 2010 installed

I have Microsoft Visual Studio 2010 installed on my Windows 7. And now I need also MS Visual Studio 2008. I tried to install MS Visual Studio C# Express Edition from official site and looked like ...
0
votes
1answer
139 views

is there any word add-in that can do this?

I'm looking for a word addin that can allow the user to create a triple list of words and associations and show a line under words or phrases that have matches in the list. For example, lets say I ...
0
votes
1answer
449 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 ...
2
votes
1answer
963 views

UDP Hole Punching impossible with non-well-behaved NATs?

Normally a NAT will keep the public end point of a local end point the same for all packets that are coming from it, thus making UDP hole punching easily possible. However, some NATs will map the ...
0
votes
1answer
394 views

Remove Encryption.Some of my Project files in c# have green text

Not sure where to post this but there you go I have an external disk drive I dont remember encrypting however some project files are green and when moving to another computer it does not let me. How ...
2
votes
2answers
364 views

Recover Visual C# 2010 Project

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
1answer
906 views

hyperlinks >995 characters are not clickable in Outlook 2007

In my C# app, I am sending an HTML email in which the mail body contains a hyperlink that exceeds 1000 characters. When the email is received in Outlook 2007, it appears as a link (blue & ...
0
votes
0answers
479 views

Google Earth plugin not working in Awesomium

We used Awesomium's demo browser to open this page: http://code.google.com/intl/fr/apis/earth/ The problem is that the Google Earth window is completely off of its position, in the top-left hand ...
2
votes
2answers
416 views

How to associate a SATA HBA to a Physical Disk

I am, admittedly, very new to the whole WMI "thing". This "thing" is quite overwhelming and I'm not finding an answer to the question that I have at this point. I've found the best information for ...
2
votes
3answers
2k views

How can I password protect shortcuts on the desktop? [closed]

I wish to password protect specific programs before they are executed. For instance, I have just downloaded Google Chrome, and have a shortcut for it on my desktop. I am wondering if it is possible ...
0
votes
1answer
941 views

C# Application prompts for Admin Credentials for particular user

I have two users one a month old, and one brand new. Both are standard users(belong to standard users group). UAC Setting is set to Default. Problem is while launching a C# App, old_user prompts ...
0
votes
1answer
1k views

Deleted item showing up in search results

I have created and deleted a site page in sharepoint 2010 site.But it is still showing in the search results..For your information I've deleted from the recycle bin also...Please let me know if any ...
1
vote
0answers
207 views

Creating Certificate and KeyValue

I'm quite new to the whole certificate-thing so I hope you can help me out. I need to create a self-signed X509Certificate2 certificate and a get the dependent KeyValue for my project. What is the ...
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 ...
5
votes
3answers
557 views

On windows, connect to a Virtual PV VM running Ubuntu for things like memcached, etc

I am on Windows 7, building an ASP.net web application. There are a few services that I need to connect to, and don't want to go through the hassle of installing them on Windows. I also run ...
3
votes
1answer
293 views

Why doesn't Firefox trigger UAC notification on Windows 7?

I have a C# (WPF) application (my own creation) that needs to open a port on the computer. This means that it requires administrative privileges to run. The app is currently unsigned and every time I ...
0
votes
0answers
846 views

Show Pop Up Message box window using Windows task scheduler in c#

I have created a scheduled task on my system and I want it to show an error message in a Message Box. I have tried below options but they're not working. /Create /RU SYSTEM /SC /ST /TN /TR /IT ...
3
votes
0answers
472 views

Microsoft ClickOnce Deployment with SFTP possible ?

I know that we could use FTP, Remote Website and Desktop to deploy our applications. I would like to know if anyone could suggest how to use SFTP instead? Are there any plugins that exist for this?
0
votes
1answer
231 views

Connecting via Internet IP address faster than local?

I'm working on a C# application which connects to a MySql database residing on a computer on our local network. However, later on, our website will also connect to that database sometimes, so I have a ...
1
vote
0answers
196 views

.NET Application Window Disappears but Keeps Running

We have written a Windows application in C# .NET. It works fine, but once every couple of months, for no apparent reason, the GUI window will disappear while the app is running. The app keeps ...
0
votes
4answers
1k views

Computer's turn on/off (hibernate/wake up) time

Is there an universal way (working on Windows XP/Vista/7) to determine the time of 'turn off/turn on' or 'hibernate/wake up' of the computer? edit: I want to determine it programmatically.
2
votes
2answers
830 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
vote
1answer
319 views

How to change product key of Office 2007 / 2010?

How can I change the product key of an Office 2007 / 2010 and activate it after that in C#?
2
votes
4answers
516 views

uTorrent automatic scheduling program

I am using utorrent on a mini "home utorrent server" full time. And when I go to bed, I have to manually set up the bandwith limit to max. And in the morning, I have to set it up to, say, 60% of the ...
4
votes
1answer
805 views

Can window snap be programmatically rotated when monitor is rotated to portrait?

My secondary monitor, which normally uses 1680x1050 resolution, is rotated (physically & through Windows) to be displayed vertically (1050x1680). Is it possible, programmatically or via ...
4
votes
2answers
330 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
1answer
712 views

Does anyone know if ExcelPackage is still in development?

I was looking for something to read excel in and I found this excel package I am wondering if it is still under development as I don't see it support excel 2010. Thanks
1
vote
2answers
605 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?
5
votes
4answers
10k views

Where is the MachineKeys folder in Windows 7?

I know where the MachineKeys folder in XP. Anybody can tell me where it is in Windows 7?
1
vote
1answer
551 views

Deactivate automatic debugging for certain application under WinXP and Win7-32

I have asked a question about handling crashes of a command line tool in a C# application on stackoverflow. I was pointed to this forum for finding out, how to avoid that WerFault.exe jumps in and ...
2
votes
0answers
526 views

Proxy software for all outgoing connection

I am working in an office, as our private requirements, we need to make all connection to specific domains must be sent via a proxy server. This is my issue for now, does anyone know a solution for ...
-1
votes
2answers
3k views

How can I prevent Windows 7 from shutdown/lock/logoff?

In my company staff have to check in after retch to company and check out before leave company on a internal site, sometimes I forget it totally...it's awful. Now i want a program which shows a prompt ...