Test of blog publishing with Microsoft word 2007

This post is created using Microsoft word 2007. Let’s see if this makes blogging simpler. First of all some formatting bold

This is indented with tab.

  1. Some ordered item
  2. Another ordered item
  • A bullet list
  • Another element of the bullet list

Some weird code in VB.NET

    1 <AspNetHostingPermission(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal), _
    2  AspNetHostingPermission(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal), _
    3  ToolboxData(“<{0}:MultipleFieldsValidator runat=server></{0}:MultipleFieldsValidator>”)> _
    4 Public Class MultipleControlsValidator
    5    Inherits BaseValidator
    7    <Browsable(False), _
    8    EditorBrowsable(EditorBrowsableState.Never)> _
    9    Private Shadows Property SetFocusOnError() As Boolean
   10       Get
   11          Return False
   12       End Get
   13       Set(ByVal value As Boolean)
   14          Throw New NotSupportedException(“Cannot focus if we have more than one control to validate.”)
   15       End Set
   16    End Property

Some in C#

   38         Section section, Int32 linkId) {

   40         IUnitOfWork UoW = DataAccessProviderFactory.GetConversationUnitOfWork();
   41         Query Q = Query.CreateQuery(“Field.OwnerSection.mId”, section.Id, CriteriaOperator.Equal);
   42          Q.AddCriteria(“LinkId”, linkId, CriteriaOperator.Equal);
   43          Q.Operator = QueryOperator.And;
   44         IList<FieldData> result = UoW.GetByCriteria<FieldData>(Q);
   45         foreach (FieldData f in result) {
   46             UoW.Detach(f);
   47          }

And at last one image, this is the place where I work, my home…quite messy isn’t it?? :D

Now let’s see if word can publish all this post in my new wordpress blog. :D :D :D

The result for the code was quite messy, to have a good result I need to install a plugin for Visual Studio that gives me the option to “Copy as HTML” the code, and then once pasted in word 2007 I need to make some manual substitution for space and paragraph sign to have a good result. L


Published by


This is another test

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.