Author Archives: RodStephens

About RodStephens

Rod Stephens is a software consultant and author who has written more than 30 books and 250 magazine articles covering C#, Visual Basic, Visual Basic for Applications, Delphi, and Java.

List strings with a particular style in a Microsoft Word document in C#

I’m writing a new book and the development editor wants me to make a list of key terms that I specifically want included in the index. I want to include all of the words marked with the style KeyTerm, so … Continue reading

Posted in books, interoperability, Office, Word | Tagged , , , , , , , , , , , | Leave a comment

Segmented Turning Helper, Version 3

John Di Stefano has released version 3 of this free tool Segmented Turning Helper. The program helps you design segmented turning projects such as turned bowls and vases. Here’s the basic description of the tool. Segmented Turning Helper assists you … Continue reading

Posted in 3D, 3D graphics, books, drawing, graphics, wpf | Tagged , , , , , , , , , , , , | Leave a comment

Make a Word document with multiple pages in C#

The example Create a Word document in C# shows how to create a Word document and save it into a file. See that example for the basics including how to create the document, add paragraphs to it, and save it … Continue reading

Posted in interoperability, Office, Word | Tagged , , , , , , , , , , , , | Leave a comment

Solve Geometric Problems with C#

[This is a promo piece by Packt, the publisher of my book The Modern C# Challenge. It includes two of the 100 example problems and solutions in the book.] Solve Geometric Problems with C# Learn how to solve C# geometric … Continue reading

Posted in books, geometry, mathematics | Tagged , , , , , , , , , , | Leave a comment

Pingback: Code Project post “Orbital Mechanics Introduction, Part 2”

The Code Project post Orbital Mechanics Introduction, Part 2 by charles922 uses some code from my WPF 3D posts. His program lets you experiment with the following orbital parameters: Eccentricity – the eccentricity of the orbit’s ellipse. Inclination – the … Continue reading

Posted in 3D, 3D graphics, algorithms, books, drawing, graphics, mathematics, wpf, XAML | Tagged , , , , , , , , , , , , , , | Leave a comment

Quick notes on the recent Windows update

Recently my computer decided that it needed to perform a bit Windows update. I can usually tell when that’s about to happen because performance is terrible for no obvious reason. BTW, if you wonder whether an update is impacting performance, … Continue reading

Posted in system | Tagged , , , , , , , | Leave a comment

Winners of the book drawing

Congratulations to the following winners of the book drawing for copies of The Modern C# Challenge. Josh Williams Tony Ropson Richard Moss Mark Williamson William Cruz Stephen Igor Kuzmishov Paolo Mike Griffiths Francisco Javier L√≥pez Manzano If you didn’t win, … Continue reading

Posted in algorithms, books | Tagged , , , , , , , , | Leave a comment

Why you should study algorithms (plus a free book drawing)

There are several reasons why you should study algorithms. I’m going to talk about four of them. (If you want to skip to the bottom, you can read about the drawing I’m having in the next few days for one … Continue reading

Posted in 3D graphics, algorithms, books, graphics | Tagged , , , , , , , , , | Leave a comment

Book Drawing: The Modern C# Challenge

I’m holding a drawing for 10 copies of my latest book, The Modern C# Challenge. Here’s the short blurb about this book. The Modern C# Challenge Become an expert C# programmer by solving interesting programming problems This book includes 100 … Continue reading

Posted in algorithms, books | Tagged , , , , , , , , | 1 Comment

Save and restore lines drawn by a WPF line editor in C#

The example Make a WPF line editor C# shows how to make a program that lets the user draw lines on a WPF canvas. This example is similar but it also allows you to save and restore drawings. The WPF … Continue reading

Posted in drawing, graphics, wpf | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment