I.T. Discussion Community!
-Collapse +Expand
eMag

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This     
View Group Edition:
Full Edition Your Edition || Prev Next

eMag Jun 2009 Issue - Full Edition

Prestwood eMag
Message Boards
PrestwoodBoards.com
  June 2009 - Full Edition Year 11 Issue 6  
I.T. Discussion Community!
From The Editor
Mike Prestwood

Prestwood Software has moved! Same phone numbers but please update your address book:

New Address...

Prestwood Software
8421 Auburn Blvd, Suite 256
Citrus Heights, CA 95610

Map to Prestwood Software 

We moved down the street closer to the freeway exit. The new office building is much nicer and we have room to grow! We are just settling into our new place but if you're in the area, please stop by and say hello.

New Logo!
To celebrate our new location, we've also launched a new logo:

 

New Tech Services!
With our new location we've expanded our services to include Tech Services for the greater Sacramento, CA area and remotely. Although our focus is and will always be coding and software development, some of our local clients have asked us to expand into tech services so we can provide a complete solution for them.



Expert guidance from working professionals!
Ramesh R
General, Getting Started, etc. topic:
Quick Tips: Writing a Marketing Plan
by Ramesh R

Marketing plan is the first prerequisite once the company decides with bringing the product to the market. It is important to analyze market conditions, growth aspects before starting to release any product. A marketing plan document is a good start and plays a very important role in understanding the market better. This plan discusses several different aspects of marketing strategy.

Windows Vista topic (classic post):
How to setup a shortcut in Vista
by Mike Prestwood

To create a shortcut, right click on the deskop and select New | Shortcut. The old ways of altering the properties or even copying existing shortcuts is now very limited.


American I.T. workforce topic:
Sharpening your skills - A short story
by Ramesh R
Here is a short story about a woodcutter and his job. From this job, we have lot of learnings that implies to our career and sharpening our skills. Such examples in life are very important for shaping our career. Enjoy the short story.





 Access Group Top 
Visit Group | My Group Settings
 Monthly Access Lesson
Access & VBA Topic:
Code Snippet of the Month

By Reference or Value
For parameters, you can optionally specify ByVal or ByRef. ByRef is the default if you don't specify.

Function SomeRoutine(ByRef pPerson, ByVal pName, Age)
General, Presales, & Installation Topic:
Resource Link of the Month: Microsoft Access Newsgroups

Microsoft's official Access newsgroup.

Using Data Topic:
FAQ of the Month: DAO versus ADO
Question:

My Access Application still uses DAO and I'm thinking about migrating it to ADO. Should I?


Answer:

No, especially if your accessing Access tables. It is true that ADO is more widespread but if your application is working with DAO, then there's no significant reason to switch. If you're starting a new Access Application that accesses Access tables, I would use DAO. If you're accessing a SQL server such as MS SQL or Oracle, I would use ADO.

Beside DAO and ADO, developers can also use OLE DB and ODBC.







 AmericanIT Group Top 
Visit Group | My Group Settings
American I.T. workforce topic (classic post):
Sharpening your skills - A short story
by Ramesh R
Here is a short story about a woodcutter and his job. From this job, we have lot of learnings that implies to our career and sharpening our skills. Such examples in life are very important for shaping our career. Enjoy the short story.







 Analyst Group Top 
Visit Group | My Group Settings
 Monthly Analyst Lesson
Analysis & UML Topic:
Definition of the Month: Software Artifact
Any nugget discovered and developed and used during software development and maintenance. Examples are requirement items, design items, diagrams, test script, and even code itself. In PSDP, a PSDP Artifact is a specific implementation of the generic software artifact. A PSDP Artifact is used to work with a software feature from inception through testing. It links together a task, requirement item, design item, and test script. You can edit a PSDP artifact as a whole or expand any of the four linked items to include more details.
Analysis & UML Topic:
Resource Link of the Month: Official UML Home Page

The Object Modeling Group (OMG) controls the UML specification. The Unified Modeling Language - UML - is OMG's most-used specification, and a very popular way to model not only application structure, behavior, and architecture, but also business process and data structure.







 ASP Classic Group Top 
Visit Group | My Group Settings
Tool Basics topic (classic post):
Creating a Class in ASP
by Adam Lum
Create a basic Class in ASP

 Monthly ASP Classic Lesson
Tool Basics Topic:
Code Snippet of the Month

Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator.

Dim FirstName

Dim LastName
 
FirstName  = "Mike"

LastName  = "Prestwood"
 
Response.Write "Full name: " & FirstName & " " + LastName
 
Response.Write "2+2=" + CStr(2+2)
ASP Classic Topic:
Documented Error of the Month: error '80020009'
Error: error '80020009' YourPage.asp, line xxxx
Explanation:

You are trying to reference a field of a RecordSet that has no records or the RecordSet you are using does not contain the field. You may need to add something like...

If Not MyRS.EOF Then
	SomeVar = MyRS.Fields("TheField")
End If

More Info - http://classicasp.aspfaq.com/general/why-do-i-get-80020009-errors.html

ASP Classic Topic:
Resource Link of the Month: 4 Guys from Rolla

Very popular ASP Classic and now ASP.Net website.







 C# Group Top 
Visit Group | My Group Settings
C# topic (classic post):
Deploying your .NET Application with ClickOnce (quick tutorial)
by Adam Lum
A basic introduction to deploying an application using Visual Studio .NET 2005's ClickOnce

WebForms Coding Tasks topic (classic post):
Programattically Adding Content to Web Pages in C#
by Bryan Valencia
Visual web developer offers a few different ways to add dynamic content to a web page. This will help you choose which one is right for your application. In General, there are Data-Aware components, Labels, and PlaceHolders.

 Monthly C# Lesson
Language Basics Topic:
Code Snippet of the Month

For C#, I prefer to put the opening { and the closing } on their own line (as opposed to C++, Java, and JavaScript where I put the opening bracket at the end of the first line.

int DoSomething()
{
 int a = 1;
 int b = 2;
 return a + b;
}
Language Basics Topic:
Definition of the Month: Attribute
An attribute is a "shorthand" mechansim for having additional metadata included in your assembly.

Attributes cause additional metadata to be included in your assembly and, utilized when reflected over by another class. For your convenience, many, many useful attributes are pre-defined.

In C#, attributes are designated by enclusure in square brackets. For example, the [DllImport] attribute allows .NET to utilize Win32 DLLs. Another example is the [Serializable] attribute, which causes your class to be persisted to disk.

C# Topic:
Download of the Month: Free E-Book on C# .NET Essentials
This is the "Chapter Zero" you've been missing.

Pick just about any one of your thick, technical tomes, and give it a quick skim.  Inevitably, the book dives onto a topic with the assumption that you already know a bunch of the basics.

This is unavoidable, because nobody wants a book about, say, web services, that starts with a basic course in programming. Yet many books about .NET topics, assume too much prior knowledge.  They need a "chapter zero."

Charles Petzold has released a freely downloadable e-book on C# .NET. , and it is the chapter zero that so many of us need.

 







 C++ Group Top 
Visit Group | My Group Settings
C++ Language Basics topic (classic post):
C++ Custom Routines
by Mike Prestwood

C++ is a hybrid language and as such offers global functions and class methods. A function must come before it's usage or you can prototype the function.


 Monthly C++ Lesson
C++/CLI Language Basics Topic:
Code Snippet of the Month

Same as standard C++.

//Does C++/CLI evaluate the math correctly? No!
if (0.1 + 0.1 + 0.1 == 0.3)

MessageBox::Show("correct");
else
MessageBox::Show("not correct");
C++Builder Specific Topic:
Resource Link of the Month: C++Builder Roadmap

Official Delphi and C++Builder Roadmap from Codegear.







 Coder Group Top 
Visit Group | My Group Settings
Object Orientation (OO) topic (classic post):
Aggregation
by Mike Prestwood

Aggregations indicate a whole-part relationship, and are known as "has-a" or "is part of" relationships. An Aggregation relationship is indicated by a line with a hollow diamond.


Object Orientation (OO) topic (classic post):
Static Class / Static Member
by Mike Prestwood

A static member is a member you can have access to without instantiating the class into an object. For example, you can read and write static properties and call static methods without ever creating the class. Static members are also called class members (class methods, class properties, etc.) since they belong to the class and not to a specific object. A static class is a class that contains only static members. In the UML, these classes are described as utility classes.


 Monthly Coder Lesson
General .Net Concepts Topic:
Code Snippet of the Month

This code snippet will send a very quick email. Note that this code will not work as-is. You need to have valid email accounts and a valid email server to send a real email.

You need to add: using System.Net.Mail;

MailMessage myMessage = new MailMessage(

"fromaddress@somewhere.com", "toaddress@somewhere.com",
"Subject", "Message Body.");
 
SmtpClient mySMTPClient = new SmtpClient("mailserver.somewhere.com"); 

mySMTPClient.Send(myMessage);
General Coding Concepts Topic:
Definition of the Month: API
API is an acronym for application programming interface. The Windows API is the set of DLLs that makes up Windows. It comprises all the functions, messages, data structures, data types, statements, and files that a programmer needs for developing Windows applications.

API is an acronym for application programming interface. The Windows API is the set of DLLs that makes up Windows. It comprises all the functions, messages, data structures, data types, statements, and files that a programmer needs for developing Windows applications.

General .Net Concepts Topic:
Resource Link of the Month: Sacramento Visual Studio.Net Usergroup

Sacramento Visual Studio Users Group

Sacramento Visual Studio.Net Usergroup

The Sacramento Visual Studio Users group is no charge resource for Visual Studio developers in the greater Sacramento area.

http://www.sacvsug.org/ No longer active. Go to SacNetUG.org instead.







 DBA Group Top 
Visit Group | My Group Settings
DBA & Data topic (classic post):
Common Table Structures
by Mike Prestwood
Reference of common table structures

 Monthly DBA Lesson
DBA & Data Topic:
Definition of the Month: Tab-delimited format (TDF)
In a Tab-delimited format (TDF) file, each field is delimited by a tab character. Each record is delimited with a carriage return and line feed. TDF has the advantages of being immune to commas and quotation marks within the data itself.In a Tab-delimited format (TDF) file, each field is delimited by a tab character.  Each record is delimited with a carriage return and line feed. TDF has the advantages of being immune to commas and quotation marks within the data itself.
Desktop Databases Topic:
Resource Link of the Month: Icon plug-in for Photoshop and Paint Shop Pro

When we create applications, we usually need one or more icons. We'll definitely want a main program icon - in several sizes. We may also want another icon for our setup program.

Sometimes our client supplies icon files, but often they do not.

There are some great tools available for creating and managing Icons. One of my favorites, IconLover, is available at the site this link is about.

But most out-of-the-box, general purpose graphics editors lack support for the Windows .ICO file format. The solution is at this link, and it's free: It's a plug-in for Photoshop and Paint Shop Pro (even some version of Photoshop Elements).

At the bottom of this link's page, you'll find an entry for "Icon Plug-In for PhotoShop." Simply download the zip file, unzip, and follow the instructions in the ReadMe.txt file.

Your favorite, general purpose graphics editor will now be able to deal with ICO files!







 Delphi Group Top 
Visit Group | My Group Settings
OOP topic (classic post):
Delphi Class..Object (class..end..Create)
by Mike Prestwood

Declare your class in the Interface section. Then implement the class in the Implementation section.


OOP topic (classic post):
Delphi Base Class (TObject)
by Mike Prestwood

In Delphi programming language (Object Pascal), all classes ultimately inherit from the base class TObject.


 Monthly Delphi Lesson
Language Basics Topic:
Code Snippet of the Month

Object Pascal allows parameters of the same type to be listed together, separated by commas, and followed with a single data type (more params of different data types can follow, after a semi-colon). The default for parameters is by value. For by reference, add var in front of the parameter. Object Pascal also offers constant parameters where you add const in front of the parameter. A constant parameter is like a local constant or read-only parameter the compiler can optimize. You cannot assign a value to a constant parameter, nor can you pass one as a var parameter to another routine.

function Add(a, b: integer) : integer; 

begin
  Result := a + b;
end;
 
procedure ReplaceTime(var pDT: TDateTime; const pNewDT: TDateTime);
begin
end;
Delphi for Win32 Topic:
Resource Link of the Month: Magazine: Blaise Pascal

With the demise of Delphi Informant, we've gone quite a while without a good, English language Delphi periodical.

It's exciting, then, so see the appearance of an English edition of Blaise Pascal, especially given it's lineup of writers; Nick Hodges, Bob Swart, Kim Madsen, Julian Bucknall, Jeremy North, and Hallvard Vassbotn. That's a virtual "who's who" of the lofty world of Delphi gurus.

A quick, simple, free registration gets you access to a PDF version of one issue. Check it out!

Language Basics Topic:
Question:

What are the benefits of Win32/64 native code such as in Delphi over .Net?


Answer:

In general terms, native code offers faster potential performance and a smaller footprint but can be more complex to build. Also, native code does not require .Net's runtime -- Common Language Runtime (CLR).

Using Data Topic:
Tip of the Month
When you need to put quotes, single or double, or even another character, around a string there are two methods to lend a hand: QuotedStr and AnsiQuotedStr. QuotedStr will put single (') quotes around your string or variable. The other function you can call is AnsiQuotedStr which adds double quotes.






 Design Group Top 
Visit Group | My Group Settings
MS Frontpage topic (classic post):
Browser Safe Colors: By Intensity
by Mike Prestwood
Browser safe colors consist of 216 colors that have been agreed upon and should look good on any type of monitor capable of displaying 256 colors or higher.

 Monthly Design Lesson
Windows Hosting Topic:
Download of the Month: Web Application Stress Tool (WAST)

The free Microsoft web stress tool is designed to realistically simulate multiple browsers requesting pages from a Web site.

The Microsoft WAS web stress tool is designed to realistically simulate multiple browsers requesting pages from a web site. You can use this tool to gather performance and stability information about your web application. This tool simulates a large number of requests with a relatively small number of client machines. The goal is to create an environment that is as close to production as possible so that you can find and eliminate problems in the web application prior to deployment.

Use this tool locally to test how well your website is performing in your test environment. The better it performs in your test environment under stress, the better it will perform when deployed live.

Graphics Topic:
Question:

Why do images sometimes resize smaller well, and sometimes not? Sometimes when I resize an image to a small 100 pixel width or less image it looks great and sometimes it's very choppy.


Answer:

1. You probably need to increase the number of colors prior to resizing. Some programs will do this for you automatically and some don't. For example, when working with a transparent GIF or PNG, the color palette is set to 256. If you shrink a transparent GIF or PNG, it will likely look choppy. However, if you increase the number of colors to 16-bit or higher, than resize, it looks great. Of course, you'll have to reapply transparency.

2. Various programs use various algorithms to resize images, make sure you try them all.

Graphics Topic:
Tip of the Month

Before you resize a transparent GIF or PNG larger or smaller, make sure you first increase the number of colors to the maximum number of colors allowed. In essence, unleash the full power of your graphics program. After you resize your image, you will have to reapply transparency.







 Java Group Top 
Visit Group | My Group Settings
 Monthly Java Lesson
Tool Basics Topic:
Code Snippet of the Month

Literals are quoted as in "Prestwood". If you need to embed a quote use a slash in front of the quote as in \".

System.out.println("Hello");
System.out.println("Hello \"Mike\".");
  
//Does Java evaluate this simple
//floating point math correctly? No!
if ((.1 + .1 + .1) == 0.3) {

System.out.println("Correct");
} else {
System.out.println("Not correct");
}






 JavaScript Group Top 
Visit Group | My Group Settings
JavaScript and AJAX topic (classic post):
JavaScript versus JScript
by Mike Prestwood
JScript is Microsoft's implementation of JavaScript.

Beginners Corner topic (classic post):
Validating Form Fields
by Mike Prestwood
Adding JavaScript to your HTML forms to validate form fields.

 Monthly JavaScript Lesson
Beginners Corner Topic:
Code Snippet of the Month

Literals use either an apostrophe (also known as a single quote) as in 'Prestwood' or quoted as in "Prestwood". If you need to embed an apostrophe in an apostrophe-literal or a quote in a quoted-literal, preced it with a slash as in \' and \".

Alert("Hello");
Alert("Hello \"Mike\".")
  
Alert('Hello');
Alert('Hello Mike\'s website.')
 
//Does JavaScript evaluate this simple
//floating point math correctly? No! 
if ((.1 + .1 + .1) == .3) {

 document.write("Correct")
} else {
 document.write("Not correct")
}
Beginners Corner Topic:
Question: How do you close a browser in a link?

Answer: You can do close a browser using JavaScript. Here is an example:

javascript:self.close()







 Linux Group Top 
Visit Group | My Group Settings
 Monthly Linux Lesson
Linux Applications Topic:
Download of the Month: Open Office for Linux
Download page for Open Office including links to the Linux editions.
OpenOffice.org 2 is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. It is available in many languages and works on all common computers. It stores all your data in an international open standard format and can also read and write files from other common office software packages. It can be downloaded and used completely free of charge for any purpose.
Linux Operating Systems Topic:
Resource Link of the Month: Distribution: Fedora

Fedora is a Linux-based operating system that showcases the latest in free and open source software. Fedora is always free for anyone to use, modify, and distribute. It is built by people across the globe who work together as a community: the Fedora Project. The Fedora Project is open and anyone is welcome to join.

The Fedora Project is out front for you, leading the advancement of free, open software and content.







 Owners Group Top 
Visit Group | My Group Settings
Website Design Services topic (classic post):
Website Design Services FAQ
by Mike Prestwood
FAQs related to Prestwood building your website.







 Paradox Group Top 
Visit Group | My Group Settings
Installation, Setup, & BDE topic (classic post):
Paradox 9/10/11 Versions (and WPO 2000)
by Mike Prestwood

Paradox 9 versions for SP1 through SP4. Plus version info on Paradox 10 and 11.


Runtime, PDE, Package-It! topic (classic post):
Using Paradox 9's Application Framework
by Mike Prestwood
Getting started using the application framework in Paradox 9.

 Monthly Paradox Lesson
OPAL: Language Basics Topic:
Code Snippet of the Month

Literals are quoted as in "Prestwood".  If you need to embed a quote use a slash in front of the quote as in \"

In ObjectPAL, string literals are limited to 255 characters but there's nothing preventing you from using multiple string literals together as in:

msgInfo("", "Hi Mike: " + "You can add literals together in ObjectPAL")
msgInfo("", "Hello")
msgInfo("", "Hello \"Mike\".")
  
;Does ObjectPAL evaluate this simple
;floating point math correctly? No!
If (.1 + .1 + .1) = .3 Then

 msgInfo("", "Correct")
Else
 msgInfo("", "Not correct")
EndIf
Paradox Tables Topic:
Definition of the Month: Paradox Net Dir

The directory location of the Paradox network control file PDOXUSRS.NET. The active NET DIR parameter is stored in the Paradox section of the BDE configuration file and has precedence over any other NET DIR parameters that may be stored in older 16-bit configuration files, or in the System Init section of the current configuration file, or in the Registry. These other NET DIR entries will have no effect. To access a Paradox table on a network drive, the active NET DIR parameter in the Paradox section of the BDE configuration file must point to a network drive and folder in common to all users.

Paradox & ObjectPAL Topic:
Download of the Month: Workbench for Paradox
Add 50+ options to Paradox 7, 8, 9, and 10.
Workbench for Paradox is an add-on suite of tools for the 32-bit version of Paradox and is geared toward speeding up the development of business database applications. This tool suite installs right into Paradox's Tools menu, giving you easy access to over 50 options.
Paradox & ObjectPAL Topic:
Documented Error of the Month: Paradox:03:69e5:
Error: Unexpected Condition GP 0000 at Paradox:03:69e5:
Explanation:

Try rebuilding the table using Table Repair (AKA TUtility).

Paradox & ObjectPAL Topic:
Resource Link of the Month: Corel News Groups

Corel products including newsgroups for the following: Paradox, ObjectPAL, Paradox and the Web, and Paradox FAQ. Also check out the following non-Corel newsgroups: comp.databases.Paradox. TheDBCommunity.com offers a newsgroup listing page.

Installation, Setup, & BDE Topic:
FAQ of the Month: Could Not Initialize BDE
Question:

Procedure for fixing the Could Not Initialize BDE" error.


Answer:

How do you fix the "Could Not Initialize BDE" error?

Here are the steps I usually take:

  1. Have all users exit Paradox.
  2. Upon exit, the BDE deletes any *.lck files in use. Delete any stray BDE *.lck files in the working, private, and NetDir folders. Usually I just search the entire local drive and delete them all. The BDE will recreate these files as needed.
  3. Delete the net files in the NetDir (pdoxusrs.net and sometimes paradox.net). The BDE will also recreate these files as needed.
  4. Retest. Continue if problem still persists.
  5. The BDE configuration file could be corrupt, try replacing it with a fresh copy.
  6. Retest. Continue if problem still persists.
  7. The BDE may be corrupt, try reinstalling the BDE (you can get a copy from prestwood.com).
  8. Retest. Continue if problem still persists.
  9. Rebuild all of your Paradox tables.
  10. Retest. Continue if problem still persists.
  11. Reinstall your application (Paradox, the Delphi EXE, etc.).
  12. Retest.
Interactive Paradox: Forms Topic:
Tip of the Month

The user interface is the first element of your application that a user sees. Because first impressions are important, the user interface carries more weight than any other part of your application. It deserves much planning and effort. Spend time just reviewing the applications on your computer. The more time you spend looking at various application user interfaces, the better your forms, reports, and applications will look.







 Perl Group Top 
Visit Group | My Group Settings
Perl topic (classic post):
Perl Custom Routines (sub)
by Mike Prestwood

Perl uses subs and parameters are referenced in a special array. All arguments passed to a subroutine are stored in a special @_ array. To retrieve the arguments, you have to look inside the array and extract them.


 Monthly Perl Lesson
Beginners Corner Topic:
Code Snippet of the Month

PHP is case sensitive with variable names but not with commands. Although commands are case incenstive, I prefer to use all lowercase because it's easy to type and that's what I see most PHP coders doing and I see it on PHP.Net.

All of the following are equivalent:

echo "hello<br>";
ECHO "hello<br>";
Echo "hello<br>";
eCHo "hello<br>";

...but variables are case sensitive:

$fullname = "Mike Prestwood"; //These are two...
$FullName = "Wes Peterson";   //separate varialbes.
Perl Topic:
Download of the Month: ActivePerl Pro Studio
Commercial Perl development suite from ActiveState.
ActivePerl Pro Studio includes the latest releases of Komodo IDE and PDK Pro, plus one year access to Safari Books Online. Software licenses are permanent and include all updates, and upgrades for one year.






 PHP Group Top 
Visit Group | My Group Settings
Beginners Corner topic (classic post):
PHP Associative Array
by Mike Prestwood

Declare associative array with initial known values. You can also add to associative array. (You can just assign values without ever declaring it too!)


 Monthly PHP Lesson
Beginners Corner Topic:
Code Snippet of the Month

Common comparison operators:

== equal
!= or <> not equal
< less than
> greater than
<= less than or equal
>= greater than or equal

PHP 4 and above also offers === for indentical (equal plus same type) and !== for not identical (not equal or not same type).

//Does PHP evaluate the math correctly? No!
if (.1 + .1 + .1 == .3) {

echo "correct";
}
else {
echo "not correct";
}
Beginners Corner Topic:
Download of the Month: Download PHP (Install it)

Download page from PHP.Net.

Contains Windows PHP downloads and links to other OS binaries.







 Prestwood IT Group Top 
Visit Group | My Group Settings






 PrestwoodBoards Group Top 
Visit Group | My Group Settings
PrestwoodBoards topic (classic post):
Member Points Program
by Mike Prestwood

Member points information.








 Prism Group Top 
Visit Group | My Group Settings
Language Basics topic (classic post):
Delphi Prism Custom Routines (method, procedure, function)
by Mike Prestwood

In Prism, everything is within a class (just like with C#, VB.Net, and Java). So you create class methods using the method keyword. Alternatively, you can use procedure or function if you want the compiler to enforce returning or not returning a value.


 Monthly Prism Lesson
Language Basics Topic:
Code Snippet of the Month

Object Pascal uses a semicolon ";" as an end of statement specifier and you can put multiple statements on a single line of code and put a single statement on two or more code lines if you wish.

MessageBox.Show("Hello1");
MessageBox.Show("Hello2");
MessageBox.Show("Hello3");


//Same line works too:
MessageBox.Show("Hello4");  MessageBox.Show("Hello5");


//Two or more lines works too:
MessageBox.Show
("Hello6");
Tool Basics Topic:
FAQ of the Month: Delphi Prism IDE vs VS.Net
Question: Does Delphi Prism look and feel like Visual Studio or Delphi? In other words, is Delphi Prism VS.Net or Delphi?

Answer:

Delphi Prism is Visual Studio.Net. If you have Visual Studio.Net installed, the Delphi Prism installation plugs into your existing VS.Net installation. If you don't own VS.Net, the installation installs the Visual Studio Shell before plugging in Delphi Prism.







 Proj Man Group Top 
Visit Group | My Group Settings
 Monthly Proj Man Lesson
PSDP Analysis Topic:
Definition of the Month: Actor (PSDP Online)
In PSDP Online, an actor is a UML Actor, role, or person that interfaces with the system you are building. When establishing actors of your system, do not think in terms of a specific person, think in terms of their role. Do not name an actor the name of the person filling the role. If Bob is our Sales Clerk, name your actor Sales Clerk (not Bob).
PSDP Phases Topic:
Question: What is the default phase for a task, artifact, and defect?

Answer:

The default phase for a defect is Phase 6 Testing & Rework. The default phase for a task or PSDP Artifact is Phase 2 Requirements. Whether or not you have enabled PSDP Phases for a project, the defaults are always set just in case you enable PSDP Phases.

Even though PSDP Artifacts contain a Task, Requirement Item, Design Item, and a Test Script, it belongs to the requirements phase because the Requirement Item is the first real software documentation item. An additional task or tasks of filling in design items belong to Phase 4 Detail Design. The task of coding the artifacts belong to Phase 5 Initial Coding, and finally the task of completing of the test scripts and testing a particular build belongs to Phase 5 Testing & Rework.

PSDP Artifacts Topic:
Tip of the Month
Use PSDP Artifacts to track and document what the client wants. Create one artifact per main requirement, expectation, and/or critical success factor. A nagging problem we always face is documenting what the client wants then design, build, and test it while maintaining a link back to the original requirement. PSDP Artifacts aid in your effort to make sure you fulfill each and every requirement. For doucmentation purposes, you can add as many additional requirement and design items as you wish. You can also add additional test scripts as needed.






 Tech Group Top 
Visit Group | My Group Settings
 Monthly Tech Lesson
Removable Storage Technology Topic:
Definition of the Month: ISO Image
A disk image of an ISO 9660 file system usually with a .ISO extension. ISO stands for International Organization for Standardization (ISO) and standard 9660 describes a standard for storing data on a CD or DVD. An ISO image (or .ISO file) is a single computer file that is a copy of an existing file system (all files including all the filesystem metadata (boot code, structures, attributes, etc.). An ISO image can contain the entire contents of a CD or DVD.






 Tech Writer Group Top 
Visit Group | My Group Settings
 Monthly Tech Writer Lesson
Publishing Topic:
Resource Link of the Month: Lulu.com Self Publishing

Self-publishing website. Publish your own books at a reasonable price. Free to publish and no setup fees.

Grammar Topic:
Tip of the Month

a
not any particular or certain one; a certain; another; one;

"He is a Delphi programmer."
 

an
the form of "a" before an initial vowel

"He is an ObjectPAL programmer."







 Tester Group Top 
Visit Group | My Group Settings
 Monthly Tester Lesson
Beginner's Corner Topic:
Definition of the Month: Works As Designed (WAD)
Term used by the software designer to let a tester know that the defect they reported isn't a defect, the reported behavior is working as the designer wants it to.Term used by the software designer to let a tester know that the defect they reported isn't a defect, the reported behavior is working as the designer wants it to.






 V.FoxPro Group Top 
Visit Group | My Group Settings
 Monthly V.FoxPro Lesson
Visual FoxPro (VFP) Topic:
Resource Link of the Month: The History of FoxPro
Great resource! The history of FoxPro including FoxPro and Visual FoxPro. Also includes predictions about the future.






 VB Classic Group Top 
Visit Group | My Group Settings
 Monthly VB Classic Lesson
Tool Basics Topic:
Code Snippet of the Month

Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator.

Dim FirstName As String

Dim LastName As String
 
FirstName = "Mike"
LastName = "Prestwood"
 
MsgBox "Full name: " & FirstName & " " + LastName
 

MsgBox "2+2=" + CStr(2+2)






 VB.Net Group Top 
Visit Group | My Group Settings
Tool Basics topic (classic post):
A 10 Minute VB.Net Console Application Quick Start
by Mike Prestwood

This will show how to make a "hello world" console application in Visual Studio 2008 using VB.Net.


 Monthly VB.Net Lesson
VB.Net Topic:
Code Snippet of the Month

VB.Net, like VBClassiccode blocks, are surrounded by statement ending keywords that all use End such as End Class, End Sub, End Function, End If, and End If.

Public Class Dog

End Class
 
Protected Sub MySub
End Sub
  
Public Shared Function MySharedFunction() As Integer

MySharedFunction = 12345
End Function
 
If x Then
End If






 Windows Group Top 
Visit Group | My Group Settings
Windows Vista topic (classic post):
Download Windows Help for Vista and Server 2008
by Mike Prestwood
Windows Help program (WinHlp32.exe) does not ship with Microsft Vista nore with Windows Server 2008 but is available for download.

 Monthly Windows Lesson
Windows 7 Topic:
Question:

How much memory do I need with Windows XP?


Answer:

With the size of applications and data, my belief is the more the better. For 32BIT Windows, a minimum of 2 GB of RAM is good, but 4 GBs is better. With 64BIT Windows, most users will benefit from at least 6GB of RAM.



Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech