The Prestwood eMag  |  www.prestwood.com |
|
| October 2009 - Full Edition | Year 11 Issue 10
|
|
| A computer community for power-users and I.T. professionals! |
|
Table of Contents: |
|
 Mike Prestwood | From our Windows 7 topic...Windows 7 Pricing Announcedby Mike Prestwood The Windows 7 Home, Professional, and Ultimate editions will retail at a lower price than Vista. The upgrade pricing is available for XP and Vista users but XP users will have to perform a clean install. Gone is the Business edition. It's now back to it's pre-Vista Professional name.
Windows 7 Pricing:
- Home Premium New User: $199.99, Upgrade: $119.99
- Professional New User: $299.99, Upgrade: $199.99
- Ultimate New User: $319.99, Upgrade: $219.99
A classic post from our Historical Archive topic... Prestwood 8421 Office Tour by Mike PrestwoodPicture tour of the Prestwood offices at 8421 Auburn Blvd, Suite 256 (Auburn Oaks Plaza business complex). From our Computer Industry topic... Great Label Printers by Wes PetersonNice looking mailing and shipping labels make a statement about you - and/or your business. But printing to sheets of laser or inkjet labels can be a real pain when all you want are one or two labels at a time. This brief article talks about one line of label printers that's particularly convenient, inexpensive, plays nice on a network, and is super-easy to program. From our Message Board Help topic... Message Board Ranks by Mike PrestwoodOur Prestwood Community rank titles are based on Star Trek's Starfleet Officer Ranks. I know, I know, it's a bit geeky, but what the heck. You rise up in the ranks by earning Prestwood points with our Member Points Program. You earn points by participating in our online community: visit, post, etc. You can spend your points in our online store.
Cadet 1st Year= , Lieutenant= , Commodore= , more...
The easiest way to earn points is to visit daily and post to our Prestwood Message Boards. From our Help Wanted! topic... Contribute To The Prestwood Community by Mike PrestwoodWe are always looking for talented developers to participate in our message boards, post articles, etc.
A classic post from our Language Details topic... Access VBA Custom Routines (Sub, Function) by Mike PrestwoodAccess VBA is a non-OOP language with some OOP features. It offers both Subs and Functions. A Sub does not return a value while a Function does. When Subs and Functions are used in a class module, they become the methods of the class. |
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
- .MDB - Access Database
- .MDE - Protected Access Database
From our MDB DB & Tables Topic. Question: Should I store images in my Microsoft Access MDB database our outside and just store the name? Answer: Store the image outside of your MDB Access database. There are many benefits to storing it outside of Access including the following: - More easily work with all the images at once.
- avoid the overhead of an OLE server
- decrease the size of your MDB file
- easily reuse images with other development tools such as a website, VB, VS.Net, etc.
- Metadata is preserved
| |
Access Message Board Ask this group a question! Select a topic below or Visit Access Board Now!
American I.T. Message Board Ask this group a question! Select a topic below or Visit American I.T. Board Now!
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. A "uses-a" relationship. For example, when a class uses another class as a member variable or a parameter. A "uses-a" relationship forms a dependency on a class. A Dependency relationship is indicated by a dotted line with an arrow. From our Analysis & UML Topic. Question: Should the analyst be responsible for collecting domain entities and attributes? Answer: If the analyst is qualified sure, but if they're not, don't push it. Many times a resource was made the analyst not because they are a great analyst but because they have great people skills, know the domain well, and can document process well. Under that scenario, I prefer a programmer analyst work with the business analyst to identify entities and attributes. If the analyst is not good at documenting process, find a new analyst. In PSDP, we overcome this problem by creating the database and GUI prototype during the requirements phase. By forcing the creation of the database while discovering what the client wants, you force the identifying of entitities and attributes. In UML, sometimes analysts create class diagrams to create the database. The Data Model is a much better choice. | |
Analyst Message Board Ask this group a question! Select a topic below or Visit Analyst Board Now!
A classic post from our Language Basics topic... Send email with ASPMail by Mike PrestwoodHow to use ASPMail to send email from your web site. A classic post from our OOP topic... ASP Classic Member Visibility (Private, Public) by Mike PrestwoodThe member visibility modifiers are Private and Public. If not specified, the default is Public. Private and Public have the usual meaning. Private members are visible only within the class block. Public members are visible within the class and outside of the class. |
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 OOP Topic. Code Snippet of the Month ASP classic uses the keywords sub and function. A sub does not return a value and a function does. Many programmers like to use the optional call keyword when calling a sub to indicate the call is to a procedure. 'Declare class. Class Cyborg Public Function IntroduceYourself() Response.Write("Hi, I do not have a name yet.") End Function End Class 'Create object from class. Set T1 = new Cyborg T1.IntroduceYourself() From our Tool Basics Topic. Question: Can you edit Access and MS SQL Server views? Answer: Although this question really depends on the provider, in general, the answer is no to MS Access views and yes to MS SQL Server views so long as you open the RecordSet editable. From our ASP Classic Topic Tip of the Month When naming constants, Microsoft suggests you prefix each constant with "con" as in conYourConstant. Although, they also say the older all caps with words separated by an underscore is still acceptable (i.e. YOUR_CONSTANT).
Because I code in multiple languages and I really don't like all caps with underscores, I've adopted a lowercase k in place of con as in kFeetToMeter. | |
ASP Classic Message Board Ask this group a question! Select a topic below or Visit ASP Classic Board Now!
A classic post from our Language Details topic... C-Sharp Iterators, using yield by Adam LumA quick example to demonstrate the yield keyword in the .NET Framework A classic post from our OOP topic... C# Member Property (no (), get, set) by Mike PrestwoodIn C#, parens indicate a method and the lack of parens indicate a property. You use special get and set methods to both get and set the values of properties. For a read-only property, leave out the set method. The value keyword is used to refer to the member field. Properties can make use of any of the access modifiers (private, protected, etc). It is common to use a lowercase member names for member fields ("name" in our example) and uppercase properties to manage member fields ("Name" in our example). |
| 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 C++, Java, and C# all use C-like variable declaration.
C# has C-like variable declaration and although variables are case sensitive, VS.Net will auto-fix your variable names to the defined case.
C# offers many variable types. Some common types used include short, int, long, float, double, decimal, Int16, UInt16, Int32, Int64, string, and bool.
You can also specify the value when you declare a variable as in: String FirstName = "Mike"; String LastName = "Prestwood"; Int16 Age = 42; string FullName; int16 Age; double Weight; FullName = "Mike Prestwood"; Age = 32; Weight = 154.4; From our C# Topic. Definition of the Month: Struct A value type used to encapsulate a small set of related data. A Struct encapsulates a small set of related data. Although it can contain many of the characteristics of a class such as methods, events etc., they are usually very limited in number. If several such members are used implementing this as a class should be considered. A struct can implement an interface, but it cannot inherit from a class or another struct | |
C# Message Board Ask this group a question! Select a topic below or Visit C# Board Now!
| 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++/CLI Language Basics Topic. Code Snippet of the Month Same as standard C++. Both standard C++ and C++/CLI are case sensitive. In C and C++ commands and variable names are case sensitive. The following first C++/CLI snippet works: MessageBox::Show("Hello"); messagebox::SHOW("Hello"); //>>>Does not work! | |
C++ Message Board Ask this group a question! Select a topic below or Visit C++ Board Now!
A classic post from our Object Orientation (OO) topic... Member Field by Mike PrestwoodAlso 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. |
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 General Coding Concepts Topic. An elementary instruction or other elementary component in a high-level programming language. When documenting a programming language, tech writers usually separate statements from operators, functions, procedures, and objects. An elementary instruction or other elementary component in a high-level programming language. When documenting a programming language, tech writers usually separate statements from operators, functions, procedures, and objects. From our General Tasks Topic. Question: How do you enable ASP.Net (ASPX) in IIS 6? Answer: You turn on ASPX in your control panel. Depending on what O/S and version of IIS there are slightly different steps required but essentially you go to the Add/Remove Programs, Alter Windows Components, and make sure ASPX is checked in the Application Server or Application Development Services.
More Info / Details - http://support.microsoft.com/default.aspx?scid=kb;en-us;332124&Product=winsvr2003 | |
Coder Message Board Ask this group a question! Select a topic below or Visit Coder Board Now!
| Thread Starter | Replies | Last Post | Topic | | Great Delphi and .Net Tool Bought this two days ago.
Easy to implement, flexible and everything it says it... | 1 | Hi Daniel,
Yeah, that's a great tool. One of our members demoed it at one of our Sac Delphi user gr... 9/18/2009 | Coding Techniques |
| 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 Oracle 11g Topic. Error: nmefwmi.exe has stopped working Explanation: Error: nmefwmi.exe has stopped working
Solution: This error is caused by a defect in 11g limited to Windows Vista. The nmefwimi.exe is an Oracle 11g service used by dbconsole (OaracleDBConsoleorcl). You can stop this service to stop this error then set it's Startup Type to Manual to prevent it from returning. Doing so will not affect your database. When you need to use dbconsole, start the service manually.
Also, check with Oracle for an update that fixes this issue. From our Interbase Topic Resource Link of the Month: The Database Group Maintained by Bill Todd. The Database Group specialized in Delphi & Interbase. In the past, Bill Todd was a Paradox guru and has authored many articles on Paradox, Delphi, and Interbase and co-authored several books. He was a consistent presenter at the various BorCons and a frequent contributer to the Paradox Informant and Delphi Informant.
Although Bill speciales in several areas, I posted this link to the Interbase topic because my belief is that Bill specializes in Interbase a bit more than the other areas. From our MS SQL 2005 Topic. Question: How do you store BLOBs (Binary Large Objects) in Microsoft SQL Server? Answer: BLOBs (Binary Large Objects) are collections of data that can be stored as a single entity in a database. In Microsoft SQL Server, BLOBs are stored using the text, ntext, and image data types.
- The text data type stores a variable length of non-unicode data up to 231 - 1 characters.
- The ntext data type stores a variable length of unicode data up to 230 - 1 characters. The storage size, in bytes, is twice the amount of characters.
- The image data type is used to store image files smaller than 231 - 1 bytes.
| |
DBA Message Board Ask this group a question! Select a topic below or Visit DBA Board Now!
| Thread Starter | Replies | Last Post | Topic | | paradox 9 tables to mysql Does anyone know how to convert paradox 9 tables into mysql? If so is the conversion simple and does paradox have a built in function or script that can be run ... | 2 | I created a Paradox 9 form for converting DB files... 9/12/2009 | MS SQL |
A classic post from our Delphi for Win32 topic... MAC address ( Ethernet address ) by narayana I have seen many people trying to find a way to get the real physical MAC adddress. Here is one way that works just fine. |
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 Language Basics Topic. Code Snippet of the Month Notice in the more complete example that the semicolon for the begin..end block after end is not included. That tells the compiler something else is coming (the statement is not finished). Also note the semicolon is missing right before the final "else" statement.
Note: The following example uses floating point literals. In Delphi, to specify a fractional floating point literal between 1 and -1, you preceed the decimal with a 0; otherwise, you will get a compiler error (i.e. .1 + .1 does not work). if (0.1 + 0.1 + 0.1) = 0.3 then ShowMessage('Correct') else ShowMessage('Not correct'); //Complete example: if x = true then begin ShowMessage('x is true');end Else If y = 'Mike' Then ShowMessage('hello mike')Else ShowMessage('last option');From our Delphi for Win32 Topic Resource Link of the Month: GExperts I recommend GExperts for one simple reason: I'm addicted; I can't live without it.
GExperts is a collection of incredibly useful plug-ins for the Delphi IDE. There are too many to list, so I'll mention just a couple of my favorites:
Replace Components: Select one or more controls on a form, choose GExperts "Replace Components," and you're presented a dialog that allows you to select a replacement component from a very smart drop-down. As GExperts replaces the selected component(s), it also preseves as many properties as possible.
Component to Code: Select a component on one of your forms or data modules, select GExperts "Component to code," and all the code necessary to create that component in explicit code is magically placed on the clipboard.
MessageDlg builder: While in the Delphi code editor, simply hit Crl-D. GExperts pops up a dialog in which you can type in text to be displayed, choose which buttons to include, choose an icon for your MessageDlg, and even test it. Clicking OK inserts the appropriate MessageDlg call right into your code.
Oh. Did I mention that GExperts is free? Don't start Delphi again without first downloading and installing GExperts. You'll be hooked, too. From our OOP Topic. Question: What is the difference between Protected and Strict Protected visibility? Answer: Protected visibility means members are invisible outside of the unit. In other words, protected members are visible to the class they are declared in as well as descendant classes and any class declared within the unit.
Strict Protected visibility means that protected members within a class are visible ONLY within the class declared and to descendant classes. In OO terms, this is true protected visibility. From our Language Details Topic Tip of the Month Although Object Pascal doesn't have a native associative array, many developers just use a TStringList. Others have implemented a true associative array in Object Pascal. Search the Internet for TStringHash and THashedStringList classes for examples. | |
Delphi Message Board Ask this group a question! Select a topic below or Visit Delphi Board Now!
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 Language Basics Topic. Code Snippet of the Month Java logical operators:
| && |
and, as in this and that |
| || |
or, as in this or that |
| ! |
Not, as in Not This |
| & |
boolean logical OR (not short circuited) |
| | |
boolean logical OR (not short circuited) |
| ?: |
Ternary (short for if-then-else) |
| ~ |
Unary bitwise complement |
| << |
Signed left shift |
| >> |
Signed right shift |
| >>> |
Unsigned right shift |
| ^ |
Bitwise exclusiv OR | //Given expressions a, b, c, and d: if !((a && b) && (c || d)) { //Do something. } | |
Java Message Board Ask this group a question! Select a topic below or Visit Java Board Now!
A classic post from our Coding Tasks topic... Add Favorites or Bookmark - Works with all browsers. by Mike PrestwoodFor IE 4+, this script will give visitors to your site the option to add your page to their favorites. For Netscape users it will remind them to press Control + D, for all others, it simply reminds them to bookmark your page. |
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 Beginners Corner Topic. Code Snippet of the Month No built-in report writer but because JavaScript most frequently targets website development (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations). From our Beginners Corner Topic. Question: How do I protect my javascript code? Answer: In the main you don't, as the language is ran from source, you need to deliver the source code, with JScript, there is the Script Encoder (see MSDN) but this is nothing more than obfuscation in effect, disabling the Right Mouse button, also achieves nothing to protect your script in a web browser. Your code is likely protected under copyright laws. | |
JavaScript Message Board Ask this group a question! Select a topic below or Visit JavaScript Board Now!
A classic post from our Interactive Paradox: Using Data topic... A Data Normalization Primer - Part 1 by CliffSuttleA data normalization primer first published in Prestwood eMagazine August 2002 by Cliff Suttle. |
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 Details Topic. Code Snippet of the Month method openWorkBook(var Excel OleAuto, fileName string) logical var StarDesktop,StarOffice OLEAuto oooDoc,scr,lists,list,zak OleAuto massiv AnyType fs filesystem put,s string dlin,k,i smallInt endVar ShName.BLANK() ShiNDEX.BLANK()
try scr.open("MSScriptControl.ScriptControl") scr.language = "javascript"; scr.eval("aaa=new Array()") massiv = scr.eval("aaa") scr.AddCode("function SetItem(ind,val){massiv[ind]=val}") StarOffice.Open("com.sun.star.ServiceManager") StarDesktop=StarOffice.createInstance("com.sun.star.frame.Desktop") dlin=fileName.size() put="" k=1 i=1
while i<>dlin s=fileName.subStr(i,1) if ansiCode(s)=92 then
put=put+"/"+fileName.subStr(k,i-k) k=i+1 endIf i=i+1 endWhile
put=put+"/"+fileName.subStr(k,i-k+1) if put.subStr(put.size()-3,4)=".xls" then else put=put+".xls" endif Excel=StarDesktop.LoadComponentFromURL("file://"+put,"_blank", 0,massiv) return True onFail errorClear() return False endTry endMethod From our Interactive Paradox: Using Data Topic. A Paradox Database is a set of related Paradox tables (usually in the same directory). A database is an organized collection of information. For Paradox table users, the meaning of the term Paradox Database is stretched to mean a set of related Paradox tables (usually in the same directory). From our Runtime, PDE, Package-It! Topic How to get Paradox 9 Runtime. How do you get Paradox 9 Runtime?
To use the Paradox 9 Runtime, you must have a valid Paradox 9 Developer license. You can keep an eye on eBay and other resources for this software package.
If Prestwood Software is working on your Paradox 9 application, we can distribute the Paradox 9 Runtime to you. If you are a Prestwood client, you can download the Paradox 9 Runtime from the Prestwood Clients private area - Download Paradox 9 Runtime.
You will also want to to apply the Paradox 9 Runtime Service Pack 3.
From our Installation, Setup, & BDE Topic. Error: Paradox Exit Error 1: Save Configuration File the file 'C:\Program Files\...\config\PDX_EN_FULL_sbar.cfg' could not be opened. Paradox Exit
Error 2: Save Configuration File The Statusbar Configuration File could not be opened. The configuration cannot be saved.
Paradox Exit Error 3: The file 'C:\Program Files\...\config\PDX_EN_FULL_bars.cfg' could not be opened. The configuration cannot be saved.
BDE Error: Database Engine Error Cannot find Engine configuration file. BDE Error: 8452 [$21][$ 4] Explanation: Paradox Exit Error 1: Save Configuration File the file 'C:\Program Files\...\config\PDX_EN_FULL_sbar.cfg' could not be opened. Paradox Exit
Error 2: Save Configuration File The Statusbar Configuration File could not be opened. The configuration cannot be saved.
Paradox Exit Error 3: The file 'C:\Program Files\...\config\PDX_EN_FULL_bars.cfg' could not be opened. The configuration cannot be saved.
BDE Error: Database Engine Error Cannot find Engine configuration file. BDE Error: 8452 [$21][$ 4]
The Solution
As with getting most legacy applications to work correctly on Terminal Server, getting the BDE to work is a matter of rights. Once rights are setup, you can then configure the BDE.
There are many ways to solve these specific rights errors. One easy solution if you trust the users using the terminal server is to add them as administrators to the terminal server. An elegant way to accomplish this if you're using Active Directory is to add your user group to the Administrators group of the terminal server.
((Click link above for screen shots.)) From our Paradox & ObjectPAL Topic Resource Link of the Month: DBMonster.com Paradox Topic Paradox topics at DBMonster.com. Great website. Like us, they cover multiple topics. From our Tool Basics Topic. Question: Does Paradox X4 have any new features over X3? Answer: No, Paradox X4 (version 14) is Paradox 11 with SP2 applied (build 11.0.0.411). There is no version 12, 13, or 14. In fact, no new features since version 10. Version 11 does have some significant bug fixes though and SP2 has even more fixes. Also, there are lots of rumors that Corel will release a patch for Paradox 11 soon that will address the Vista problems many users are struggling with. From our OPAL: Commands Topic Tip of the Month If you wish to show ONLY your form and hide Paradox, use a dialog form and app.hide(). | |
Paradox Message Board Ask this group a question! Select a topic below or Visit Paradox Board Now!
| Thread Starter | Replies | Last Post | Topic | | Paradox 9 / 10 and Windows 7 Hi, has anyone had a chance to try Paradox 9 or 10 with beta versions of Windows 7? | 18 | I have installed P9 on W7-64 (in the 32but mode as I understand it) & my existing apps run ... 3/24/2010 | Paradox Setup, Vista, etc. | | Form feed problems Hello
FYI, do not write a note then run the spell check, then down load the spell checker. You may well lose your note in the interim.
My... | 1 | Hi,
Have you tried defining a custom form via the Print Server? Open the Printers dialog in W... 10/25/2009 | Paradox Reports | | Can't Open Oracle table... I use Paradox 8 to access Oracle DB's via ODBC. I am able to create and execute queries and to execute SQL code within forms so I know the connection is OK. I... | 1 | Doug,
Did you ever find a solution? I'm just followingup on this thread. 10/3/2009 | Paradox Forms | | help, unable to format NAN Hello, I work at a consulting firm for Doctors. The reason I sought out this forum is that we keep a database of information using paradox 45. I have been usi... | 1 | This post was answered with the following post:
<... 10/3/2009 | Paradox Tables | | pdxwin32.exe hungapp while ... Hello All,
I just started getting a pdxwin32.exe hungapp while printing in paradox on one computer only.
We have paradox 10 on 7 nodes with no problem ... | 5 | Hi Scott,
If that was happening to me I would try... 10/2/2009 | Paradox Reports |
A classic post from our Language Reference topic... Perl Operators by Mike Prestwood |
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 | |
Perl Message Board Ask this group a question! Select a topic below or Visit Perl Board Now!
A classic post from our PHP topic... Changed PHP Global Variables by Mike PrestwoodPHP has become more conformed to CGI specifications and as such, you will need to make changes to your code in order for global variables to be filled in. |
| Short tidbits pulled from our knowledge base each month. | M O N T H L Y L E S S O N | From our Beginners Corner Topic. Code Snippet of the Month PHP is a hybrid language with both traditional PHP and OOP features. PHP is widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP has been used to create some amazing web content, particularly outstanding message boards.
Target Platforms: PHP is most suitable for creating websites targeting any browser (any web server with PHP installed). From our Education (Audio/Video) Topic Resource Link of the Month: Audio: David I on GeekSpeak Hear David I discuss software development on a nationally syndicated radio show. I posted this to the PHP group because he focused a bit on Delphi for PHP and PHP in general. | |
PHP Message Board Ask this group a question! Select a topic below or Visit PHP Board Now!
A classic post from our Help Wanted! topic... Contribute To The Prestwood Community by Mike PrestwoodWe are always looking for talented developers to participate in our message boards, post articles, etc. |
Prestwood Message Board Ask this group a question! Select a topic below or Visit Prestwood Board Now!
A classic post from our Message Board Help topic... Message Board Ranks by Mike PrestwoodOur Prestwood Community rank titles are based on Star Trek's Starfleet Officer Ranks. I know, I know, it's a bit geeky, but what the heck. You rise up in the ranks by earning Prestwood points with our Member Points Program. You earn points by participating in our online community: visit, post, etc. You can spend your points in our online store.
Cadet 1st Year= , Lieutenant= , Commodore= , more...
The easiest way to earn points is to visit daily and post to our Prestwood Message Boards. |
PrestwoodBoards Message Board Ask this group a question! Select a topic below or Visit PrestwoodBoards Board Now!
| Thread Starter | Replies | Last Post | Topic | | New Member Hello, I am Edwin Tuazon from the Philippines. I am a software engineer in a leading manufacturer of a high speed analog to digital signal processor and conve... | 1 | Hi Edwin,
It's been a while since you've posted, are you still coding in Paradox and VB? 10/3/2009 | Member Introductions | | hrushing Computers are and addtional duty for me. As part of that I manage a WAN running Netware 5.0. We have about 40 users and use Paradox 9 for several different ap... | 1 | It's been a while since you've posted. Are you still using Paradox? Are you still coding? 10/3/2009 | Member Introductions | | Hello From owen What a great site I am a programer and own a retail computer shop in Ashburton, New Zealand I enjoy playing with Delphi and have written some farming software ... | 1 | Hi Owen,
I know you visit here a few times a year but no one ever said welcome, so, welcome. It's b... 10/3/2009 | Member Introductions | | Darron Who? Hello, All. I know Novell, MacIntosh, DOS, Unix, and Windows OSes, MS Office Apps including Access, and VB for Apps. I use MS Access 97 as a front end for SQL... | 1 | Hi Darron,
I noticed now one ever welcomed you, so welcome. Although I see that you've posted a bun... 10/3/2009 | Member Introductions | | Newbie Greetings! Found this from a friend. I know a little about a lot. Currently developing proficiency in paradox. And to cut through the chase, I am asking my ... | 1 | This question was answered by Langley with the fol... 10/3/2009 | Member Introductions |
A classic post from our Tool Basics topic... Share Code with Delphi and Prism by Mike PrestwoodCan I share code between a Delphi and a Dephi Prism project? I want to have a single source Win32 and .Net application. A classic post from our OOP topic... Delphi Prism Finalizer (finalize()) by Mike PrestwoodUnlike 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 Delphi Prism Topic. Code Snippet of the Month Notice in the more complete example that the semicolon for the begin..end block after end is not included. That tells the compiler something else is coming (the statement is not finished). Also note the semicolon is missing right before the final "else" statement. //Complete example: if x = true then begin ShowMessage('x is true');end Else If y = 'Mike' Then ShowMessage('hello mike')Else ShowMessage('last option');From our Tool Basics Topic Oxidizer is a free tool that (in combination with ShineOn) is provided to help to port Delphi (Win32 and .NET) projects to the Delphi Prism language. Oxidizer is a command line tool that will adjust your .pas source files for common differences between the two languages. From our Language Basics Topic Resource Link of the Month: The Delphi Prism WIKI This wiki is provided as a central live source of information about Delphi Prism and will be updated in an ongoing process. | |
Prism Message Board Ask this group a question! Select a topic below or Visit Prism Board Now!
A classic post from our PSDP & Process topic... QC: PSDP Change Management Procedure by Mike PrestwoodThis change management procedure is specific to Prestwood Software Development Process (PSDP). PSDP is our free process we maintain and distribute as well as use with our own clients. Althought this is specific to PSDP, you can read it with an eye toward your own change management procedure. Do you use version control software? Do you use promotion groups? |
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. 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. 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 You can apply PSDP Artifacts to an existing system that has ongoing development and/or maintenance. For desktop applications, start with one PSDP Artifact per form and report. For websites, start with one PSDP Artifact per page. If you have a utility that imports and/or exports data, start with one PSDP Artifact per import/outport combination. Perhaps add each artifact as you go forward in your development. | |
PSDP Message Board Ask this group a question! Select a topic below or Visit PSDP Board Now!
A classic post from our Software topic... The Internet's Become Nasty by Wes PetersonThe 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: ISO Recorder Software that allows you to burn a .ISO image to CD on Windows XP or Vista and to DVD on Vista. Free and very easy to use (right click on image and select Copy Image to CD. From our Software Topic. Question: I set up the SMTP virtual server on my web hosting server. I can send from other boxes, but not from websites hosted on the box that has the SMTP Virtual Server. Any ideas? Answer: Check the IP address of the SMTP Virtual Server. If you want to serve ALL IP's on that box, then set it to All Unassigned IPs. From our DNS Topic Tip of the Month The best free and fast DNS server service provider is OpenDNS. At least that's who we are currently using and recommending.
OpenDNS free dns server list:
- 208.67.222.222
- 208.67.220.220
If you wish to try others, search for free fast Public DNS Servers List. | |
Tech Message Board Ask this group a question! Select a topic below or Visit Tech Board Now!
A classic post from our General, Getting Started, etc. topic... Learning - by sharing information by Ramesh RThe key aspects of learning evolve by sharing or exchanging information with your peers. For a technical writer, it is very much important to focus/target towards a technical topic. This article presents a short information about the key aspects of learning and the methods/techniques used to enable the learning curve. |
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 MS Compiled Windows Help (.CHM) Topic Resource Link of the Month: HelpScribble - an amazing tool We're all familiar with program help systems. At Prestwood, of course, we need to author them for many of the applications we create.
There are many help authoring tools available, and HelpScribble is one of my two favorites.
Now, even though you may not need to create program help systems, help files, on their own, can be a great way to organize and convey all manner of information. Because they can contain a table of contents, an index, search capabilities, hyperlinks from one topic to another, and embedded graphics, they can be a wonderful way to document many kinds of complex information - say a training manual for new workers - in just about any industry.
The people at Just Great Software like to say that, "If you can scribble, you can create help systems." They're right: HelpScribble makes it about as easy as it could get. Naturally, HelpScribble includes an extensive help system of its own, which will teach you everything you need to know.
HelpScribble can produce
- WinHelp (.hlp files),
- Compiled HTML Help (.chm files),
- Rich Text Format (.rtf files) for printed manuals, and
- Multi-page HTML output - suitable for web help.
At only $99, this is one of the best software bargains I've encountered.
You can read all about HelpScribble, and download a free trial here: http://www.helpscribble.com/ From our Spelling Pitfalls Topic Tip of the Month
- Quit: to stop, cease, or discontinue
- Quiet: making no noise
- Quite: completely, wholly, or entirely
| |
Tech Writer Message Board Ask this group a question! Select a topic below or Visit Tech Writer Board Now!
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. The preliminary testing of a new product in which research and development are still in progress. In PSDP, alpha builds are delivered during the initial coding phase in order to validate functionality.The preliminary testing of a new product in which research and development are still in progress. In PSDP, alpha builds are delivered during the initial coding phase in order to validate functionality. The focus is on validating that the requirements are met and not on finding defects. | |
Tester Message Board Ask this group a question! Select a topic below or Visit Tester Board Now!| Topic | Threads | Posts | Last Active Thread | | Testing | 1 | 0 | No Subject! |
V.FoxPro Message Board Ask this group a question! Select a topic below or Visit V.FoxPro Board Now!
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 Language Details Topic. Code Snippet of the Month VB Classic is a non-OOP language with some OOP features. It offers both Subs and Functions. A Sub does not return a value while a Function does. When Subs and Functions are used in a class module, they become the methods of the class. Sub DoSomething(ByVal pMessage As String) MsgBox (pMessage) End Sub Function GetAge(ByRef pFullname As String) As Integer GetAge = 7 End Function | |
VB Classic Message Board Ask this group a question! Select a topic below or Visit VB Classic Board Now!
A classic post from our OOP topic... VB.Net Member Property (property, get, set) by Mike PrestwoodVB.Net uses a special property keyword along with special get and set methods to both get and set the values of properties. For a read-only property, leave out the set method. The value keyword is used to refer to the member field. Properties can make use of any of the access modifiers (private, protected, etc).
My preference for VB.Net code is to start member fields with "F" ("FName" in our example) and drop the "F" with properties that manage member fields ("Name" in our example). |
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 Tool Basics Topic. Code Snippet of the Month Languages Focus: End of StatementIn coding languages, common End of statement specifiers include a semicolon and return (others exist too). Also of concern when studying a language is can you put two statements on a single code line and can you break a single statement into two or more code lines.
VB.Net End of StatementA return marks the end of a statement and you cannot combine statements on a single line of code. You can break a single statement into two or more code lines by using a space and underscore " _". Console.WriteLine("Hello1") Console.WriteLine("Hello2") Console.WriteLine("Hello3") 'The following commented code 'on a single line does not work... 'Console.WriteLine("Hello4") Console.WriteLine("Hello5") 'Two or more lines works too with a space+underscore: Console.WriteLine _ "Hello6";
| |
VB.Net Message Board Ask this group a question! Select a topic below or Visit VB.Net Board Now!
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 Artistic (design, layout, etc.) Topic. Question: What browsers and resolutions should I test my website with? Answer: As of early 2008, we test each website we build with the latest release of Internet Explorer, FireFox, and Safari. Sometimes we also include Opera but not usually. Also, if desired, we sometimes test with older versions of browsers but not usually. The minimum resolution we test "regular" websites is 1024x768 (and higher). We no longer support 800x600. From our Artistic (design, layout, etc.) Topic Tip of the Month Avoid the usage of "Click Here" as a text link. You should make better use of the text. For example, instead of...
To download our Password PocketBook software, click here.
Use...
To download, go to the Password PocketBook product page. | |
Web Design Message Board Ask this group a question! Select a topic below or Visit Web Design Board Now!
A classic post from our Win Users topic... Protect Your Windows Computer Using FREE Tools by Mike PrestwoodProtect your computer before it slows down, you lose data, or someone steals information. The basics are an antivirus program, Windows Updates, and a firewall. Beyond that, I like to use several programs that add layers of protection to your computer. |
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. Memory caching scheme introduced with Windows Vista that tracks what kind of applications you use and loads them into RAM so they can be launched faster. SuperFecth can use ReadyBoost to add to the available cache using a ReadyBoost compliant USB 2.0 flash drive. SuperFetch and ReadyBoost speed up virtual memory transactions. From our Windows XP Topic Resource Link of the Month: Ultimate List of Free Windows XP Software from Microsoft Do you want free software? You know you do!
Did you know that Microsoft offers tons of free software? Most of us know of a few free titles, like the Express editions of Visual Studio and SQL Server.
But there's more, much, much more.
At this link you'll find a great compilation of free software offerings from Microsoft.
For similar Vista offerings, see the link below. From our Windows Vista Topic. Question: What size ReadyBoost compatible USB 2 Flashdrive should I buy? Answer: If you intend to use it ONLY for ReadyBoost, the current limit ReadyBoost will use as of early 2008 is 4 GB. Another guideline you could use is that Microsoft is currently recommending a ReadyBoost cache size of 1 to 3 times your RAM. So, if you have 1 GB or RAM, they recommend a 1 to 3 GB ReadyBoost cache. From our Win Users Topic Tip of the Month This tip works on most versions of Windows and was tested on both XP and Vista. | |
Win Users Message Board Ask this group a question! Select a topic below or Visit Win Users Board Now!
| Thread Starter | Replies | Last Post | Topic | | 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.... | 0 | New! 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... | 0 | New! 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... | 0 | New! 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... | 0 | New! 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. | | Diplaying javascript error ... | 0 | New! 8/7/2010 | ASP Classic - Handling Data |
Editor's Final Word
 |
| Crash programs fail because they are based on the theory that, with nine women pregnant, you can get a baby a month.
Wernher von Braun
| | |