August 31, 2004

Google’s link command and better ways to do it

You probably know Google’s link command. It’s a special search query that allows you to find websites that link to another website. There’s a better way to find all pages that point to your website on Google.

Related Posts

(Ten ways to link popularity) (Google’s new ranking algorithm) (How to get links from an authority site) (Managing MySQL on Mac OS X) (Is link popularity really that important?

August 25, 2004

This blog has moved…

For various reasons, the biggest being my desire to play around with .Text, I”ve moved my blog to my own server at http://blogs.duncanmackenzie.net

The first post over there shows the app that I wrote last night and then used to copy all of my posts and categories over from this blog to the new location… I”ll post the code for that app at some point, as boring as it is…

Source

Related Posts

(This blog has moved… notice #2…) (This blog has moved… notice #2…) (This blog has moved…) (HTTP 301 vs. HTTP 302 Redirects) (MySQL Performance Blog gets new server.
Comments Off

This blog has moved…

For various reasons, the biggest being my desire to play around with .Text, I”ve moved my blog to my own server at http://blogs.duncanmackenzie.net

The first post over there shows the app that I wrote last night and then used to copy all of my posts and categories over from this blog to the new location… I”ll post the code for that app at some point, as boring as it is…

Source

Related Posts

(This blog has moved… notice #2…) (This blog has moved… notice #2…) (This blog has moved…) (HTTP 301 vs. HTTP 302 Redirects) (MySQL Performance Blog gets new server.

August 24, 2004

Has anyone tried migrating posts from weblogs.asp.net to another .Text installation?

I”ve set up my own little .Text installation and I”m considering copying (not removing the existing versions) posts to my installation so that I still have a visible archive… has anyone done this before? Happen to have created a tool or script to help the process?

Source

Related Posts

(Post Mortem: Migrating 240,000 Mailboxes And 29 Domains) (Post Mortem: Migrating 240,000 Mailboxes And 29 Domains) (Testing separating my work life from my private life) (How IT Works: SMS Client-Side Software Installation) (How IT Works: SMS Client-Side Software Installation

Block-level link analysis

Block-level link analysis is Microsoft attempt to deal with the faults in PageRank and HITS (Hyperlink Induced Topic Search). What does this mean to your website?

Related Posts

(Using Runtime Paths for Macro Analysis) (Object-Level Ranking: Bringing Order to Web Objects) (Oracle and Java Performance Management: An Executive View) (An open search engine optimization (SEO) analysis) (Is link popularity really that important?

August 23, 2004

Wes Haggard discusses the new iterators in C# 2.0

Recusive GetFiles for DirectoryInfo via a C# Iterator

I have been working on a project using C# Express and so I have been playing around with some of the new C# 2.0 features. In my project I had a need to get all the files of a particular type in a given directory including all sub-directories. The DirectoryInfo class has a method GetFiles that takes a search pattern (ie “*.exe”) but it only searches that directory it doesn”t search sub-directories. So I figured this would be a good chance for me to play with these new things called iterators. At any rate I wrote a recursive version of GetFiles using an iterator so that I could do a simple foreach loop to get all the files recursively.

Click on the title of the post to read the entire article…

Source

Related Posts

(A DB2 Performance Tuning Roadmap: A High-Level View on Managing the Performance of DB2 for z/OS) (Managing Large NOMAD Databases) (Top 10 Annotations and Remarks about the Wonderful and Powerful New Features in ASP.NET 2.0) (Application Security: Oracle 10g Keeps Your Data Safe) (Google ranking secrents revealed

The email I get…

Every day I get from 1 to 10 emails asking me various VB questions… some I answer by pointing to a link, some by providing code, and sometimes I just point people to the newsgroups or forums that exist for this type of question… but this time I thought I”d just post the question and answer into my blog …

The Question (edited slightly):

I just want to ask how to make the string in to proper format.. ex… input. gerald this must be the output: Gerald and i want it to interactively change when i”m inputing a string in a textbox..

And the answer is to put this code into the TextChanged event of your textbox;

 Dim ci As Globalization.CultureInfo = _     System.Threading.Thread.CurrentThread.CurrentCulture    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, _          ByVal e As System.EventArgs) Handles TextBox1.TextChanged      Dim pos As Integer = TextBox1.SelectionStart      TextBox1.Text = ci.TextInfo.ToTitleCase(TextBox1.Text)      If pos > 0 AndAlso pos <= TextBox1.Text.Length Then          TextBox1.SelectionStart = pos      End If  End Sub  

The key is that the CultureInfo class provides a TextInfo instance, which in turn has a method of “ToTitleCase” on it… This KB article provides more info and also shows an alternate method to achieve the same results (StrConv()).

Source

Related Posts

(Google Phishing Email) (The new anti-spam law and linking campaigns) (Sending email from ASP.NET) (Sending email from ASP.NET) (MET: An Experimental System for Malicious Email Tracking
Comments Off

The email I get…

Every day I get from 1 to 10 emails asking me various VB questions… some I answer by pointing to a link, some by providing code, and sometimes I just point people to the newsgroups or forums that exist for this type of question… but this time I thought I”d just post the question and answer into my blog …

The Question (edited slightly):

I just want to ask how to make the string in to proper format..
ex…
input.
gerald

this must be the output:
Gerald

and i want it to interactively change when i”m inputing a string in a textbox..

And the answer is to put this code into the TextChanged event of your textbox;

Dim ci As Globalization.CultureInfo = _
    System.Threading.Thread.CurrentThread.CurrentCulture

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, _
        ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    Dim pos As Integer = TextBox1.SelectionStart
    TextBox1.Text = ci.TextInfo.ToTitleCase(TextBox1.Text)
    If pos > 0 AndAlso pos <= TextBox1.Text.Length Then
        TextBox1.SelectionStart = pos
    End If
End Sub

The key is that the CultureInfo class provides a TextInfo instance, which in turn has a method of “ToTitleCase” on it… This KB article provides more info and also shows an alternate method to achieve the same results (StrConv()).

Source

Related Posts

(Google Phishing Email) (The new anti-spam law and linking campaigns) (Sending email from ASP.NET) (Sending email from ASP.NET) (MET: An Experimental System for Malicious Email Tracking

August 17, 2004

Reasons to delete a link exchange request

Webmasters often delete link exchange requests. Do the following things to make sure that webmasters reply to your link exchange email message..

Related Posts

(New software program for your link exchange success) (Exchange Server: Stay Better Connected with Exchange ActiveSync) (Exchange for Experts: Be The Master Of Your Domain Rename With Exchange) (Exchange Server: Stay Better Connected with Exchange ActiveSync) (Exchange for Experts: Be The Master Of Your Domain Rename With Exchange

August 12, 2004

C# 2005 and C# Express Content Up…

Just up…

Investigating Code Snippet Technology

Andrew W. Troelsen Intertech Training Summary: This article explorers the use of Visual Studio 2005 and Visual C# 2005 Express Edition code snippet technologies. Once the reader understands the XML syntax used to represent code snippets, this article examines the process of building and registering custom code expansions with your Microsoft .NET IDE of choice. (21 printed pages)

and up a few days ago…

An Introduction to Programming Using Microsoft Visual C# 2005 Express Edition

Andrew W. Troelsen Intertech Training Summary: This article introduces programming with the C# language using the Microsoft Visual C# 2005 Express Edition Integrated Development Environment (IDE). Using various example projects, readers will be exposed to several aspects of the C# programming language and key concepts of the .NET platform. (23 printed pages)

Source

Related Posts

(MSDN Webcast: Building Data-Driven Web Applications With SQL Server Express (Part 1 of 3) (Level 200)) (BetaBox: Discover SQL Server 2005 Express Edition) (BetaBox: Discover SQL Server 2005 Express Edition) (SQL Q&A: SQL Server Express, Encrypting Data, And More) (SQL Q&A: SQL Server Express, Encrypting Data, And More
« Previous entries