How to find the location of the icon in the system tray.
I have a NotifyIcon control that appears in the system tray. How can I find the location (x, y) of the icon on the screen? Thanks ...
I have a NotifyIcon control that appears in the system tray. How can I find the location (x, y) of the icon on the screen? Thanks ...
I'm not that familiar with WCF, but I thought I'll learn while trying to consume an existing service. One of the REST APIs I thought of was the Twitter API. I thought of developing a WPF client that will just output to the screen the last 5 tweets by a certain Twitter user. I was wondering if someone could please briefly outline the st...
I am following the learning ASP.NET 3.5 by O'REILLY to write some ASP.NET 3.5 code using Visual Studio 2008 SP1. I have gotten to the point to where I need to Configure a Data Source using the SqlDataSource control. I chose Microsoft SQL Server (SqlClient) even though I have SQL Server Express 2005 - This seems like the only logical ch...
I have a set of 6 MSTest test assemblies. When I bring up the Test View window and group by Project all of my projects show up save one. I cannot seem to make Visual Studio understand that this project is a unit test assembly. Resharper's Unit Test Runner has no problem identifying this sixth assembly. So the assembly is fine from that ...
Is the Visual Studio 2008 Object Test Bench useful for anything? Maybe I'm missing something but aside from a flashy version of the immediate window, it doesn't seem like a developer would actually use it for anything. (And how many people knew it existed in the first place?!) In case you're wondering, the 'Object Test Bench' is loc...
I am working on an application, implemented in VC++ 2008 that needs to use sftp through libCurl. In order for this to happen, libCurl needs to be built with ssh support. The problem is that, unlike the mingw makefile, the makefile for vc8 does not have target configurations to build with SSH support. Does anyone know what needs to be ...
I set up MbUnit and have been trying to get it to work with VS 2008 using the MbUnit GUI but every time I run a test it closes and I get a this program needs to close error. I had a similar problem with Gallio where I got a runner exception every time I ran a test. Do I need an addin for VS like testDriven.Net to get this to work? ...
My platform: Visual C# 2008 Express Edition with NUnit 2.2.7 I have a solution with my code in one project and my NUnit unit tests in a different project in the same solution. I have been struggling hard to debug and single-step through the NUnit tests. I found some references online that suggested calling the following: NUnit.Consol...
When I try to create a Excel 2007 Workbook project, in Visual Studio 2008, I get the following errormessage: Project cannot be created because the "Excel Visual Studio Design-Time Adaptor Add-in" is not working correctly. Excel might have disabled the add-in or made it inactive, or all add-ins might be disabled in your Trust Center s...
Usually, we install VS.NET on our production server, to solve problems easily with our product, if necessary. Is this a good or bad idea? ...
I am very new to VB.net. I have written these objects in VB6 before. I'm just lost in VB.net, but (kicking and screaming) I have to learn how to do this. I've been googling for hours with only minor steps forward. Can anyone post a link that explains start to finish how to do this? I have managed to write the class object, What I can no...
I'm a self-taught developer and my experience is all in small applications that I've developed. I'm currently working on an application that I've made public, and I've realized that I need to start doing good unit testing to catch regressions and generally make sure everything works. I've read up on a previous question. I would like t...
I have a website with a mix of ASP (classic) and ASP.NET pages. For some reason Visual Studio (specifically 2008 Pro) keeps trying to compile the ASP classic pages. How do I prevent it from trying to compile the .asp pages? Reason: I'm getting a ton of errors on a specific .asp file that includes a Class. I believe it's trying to comp...
In vs team system 2008 unit test, how can i load an application configuration file in the test itself? i have an app.config in the test project, referenced System.Configuration but when running the test, it doesn't see the app.config ...
Hi, SCENARIO: I have two wrappers around Microsoft Office, one for 2003 and one for 2007. Since having two versions of Microsoft Office running side by side is "not officially possible" nor recommended by Microsoft, we have two boxes, one with Office 2003 and the other with Office 2007. We compile the wrappers separately. The DLLs are i...
All of the errors are on auto-generated files, not within the files that were created by me. Here are a few of them: 'Context' is not a member of 'auth_cookies' 'ProcessRequest' cannot be declared 'Overrides' because it does not override a sub in a base class 'Server' is not a member of 'ASP.auth_cookies_aspx' Class 'auth_cookies_aspx'...
Does VS2008 have somewhat C++0x standard support? DUPLICATE http://stackoverflow.com/questions/146381/visual-studio-support-for-new-c-c-standards ...
I am trying my hardest to define a list of CodeAnalysisRules that should be omitted from the Code Analysis tools when MSBuild executes my TFSBuild.proj file. But each time I test it, my list of Code Analysis Rules to exclude are ignored and Team Build just simply honors the Code Analysis Rules settings for each project. Anyone have an ...
Ok. I'm having an issue with the following bit of code: StreamReader arrComputer = new StreamReader(FileDialog.FileName); My first question had been answered already now my second question focuses on the tail end of this code. I'm reading a text file StreamReader that the user selects with a button event using OpenFileDialog priva...
I have created a reference to an IIS hosted WCF service in my ASP.NET website project on my local workstation through the "Add Service Reference" option in Visual Studio 2008. I was able to execute the service from my local workstation. When I move the ASP.NET web site using the "Copy Web Site" feature in Visual Studio 2008 to the deve...