Deborah's Developer MindScape






         Tips and Techniques for Web and .NET developers.

Archive for August, 2009

August 31, 2009

What is a Class?

Filed under: C#,OOP,VB.NET @ 5:48 pm

Humans like to classify things, to find similarities in things, and to group them accordingly. Things with similar attributes (properties) and behaviors (methods) are grouped. In object-oriented terminology, the definition of the properties and methods that describe a particular classification is called a class. A class defines a particular object type. You can think of […]

What Are Objects?

Filed under: C#,OOP,VB.NET @ 3:42 pm

Objects are things. People, companies, employees, time sheets, and ledger entries are all types of objects. In object-oriented terms, the word object is used to describe one specific thing, such as Sam Smith the carpenter at 3322 Main Street and the May 15th time sheet for Jessica Jones. [To begin with an overview of OO, […]

What is OO?

Filed under: C#,OOP,VB.NET @ 2:27 pm

Today‚Äôs world of software design and development is all about managing complexity. Computer-savvy users want more and more features. Software products, such as Microsoft Word and Excel, set high expectations. The business environment requires software to react quickly to shifting corporate needs. And tools and technologies are changing faster than ever. It is easy to […]

Bolding Text in Microsoft Word using .NET

Filed under: C#,Microsoft Word,VB.NET @ 1:42 pm

One of the common requirements in working with Microsoft Word from .NET is to bold some text. This is often required to draw attention to specific words within the document. This code example highlights any instances of the word "was". It can be changed to instead highlight any word you desire. In C#: // Add […]

August 28, 2009

Code Reviews

Filed under: C#,VB.NET @ 4:07 pm

A code review is a formal process of reviewing source code with the goal of finding and fixing errors and improving coding techniques. It often results in both improved software quality and in enhanced developer skills. As part of my consulting services, many software developers and software development teams have hired me to perform code […]

August 27, 2009

Building an Alarm Class

Filed under: C#,OOP,VB.NET @ 12:21 pm

The specifics of this class demonstrate how to build an alarm. You can use this class to build an alarm clock application, or to add an alarm feature into your application, similar to the Reminder feature in Outlook. OR you can just use this class as an example of raising events from a business object […]

August 25, 2009

Update a Microsoft Access Database

Filed under: C#,Data,VB.NET @ 7:29 pm

Despite the fact that there is a free version of SQL Server called SQL Server Express, there are still applications that require using a Microsoft Access database. But since these are dwindling in number, there are few articles or posts devoted to accessing Access. This post (and my prior post that demonstrates how to retrieve […]

Retrieve a DataTable using Microsoft Access

Filed under: C#,Data,VB.NET @ 7:20 pm

Despite the fact that there is a free version of SQL Server called SQL Server Express, there are still applications that require using a Microsoft Access database. But since these are dwindling in number, there are few articles or posts devoted to accessing Access. This post (and my next post that demonstrates how to update […]

Reading Fixed Length Files: TextFieldParser

Filed under: Text Files,VB.NET @ 5:05 pm

In my prior post, I covered how to read a fixed length file into an in-memory DataTable. You could then work with the DataTable as desired to access the fields from the file. You could even bind the resulting DataTable to a grid or other control. But sometimes you just need to process the file […]

Reading Comma Delimited Files: TextFieldParser

Filed under: Text Files,VB.NET @ 4:58 pm

In my prior post, I covered how to read a comma delimited file into an in-memory DataTable. You could then work with the DataTable as desired to access the fields from the file. You could even bind the resulting DataTable to a grid or other control. But sometimes you just need to process the file […]

Next Page »

© 2014 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs