SSH.NET is a new library, inspired by the discontinued SsshSharp, that can be used to upload files using the sftp protocol.
The documentation is very limited, just some API listing, so here is a sample for file upload with SFTP and .NET/C#. (more…)
-
Uploading a file using SFTP in C#
January 5, 2012 by David De Sloovere
Category .NET | Tags: , C#, ftp, ssh | No Comments
-
Find TFS ChangeSet based on Check-In Note
February 22, 2011 by David De Sloovere
Want to find a ChangeSet through a value you entered in Check-In Note? It’s not that hard, but it isn’t obvious to know where to look.
Category ALM | Tags: , ALM, TFS | No Comments
-
IE9 RC – still no text-shadow
February 20, 2011 by David De Sloovere
IE9 got released recently, but although it has many great features, there is still no CSS3 text-shadow support.
Something did change in this RC however: the text-shadow property just gets ignored.
In the beta, text with text-shadow on it, looked really weird. So it’s actually better in the RC now.Category HTML+CSS | Tags: , CSS3, IE9 | 1 Comment
-
IE9 beta – no text-shadow yet
October 5, 2010 by David De Sloovere
I’m working on a new project which will be released in a few months and I have the luxery to only support the latest version of 4 A-grade browsers:
- Firefox 4 (beta 6 at this time)
- Chrome 6 (or 7… who can keep count here?)
- Safari 5
- and IE9, which was recently released as a beta and I saw fully demoed at Microsoft’s Remix event last week
It’s great to be able to use CSS3. Saves a lot of work on having to create a bunch of images for rounded corners in all sorts of dimensions and colors, but also new images for buttons with different text. Now I rely on the new CSS3 properties like background gradients, rounded corners and text shadow.
IE9 is doing a very good job at all this. My application is running fast thanks to the new javascript engine. But there is one thing that looked fishy.The new CSS3 text-shadow property has not been implemented in IE9 beta.
I found an interesting page on CSS Compatibility and Internet Explorer in which it’s clear that this feature has not been implemented yet by the dev team.
However, it looks like the pixels that are supposed to be the shadow are actually just take the color of the text. This makes it look like the font weight is set to bold.
As far as I know, the text-shadow property is an official CSS3 property, so I’m guessing it will be available in a next release.PS: If you’re viewing this blog in IE9 beta, you’ll might also miss out on the text shadow I’m using in the current theme of this WordPress blog. Unless I changed my theme again…
Category HTML+CSS | Tags: , CSS3, IE9 | No Comments
-
MS Sql 2008 – Add a FileStream column to an existing table (alter)
March 11, 2010 by David De Sloovere
I couldn’t find any straight answer after googling, so I’m gonna put it here for all of you who want to add a FileStream varbinary to an existing table.
You should already know that you can not do this from the design window of your table. (more…)Category SQL | Tags: , filestream, SQL | 2 Comments
-
iPhone: Add a Second Calendar from same Google Account as CalDav
February 10, 2010 by David De Sloovere
So you’ve got your initial calendar up and running on you iPhone as CalDav, but you want more… There’s no way to select one of the other calendars you’ve got access to from the settings menu. But there is a simple trick that involves getting the right url to add multiple CalDav calendars from the same Google Account. These calendars won’t be read-only, they are synced in two ways.
Nathan de Vries wrote it down. To my surprise there seems to be a very cool (enterprise) iPhone configuration utility.
Read how to add more CalDav Google Calendars to your iPhone.
If you’ve got questions, I’ll try to answer them. But read through the whole thing first.
Category iPhone | Tags: , Google, iPhone | No Comments
-
The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine. – On 64-bit Windows 7
December 3, 2009 by David De Sloovere
I’ve got a console application that reads plain old txt files into datasets. My new machine (Dell Studio XPS 16) has got Windows 7 64-bit on it. Running the app I got this error:
System.InvalidOperationException: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.The reason for this is that the provider does not have a 64-bit version and the application wasn’t compiled for a specified version. So you just need to build it for x86 specifically.
Category .NET | Tags: , console, oledb, vb.net | No Comments
-
DeepZoomTools.dll -> Exception from HRESULT: 0x88982F05
September 21, 2009 by David De Sloovere
I was getting this error when processing some jpeg files. Most of the images work, but some don’t. The image data generated an overflow during processing.
Exception from HRESULT: 0x88982F05
My code is pretty basic:
Dim z As New Microsoft.DeepZoomTools.ImageCreator() z.ImageQuality = 0.95 z.MaxLevel = 12 z.Create(ZoomImage.FullName, XmlFile)
Couldn’t be the code right, must be the file. So I thought it had something to do with the metadata in the image.
When I used photoshop to copy the content om the image in a new canvas and process that new file, it worked perfectly.Turns out it was the metadata in the file and an windows update could fix this. The solution can be found at this page.
Check the result of the Deepzoom implementation at www.primadonna.eu starting at the end of september 2009.
Category .NET | Tags: , C#, Deepzoom | No Comments
-
Error: Cannot create an instance of the abstract class or interface FindServiceSoap -> Solution
August 28, 2009 by David De Sloovere
If you get an error like this (or similar but with different class name) in Visual Studio 2008:Cannot create an instance of the abstract class or interface 'ConsoleApplication1.Mappoint.FindServiceSoap'The solution is pretty simple – once you realize what you’ve done wrong.
You most likely chose to “Add Service Reference“.
But that only works well with WCF services.
If you want to add a regular Web Service you need to click the “Advanced” button and then the “Add Web Reference” button.Category .NET | Tags: , C#, mappoint, webservice | 2 Comments
-
IE8 – X-UA-Compatible vs. Compatibility View – bug?
August 19, 2009 by David De Sloovere
Just encountered a behaviour in IE8 that could be considered a bug.
I’ve got a page which renders X (to make it abstract) in IE8 on one PC and renders Y on another PC.
The page contains the X-UA-Compatible tag, so you would think that it’s not an IE8 problem, but something different.After digging – the website was in the Compatibility View list on one PC and not on the other. (more…)
Category HTML+CSS | Tags: , HTML, IE8, jQuery | No Comments