Otherwise known as a hard edge, this is a line over which the mouse cannot cross. Useful in games and the like.
Currently, I have a function that returns if my mouse cursor is in a polygon drawn on the screen. If it is not, I move my cursor to the last stored point that was in the polygon.
if (!PointInPolygon(local, polyGon))
{...
Hello everyone.
I my program i need to capture when the Print Screen key is pressed down but it is not working (however it works with other keys).
I guess this has something to do with windows hijacking my authority and since im still new at this i'd love to know how i can get around this issue.
Here's my current code:
namespace Boom...
I'm using a weak computer that's chokes when I open too many programs (Out of my control).
So I want to have a lighter way to open Visual Studio solution files and csproj files.
I sometimes like to keep projects open for
code reference
easy access to files I care about.
edit my custom msbuild tasks (don't compile thru the I...
Hi,
I have a CVS add-in to Visual Studio. The add-in writes to the output window everything I do (commiting, editing, etc.).
I built a macro that takes the output window and uses it to my own purpose.
Now I moved to SVN, and I use the VisualSVN as add-in to the Visual Studio. But there is no SVN add-in that writes to the VS' output win...
I have an installer with an external UI handler. Therefore, I have a Setup.exe and a setup.msi file. How can I put both files inside the bootstrapper? Thank you.
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
<ProductName>Microsoft...
What does it mean? I am debugging C# code.
...
Hi,
I have a .NET 1.1 web app and I am using JQuery-1.3.2.min.js
in a webpage.
I am getting a Invalid Property Value when running in IE 7.
Firefox is OK.
Problem is being able to debug this in VS2003.
How can I debug this and find what line is causing the error
please?
I put a break point on the js line where I think but
debugger doe...
In visual studio 2008, I have created a static dll called test_static.dll. I am trying to call this from one application. I have included this dll in source files folder and the header file related to it in headers folder. When i am running the application I am getting following liking error. Please give me a solution.
error LNK2019:...
I have an issue that is driving me nuts and I have tried everything I can think of to solve it.
I started gettting the following error when I tried to launch asp.net configuration from within all visual studio pro 2008 projects and websites.
"Server Error in '/asp.netwebadminfiles' Application.
Session state can only be used when enabl...
Somehow, since some time I'm experiencing problems with debugging my ASP.NET website.
Every time I try to debug the website ASP.NET shuts down (global.asax_Application_End is called).
I believe this is triggered because the site is built by Visual Studio. However, manually (re)build the site and then start debugging also restarts the sit...
Hi all,
I'm creating a setup project using Visual Studio 2008 and I was wondering if there is a standard way to check if a certain program is running during the setup? In this case I want to check for any instances of Microsoft Excel.
thanks in advance!
...
I have set a breakpoint in an HTTPHandler in visual studio. The HTTPHandler is an .ashx file I am trying to debug by running my application in the VS development web server. My breakpoint is NOT getting hit.
How can I step through it?
EDIT: My breakpoint is NOT getting hit
...
When I select a class, variable etc that should have a context menu in vs2005 and right click on it does not open up the context menu. I can use the context menu key on the keyboard to activate the menu but not the mouse. If I right click on any white area a context menu will show, but that does not make any sense for me i.e. there is n...
Hi all,
I'm creating a setup project and I need to execute a VBScript file as a custom action, but I don't know how to return a value from the script to the installation. I need to do this, because I want to decide in the script whether the installation should continue or fail.
thanks in advance.
...
I would like to create a few simple programs that don't have the huge .NET framework as a dependency. The obvious choice is C++ under Visual Studio.
What's the best book for a programmer that has a reasonable familiarity with the C++ language but is a bit rusty on Win32 arcana?
Also, what's the preferred jargon? "Native," "Win32," or "...
Is it possible to have Visual Studio check .aspx pages for errors when compiling? For example, if I have a Web Form with this control:
<asp:Button ID="CancelButton" runat="server" OnClick="CancelButton_Click" Text="Cancel" />
If CancelButton_Click does not exist in the code behind, have VS throw an error when compiling the application...
I'm writing a bunch of tests for a class, and frankly I don't want to go to the effort of naming each test intelligently: "Compare2002to2002forLessThanOrEqual"
I'm cool with TestMethod1 through TestMethod120 - but I've got to edit each name, and that gets annoying. Is there any plugin that will generate unique names for all the methods...
I want a popup onclick that flies in animated. I'm using ajax and currently this is what I have:
<asp:ImageButton ID="ImageButton2" runat="server"
ImageUrl="~/images/bttnViewMini.gif" />
<asp:Panel ID="Panel3" runat="server">
//stuff
</...
(This is a probably a very beginner question and I may be missing something obvious)
I've just moved from my mac back to windows, and I'm trying to get set up with C++. I have visual studio 2008 C++: how do I compile "normal" non .net/clr C++? I want a command line application, and the only project that seemed fit was "CLR console appli...
Coming from a PHP/Apache background I'm looking for the equivalent of the Access Log when I'm developing ASP.NET MVC applications in Visual Studio 2008. On the Unix box I'm used to tailing the access_log to get an real time view of which requests is send to the web server:
tail -f access_log
I'm currently looking into ASP.NET Traces. ...