Nieuwste berichten
-
Error when compiling .resx file – Attempt to load a program with an invalid structure
I have seen this before and fixed it, but ran into it again today and could not remember what is was. When compiling a WinForms application in Visual Studio 2010, I got an error message stating “Kan bestand of assembly (…) of een van de afhankelijkheden hiervan niet laden. Poging om een programma te laden […]
—
-
Issuing SVN commands from UltraEdit
Now I am getting used to having VisualSVN around when I am editing from Visual Studio, or the Subversion integration Delphi has (although that is broken since I upgraded to svn 1.7), I sometimes miss it when editing other kinds of files from my favorite UltraEdit text editor. While googling around to see if there […]
—
in General -
Initializing a combobox to a blank value might be harder than you think
Combobox troubles again today. No matter how hard I tried to have Comboboxes in my dialog form to initially display blank (SelectedIndex = -1), as soon as the dialog was displayed, the combos would always show the first item in the List that populated it. Despite being set to -1 explicitly. It was driving me […]
—
-
SVN Commit failed, access forbidden
Yesterday I had to commit a project to a fresh and new repository on a Subversion server (VisualSVN Server). So I checked out an (empty) working copy, inserted the files, and committed. The files were added, but immediately after that, TortoiseSVN complained: commit failed (details follow): access to ‘/svn/(RepoName)/!svn/act/(someguid)’ forbidden.’ Errr… what? So I verified […]
—
in General -
Keeping a modeless window accessible from a modal (dialog) window
In a C# WinForms application I was working on, users were effectively working with two more or less independent windows: one they worked in, and another that showed documents and other info they need to do that work. The problem was that when they were in a dialog, for example one to assist in creating […]
—
-
SP1 for SQL server 2008R2 brings back Intellisense to SMSS
Yay! Installed Service Pack 1 for SQL Server 2008 R2 today. Among other fixes, it brought back IntelliSense support in SQL Server Management Studio, which had been broken since I installed SP1 for Visual Studio 2010 on that machine. So those of you that were bothered by the same issue, are advised to install the […]
—
in General -
SyncEdit for implementation/interface member parameters
When I am editing a method (procedure/function) of an object, I sometimes need to add a parameter or change some. Now in Delphi code, as you probably know, you often have to do that twice: once in the implementation, and once in the interface of the unit (and make sure it matches…). Of course you […]
—
in Delphi -
Respond to a click on the background of a listview
I have a list view in a project that i use to show properties for objects in a tree-like hierarchy, much like the windows explorer. When a user clicks an item, its properties are shown. That wasn’t so hard, just handle the Click event. When a user clicks next to an item or in an […]
—
-
Downloading a video from any website
As an aside, completely unrelated to software development, last night I browsed the web and found a video on a blog that I really wanted to save to my harddrive (because you never know if the blogger might take it down later). I tried really hard (yet unsuccesful) to remember what tool I used last […]
—
in General -
Jet OleDB 4.0 provider not registered on the local computer
I have a C# WinForms program that attempts to import some data from Excel into a SQL Server database using the Ole DB provider. Today the import suddenly failed with an error message saying that the Jet Ole DB provider was not registered on the local computer. Well, I was pretty sure that it was. […]
—