annoyance

Visual Studio 2008 Window layout annoyance

I'm having a weird issue with Visual Studio 2008. Every time I fire it up, the solution explorer is about an inch wide. It's like it can't remember it's layout settings. Every un-docked window is in the position I place it. But if I dock a window, it's position is saved, but it's size will be reset to very-narrow (around an inch) when I...

SQL Error OLE.INTEROP

I'm getting an error whenever I load Management Studio or open a folder in the server explorer, etc. Additionally, If I try to create a new database it constantly is updating and does not finish. I have attached a screenshot of the error. Please let me know what I can do to fix this because it's really aggravating. ...

How to get Intellisense on error-marked code in Visual Studio 2005?

When I try to compile code on VS 2005 and it fails, the line which causes the error gets underlined blue, and mouse-hovering over it displays the error message. Fine, but you can't see object types or whatever, because Intellisense will show the error message, and not object info. In this image, I wanted to see what type DateTime.Subtra...

How do I configure a project to use latest Derby DB version (10.4)?

Every time I try to run a small application that uses a Derby DB I get this error message: Message: Database at /path/to/db/TheDB has an incompatible format with the current version of the software. The database was created by or upgraded by version 10.4. I've added the library from Netbeans, and still have the same problem. I'm n...

Integrated Help - Merged Help Indexes

If anyone has had more than a couple of Microsoft tools or products installed (or a local install of the MSDN library) side by side, you might have noticed that opening help (hitting F1) or opening, say, SQL Server Books Online causes the help indexes to be re-indexed - this is usually after installing a new product or tool. This can be...

Is there a way to prevent the VB6 compiler from shuffling the contents of files?

For reasons unknown, the VB6 compiler often likes to reorder the contents of .vbp files and the control descriptor block at the top of .frm files (The code that describes the properties of controls on the form. Code that you don't see in the IDE but you do see in a text editor and when doing diffs against the previous revision in versio...

What is your method of "folksonomy" tagging for files on your local machine?

Way back in the days when "delicious" was just "del.icio.us", I had assumed that everyone had finally caught on that Ontology is overrated. So why am I still having to roll my own tagging system using sqlite and a bunch of ruby scripts in order to address this obvious deficiency on my own local machine? I can tag on-line web links, blo...

Visual Studio 2008, dumb problem with relative paths

What's happening to me is, when I run my program out of Visual studio, it can't use relative paths to find anything. This is proving difficult to articulate... Like, I've got program X, which opens textfile.txt, right? And if I point to textfile.txt with an absolute path, I'm fine. And if I point to it with a relative path and I compil...

Is it possible to disable IE8 "accelerators" on my website?

I'm a web developer focused on UI. Many interface features in my web application are based on double-clicking. In IE, this brings up that new annoying "accelerators" icon which interferes with my user interface. Is it possible to disable "accelerators" on my pages? Maybe with some new stupid IE-specific meta tag? ...

Control-r reverse-i-search in Cygwin bash: how do you "reset" the search?

Question: How do you tell ctrl-r reverse-i-search to "reset itself" and start searching from the bottom of your history every time? Background: When using reverse-i-search in bash, I always get stuck once it is finished searching up through the history and it cannot find any more matches. Sometimes I hit escape and re-invoke ctrl-R a se...

What causes the System.Web.HttpException with error code 0x80070057 on Page.Flush while debugging in VS2005?

Here is the complete error message: An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code Additional information: The remote host closed the connection. The error code is 0x80070057. and the offending code: char[] buffer = oPage.HTML.HTML.ToCharArray(); Page.Re...

What language decision in C# annoys you?

I was just dealing with strings, and I find myself annoyed that strings can be nullable. So, I have to have if((teststring??string.Empty)==string.Empty) all over the place. Would string? have been so hard for allowing nullability in the relatively few cases where it is needed (dbs, idiot user inputs, etc.). I also find myself irritat...

force excel to stop applying "auto-corrections" to csv import data

NOTE: this question is almost a dupe of: http://stackoverflow.com/questions/284092/stop-ms-excel-auto-formatting-numeric-strings-as-numbers I say "almost" because this specific question was not asked ... Question: Is there a way to attach a "schema" to a CSV file, prior to Excel import, that allows Excel to understand the correct form...

Is PHPDoc verbosity more trouble than it's worth?

I tried using PHPDoc for the first time today and quickly ran into a problem. For every 1 line of variable declarations, I had at least 5 lines of comments. Example: /** * Holds path the remote server * @name ... * @global ... */ $myvar = ... Of course, the payoffs are nice - but this turns a 10-line config file into a 60-line ...

How to get Visual Studio to remember javascript settings

Visual Studio 2008 is doing something that really frustrates me. I open a javascript file and start editing my code and it places the opening brace on the same line rather than on a new line. So I go to the text editor options and tick the boxes to put the braces on a new line and all is fine until the next day when I open a js file and ...

Bizarre Behavior of src attribute on img element in VS2008 inserting [A] characters

With VS2008 SP1 I have a line of code like this in an aspx file: <img src='http://spiurl.appspot.com/&lt;%#DataBinder.Eval(Container.DataItem, "UserName") %>' style='border:0; cursor:pointer;'/> This works perfectly. However, if I switch to "Design" mode in the IDE and then back to "Source" mode the characters [A] are magically/infur...

What simple problem have you seen addressed in an unnecessarily complicated manner?

Today, I was reviewing some code a coworker had written recently. The following statement seemed to jump off the screen at me. string defaultValue = (1000).ToString(); And this has prompted me to ask the question... What simple problem have you seen addressed in an unnecessarily complicated manner? ...

How to avoid the mailto annoyance?

I am working on a website and would like for my users to be able to give feedback as easily as possible. I know one way but I've always hated it: <a href="mailto:[email protected]">Click Here to be annoyed!</a> Is there a way in JavaScript or HTML to allow my users to email me without having to go through a lot of trouble? ...

Unable to apply publish properties?

I don't know what caused VS to start thinking it needs to publish my project, but now whenever I build it, I get several "Unable to apply publish properties for item 'blah'" warnings. How do I stop VS 2005's publishing facilities from working on my project completely? I use InstallShield so I have no use for VS's publishing system. ...

How can I stop my Visual Studio from launching IE8 TWICE when I click "Start Without Debugging" (Ctrl-F5)?

I use Visual Studio 2008 primarily for web development, and there's one annoying behaviour which seems to have occurred ever since I upgraded to IE8 on my work PC: When I set a start page for a web site or web application project, and then either click the "Start Without Debugging" icon in the toolbar or use the keyboard shortcut CTRL-F...