The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for November, 2013

Mac: Restarting the Mac OS X Dock, Finder, Spaces or Menubar | Stefan Ernst

Posted by jpluimers on 2013/11/29

Only a few more posts left in my “Missed Schedule” backlog. This one was from September 28, and I just needed it again today as Spotlight had some visual leftovers on one of my VMware Fusion desktops.

Thanks to Stefan Ernst:

The Finder crashed:

killall -KILL Finder

The Dock,  DashBoard Widgets, or Spaces (on 10.5/10.6 – Leopard/Snow Leopard) crashed:

killall -KILL Dock

The Menubar crashed/refuses to be clickable, Spotlight misbehaves or some Menu Extra popup does not disappear:

killall -KILL SystemUIServer

One that I found myself: Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SpotLight | Leave a Comment »

Any workaround for this SQL Server Management Studio threading issue?

Posted by jpluimers on 2013/11/29

I just got this error when SQL Server Management Studio 2012 was complaining about the owner of a certain SQL Server 2012 database and tried to copy that message to the clipboard:

This message cannot be copied to the clipboard.
Additional information
Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.
Ensure that your Main function has STAThreadAttribute marked on it. (System.Windows.Forms)

Is there anyone who knows how to workaround this issue in SSMA?

–jeroen

Posted in Database Development, Development, Software Development, SQL Server, SQL Server 2012 | Tagged: , | Leave a Comment »

Office Communicator 2007 Keyboard Shortcuts – Communicator – Office.com

Posted by jpluimers on 2013/11/29

I wasn’t aware that Office Communicator supported keyboard shortcuts for text formatting in the chat window.

Since I normally use RDP/MSTSC connections to a work machine (the laptop often moves around which means that network connections aren’t
“persistent”), which means that every once in a while a key like Shift, Alt, Ctrl, or Windows hangs.

That’s how I found out why sometimes the font in the chat window changed a bit: most often the font became strike through, which corresponds to Ctrl-T.

Three things that Microsoft should improve here:

Read the rest of this entry »

Posted in Communicator, Keyboards and Keyboard Shortcuts, Office, Power User, Windows | Leave a Comment »

GertDuino: Raspberry Pi + Arduino in one.

Posted by jpluimers on 2013/11/28

http://www.raspberrypi.org/archives/5308

On my research list…

–jeroen

Posted in Uncategorized | Leave a Comment »

Create Google Hangouts quickly with these easy URLs – WP Media Pro

Posted by jpluimers on 2013/11/28

Need to check these one day on Windows as they do not seem to work on a Mac, not even with the Hangouts plugin.

Create Google Hangouts quickly with these easy URLs – WP Media Pro.

–jeroen

Posted in G+: GooglePlus, Power User, SocialMedia | Leave a Comment »

Development tools should become more version control friendly, and version control tools more whitespace tolerant

Posted by jpluimers on 2013/11/28

There are a few more messages in the “Missed Schedule” backlog, and I really hope that WordPress is going to address this really annoying bug soon as I have to recheck my blog multiple times a day now.

Back on topic:

Development tools should become more version control friendly, and version control tools more whitespace tolerant

I’m taking Delphi and Bitbucket here as an example, but this holds for many more development tools and version control tools.

Ultimately, you want changes to be as simple as this one: only the relevant changed lines show up as an actual change.

But often changes include convoluted non-relevant information.

A few things development tools should not do: Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, DVCS - Distributed Version Control, Software Development, Source Code Management, Visual Studio and tools | 2 Comments »

Delphi .dproj files: FrameworkType and FormType (via: Embarcadero Discussion Forums)

Posted by jpluimers on 2013/11/28

One more of the “Missed Schedule” series, this time it was originally scheduled for October 1st, (2013 that is).

Delphi XE2 and up introduced the FrameworkType and FormType elements in the .dproj files to distinguish between VCL and different flavours of FireMonkey.

Actually, Delphi XE1 already had the value None for FrameworkType, so some cross-platform changes trickled into the Delphi builds early.

Though the IDE writes these values to the .dproj files, you [Wayback/Archive] cannot change their values from within the Delphi IDE, not even through the Open Tools API.

There is no documentation about the values in the .dproj files. the only places I could find were these about FrameworkType in combination with [Wayback/Archive] Actions:

that basically tell this:

FrameworkType

Defines whether an action is created for the VCL or FireMonkey (FMX) framework. The default of this parameter is VCL (for compatibility with legacy applications).

This parameter is used to avoid situations when VCL actions are used in FireMonkey applications and inversely; this can lead to a serious increase in an application’s size and to execution errors, for example, calling of Windows API under MacOS.

But it is incomplete, and there is no documentation about FormType. Read the rest of this entry »

Posted in Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Missed Schedule, SocialMedia, Software Development, WordPress | Leave a Comment »

DLL call forwarding: learned something new today!

Posted by jpluimers on 2013/11/28

Learned something new today:

the effect of a DLL forwarder. The code for the function Ds­Address­To­Site­NameW doesn’t live in netapi32.dll. Instead, netapi32.dll has an export table entry that says “If anybody comes to me asking for Ds­Address­To­Site­NameW, send them to logoncli!Ds­Address­To­Site­NameW instead.”

–jeroen

via: If you can’t find the function, find the caller and see what the caller jumps to – The Old New Thing – Site Home – MSDN Blogs.

Posted in Development, Software Development | Leave a Comment »

.NET Framework 1.1 and Visual Studio .NET 2003 support ended 20131008 (via: Microsoft Support Lifecycle)

Posted by jpluimers on 2013/11/27

WorPress did it again to me:

2013/10/08; Missed schedule

Anyway:

If you still have a coded base in the .NET Framework 1.1 / Visual Studio 2003, then you should note that after 20131008, the extended support has ended.

Though the introduction of both feels like yesterday to lots of us, they have been supported for more than 10 years. An era has ended. Time to move on to newer versions has passed long ago.

The next important date is about 2.5 years from now: 2016-04-12, when the support for the .NET Framework 2.0 and Visual Studio 2005 ends.

From the Microsoft Support Lifecycle: .NET Framework 1.1 and Microsoft Support Lifecycle: Visual Studio .NET 2003 pages (I formatted the dates into YYYY-MM-DD): Read the rest of this entry »

Posted in .NET, .NET 1.x, C#, C# 1.0, Development, Missed Schedule, SocialMedia, Software Development, Visual Studio 2003, Visual Studio and tools, WordPress | Leave a Comment »

VMware KB: Modifying the DHCP settings of vmnet1 and vmnet8 in Fusion (via: VMware KB 1026510)

Posted by jpluimers on 2013/11/27

So I won’t forget: VMware Fusion 4+ keeps the vmnet1 and vmnet8 settings in this file:

/Library/Preferences/VMware Fusion/networking

–jeroen

via: VMware KB: Modifying the DHCP settings of vmnet1 and vmnet8 in Fusion.

Posted in Fusion, Power User, VMware | Leave a Comment »