Paul Cornell

These blog postings are provided "AS IS" with no warranties, and confer no rights.

Posts
  • Paul Cornell

    Small Basic #19: Syntax Cheat Sheet

    • 2 Comments
    Here's my list of how to create and access things in Small Basic. I use this when I need to jog my memory but don't want to search through the Introducing Small Basic guide. Create Array: myArray[1] = "myString" TextWindow.WriteLine(Array.GetItemCount...
  • Paul Cornell

    Day/Week/Month Time Management System

    • 0 Comments
    Mark Forster , creator of the popular AutoFocus time management system, has come up with a new version which he is currently calling the "Day/Week/Month" (or "DWM") time management system. (Until now, he had been calling it "DIT2/AF5," which stood for...
  • Paul Cornell

    Visual Studio 2010 and .NET Framework 4 Release Candidates are Here!

    • 0 Comments
    Get more information and download them here .
  • Paul Cornell

    Small Basic v0.8 is Here!

    • 0 Comments
    From the Microsoft Small Basic blog : The Small Basic v0.8 release features: Addition of details about your published programs. Rating system for programs published online. Rich formatting based copy (useful for printing Small Basic programs...
  • Paul Cornell

    Small Basic #18: Digital Clock

    • 0 Comments
    I created a digital clock to demonstrate the Microsoft Small Basic Clock object. You can do any of the following to experiment with the clock and its underlying code: If you want to see the clock on your computer and you have Small Basic, click...
  • Paul Cornell

    Small Basic #17: Silverlight-Based Small Basic Program Runner

    • 0 Comments
    You can now run Microsoft Small Basic programs in a Microsoft Silverlight-based viewer from a supported web browser. Here's how to do it: If you want to run your own Small Basic program and you have not yet published it, from the Small Basic user...
  • Paul Cornell

    Small Basic #16: Downloadable Code Examples (So Far)

    • 0 Comments
    Here are the Microsoft Small Basic code examples that I've created so far. If you have Small Basic, you can import them by using the ID numbers below, or you simply click the hyperlinks to display the code in your web browser: Arrays: BTD771 , http...
  • Paul Cornell

    Small Basic #15: The Turtle

    • 0 Comments
    Microsoft Small Basic provides a Turtle object that lets you draw on the graphics window with a little turtle. You can make the turtle crawl around, drawing wherever you lead it, as demonstrated in the following code that draws the word "Hi!" near the...
  • Paul Cornell

    Small Basic #14: Mouse and Keyboard Events

    • 0 Comments
    If you're interested in creating basic text-based programs, Microsoft Small Basic has TextWindow and Text objects are probably enough for your needs. However, if you're interested in interactive graphical programs (such as games or rich personal productivity...
  • Paul Cornell

    Small Basic #13: Math Facts Guessing Game

    • 0 Comments
    It's that time in my childrens' lives where they need to practice their basic math facts under a time limit. To help them, I created a simple Microsoft Small Basic program. You can view my code at http://smallbasic.com/program/?FHD214 , or if you have...
  • Paul Cornell

    Small Basic #12: Shapes

    • 0 Comments
    The Microsoft Small Basic Shapes object allows you to do the following with shapes in the graphics window , as demonstrated in the following code: Add shapes such as ellipses, images, lines, rectangles, and trianges. These shapes can be animated...
  • Paul Cornell

    Small Basic #11: The Graphics Window

    • 0 Comments
    The Microsoft Small Basic graphics window allows you to do the following, as demonstrated in the following code: Change the graphics window's background color, height, width, placement relative to the screen's top-left corner, title, and whether...
  • Paul Cornell

    Small Basic #10: File Input and Output

    • 0 Comments
    As demonstrated in the following code, you can use the Microsoft Small Basic File class to create file directories, access directories' files, and copy files from one file directory to another. You can also read from files and write to files. ' This code...
  • Paul Cornell

    Small Basic #9: Arrays

    • 0 Comments
    Microsoft Small Basic supports arrays, which allow you to store items in temporary computer memory. Unlike the stack which allows you to add, read, and remove items in a specific order, arrays allow you to add, read, and remove items in random order....
  • Paul Cornell

    Small Basic #8: Math

    • 0 Comments
    Microsoft Small Basic supports several mathematical functions, including not only simple addition, subtraction, multiplication, and division, but also comparisons, random numbers, rounding, exponents, logarithms, Pi, arcs, and trigonometry, as demonstrated...
  • Paul Cornell

    Small Basic #7: Odds and Ends - Sound, Program, and Stack

    • 0 Comments
    A few more Microsoft Small Basic classes with very methods and properties are: The Sound class, which allows you to work with a computer's sounds and sound files. The Program class, which allows you to work with a running Small Basic program...
  • Paul Cornell

    Small Basic #6: Odds and Ends - Desktop, Dictionary, Flickr, ImageList, and Network

    • 0 Comments
    Some Microsoft Small Basic classes have very few methods and properties. Among them are: The Desktop class, which allows you to interact with a computer's desktop. The Dictionary class, which allows you to fetch definitions of words over the...
  • Paul Cornell

    Small Basic #5: Clocks and Calendars

    • 0 Comments
    Microsoft Small Basic has a few clock-related properties for the date, year, month, day of the week, hour, minute, second, and even millisecond. They are demonstrated in the following code by using the Clock class: TextWindow.WriteLine("Today is: " +...
  • Paul Cornell

    Small Basic #4: Working with Text

    • 0 Comments
    Here is some code demonstrating how to use all of the Microsoft Small Basic Text class's methods: TextWindow.Write("What is your first name? ") firstName = TextWindow.Read() TextWindow.Write("What is your last name? ") lastName = TextWindow.Read()...
  • Paul Cornell

    Small Basic #3: Keywords

    • 0 Comments
    The For , To , EndFor , Step , While , EndWhile , If , Then , Else , ElseIf , and EndIf keywords are used to help control Microsoft Small Basic program flow, as demonstrated in the following code: ' For only. ' Prints 1 through 10. For i = 1 To 10 ...
  • Paul Cornell

    Small Basic #2: Working with the Text Window

    • 0 Comments
    This is the first of many posts that demonstrates how to use Microsoft Small Basic to program computers. This post assumes that you've already downloaded and installed Small Basic and that you've already read at least the first 10 pages of the Getting...
  • Paul Cornell

    Small Basic #1: Introducing Small Basic

    • 0 Comments
    I was recently asked to participate in an initiative to help students and beginners learn how to program computers. Once of the tools that we're using for this is Microsoft Small Basic, which you can download and install from the Small Basic web site...
  • Paul Cornell

    Outlook 2010: Macro for Moving Selected Items

    • 5 Comments
    It has been a really long time since I wrote Microsoft Outlook VBA code. But when a customer last week asked me if there was a way to write some VBA code to move selected Inbox items to an Archive folder, I felt right at home. Here's what I came up with...
  • Paul Cornell

    .NET Framework 4: The Managed Extensibility Framework

    • 0 Comments
    Two video reviews today! .NET Framework 4: Creating Extensible Applications with the Managed Extensibility Framework In this 25-minute video, you'll learn about the Managed Extensibility Framework (MEF), a new library in the .NET Framework that...
  • Paul Cornell

    MSDN Subscriber Benefit Changes

    • 0 Comments
    The following e-mail just went out to all MSDN subscribers. Here's a copy of the e-mail in case you're an MSDN subscriber and didn't receive it, or in case you aren't currently an MSDN subscriber and are wondering how an MSDN subscription might benefit...
Page 1 of 7 (170 items) 12345»