IT SOLUTIONS
916-726-5675
-Collapse +Expand

eMag


Prestwood eMagazine

Subscribe now!
Enter your email:


What Reader's Say!

Here's what our readers have to say about our newsletter.

D.K. 'Bud', Houston Texas

I received your newsletter and really enjoyed the material. Please keep them coming.

John F Hurren, Queensland Australia

Thank you for your newsletter which I have been receiving now for some time. I enjoy it very much.

Mahdieh

Your knowledge base and articles are very useful and amazing. Thank you very much.


Feedback Wanted!

We want your feedback! Tell us what you think of our monthly eMag.
[Add Comment]
   PrestwoodBoardseMagCurrent   
View Group Edition:
Full Edition Your Edition || Prev Next

eMag Feb 2009 Issue - Full Edition

The Prestwood eMag
www.prestwood.com
February 2009 - Full EditionYear 11 Issue 2
A computer community for power-users and I.T. professionals!
Feb Issue : I.T. Strategies for Hard Times
Table of Contents:
Featured Articles:
  • News Of The Month
  • Editor's Final Word
  • I.T. Strategies for Hard Times
  • Guidelines for Good Sample Code
  • New Version of Cross Reference Encyclopdedia
  • ALL Groups:
    Access | American I.T. | Analyst | ASP Classic | C# | C++ | Client Connection | Coder | DBA | Delphi | Industry | Java | JavaScript | Linux Users | Paradox | Perl | PHP | Prestwood | PrestwoodBoards | Prism | PSDP | Tech | Tech Writer | Tester | V.FoxPro | VB Classic | VB.Net | Web Design | Web Owners | Win Users |
    Wes Peterson
    From our Coding Services topic...
    I.T. Strategies for Hard Times
    by Wes Peterson

    Difficult economic periods call for hard decisions. It's easy to be tempted to cut back on your IT expenditures but that can be a major mistake.

    I.T. is the goose that's been laying the golden egg for businesses -for decades, now.   You don't want to starve the goose; you want to tune it up. It's crystal-clear that computing has enabled businesses to reduce costs, and increase productivity.

    Custom-written software is one of the major ways that businesses gain advantages in savings, profits and productivity.  The reason is pretty simple: No two businesses, even in the same industry, do things the same way.  Mass-produced software, even for a specific industry, seldom addresses every requirement of a given business.

    Foreign Worker Visas: H-1B, L-1: State of CA Cancels BearingPoint Project

    Citing missed work deadlines and other problems, the state has terminated a $69 million contract with BearingPoint Inc. of McLean, Va. ...

    A classic post from our Working Remotely with PS topic...
    Upload a File to Prestwood / Download Files by Mike Prestwood

    For file management (to and from you), we do not normally use FTP. Instead we use our My Uploads feature to both upload a file to Prestwood and to view existing account files.

    To get to your uploads, from the main pull-down menu click My | More... | My Uploads. Use the Upload a File option to send us a file. Use the File Manager options to view existing files you and others have uploaded to your account and files attached to notes. You can add a note to your account, tickets, and PSDP items (tasks, defects, requirement items, etc). All note attachments also show up in your My Uploads area.

    A classic post from our Technical Writing topic...
    Guidelines for Good Sample Code by Peter Gruenbaum

    Sample code often provides the quickest, clearest way to learn how an SDK works. If you have software engineering experience, then you should already know many principles for writing good code. However, what you may not realize is that some of the good practices that you learned for writing good production code do not apply to writing good sample code. Some techniques, such as comments and clear variable names, apply to both production code and sample code. However, there are good reasons to use hard-coded values in sample code, which should be avoided in production code, and there are good reasons to avoid object-oriented designs when writing sample code.

    A classic post from our Computer Community topic...
    New Version of Cross Reference Encyclopdedia

    I deployed yet another new version of my Cross Reference Computer Language Encyclopedia. This new version of the software that drives the cross reference data includes fixing defects and some minor enhancements.

    Check it out...

    The Cross Reference Encyclopedia is also available from the pulldown menu (Programmer Community | Cross Reference Encyclopedia). Enhancements and fixes included:

    • CrossRef stats replaced the ambiguous "Version 1.1a" on the main CrossRef page:
    • Numerous browsing defects fixed. Previously, clicking around led to some unexpected data showing and in some cases no data.
    • Removed "View All" option and replaced it with a shorter "Overview" page. The "View All" page was getting too long to be of much use so I transitioned to a browse feature. You can still print out each category so "grabbing" a printable version is still possible.
    From our Techie Jokes topic...
    Wife Upgrade by Mike Prestwood
    Last year a friend of mine upgraded Girlfriend 1.0 to Wife 1.0
    From our Role-Based Tech Talk topic...
    Crash, Bomb, Hang, and Deadlock by Scott Wehrly
    This article explores and defines the following terms: crash, bomb, hang, deadlock, exception, fatal error, and blue screen of death.
    From our Foreign Worker Visas: H-1B, L-1 topic...
    State of CA Cancels BearingPoint Project

    Citing missed work deadlines and other problems, the state has terminated a $69 million contract with BearingPoint Inc. of McLean, Va. ...





    Prestwood Access GroupTop 

    Monthly Access Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Language Basics Topic.
    Code Snippet of the Month

    Literals are quoted as in "Prestwood". If you need to embed a quote use two quotes in a row.

    MsgBox ("Hello")
    MsgBox ("Hello ""Mike"".")
     
    'Does Access VBA evaluate this simple
    'floating point math correctly? No! 
    If (.1 + .1 + .1) = 0.3 Then
    MsgBox "Correct"
    Else
    MsgBox "Not correct"
    End If

    Access Message Board

    Ask this group a question! Select a topic below or Visit Access Board Now!





    Prestwood American I.T. GroupTop 
    A classic post from our Foreign Worker Visas: H-1B, L-1 topic...
    State of CA Cancels BearingPoint Project

    Citing missed work deadlines and other problems, the state has terminated a $69 million contract with BearingPoint Inc. of McLean, Va. ...


    American I.T. Message Board

    Ask this group a question! Select a topic below or Visit American I.T. Board Now!





    Prestwood Analyst GroupTop 
    A classic post from our Data Flow Diagrams (DFD) topic...
    A 10 Minute Data Flow Diagrams (DFD) Quick Start by Mike Prestwood

    DFDs document a process by documenting the flow of data throughout the process. They depict how data interacts with a system. They can be used to engineer a new process, document an existing process, or re-engineer an existing process.

    Monthly Analyst Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Unified Modeling Language (UML) Topic.
    Definition of the Month: Generalization
    Where you generalize specific classes into general parent classes or take general parent classes and specialize them as needed in child classes. A Generalization relationship is the equivalent of inheritance in object oriented programming (OOP). A Generalization relationship is an "is-a" relationship and is indicated by an arrow with a hollow arrowhead pointing to the parent class. For example, a Honda Accord "is-a" Car.
    From our Unified Modeling Language (UML) Topic
    Resource Link of the Month: UML Resource Page

    Semi-official home page for UML. Includes the UML specification.

    Have you download the UML 2.0 specification yet? If not, why?


    Analyst Message Board

    Ask this group a question! Select a topic below or Visit Analyst Board Now!





    Prestwood ASP Classic GroupTop 
    A classic post from our OOP topic...
    ASP Classic Destructor (Class_Terminate) by Mike Prestwood

    When an object instance is destroyed, ASP calls a special parameter-less sub named Class_Terminate. For example, when the variable falls out of scope. Since you cannot specify parameters for this sub, you also cannot overload it.

    When an object instance is created from a class, ASP calls a special sub called Class_Initialize.

    A classic post from our OOP topic...
    ASP Classic Constructors (Class_Initialize) by Mike Prestwood

    When an object instance is created from a class, ASP calls a special parameter-less sub named Class_Initialize. Since you cannot specify parameters for this sub, you also cannot overload it.

    When a class is destroyed, ASP calls a special sub called Class_Terminate.

    Monthly ASP Classic Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Language Details Topic.
    Code Snippet of the Month

    Use the scriptiing dictionary object which is available on later versions of ASP Classic (all still commonly in use). Both Access VBA and VB Classic use a collection for this but collections are not supported in ASP Classic.

    Dim StateList
    Set StateList = Server.CreateObject("Scripting.Dictionary")
    StateList.Add "CA", "California"
    StateList.Add "NV", "Nevada" 
    Response.Write "I live in " & StateList.Item("CA")
    Dim StateList
     
    set StateList = Server.CreateObject("Scripting.Dictionary")
    StateList.Add "CA", "California"
    StateList.Add "NV", "Nevada"
     
    Response.Write "I live in " & StateList.Item("CA")
    From our ASP Classic Topic
    Run ASP pages on Linux/Unix! This software was originally developed by ChiliSoft.
    Sun Java System Active Server Pages software allows organizations to deploy Active Server Pages (ASP)-based web applications on a variety of web servers and operating systems. ASP applications currently supported by Microsoft IIS can now be powered by the Java System Web Server for increased security. Legacy ASP applications running on Windows NT can be transitioned to the Solaris Operating System for ongoing maintenance and support.
    From our ASP Classic Topic.
    FAQ of the Month: Find Last Day of Week
    Question:

    How do you find last Monday? I want to return a date for last Monday or today if today is Monday.


    Answer:
    While Weekday(ADate) <> vbMonday
         ADate = DateAdd("d", -1, ADate)
    WEnd

    You could wrap this up in a function as follows: 

    Function SU_GetLastDOW(ADate, AWeekDayConst)
        While Weekday(ADate) <> AWeekDayConst
            ADate = DateAdd("d", -1, ADate)
        WEnd
        
        SU_GetLastDOW = ADate
    End Function
    From our Language Details Topic
    Tip of the Month

    Call Application.Lock to freeze ASP code while you set IIS application variables the Application.Unlock to unfreeze. No actions take place on the server while locked. 

    Application.Lock

    Application(YourAppVar) = AValue
    Application.Unlock
     

    ASP Classic Message Board

    Ask this group a question! Select a topic below or Visit ASP Classic Board Now!





    Prestwood C# GroupTop 
    A classic post from our OOP topic...
    C# Class..Object (class...new) by Mike Prestwood

    In C#, you use the class keyword to specify a class and you signify its parent with a colon and the name of the parent class. When you instantiate an object from a class, you use the new keyword.

    A classic post from our OOP topic...
    C# Finalizer (~ClassName) by Mike Prestwood

    Use a destructor to free unmanaged resources. A destructor is a method with the same name as the class but preceded with a tilde (as in ~ClassName). The destructor implicity creates an Object.Finalize method (you cannot directly call nor override the Object.Finalize method).

    In C# you cannot explicitly destroy an object. Instead, the .Net Frameworks garbage collector (GC) takes care of destroying all objects. The GC destroys the objects only when necessary. Some situations of necessity are when memory is exhausted or you explicitly call the System.GC.Collect method. In general, you never need to call  System.GC.Collect.

    Monthly C# Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OOP Topic.
    Code Snippet of the Month

    In C# you can set the visibility of a member field to any visibility: private, protected, public, internal or protected internal. You can intialize a member field with a default when declared. If you set the member field value in your constructor, it will override the default value. Finally, you can use the static modifier (no instance required) and readonly modifier (similar to a constant).

    Define class:

    public class Cyborg : System.Object
    {
    public virtual void IntroduceYourself()
    {
    MessageBox.Show("Hi, I do not have a name yet.");
    }
    }

    Create object from class:

    Cyborg T1 = new Cyborg();
    T1.IntroduceYourself();
    From our C# Topic.
    Definition of the Month: Delegate
    A Delegate is a variable that references a method.A delegate is a variable that references a method.  A delegate's signature (parameters and return value) must match the signature of the method that it references.  In some cases it is possible to use a method with parameters that are less derived than in the delegate or a method with a return type that is more derived than in the delegate
    From our WebForms Beginners Corner Topic.
    Question:

    How do you resolve the UserID of a user when using ASP.NET 2.0's built in Membership utility?


    Answer:
    //GetUser() returns current user information
    MembershipUser myUser = Membership.GetUser();
      

    //Returns the UserID and converts to a string
    string UserID = myUser.ProviderUserKey.ToString();

    C# Message Board

    Ask this group a question! Select a topic below or Visit C# Board Now!





    Prestwood C++ GroupTop 

    Monthly C++ Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our C++ OOP Topic.
    Code Snippet of the Month

    A member function with the same name as the class prefixed with a ~ (tilde). C++ destructors are automatically called when an object goes out of scope, or when you delete a dynamically allocated object. Every class can have only one destructor.

    class Cyborg {
    public:
    // Constructor for class Cyborg
    Cyborg();
      
    // Destructor for class Cyborg
    ~Cyborg();
    };
    From our Standard C++ Topic.
    FAQ of the Month: C++ Comments
    Question: How do you comment code in C++?

    Answer:

    Use two forward slashes to represent a single line comment:

    // This is a C++ style single line comment.

    You can also use multiple line comments:

    /*
    This is a mutliple line comment. This
    syntax is borrowed from C.
    */

    C++ Message Board

    Ask this group a question! Select a topic below or Visit C++ Board Now!





    Prestwood Coder GroupTop 
    A classic post from our Object Orientation (OO) topic...
    Member Field by Mike Prestwood

    Also known as a Class Field.

    A class variable defined with a specific class visibility, usually private visibility. A member property is different than a member field. A member property uses a member field to store values through accessor methods (getters and setters). For example, it is common to use a private member field to store the current value of a property. The current values of all the class member fields is the current state of the object.

    A classic post from our Object Orientation (OO) topic...
    Partial Class by Mike Prestwood

    A partial class, or partial type, is a class that can be split into two or more source code files and/or two or more locations within the same source file. Each partial class is known as a class part or just a part. Logically, partial classes do not make any difference to the compiler. The compiler puts the class together at compile time and treats the final class or type as a single entity exactly the same as if all the source code was in a single location.

    Monthly Coder Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Object Orientation (OO) Topic.
    Definition of the Month: Class Destructor

    A special class method called when an object instance of a class is destroyed. With some languages they are called when the object instance goes out of scope, with some languages you specifically have to call the destructor in code to destroy the object, and others use a garbage collector to dispose of object instances at specific times.

    Desctructors are commonly used to free the object instance but with languages that have a garbage collector object instances are disposed of when appropriate. Either way, destructors or their equivalent are commonly used to free up resources allocated in the class constructor.

    From our General .Net Concepts Topic
    Resource Link of the Month: PowerCommands for Visual Studio 2008

    According to Microsoft, "PowerCommands is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 to allow modification of functionality or as a reference to create additional custom PowerCommand extensions. "

    If you've previously worked with Delphi and GExperts, you know how helpful some extensions to your IDE can be.

    This free download, from Microsoft, adds some really useful functionality to the VS2008 IDE.  Check it out.


    Coder Message Board

    Ask this group a question! Select a topic below or Visit Coder Board Now!
    TopicThreadsPostsLast Active Thread
    Coding Techniques634Great Delphi and .Net Tool...
    General .Net Concepts311Please Read - .aspx website...
    Object Orientation (OO)314Delphi OO...
    Palm OS Developement38ROM Files...
    Pocket PC / Win CE Development614SQLCE...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    Silverlight = DLR + WPFe
    The dynamic language runtime (DLR) browser plug in is a paired down version of the common language runtime, similar to the compact framework for Pocket PCs, tha...
    6
    {Too Long}
    1/6/2009
    Coding Techniques






    Prestwood DBA GroupTop 
    A classic post from our ANSI SQL Scripting topic...
    Concatenation of VARCHAR fields yields NULL by Scott Wehrly
    When you have a concatenation of two or more CHAR or VARCHAR fields in a SELECT statement, and one of the fields is NULL, the resulting value will be NULL.
    A classic post from our DBA & Data topic...
    Data Element Naming Standard by Jeffrey K. Tyzzer
    This paper articulates the standard for naming data elements (entity attributes).

    Monthly DBA Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our DBA & Data Topic.
    Definition of the Month: ASCII
    ASCII is an acronym for American Standard Code for Information Interchange. The ASCII set consists of 7-bit codes that represent 128 standard characters, including letters, numbers, and symbols. The first 128 characters in the ASCII set, the extended ASCII set, and the ANSI set are the same.ASCII is an acronym for American Standard Code for Information Interchange. The ASCII set consists of 7-bit codes that represent 128 standard characters, including letters, numbers, and symbols. The first 128 characters in the ASCII set, the extended ASCII set, and the ANSI set are the same.
    From our MS SQL 2008 Topic

    MS SQL Express 2008 with Management Studio Basic. MS SQL 2008 database management tool only available bundled.

    Microsoft SQL Server 2008 Express with Tools (SQL Server 2008 Express) is the free version of SQL Server Express that includes graphical management tools. SQL Server 2008 Express with Tools has all of the features in SQL Server 2008 Express, plus includes SQL Server 2008 Management Studio Basic for managing MS SQL 2008 databases.

    Note: Requires Microsoft .Net Framework 3.5 SP1.

    What about MS SQL 2005?

    The MS SQL 2005 Enterprise Manager is available as a separate download:

    From our Education (Audio/Video) Topic
    Resource Link of the Month: Video: MySQL On Demand Web Seminars

    Lots here! {#biggrin} MySQL has made available on-demand web seminars. They are recorded replays of our their live more popular web seminars and cover a wide range of topics. You will have to register but well worth it if you use MySQL.

    From our ANSI SQL Scripting Topic.
    Question: Is there a way to reverse order a select statement?

    Answer:

    Yes. Use the DESC keyword in your order by clause on each column you want ordered descending. Use ASC for ascending.

    select * from Customer 
    Order by Age Desc, City Asc, State Asc

    DBA Message Board

    Ask this group a question! Select a topic below or Visit DBA Board Now!





    Prestwood Delphi GroupTop 
    A classic post from our OOP topic...
    Delphi Member Modifiers by Mike Prestwood

    Specify Delphi member modifiers as follows:

    reintroduce; overload; [binding modifier]; [calling convention]; abstract; [warning]

    The binding modifiers are virtual, dynamic, or override. The calling conventions are register, pascal, cdecl, stdcall, or safecall. The warnings are platform, deprecated, or library. Additional directives include reintroduce, abstract, class, static, overload, and message.

    A classic post from our Using Data topic...
    Modified Preorder Tree Traversal Algorithm by Daniel Kram
    I needed a way to show a hierarchical structure. What most were saying, was the, Modified Preorder Tree Traversal Algorithm, was a preferred way of doing hierarchical sets. I thought I would share the code with you.

    Monthly Delphi Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OOP Topic.
    Code Snippet of the Month

    Up until D2005, private and protected were not implemented strictly. Starting with D2005, a traditional strict versions of OOP are supported using the strict keyword. OO purist will want you to use strict private over private and strict protected over protected. I suggest you follow that advice until you both fully understand the differences and have a specific need. Delphi offers a special published specifier which is the same as public members but runtime type information (RTTI) is generated.

    TCyborg = class(System.Object)
    private
    //Don't use accept when you really want private friendly members.
    strict private
    //Use as your default private members.
      FName: String;
    protected
    //Don't use accept when you really want protected friendly members.
    strict protected
    //Use as your default protected members.
    public
      

    published
      //RTTI Info

    end;
    From our OOP Topic.
    Definition of the Month: Strict Visibility
    The Strict specifier tightens up the scope for private and protected. With Strict Private, members within a class are visible ONLY within the class declared and Strict Protected are visible only within the class declared and descendent classes. Without strict, private and protected members can also be seen by all classes declared in the same unit (friendly classes). The Strict specifier was introduced with Delphi for .Net preview in Delphi 7 in an update to the .Net compiler preview and with Win32 in Delphi 2005 to fully comply with the .NET CLS. Delphi's traditional private specifier maps to the CLR's assembly visibility and the protected specifier maps to the CLR's assembly or family visibility.
    From our Delphi for Win32 Topic
    Resource Link of the Month: TechTricks.com Delphi Articles
    www.TechTricks.com is run by Lance Leonard and contains a wealth of information. I remember Lance from back when I worked at Borland in the mid-90s. His website covers Paradox, Delphi, and other technologies.
    From our Using Data Topic.
    Question: How do you check screen resolution in Delphi?

    Answer:

    Use the Screen variable which is a TScreen. The Screen variable is a TScreen component that represents the screen of the system on which the application runs. By default, applications create a screen component based on information from Windows about the current screen device and assign it to Screen.

    For example, put the following code in a button click:

    MessageDlg( 'screen width = ' + IntToStr( Screen.Width ) + ',
    screen height = ' + IntToStr( Screen.Height ),
        mtInformation, [mbOk], 0 );
    From our Using Data Topic
    Tip of the Month
    Before adding many new entries to a TStringList, set its Sorted property to false. Add all your entries. Finally, set the Sorted property back to True (if desired). Sorting is expensive, in terms of macnine cycles. By leaving the Sorted property set to True, you force the TStingList to re-sort itself after each entry. This can significantly slow things down. This applies to TStrings, as well, and all components that have a TStrings property, like TListBox, etc.

    Delphi Message Board

    Ask this group a question! Select a topic below or Visit Delphi Board Now!
    TopicThreadsPostsLast Active Thread
    Delphi COM / ActiveX / DCOM2353Excel and Word automation...
    Delphi Distributed Apps48102MSSQL locks on ApplyUpdates...
    Delphi Internet Solutions4994Problem Using the TIWComboB...
    Delphi News / Other100265A little more help...
    Delphi Object PASCAL102591Bizarre date/time logics...
    Delphi Single User Apps103256Rights maybe?...
    Delphi User Groups56Delphi User Groups LIsting...
    Delphi VCL66171Kinda Solution =)))))...
    Kylix (Archive)1035Suse 9.1 and Kylix 3...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    Point-Of-Sale (POS) Screen ...
    Hello and happy new year to all. I am currently in the process of writing a Point-of-Sale, POS, system. I have seen many in person recently and they have fairl...
    4
    On the Jedi comment, true. I am using the XP Manifest, yes, but we needed a bit more flexibility fo...
    1/13/2009
    Delphi VCL






    Prestwood Java GroupTop 

    Monthly Java Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OOP Topic.
    Code Snippet of the Month

    Java has a garbage collection algorythm that runs as a background task so it has no destructors. You can use the finalize() method to close additonal resources such as file handles.

    protected void finalize() throws Throwable {
    try {
    close(); // close open files
    } finally {
    super.finalize();
    }
    }
    From our Standard Java Topic
    If you need support for general Java and Web development, consider Eclipse IDE for Java EE Developers.

    The Eclipse IDE for Java Developers contains what you need to build Java applications. Considered by many to be the best Java development tool available, the Eclipse IDE for Java Developers provides superior Java editing with validation, incremental compilation, cross-referencing, code assist; an XML Editor; Mylyn; and much more.

    From our Eclipse for Java Topic
    Resource Link of the Month: Eclipse And Java: Free Video Tutorials

    Free video tutorials by Mark Dexter.


    Java Message Board

    Ask this group a question! Select a topic below or Visit Java Board Now!





    Prestwood JavaScript GroupTop 
    A classic post from our Coding Tasks topic...
    Specify browser size with Javascript by Mike Prestwood
    How to specify browser size with Javascript.
    A classic post from our Beginners Corner topic...
    JavaScript Event Model by Mike Prestwood
    Description of the JavaScript event handlers.

    Monthly JavaScript Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our JavaScript and AJAX Topic.
    Code Snippet of the Month

    JavaScript is case sensitive. Change the case, and it no longer works! Notice the "W" in "Write" is capitalized.

    <script language=JavaScript> 
    <!--
    document.Write("Hello"); //Does not work!
    //-->
    </script>

    Variable names are case sensitive.

    This does work:

    <script language=JavaScript> 
    <!--
    document.write("Hello");
    //-->
    </script>
    From our JavaScript and AJAX Topic.
    Definition of the Month: JavaScript
    JavaScript is a platform-independent, event-driven, interpreted programming language developed by Netscape Communications Corp. and Sun Microsystems. Originally called LiveScript (and still called LiveWireTM by Netscape in its compiled, server-side incarnation), JavaScript is affiliated with Sun's object-oriented programming language JavaTM primarily as a marketing convenience. They interoperate well but are technically, functionally and behaviorally very different.
    From our JavaScript and AJAX Topic.
    Question: How do you pass values from ASP to Javascript in the same page?

    Answer:

    The same way you do with HTML. Here is a simple example:

    <%
    Dim MyName
    MyName = "Mike Prestwood"
    %>
    <script language="javascript">
    <!--
    document.write('Hi <%=MyName%>')
    -->
    </script>

    JavaScript Message Board

    Ask this group a question! Select a topic below or Visit JavaScript Board Now!





    Prestwood Linux Users GroupTop 

    Monthly Linux Users Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Linux Utilities Topic
    Resource Link of the Month: Pen Drive Linux!

    Carry a portable Linux version with you on a USB flash pen drive. Bring your portable desktop with you wherever you go.

    USB Linux installation enables you to install a portable Linux operating system on a flash drive or USB key no larger than your thumb. This portable Linux version can then be run from any computer that can boot from a flash device, allowing you to bring your operating system, desktop, applications, files, e-mail, personal settings, favorites and more with you. It’s like having your own personal operating system you can carry in your pocket.


    Linux Users Message Board

    Ask this group a question! Select a topic below or Visit Linux Users Board Now!





    Prestwood Paradox GroupTop 
    A classic post from our Installation, Setup, & BDE topic...
    ObjectPAL File Extensions by Mike Prestwood

    Paradox for Windows has two primary file types: source files and delivered files. Source files in Paradox are binary but can can be opened in later versions of Paradox and even in earlier versions if you don't use any new features: .FSL = Form, .RSL = Report, .SSL = Script, and .LSL = Library. Since Paradox source files do not compile to an EXE, Paradox developers tend to use a startup form or script to start the application.

    A classic post from our Paradox Tables topic...
    Repair Paradox Tables by Mike Prestwood

    Step by step instructions for repairing your Paradox tables.

    Monthly Paradox Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OPAL: Language Basics Topic.
    Code Snippet of the Month

    ObjectPAL uses = for it's assignment operator.

    var
     FullName String
       Age SmallInt
    endVar
      
    FullName = "Randy Spitz"
    Age = 42
    From our Interactive Paradox: Getting Going Topic.
    Definition of the Month: Data Model
    A data model is a diagram of the tables used in a form or report. It identifies the tables, defines the relationships between them (links), and has features including the ability to filter each table and mark any table as read-only. You can save a data model (.dm) and reuse it with another form or report.

    A data model is a diagram of the tables used in a form or report. It identifies the tables, defines the relationships between them (links), and has features including the ability to filter each table and mark any table as read-only. You can save a data model (.dm) and reuse it with another form or report.

    From our P9 Book: Power Programming Topic
    Download of the Month: Paradox 9 Book Support Files

    Download the 1,500 KB ZIP support file download (unzips to 5+MB). Contains 200+ forms demoing code from the book PLUS OTHER MATERIAL (much more material). Also includes 7 libraries, 10 scripts, and other support files (reports, queries, tables, datamodels, etc.)

    From our Paradox & ObjectPAL Topic
    Resource Link of the Month: RDA World Wide
     
    Many downloadable ObjectPal examples as well as additional development tools.
    From our Installation, Setup, & BDE Topic.
    Question: I have recently started learning to work with Paradox 9 and have found your book Paradox 9 power programing extremely helpful. I have encountered a problem and hope that you will be kind enough to assist. The problem has occured twice now so I don't think it is a finger problem. When I nearly reach a stage of completion, on opening the program it goes into tile mode, a few seconds later the program tell me to abort (Corel Paradox crashes on startup). Should you be able to give me any assistance I would be most appreciative.

    Answer:

    Using Paradox 9 on XP with CorelDraw or any other programs is fine. No problem there. Not sure what the issue is though. You might want to try starting Paradox with a clear desktop using the -c command line option. You can search the help file for command line options for usage. If that isn't the problem, then you must have a bad installation of Paradox (try reinstalling) or some other program is causing it to crash (doubtfull with XP memory management).

    From our OPAL: Language Basics Topic
    Tip of the Month

    Before you code in ObjectPAL, ask yourself two questions. Does Paradox already do this? Is there a better and easier way? Remember, simple solutions for simple problems.


    Paradox Message Board

    Ask this group a question! Select a topic below or Visit Paradox Board Now!
    TopicThreadsPostsLast Active Thread
    Paradox Setup, Vista, etc.2191281RE: Paradox 7 Update...
    Paradox Tables46271StruList Documentation...
    Paradox Forms101384No Compiled EXE for Paradox...
    Paradox Reports28116RE: Printing forms as repor...
    QBE & SQL36234RE: Networking Paradox 9...
    Application Framework1140Print report from App Frame...
    ObjectPAL7965656I need to create an rtf fil...
    Paradox for Linux1036Free Paradox for Linux Book...
    Paradox Third Party Books &...945New Paradox User...
    Paradox Third Party Softwar...2567OLE and Arrays?...
    Paradox to/from Other Data ...65234RE: Using Index on Oracle...
    Paradox Web Stuff45165RE: Is it possible to uploa...
    Paradox Graphs & Charts1043Charts and Graphs probs...
    Paradox Runtime & Distribution43267Paradox 9 Runtime - Report ...
    Convert To/From Paradox1343Hi, I'm SteveC...
    Paradox for DOS1167Another possible problem wi...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    Paradox 9/10/11 and Vista a...
    I found a press release today on the Corel site from about a month ago with this interesting sentence:[quote]In addition, Corel has also released a special upda...
    64
    {Too Long}
    10/6/2009
    Paradox Setup, Vista, etc.
    General Protection Violatio...

    Mike

    Thanks for that and sorry for my delay in...

    2/18/2009
    Paradox Runtime & Distribution
    Need some information from ...
    For the last 15 years I have been learning Paradox by studying the manuals and a lot of trial and error.  I always tried to learn more as I went along just...
    2
    With regard to the grayed out File | Publish to HTML that was introduced with Paradox 9. It's gone i...
    2/5/2009
    Paradox Setup, Vista, etc.
    lookup tables in paradox 5
    does anyone know why i get a general protection fault when i try to access a lookup table (ctrl+spacebar).  this does not happen every time nor on every co...
    2
    I have not tried rebuilding the tables, I will give it a try.  The problems are at remote locat...
    1/30/2009
    ObjectPAL
    Chalnick's "Increm...
    Is anyone else using Leon Chalnick's "Incremental Search Object" that was included with his "Killer Paradox 5" book? The tool has been the easiest and fastest ...
    3
    Hi Rick, I was wondering how you were doing. Soiunds like you are on a new treatment that has promi...
    1/29/2009
    ObjectPAL






    Prestwood Perl GroupTop 
    A classic post from our Beginners Corner topic...
    Perl Variables ($x = 0;) by Mike Prestwood

    Perl is a loosely typed language with only three types of variables: scalars, arrays, and hashes. Use $ for a scalar variable, @ for an array, or % for a hash (an associative array). The scalar variable type is used for anytype of simple data such as strings, integers, and numbers. In Perl, you identify and use a variable with a $ even within strings

    A classic post from our Beginners Corner topic...
    Perl Literals (quote) by Mike Prestwood

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

    Monthly Perl Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Language Reference Topic.
    Code Snippet of the Month

    General Info: Associative Array

    A set of unique keys linked to a set of values. Each unique key is associated with a value. Think of it as a two column table. MyArray['CA'] = 'California' MyArray['AR'] = 'Arizona'

    Languages Focus: Associative Array

    Associative arrays are also known as a dictionary or a hash table in other languages.

    Perl Associative Array

    my %weekdays = (
    'Sun' => 'Sunday',
    'Mon' => 'Monday',
    'Tue' => 'Tuesday',
    'Wed' => 'Wednesday',
    'Thu' => 'Thursday',
    'Fri' => 'Friday',
    'Sat' => 'Saturday',
    );
    my $day_of_the_week = $weekdays{'Mon'};
    From our Perl Topic
    Download of the Month: Perl Express
    Free Perl editor.
    Perl Express is an unique and powerful integrated development environment (IDE) under Windows 98/Me/2000/XP/2003, includes multiple tools for writing and debugging your perl programs.

    Perl Express is intended both for the experienced and professional Perl developers and for the beginners.

    Since the version 2.5, Perl Express is free software without any limitations, registration is not required.

    Perl Message Board

    Ask this group a question! Select a topic below or Visit Perl Board Now!
    TopicThreadsPostsLast Active Thread
    Perl612How to flow Diagram an exis...







    Prestwood PHP GroupTop 
    A classic post from our Beginners Corner topic...
    PHP Variables ($x = 0;) by Mike Prestwood

    PHP is a loosely typed language. No variable types in PHP. Declaring and using variables are a bit different than in other languages. In PHP, you identify and use a variable with a $ even within strings!

    You assign by reference with & as in &$MyVar.

    A classic post from our Beginners Corner topic...
    PHP Literals (quote or apostrophe) by Mike Prestwood

    In PHP you can use quotes, or apostraphies as in "Prestwood", and 'Prestwood'. Use a slash in front of a quote or apostrophe to embed same type as in \' and \".

    Monthly PHP Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our PHP Topic.
    Code Snippet of the Month

    In .PHPhtml pages, you embed PHP code between <?PHP and ?>.

    For PHP, JavaScript, Java,and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see morePHP codeformatted that way (and on PHP.Net).

    PHP Alternative Syntax

    Although I don't like to use it, PHP offers an alternative syntax for if, while, for, foreach, and switch. These code blocks are surrounded by statement ending keywords that all use End with camel caps such as endif, endwhile, endfor, endforeach,and endswitch.

    <?PHP
    $x = "Yes";
    //Simple if
    If ($x == "Yes")
    echo "hello world";
     
    //If with a block of code.
    If ($x == "Yes") {
    echo "Hello world";
      echo "I am a PHP coder!";
    }
    ?>
    From our PHP Topic
    Resource Link of the Month: UBB Threads

    Great message board software (PHP to MySQL). We used the UBB perl version from 2000 through 2005 on www.PrestwoodBoards.com.

    Includes:

    Unlimited Forums
    Integrated Portal
    Integrated Photo Gallery (UBB.Gallery)
    Database Backend
    Fully Templated
    RSS Syndication of content
    Unlimited Subforums
    CAPTCHA*
    many more!
    * CAPTCHA requires GD2 with FreeType to be available to PHP, or ImageMagick 6.

    From our Beginners Corner Topic.
    FAQ of the Month: .PHP Execute Rights
    Question: Do PHP scripts need execute rights?

    Answer: No, PHP scripts do NOT need execute rights. The server knows to pass files with a .PHP extension to the PHP processor. The PHP processor then interprets code between the <?PHP and ?> indicators.

    PHP Message Board

    Ask this group a question! Select a topic below or Visit PHP Board Now!
    TopicThreadsPostsLast Active Thread
    PHP513dropdownbox that is populat...







    Prestwood Prestwood GroupTop 

    Prestwood Message Board

    Ask this group a question! Select a topic below or Visit Prestwood Board Now!
    TopicThreadsPostsLast Active Thread
    psSendMail DLL625?Use PsSendMail to auto loa...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    ?Use PsSendMail to auto loa...
    I maintain an activity list for our club which has 250+ members.  Each member has a list of activities they are interested in and their e-mail address...
    11
    Thanks Back to the drawing board....  Chuck
    1/30/2009
    psSendMail DLL






    Prestwood PrestwoodBoards GroupTop 

    PrestwoodBoards Message Board

    Ask this group a question! Select a topic below or Visit PrestwoodBoards Board Now!
    TopicThreadsPostsLast Active Thread
    Just Conversation103459RE: Q. Do you like our newl...
    Member Introductions198654RE: Greetings from Californ...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    Feature Survey: Attach File...
    Should I add the ability to attach a file to a post? Right now you can insert images and code into a post but you cannot attach a file. If I add this, you'll ...
    1
    Mike, I can think of one use-case where the ability to attach a file to a KB post would be useful: ...
    2/6/2009
    Just Conversation
    Hello Everybody
    Hi there, I'm Kefkolo (aka Kirk), A friend sent me the link here after I told him my goal of learning Asp.net and C# by the end of the year. I'm sort of new t...
    3
    Hi Wes, Yes I agree with you. OOP is one more component to the learning curve that is just about eq...
    1/27/2009
    Member Introductions
    Scott Wehrly
    {Too Long}
    4
    Hey Ken. I sent Scott an email but haven't heard from him yet.
    1/11/2009
    Member Introductions






    Prestwood Prism GroupTop 
    A classic post from our OOP topic...
    Delphi Prism Class Member Visibility Levels by Mike Prestwood

    In Prism, you specify each class and each class member's visibility with a Class Member Visibility Level preceding the return type. Like Delphi, you group member declarations as part of defining the interface for a class in the Interface section of a unit.

    Unlike Delphi, Prism supports a traditional OO approach to member visibility with additional .Net type assembly visibility. For example, private members are truly private to the class they are declared in. In Delphi for Win32, you use strict private for true traditional private visibility.

    Prism also supports assembly and protected and assembly or protected which modify the visibility of protected members to include only descendants in the same assembly (and) or publicly accessible from assembly and descendant only outside (or). OO purist might object to assembly and protected and assembly or protected and I suggest you choose the traditional private, protected, and public as your first chose at least until you both fully understand them and have a specific need for them.

    A classic post from our OOP topic...
    Delphi Prism Finalizer (finalize()) by Mike Prestwood

    Unlike Delphi, Delphi Prism uses the .Net garbage collector to free managed object instances. Prism does not have nor need a true destructor.

    In .Net, a finalizer is used to free non-managed objects such as a file or network resource. Because you don't know when the garbage collector will call your finalizer, Microsoft recommends you implement the IDisposable interface for non-managed resources and call it's Dispose() method at the appropriate time.

    Monthly Prism Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OOP Topic.
    Code Snippet of the Month

    In Prism you can set the visibility of a member field to any visibility: private, protected, public, assembly and protected or assembly or protected. Prism supports the readonly modifier for member fields which is handy for constant like data. In this case, I chose not to preface my read-only member field with "F" so it's usage is just like a read-only property. Prism also support the class modifier (static data) for member fields. Delphi developers should notice the use of := to initialize a member field (in Delphi you use an =).

    Cyborg = class(System.Object)

    private

    FSerialNumber: String:="A100";

    public

    FCyborgName: String;

    FCyborgAge: Integer:=0;

    class SeriesID: Integer:=100; readonly;

    end;

    From our Language Basics Topic
    Resource Link of the Month: Win32 Delphi vs. Delphi Prism

    This page provides an overview of basic language incompatibilities between the Delphi for Win32 and Delphi Prism languages. The focus here is to list language features of Delphi that do not exist in the same form or syntax for Delphi Prism, making it easy for Delphi developers to find the appropriate equivalent syntax or otherwise work around the difference. The goal is not to list new features present in Delphi Prism that do not exist in Delphi, as this would exceed the scope of this page.

    From our Tool Basics Topic.
    FAQ of the Month: VCL.Net in Delphi Prism
    Question: I'm a big fan of VCL.Net. Is VCL.Net a part of Delphi Prism?

    Answer:

    No. For existing VCL.Net based applications I recommend you stick with Delphi 2007 until it's time to convert it to Delphi Prism.


    Prism Message Board

    Ask this group a question! Select a topic below or Visit Prism Board Now!
    TopicThreadsPostsLast Active Thread
    Delphi Prism38Cache in Asp.Net pages...







    Prestwood PSDP GroupTop 
    A classic post from our PSDP General topic...
    Prestwood Software Development Process by Mike Prestwood
    Description of PSDP.
    A classic post from our PSDP General topic...
    PSDP Online Overview by Adam Lum
    Our online database gives you visibility into the work we're doing for you. It tracks your requests including workflow, client info, app info, and project information.

    Monthly PSDP Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our PSDP & Process Topic.
    Definition of the Month: Waterfall Process
    With the waterfall approach to developing software, one phase of the development cycle follows the other and the user is involved only at the beginning during the requirements gathering phase and at the end during the acceptance phase. The requirements gathering in the waterfall approach is critical and unless it is 100 percent perfect, the project will fall short. Other processes, including PSDP, involve the end user throughout the process ensuring a better outcome.
    From our PSDP Artifacts Topic.
    FAQ of the Month: Artifacts or Not
    Question: I'm starting a new project, should I use PSDP Artifacts or just collect individual items?

    Answer:

    The problem with collecting individual items is that the user inputting the item tends to put to much information in tasks and use requirement items and design items only as a secondary thought. When collecting project information, you generally collect a combination of what the customer wants (the requirement), how you want to code it (the design), how to test it (the test script), and even a bit of end-user documentation. Your tendency will be to put all of it in whatever bucket your looking at. A PSDP Artifact puts you on a single page where you can put information into their correct place, their correct bucket.

    By using primarily Artifacts, you put yourself in the correct frame of mind while developing that feature from the first time you talk about it through testing it, and artifacts make managing linked items easier (one location to deal with name, category, linked actors, etc.)

    From our PSDP Artifacts Topic
    Tip of the Month

    If you are a single developer, assign the artifact to that single developer and use it to track the completion of both the documentation of the artifact (requirement, design, and test script) as well as the building and testing of it. If you are part of a development team, assign the artifact to the resource gathering requirements and create additional tasks. If you want to track the building with a higher grainularity, add additional tasks.


    PSDP Message Board

    Ask this group a question! Select a topic below or Visit PSDP Board Now!





    Prestwood Tech GroupTop 
    A classic post from our Software topic...
    The Internet's Become Nasty by Wes Peterson
    The Internet has become a dangerous, often unfriendly place, especially for software developers. This article discusses some of the problems and some of the solutions.

    Monthly Tech Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Computer Tech Topic.
    Definition of the Month: NAT
    Network Address Translation (NAT). The process of modifying network address information in a data packet header while in transit across a router for the purpose of remapping a given address space into another. Allows you to hide your local IP addresses from the Internet.

    Network Address Translation (NAT). The process of modifying network address information in a data packet header while in transit across a router for the purpose of remapping a given address space into another. Allows you to hide your local IP addresses from the Internet.

    From our Removable Storage Technology Topic
    Resource Link of the Month: Virtual CloneDrive (Mount ISO Image File)

    There are several programs that allow you to mount an ISO image file and this free one seems to work well on Windows XP and Vista. CloneDrive also supports other common image formats such as BIN, CCD, etc.

    From our Removable Storage Technology Topic.
    Question: Two relatively new DVD standards have emerged, HD DVD, and Blue Ray DVD. What are the differences?

    Answer:

    HD DVDs have a maximum storage capacity of 15 GB for single layer disks, and 30 GB for dual layer disks.

    Blue Ray DVDs have a max capacity of 25 GB for singler layer disks, 50 GB for dual layer.

    Neither standard is yet a clear "winner."

    For more info, you might want to check out "Removeable Disks - a frief Overview & history."


    Tech Message Board

    Ask this group a question! Select a topic below or Visit Tech Board Now!
    TopicThreadsPostsLast Active Thread
    Net Admin: Hardware10No Subject!
    Net Admin: Software10No Subject!







    Prestwood Tech Writer GroupTop 
    A classic post from our Publishing topic...
    Prestwood Online Style Guide by Mike Prestwood
    Use up to four levels within articles (Heading 1..4). Within text, bold language elements and menu options. Use italics to bring attention to non-code things such as companies, important words, etc. Use bold+Italic for embedded topics and follow with a colon. Use the paragraph style for text and preformatted for code. Max width for images is 700 pixels.
    A classic post from our General, Getting Started, etc. topic...
    Global Dashboard - Metrics for documentation processes by Ramesh R
    This article presents an overview of the global dashboard and the related metrics for all regions, specifically for documentation teams. This helps the user to understand and gain more knowledge on the metrics, measures and quality standards used for content management, portal management, elearning systems teams.

    Monthly Tech Writer Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Technical Writing Topic
    As developers, we can often help our clients (or our marketing efforts) by creating "screen cast" demos or tutorials. Here is a great tool for doing that - and it's free.
    From our Grammar Topic
    Tip of the Month

    "him" is for "whom" and "he" is for "who"

    Who is coding that requirement? (He is coding it.)

    To whom do we ask about this requirement? (We ask him.)


    Tech Writer Message Board

    Ask this group a question! Select a topic below or Visit Tech Writer Board Now!
    TopicThreadsPostsLast Active Thread
    Tech Writing24Couple New Articles...


    Last Month's MB Posts

    Thread StarterReplies Last Post Topic
    Couple New Articles
    We've posted a couple new articles to th...
    1
    Good articles. Thanks.
    2/3/2009
    Tech Writing






    Prestwood Tester GroupTop 

    Monthly Tester Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Beginner's Corner Topic.
    Definition of the Month: Regression Testing
    Retesting previously fixed defects or rerunning test scripts that previously passed.
    From our Testing, QA, QC Topic.
    FAQ of the Month: QC versus QA
    Question: What is the difference between quality control and quality assurance?

    Answer: Qulity assurance is a process in which you compare the deliverable to the requirements to verify the deliverable meets the need. Quality control is a process employed to ensure a certain level of quality. Prestwood Software Development Process is an example of a process used in quality control to ensure a certain level of quality.
    From our Beginner's Corner Topic
    Tip of the Month

    Test each feature three times. Sometimes errors in logic don’t show up until the second or even the third time through a sequence of events.


    Tester Message Board

    Ask this group a question! Select a topic below or Visit Tester Board Now!
    TopicThreadsPostsLast Active Thread
    Testing10No Subject!







    Prestwood V.FoxPro GroupTop 
    A classic post from our Visual FoxPro (VFP) topic...
    Building a DSN-less Connection: Listing available databases for a SQL Server by Fred Stevens
    Using VFP and the Windows API to obtain and list the available databases for a selected server.

    Monthly V.FoxPro Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Visual FoxPro (VFP) Topic
    Resource Link of the Month: FoxTools.com
    This site is informative and helpful for both beginners and advanced Visual FoxPro developers.

    V.FoxPro Message Board

    Ask this group a question! Select a topic below or Visit V.FoxPro Board Now!





    Prestwood VB Classic GroupTop 

    Monthly VB Classic Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Tool Basics Topic.
    Code Snippet of the Month

    The End If is optional if you put your code on a single line.

    //Single line example.
    If X = True Then MsgBox "hello" 
     
    //Complete example.
    If X = True Then
    MsgBox "hello"
    ElseIf Y = "ABC" Then
    MsgBox "goodbye"
    Else
    MsgBox "what?"
    End If

    VB Classic Message Board

    Ask this group a question! Select a topic below or Visit VB Classic Board Now!





    Prestwood VB.Net GroupTop 
    A classic post from our OOP topic...
    VB.Net Finalizer (Finalize()) by Mike Prestwood

    Use a destructor to free unmanaged resources. A destructor is a method with the same name as the class but preceded with a tilde (as in ~ClassName). The destructor implicity creates an Object.Finalize method (you cannot directly call nor override the Object.Finalize method).

    In VB.Net you cannot explicitly destroy an object. Instead, the .Net Frameworks garbage collector (GC) takes care of destroying all objects. The GC destroys the objects only when necessary. Some situations of necessity are when memory is exhausted or you explicitly call the System.GC.Collect method. In general, you never need to call  System.GC.Collect.

    A classic post from our OOP topic...
    VB.Net Member Field by Mike Prestwood

    In VB.Net you can set the visibility of a member field to any visibility: private, protected, public, friend or protected friend.

    You can intialize a member field with a default when declared. If you set the member field value in your constructor, it will override the default value.

    Finally, you can use the Shared modifier (no instance required) and ReadOnly modifier (similar to a constant).

    Monthly VB.Net Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our OOP Topic.
    Code Snippet of the Month

     A sub named New. You can overload the constructor simply by adding two or more New subs with various parameters.

    Public Class Cyborg
    Public CyborgName As String
      
      Public Sub New(ByVal pName As String)
    CyborgName = pName
    End Sub
    End Class
    Public Class Cyborg
    Public CyborgName As String
      
      Public Sub New(ByVal pName As String)
    CyborgName = pName
    End Sub
    End Class

    VB.Net Message Board

    Ask this group a question! Select a topic below or Visit VB.Net Board Now!
    TopicThreadsPostsLast Active Thread
    VB.Net Coding614Editing pdf files with VB o...







    Prestwood Web Design GroupTop 
    A classic post from our Cascading Style Sheets (CSS) topic...
    View. Print. Handheld. Make your site work on any media. by Bryan Valencia

    There is no need to manually control the rendering of your site to alter layout. There is an easy CSS based feature that can be used to format your entire site for whatever options you need.

    In this article we will see how to make the same site render automatically for screen, print, and handheld. There are other media types that can be used, but these will be the most common for daily use.

    Monthly Web Design Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Website Scripting Topic.
    Definition of the Month: CMS
    Short for Content Management Sytem (CMS) and is used to manage content on a website such as web page content, knowledge base, online store, message boards, etc. A popular .Net CMS' right now is DotNetNuke. Prestwood's own ASPSuite is a customized CMS we use for our website and our clients.Short for Content Management Sytem (CMS) and is used to manage content on a website such as web page content, knowledge base, online store, message boards, etc. A popular .Net CMS' right now is DotNetNuke. Prestwood's own ASPSuite is a customized CMS we use for our website and our clients.
    From our Artistic (design, layout, etc.) Topic
    Download of the Month: TinyMCE Content Editor
    This is the rich text editor recommended by Prestwood and used with our family of websites.
    TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.
    From our Website Design Topic
    Resource Link of the Month: Common Browser Info by w3schools.com

    Provides browser statistics including most common browsers, operating systems, display resolutions, etc. Information includes a brief historical overview of each and contains current information on browsers. This is a great resource for determining what browsers to design for, test on, as well as determining what resolutions, color depths, etc.

    From our Graphics Topic.
    FAQ of the Month: GIF versus PNG
    Question:

    Should I use GIF or PNG images on my website?


    Answer:

    Although the PNG format is slightly superior to the GIF format, GIF is more compatible with older browsers so we are currently recommending you use GIF images. That's the quick answer. However, there are issues so if you wish to use PNG images, read up about it to understand it's pros and cons.

    From our Website Scripting Topic
    Tip of the Month

    When designing websites, all developers are required to manage not only the content of the site, but the indexing of the site as well.  Robots.txt is a powerful tool you can use to make sure your projects are listed in search engines as effectively as possible.


    Web Design Message Board

    Ask this group a question! Select a topic below or Visit Web Design Board Now!





    Prestwood Web Owners GroupTop 
    A classic post from our Website Design Services topic...
    Dynamic ASP Websites by Mike Prestwood
    e-Commerce * e-Business * Members-only * Online Databases

    Monthly Web Owners Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Standard Website Content Pages Topic
    Resource Link of the Month: Example Rules & Disclaimers Page

    This is our community rules and disclaimers page. You are welcome to use it for your website. You will most likely want to update it a bit as it's pretty specific to our website.


    Web Owners Message Board

    Ask this group a question! Select a topic below or Visit Web Owners Board Now!





    Prestwood Win Users GroupTop 
    A classic post from our Win Users topic...
    Remove Temporary Windows Files by Vicki Nelson
    Clear up space on your hard drive by deleting temp files left behind by Windows.

    Monthly Win Users Lesson

    Learn! Review! Keep Up!  
    Short tidbits pulled from our knowledge base each month.
    M
    O
    N
    T
    H
    L
    Y

    L
    E
    S
    S
    O
    N
    From our Windows Vista Topic.
    Definition of the Month: ReadyBoost
    Windows Vista introduced Windows ReadyBoost, a new way to add memory to your system. You can use non-volatile flash memory, such as a ReadyBoost compliant USB flash drive, to improve performance without having to add additional system memory. Superfetch, Vista's new caching scheme, takes full advantage of all system memory and ReadyBoost expands the available cache memory. This speeds up your computer because accessing a flash drive is significantly faster than accessing a hard drive.
    From our Windows Vista Topic.
    Documented Error of the Month: Vista SP1 Missing ACPI.SYS file w/ error code of 0xc0000098
    Error: Missing critical file ACPI.SYS (error code 0xc0000098).
    Explanation:

    If you received this after you applied Vista SP1, follow the onscreen directions.

    Note When applying Vista's SP1, have your bootable Vista CD available when you apply this service pack. Vista will detect if anything goes wrong, and prompt you to boot from your installation CD. If you have a new computer with the media on the drive, create a CD prior to applying SP1!!! This happened to me last night while at home and I had to wait until today to get to the office to boot from my installation CD. I received the dreaded missing ACPI.SYS file with an error code of 0xc0000098.

    From our Win Users Topic
    Resource Link of the Month: Primo PDF

    Convert to PDF from any application by simply 'printing' to the PrimoPDF printer - it couldn't be easier! Within minutes, you can create high-quality PDFs by converting from Word, Excel, and virtually any other printable file type.

    • Completely FREE PDF Converter - not just a trial version.
    • Print to PDF from virtually any Windows application.
    • Create PDF output optmized for print, screen, ebook, or prepress.
    • No annoying pop-up ads, no registration requirement - no catch!
    • High-quality, easy to use PDF creator for all users.
    • New! Ability to merge PDF files upon conversion.
    • New! Now supports Windows Vista.

    This is the PDF creating tool we use here at Prestwood software!

    From our Windows Vista Topic.
    Question: How do I enable Offline Files in Windows Vista?

    Answer:

    In Vista Professional and above, Offline Files is now a Control Panel applet. Go to your control panel, open the Offline Files applet and click the Enable Offline Files button. Offline Files is NOT available in Vista Home Edition nor is it availble in Windows XP Home Edition.

    In Windows XP, Offline Files is part of the Folder Options. To enable Offline Files in XP:

    1. Click Start, and thin click My Computer.
    2. On the Tools menu, click Folder Options
    3. Click the Offline Files tab.
    4. Select the Enable Offline Files check box, and then clock OK.
    From our Windows Vista Topic
    Tip of the Month

    If you want to make your application data available to multiple users on a Windows Vista PC you can place the data in a subfolder of the Public folder.  Vista does not virtualize this folder and it is available to all users on a PC.  You can also set the permissions on the files or folders you want to share to allow all users full permissions.


    Win Users Message Board

    Ask this group a question! Select a topic below or Visit Win Users Board Now!





    Message Boards Summary

    PrestwoodBoards.com Recent Threads (all topics)

    Thread StarterReplies Last Post Topic
    I need to create an rtf file.
    I need a Rich Text file for a program I'm using (CorelDraw - merge). I'm not sure if it works to create an rtf file using ObjectPAL but that would be the easiest, otherwise I would like to know how t...
    0New!
    9/8/2010
    ObjectPAL
    TMonthCalendar and OnGetMon...
    I've noticed a problem with the OnGetMonthInfo event of TMonthCalendar. (IE. MonthCalendar1GetMonthInfo(Sender: TObject; Month: Cardinal; var MonthBoldInf...
    1
    Try such a nice piece of code as

    Calendar.Date:=Calendar.Date+31; C...

    9/4/2010
    Delphi VCL
    PrinterSetCurrent
    I have the following code on a form to switch printers behind the scenes.  There is a table that lists the users printers and a field in that table that defines what the printer is used for (i.e....
    0New!
    9/2/2010
    ObjectPAL
    ReportPrintInfo DynArray
    Can anybody explain to me the syntax to use ReportPrintInfo - the syntax # 3 version that uses an array? I need to set the PrintToFile option to create a postscript file and it seems to only be availa...
    0New!
    9/2/2010
    ObjectPAL
    ReportPrintInfo DynArray
    Can anybody explain to me the syntax to use ReportPrintInfo - the syntax # 3 version that uses an array? I need to set the PrintToFile option to create a postscript file and it seems to only be availa...
    0New!
    9/2/2010
    ObjectPAL
    Printing forms as reports d...
    I have a 3 page form that I need to open as a report.  When I open it, however, I only get the first page and a half.  Any ideas?  I have to do i...
    1
    Figured it out - has to do with the page size - ended up having to create 3 seperate reports but it ...
    9/2/2010
    Paradox Reports
    Changing account records ba...
    Does anyone know how to write this Paradox 4.5 code into a Paradox 11 script? This works in my old Paradox. It goes through a list of account names finds the account in another table and scans to pro...
    0New!
    8/29/2010
    ObjectPAL
    Windows 7 Paradox 9 report ...
    I've successfully installed Paradox 9 on a windows 7 workstation linked to SBS 2008.However, when I went to amend a report by redefining a field, Paradox crashe...
    9
    I've tried everything suggested in previous posts. Sometimes it works and sometimes it crashes. My w...
    8/24/2010
    Paradox Reports
    Server 2003 and BDE
    I have just thought I might move all my delphi stuff onto my 2003 server and then use remote desktop to access it however some of my apps give me a bdertl70 err...
    2
    Hi Owen, I suspect a rights problem. The app/user needs full rights to the data folder and net dir.
    8/16/2010
    Delphi Single User Apps
    Paradox 7 Update
    I know P7 is an ancient version but I dug the install disks out of a dusty drawer this morning and installed it in my XP machine. My question is whether I need ...
    1
    Never mind, I've applied the patch selectively.
    8/11/2010
    Paradox Setup, Vista, etc.
    Editor's Final Word


    For eMag footer

    Nothing is particularly hard if you divide it into small jobs.


    Henry Ford

     
    428 People Online Now!!  
    Online Now: Sign In to see who's online now!  Not a member? Join Prestwood now. It's free!