Entries from July 2007

Calling the WordPress XMLRPC API from VB.net

Date July 31, 2007

As an example, I will call the getCategories API method.
Add a reference to the XML-RPC.net library.
Create a struct for the return result

Public Structure category
Public categoryId As Object
Public parentId As Object
Public description As Object
Public categoryName As Object
[…]

It’s like having a reality tv camera for your desktop

Date July 30, 2007

I just discovered this productivity application online.
TimeSnapper is a tool that continually takes screenshots of your work. It makes timesheet recording a breeze and it helps you recover from unexpected crashes or lost data.
What a neat concept???  There is TimeSnapper Classis which is a free download and there TimeSnapper Pro which has more features and […]

Make money from my blog

Date July 29, 2007

Well, I have been reading a few articles about how to monetize my blog which got me all excited about becoming a more dedicated blogger. There are tons of advice out there - I am already following most of them but will try new ones. My guess is that not every advice will […]

Object and Array Initializers in VB 9

Date July 28, 2007

You can create a new object and initialize some of its properties in one shot. Most examples online are in C#, so here is an example in VB:

Dim mycar As New Car() With {.HasWheels = 4, .NumberOfAirbags = 2, .Passengers = 4}

As for array initialization, it looks like this:

Dim cars() = {New Car With […]

Automatic Properties and VB

Date July 28, 2007

I am PISSED…  Why doesn’t VB 9 have automatic properties???  VB has always been about simplicity and speed of coding.  How can you give that feature to C# on VB…  :(
If you don’t know what I am talking about automatic properties in C#, let’s you do this:
        public string FirstName {            get; set;        }

Instead of this:
        private string _firstName;                public string FirstName {
            get {                return _firstName;            }            set {                _firstName = value;            }        }

 

Related PostsChemical Composition of […]

Type Inference in VB.net 9.0

Date July 28, 2007

I typed Dim x = New List(Of String) but on the next line I realized that the implicit type inference didn’t work and Intellisense treated x as Object.  It turns out, it was an easy fix.  You have to open the project properties and turn “Option infer” to On.  Or type
Option Infer On
at the […]

Visual Studio 2008 "Orcas" and Visual SourceSafe (VSS)

Date July 28, 2007

[Workaround below]
I just installed Beta 2 for VS 2k8 and everything went well.  Then I installed VSS and tried to open a project from VSS and it wouldn’t work…  If I open a solution or a project, it just takes me back to “My Computer”.  I tried both VSS over the Internet and over VPN.
[…]

Sitemeter and wordpress

Date July 25, 2007

I just added sitemeter to BlogsToGo (WordPres Mu). I have a plugins file in my mu-plugins directory where I add site wide code like amazon context links, google analytics, etc…
I basically added a function to emit the javascript:
function sitemeter(){
echo ‘
<!– Site Meter XHTML Strict 1.0 –>
<script type=”text/javascript” src=”http://s41.sitemeter.com/js/counter.js?site=s41blogstogo”>
</script>
<!– Copyright (c)2006 Site Meter –>
‘;
}
Then at […]

Web Design Toolbox

Date July 25, 2007

Here is an excellent post with tons of links to all sort of web design sites, tools, resources, etc…
This pervasiveness of the open source spirit in web design now means that you can use open source software to design both graphics and your CSS and HTML, and you can also use the dozens of reliable […]

Google Reader Hacks

Date July 21, 2007

Here is a pretty comprehensive list of Google Reader hacks…
For those who want more out of Google Reader and can’t wait, check out the hacks below; among some, search within Google Reader (yeah!) and read native blog posts.
Specs
FireFox browser
Greasemonkey - Allows you to customize the way a webpage displays using small bits of JavaScript, […]

Close
E-mail It