The Prestwood eMag  |  www.prestwood.com |
|
| June 2009 - Full Edition | Year 11 Issue 6
|
|
| A computer community for power-users and I.T. professionals! |
|
Table of Contents: |
|
From The Editor Mike Prestwood |
Prestwood Software has moved! Same phone numbers but please update your address book:
New Address...
Prestwood Software 8421 Auburn Blvd, Suite 256 Citrus Heights, CA 95610
We moved down the street closer to the freeway exit. The new office building is much nicer and we have room to grow! We are just settling into our new place but if you're in the area, please stop by and say hello.

New Logo! To celebrate our new location, we've also launched a new logo:
New Tech Services! With our new location we've expanded our services to include Tech Services for the greater Sacramento, CA area and remotely. Although our focus is and will always be coding and software development, some of our local clients have asked us to expand into tech services so we can provide a complete solution for them.
 Ramesh R | From our General, Getting Started, etc. topic...Quick Tips: Writing a Marketing Planby Ramesh R Marketing plan is the first prerequisite once the company decides with bringing the product to the market. It is important to analyze market conditions, growth aspects before starting to release any product. A marketing plan document is a good start and plays a very important role in understanding the market better. This plan discusses several different aspects of marketing strategy. A classic post from our Windows Vista topic... How to setup a shortcut in Vista by Mike PrestwoodTo create a shortcut, right click on the deskop and select New | Shortcut. The old ways of altering the properties or even copying existing shortcuts is now very limited. From our American I.T. workforce topic... Sharpening your skills - A short story by Ramesh RHere is a short story about a woodcutter and his job. From this job, we have lot of learnings that implies to our career and sharpening our skills. Such examples in life are very important for shaping our career. Enjoy the short story.
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 Access & VBA Topic. Code Snippet of the Month By Reference or Value For parameters, you can optionally specify ByVal or ByRef. ByRef is the default if you don't specify. Function SomeRoutine(ByRef pPerson, ByVal pName, Age) From our General, Presales, & Installation Topic Resource Link of the Month: Microsoft Access Newsgroups Microsoft's official Access newsgroup. From our Using Data Topic. Question: My Access Application still uses DAO and I'm thinking about migrating it to ADO. Should I? Answer: No, especially if your accessing Access tables. It is true that ADO is more widespread but if your application is working with DAO, then there's no significant reason to switch. If you're starting a new Access Application that accesses Access tables, I would use DAO. If you're accessing a SQL server such as MS SQL or Oracle, I would use ADO.
Beside DAO and ADO, developers can also use OLE DB and ODBC. | |
Access Message Board Ask this group a question! Select a topic below or Visit Access Board Now!
A classic post from our American I.T. workforce topic... Sharpening your skills - A short story by Ramesh RHere is a short story about a woodcutter and his job. From this job, we have lot of learnings that implies to our career and sharpening our skills. Such examples in life are very important for shaping our career. Enjoy the short story. |
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 Analysis & UML Topic. Any nugget discovered and developed and used during software development and maintenance. Examples are requirement items, design items, diagrams, test script, and even code itself.
In PSDP, a PSDP Artifact is a specific implementation of the generic software artifact.
A PSDP Artifact is used to work with a software feature from inception through testing. It links together a task, requirement item, design item, and test script. You can edit a PSDP artifact as a whole or expand any of the four linked items to include more details. From our Analysis & UML Topic Resource Link of the Month: Official UML Home Page The Object Modeling Group (OMG) controls the UML specification. The Unified Modeling Language - UML - is OMG's most-used specification, and a very popular way to model not only application structure, behavior, and architecture, but also business process and data structure. | |
Analyst Message Board Ask this group a question! Select a topic below or Visit Analyst Board Now!
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 Tool Basics Topic. Code Snippet of the Month Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator. Dim FirstName Dim LastName FirstName = "Mike" LastName = "Prestwood" Response.Write "Full name: " & FirstName & " " + LastName Response.Write "2+2=" + CStr(2+2) From our ASP Classic Topic. Error: error '80020009'
YourPage.asp, line xxxx
From our ASP Classic Topic Resource Link of the Month: 4 Guys from Rolla Very popular ASP Classic and now ASP.Net website. | |
ASP Classic Message Board Ask this group a question! Select a topic below or Visit ASP Classic Board Now!
A classic post from our WebForms Coding Tasks topic... Programattically Adding Content to Web Pages in C# by Bryan ValenciaVisual web developer offers a few different ways to add dynamic content to a web page. This will help you choose which one is right for your application.
In General, there are Data-Aware components, Labels, and PlaceHolders. |
| 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 For C#, I prefer to put the opening { and the closing } on their own line (as opposed to C++, Java, and JavaScript where I put the opening bracket at the end of the first line. int DoSomething() { int a = 1; int b = 2; return a + b; } From our Language Basics Topic. An attribute is a "shorthand" mechansim for having additional metadata included in your assembly. Attributes cause additional metadata to be included in your assembly and, utilized when reflected over by another class. For your convenience, many, many useful attributes are pre-defined.
In C#, attributes are designated by enclusure in square brackets. For example, the [DllImport] attribute allows .NET to utilize Win32 DLLs. Another example is the [Serializable] attribute, which causes your class to be persisted to disk. From our C# Topic This is the "Chapter Zero" you've been missing. Pick just about any one of your thick, technical tomes, and give it a quick skim. Inevitably, the book dives onto a topic with the assumption that you already know a bunch of the basics.
This is unavoidable, because nobody wants a book about, say, web services, that starts with a basic course in programming. Yet many books about .NET topics, assume too much prior knowledge. They need a "chapter zero."
Charles Petzold has released a freely downloadable e-book on C# .NET. , and it is the chapter zero that so many of us need.
| |
C# Message Board Ask this group a question! Select a topic below or Visit C# Board Now!
A classic post from our C++ Language Basics topic... C++ Custom Routines by Mike PrestwoodC++ is a hybrid language and as such offers global functions and class methods. A function must come before it's usage or you can prototype the function. |
| 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 //Does C++/CLI evaluate the math correctly? No! if (0.1 + 0.1 + 0.1 == 0.3) MessageBox::Show("correct"); else MessageBox::Show("not correct"); From our C++Builder Specific Topic Resource Link of the Month: C++Builder Roadmap Official Delphi and C++Builder Roadmap from Codegear. | |
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... Aggregation by Mike PrestwoodAggregations indicate a whole-part relationship, and are known as "has-a" or "is part of" relationships. An Aggregation relationship is indicated by a line with a hollow diamond. A classic post from our Object Orientation (OO) topic... Static Class / Static Member by Mike PrestwoodA static member is a member you can have access to without instantiating the class into an object. For example, you can read and write static properties and call static methods without ever creating the class. Static members are also called class members (class methods, class properties, etc.) since they belong to the class and not to a specific object. A static class is a class that contains only static members. In the UML, these classes are described as utility classes. |
Monthly Coder Lesson | 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 .Net Concepts Topic. Code Snippet of the Month This code snippet will send a very quick email. Note that this code will not work as-is. You need to have valid email accounts and a valid email server to send a real email.
You need to add: using System.Net.Mail;
MailMessage myMessage = new MailMessage( "fromaddress@somewhere.com", "toaddress@somewhere.com", "Subject", "Message Body.");
SmtpClient mySMTPClient = new SmtpClient("mailserver.somewhere.com"); mySMTPClient.Send(myMessage);
From our General Coding Concepts Topic. Definition of the Month: API API is an acronym for application programming interface. The Windows API is the set of DLLs that makes up Windows. It comprises all the functions, messages, data structures, data types, statements, and files that a programmer needs for developing Windows applications. API is an acronym for application programming interface. The Windows API is the set of DLLs that makes up Windows. It comprises all the functions, messages, data structures, data types, statements, and files that a programmer needs for developing Windows applications. From our General .Net Concepts Topic Resource Link of the Month: Sacramento Visual Studio.Net Usergroup 
Sacramento Visual Studio.Net Usergroup The Sacramento Visual Studio Users group is no charge resource for Visual Studio developers in the greater Sacramento area. http://www.sacvsug.org/ No longer active. Go to SacNetUG.org instead.
| |
Coder Message Board Ask this group a question! Select a topic below or Visit Coder Board Now!
| Thread Starter | Replies | Last Post | Topic | | Delphi OO Hi, I am new to delphi and would like to understand more about OO techniques. The application I have developed uses ADO technology. I would like to know some ba... | 3 | Okay. Sounds good. Sorry I could not write more, but I did not know how to wrap it up nicely inthe t... 6/17/2009 | Object Orientation (OO) |
A classic post from our DBA & Data topic... Common Table Structures by Mike PrestwoodReference of common table structures |
| 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. In a Tab-delimited format (TDF) file, each field is delimited by a tab character. Each record is delimited with a carriage return and line feed. TDF has the advantages of being immune to commas and quotation marks within the data itself. In a Tab-delimited format (TDF) file, each field is delimited by a tab character. Each record is delimited with a carriage return and line feed. TDF has the advantages of being immune to commas and quotation marks within the data itself.From our Desktop Databases Topic Resource Link of the Month: Icon plug-in for Photoshop and Paint Shop Pro When we create applications, we usually need one or more icons. We'll definitely want a main program icon - in several sizes. We may also want another icon for our setup program. Sometimes our client supplies icon files, but often they do not. There are some great tools available for creating and managing Icons. One of my favorites, IconLover, is available at the site this link is about. But most out-of-the-box, general purpose graphics editors lack support for the Windows .ICO file format. The solution is at this link, and it's free: It's a plug-in for Photoshop and Paint Shop Pro (even some version of Photoshop Elements). At the bottom of this link's page, you'll find an entry for "Icon Plug-In for PhotoShop." Simply download the zip file, unzip, and follow the instructions in the ReadMe.txt file. Your favorite, general purpose graphics editor will now be able to deal with ICO files! | |
DBA Message Board Ask this group a question! Select a topic below or Visit DBA Board Now!
A classic post from our OOP topic... Delphi Base Class (TObject) by Mike PrestwoodIn Delphi programming language (Object Pascal), all classes ultimately inherit from the base class TObject. |
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 Object Pascal allows parameters of the same type to be listed together, separated by commas, and followed with a single data type (more params of different data types can follow, after a semi-colon). The default for parameters is by value. For by reference, add var in front of the parameter. Object Pascal also offers constant parameters where you add const in front of the parameter. A constant parameter is like a local constant or read-only parameter the compiler can optimize. You cannot assign a value to a constant parameter, nor can you pass one as a var parameter to another routine. function Add(a, b: integer) : integer; begin Result := a + b; end; procedure ReplaceTime(var pDT: TDateTime; const pNewDT: TDateTime); begin end;
From our Delphi for Win32 Topic Resource Link of the Month: Magazine: Blaise Pascal With the demise of Delphi Informant, we've gone quite a while without a good, English language Delphi periodical.
It's exciting, then, so see the appearance of an English edition of Blaise Pascal, especially given it's lineup of writers; Nick Hodges, Bob Swart, Kim Madsen, Julian Bucknall, Jeremy North, and Hallvard Vassbotn. That's a virtual "who's who" of the lofty world of Delphi gurus.
A quick, simple, free registration gets you access to a PDF version of one issue. Check it out! From our Language Basics Topic. Question: What are the benefits of Win32/64 native code such as in Delphi over .Net? Answer: In general terms, native code offers faster potential performance and a smaller footprint but can be more complex to build. Also, native code does not require .Net's runtime -- Common Language Runtime (CLR). From our Using Data Topic Tip of the Month When you need to put quotes, single or double, or even another character, around a string there are two methods to lend a hand: QuotedStr and AnsiQuotedStr. QuotedStr will put single (') quotes around your string or variable. The other function you can call is AnsiQuotedStr which adds double quotes. | |
Delphi Message Board Ask this group a question! Select a topic below or Visit Delphi Board Now!
| Thread Starter | Replies | Last Post | Topic | | PDF and RTF and Graphics >We are also toying with Rave report instead of RTF as Rave apparently can output a PDF quite easily.
[wp] I think you're on the right track - turning to a reporting tool. Rave might do the ... | 0 | New! 5/5/2009 | Delphi News / Other | | GTC 2001 and Delphi Today the Government Technology Conference ended (May 16 - 18, 2001). It was held at the Sacramento Convention Center and we were at booth #318. This conference... | 3 | GTC stands for Government Technology Conference. It's held here in Sacramento about this time of yea... 5/4/2009 | Delphi News / Other |
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 Tool Basics Topic. Code Snippet of the Month Literals are quoted as in "Prestwood". If you need to embed a quote use a slash in front of the quote as in \".
System.out.println("Hello");System.out.println("Hello \"Mike\"."); //Does Java evaluate this simple //floating point math correctly? No! if ((.1 + .1 + .1) == 0.3) { System.out.println("Correct"); } else { System.out.println("Not correct"); } | |
Java Message Board Ask this group a question! Select a topic below or Visit Java Board Now!
A classic post from our JavaScript and AJAX topic... JavaScript versus JScript by Mike PrestwoodJScript is Microsoft's implementation of JavaScript. A classic post from our Beginners Corner topic... Validating Form Fields by Mike PrestwoodAdding JavaScript to your HTML forms to validate form fields. |
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 Literals use either an apostrophe (also known as a single quote) as in 'Prestwood' or quoted as in "Prestwood". If you need to embed an apostrophe in an apostrophe-literal or a quote in a quoted-literal, preced it with a slash as in \' and \". Alert("Hello");Alert("Hello \"Mike\".") Alert('Hello');Alert('Hello Mike\'s website.') //Does JavaScript evaluate this simple //floating point math correctly? No! if ((.1 + .1 + .1) == .3) { document.write("Correct") } else { document.write("Not correct") }
From our Beginners Corner Topic. Question: How do you close a browser in a link? Answer: You can do close a browser using JavaScript. Here is an example: javascript:self.close()
| |
JavaScript Message Board Ask this group a question! Select a topic below or Visit JavaScript Board Now!
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 Applications Topic Download page for Open Office including links to the Linux editions. OpenOffice.org 2 is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. It is available in many languages and works on all common computers. It stores all your data in an international open standard format and can also read and write files from other common office software packages. It can be downloaded and used completely free of charge for any purpose. From our Linux Operating Systems Topic Resource Link of the Month: Distribution: Fedora Fedora is a Linux-based operating system that showcases the latest in free and open source software. Fedora is always free for anyone to use, modify, and distribute. It is built by people across the globe who work together as a community: the Fedora Project. The Fedora Project is open and anyone is welcome to join. The Fedora Project is out front for you, leading the advancement of free, open software and content. | |
Linux Users Message Board Ask this group a question! Select a topic below or Visit Linux Users Board Now!
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 Literals are quoted as in "Prestwood". If you need to embed a quote use a slash in front of the quote as in \".
In ObjectPAL, string literals are limited to 255 characters but there's nothing preventing you from using multiple string literals together as in: msgInfo("", "Hi Mike: " + "You can add literals together in ObjectPAL")msgInfo("", "Hello")msgInfo("", "Hello \"Mike\".") ;Does ObjectPAL evaluate this simple ;floating point math correctly? No! If (.1 + .1 + .1) = .3 Then msgInfo("", "Correct") Else msgInfo("", "Not correct") EndIf From our Paradox Tables Topic. The directory location of the Paradox network control file PDOXUSRS.NET. The active NET DIR parameter is stored in the Paradox section of the BDE configuration file and has precedence over any other NET DIR parameters that may be stored in older 16-bit configuration files, or in the System Init section of the current configuration file, or in the Registry. These other NET DIR entries will have no effect. To access a Paradox table on a network drive, the active NET DIR parameter in the Paradox section of the BDE configuration file must point to a network drive and folder in common to all users. From our Paradox & ObjectPAL Topic Add 50+ options to Paradox 7, 8, 9, and 10. Workbench for Paradox is an add-on suite of tools for the 32-bit version of Paradox and is geared toward speeding up the development of business database applications. This tool suite installs right into Paradox's Tools menu, giving you easy access to over 50 options. From our Paradox & ObjectPAL Topic. Error: Unexpected Condition GP 0000 at Paradox:03:69e5: Explanation: Try rebuilding the table using Table Repair (AKA TUtility). From our Paradox & ObjectPAL Topic Resource Link of the Month: Corel News Groups Corel products including newsgroups for the following: Paradox, ObjectPAL, Paradox and the Web, and Paradox FAQ. Also check out the following non-Corel newsgroups: comp.databases.Paradox. TheDBCommunity.com offers a newsgroup listing page. From our Installation, Setup, & BDE Topic. Question: Procedure for fixing the Could Not Initialize BDE" error. Answer: How do you fix the "Could Not Initialize BDE" error?
Here are the steps I usually take:
- Have all users exit Paradox.
- Upon exit, the BDE deletes any *.lck files in use. Delete any stray BDE *.lck files in the working, private, and NetDir folders. Usually I just search the entire local drive and delete them all. The BDE will recreate these files as needed.
- Delete the net files in the NetDir (pdoxusrs.net and sometimes paradox.net). The BDE will also recreate these files as needed.
- Retest. Continue if problem still persists.
- The BDE configuration file could be corrupt, try replacing it with a fresh copy.
- Retest. Continue if problem still persists.
- The BDE may be corrupt, try reinstalling the BDE (you can get a copy from prestwood.com).
- Retest. Continue if problem still persists.
- Rebuild all of your Paradox tables.
- Retest. Continue if problem still persists.
- Reinstall your application (Paradox, the Delphi EXE, etc.).
- Retest.
From our Interactive Paradox: Forms Topic Tip of the Month The user interface is the first element of your application that a user sees. Because first impressions are important, the user interface carries more weight than any other part of your application. It deserves much planning and effort. Spend time just reviewing the applications on your computer. The more time you spend looking at various application user interfaces, the better your forms, reports, and applications will look. | |
Paradox Message Board Ask this group a question! Select a topic below or Visit Paradox Board Now!
| Thread Starter | Replies | Last Post | Topic | | Paradox and linux Is there a paradox driver for Linux ? Thanks in advance, Fabien | 11 | I must confess to my non ... 5/27/2009 | Paradox for Linux | | Database Synchronisation Does anybody remember a version of Paradox that was shipped with a synchronisation utility? The utily was a third party app that would sync a local and remote database so changes in data on one ... | 0 | New! 5/20/2009 | Paradox Third Party Software, DLLs, and Controls | | Opening a MS Access table i... Hi,Your website has been most helpful. I have made an alias for my access table in Paradox and put it's tables in the datamodel. I can run queries, ... | 4 | So, a wierd thing....When I open the script for editing, and then run the script, it works great.&nb... 5/8/2009 | Paradox to/from Other Data Sources | | GTC West 2001 and Paradox Today the Government Technology Conference ended (May 16 - 18, 2001). It was held at the Sacramento Convention Center and we were at booth #318. This conference... | 1 | One more pic I found toda... 5/4/2009 | Paradox Setup, Vista, etc. | | Paradox 10: Unable to open ... Hi. Sorry for bringing up what has probably been brought up before; but I reviewed the threads and don't see it currently covered:
1) I was r... | 3 | Thanks, Al! That did it. I had seen that suggestion before in an old forum entry I had s... 5/1/2009 | Paradox Setup, Vista, etc. |
A classic post from our Perl topic... Perl Custom Routines (sub) by Mike PrestwoodPerl uses subs and parameters are referenced in a special array. All arguments passed to a subroutine are stored in a special @_ array. To retrieve the arguments, you have to look inside the array and extract them. |
Monthly Perl Lesson | 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 PHP is case sensitive with variable names but not with commands. Although commands are case incenstive, I prefer to use all lowercase because it's easy to type and that's what I see most PHP coders doing and I see it on PHP.Net. All of the following are equivalent: echo "hello<br>"; ECHO "hello<br>"; Echo "hello<br>"; eCHo "hello<br>";
...but variables are case sensitive: $fullname = "Mike Prestwood"; //These are two... $FullName = "Wes Peterson"; //separate varialbes. From our Perl Topic Commercial Perl development suite from ActiveState. ActivePerl Pro Studio includes the latest releases of Komodo IDE and PDK Pro, plus one year access to Safari Books Online. Software licenses are permanent and include all updates, and upgrades for one year. | |
Perl Message Board Ask this group a question! Select a topic below or Visit Perl Board Now!
A classic post from our Beginners Corner topic... PHP Associative Array by Mike PrestwoodDeclare associative array with initial known values. You can also add to associative array. (You can just assign values without ever declaring it too!) |
| 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 Common comparison operators:
| == |
equal |
| != or <> |
not equal |
| < |
less than |
| > |
greater than |
| <= |
less than or equal |
| >= |
greater than or equal |
PHP 4 and above also offers === for indentical (equal plus same type) and !== for not identical (not equal or not same type). //Does PHP evaluate the math correctly? No! if (.1 + .1 + .1 == .3) { echo "correct"; } else { echo "not correct"; }From our Beginners Corner Topic Download page from PHP.Net.
Contains Windows PHP downloads and links to other OS binaries. | |
PHP Message Board Ask this group a question! Select a topic below or Visit PHP Board Now!
Prestwood Message Board Ask this group a question! Select a topic below or Visit Prestwood Board Now!
A classic post from our Computer Community topic... Member Points Program by Mike PrestwoodMember points information. |
PrestwoodBoards Message Board Ask this group a question! Select a topic below or Visit PrestwoodBoards Board Now!
A classic post from our Language Basics topic... Delphi Prism Custom Routines (method, procedure, function) by Mike PrestwoodIn Prism, everything is within a class (just like with C#, VB.Net, and Java). So you create class methods using the method keyword. Alternatively, you can use procedure or function if you want the compiler to enforce returning or not returning a value. |
Monthly Prism Lesson | 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 Object Pascal uses a semicolon ";" as an end of statement specifier and you can put multiple statements on a single line of code and put a single statement on two or more code lines if you wish. MessageBox.Show("Hello1");MessageBox.Show("Hello2");MessageBox.Show("Hello3"); //Same line works too:
MessageBox.Show("Hello4"); MessageBox.Show("Hello5"); //Two or more lines works too: MessageBox.Show ("Hello6");
From our Tool Basics Topic. Question: Does Delphi Prism look and feel like Visual Studio or Delphi? In other words, is Delphi Prism VS.Net or Delphi? Answer: Delphi Prism is Visual Studio.Net. If you have Visual Studio.Net installed, the Delphi Prism installation plugs into your existing VS.Net installation. If you don't own VS.Net, the installation installs the Visual Studio Shell before plugging in Delphi Prism. | |
Prism Message Board Ask this group a question! Select a topic below or Visit Prism Board Now!
| Thread Starter | Replies | Last Post | Topic | | Cache in Asp.Net pages Hi,
I have created a asp.net website application using Delphi Prism. In that application I used Cache to open pages with the same data from a previous page.
When opening a next page... | 0 | New! 5/24/2009 | Delphi Prism |
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 Analysis Topic. In PSDP Online, an actor is a UML Actor, role, or person that interfaces with the system you are building.
When establishing actors of your system, do not think in terms of a specific person, think in terms of their role. Do not name an actor the name of the person filling the role. If Bob is our Sales Clerk, name your actor Sales Clerk (not Bob). From our PSDP Phases Topic. Question: What is the default phase for a task, artifact, and defect? Answer: The default phase for a defect is Phase 6 Testing & Rework. The default phase for a task or PSDP Artifact is Phase 2 Requirements. Whether or not you have enabled PSDP Phases for a project, the defaults are always set just in case you enable PSDP Phases. Even though PSDP Artifacts contain a Task, Requirement Item, Design Item, and a Test Script, it belongs to the requirements phase because the Requirement Item is the first real software documentation item. An additional task or tasks of filling in design items belong to Phase 4 Detail Design. The task of coding the artifacts belong to Phase 5 Initial Coding, and finally the task of completing of the test scripts and testing a particular build belongs to Phase 5 Testing & Rework. From our PSDP Artifacts Topic Tip of the Month Use PSDP Artifacts to track and document what the client wants. Create one artifact per main requirement, expectation, and/or critical success factor. A nagging problem we always face is documenting what the client wants then design, build, and test it while maintaining a link back to the original requirement. PSDP Artifacts aid in your effort to make sure you fulfill each and every requirement. For doucmentation purposes, you can add as many additional requirement and design items as you wish. You can also add additional test scripts as needed. | |
PSDP Message Board Ask this group a question! Select a topic below or Visit PSDP Board Now!
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 Removable Storage Technology Topic. A disk image of an ISO 9660 file system usually with a .ISO extension. ISO stands for International Organization for Standardization (ISO) and standard 9660 describes a standard for storing data on a CD or DVD.
An ISO image (or .ISO file) is a single computer file that is a copy of an existing file system (all files including all the filesystem metadata (boot code, structures, attributes, etc.). An ISO image can contain the entire contents of a CD or DVD.
| |
Tech Message Board Ask this group a question! Select a topic below or Visit Tech Board Now!
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 Publishing Topic Resource Link of the Month: Lulu.com Self Publishing Self-publishing website. Publish your own books at a reasonable price. Free to publish and no setup fees. From our Grammar Topic Tip of the Month a not any particular or certain one; a certain; another; one;
"He is a Delphi programmer."
an the form of "a" before an initial vowel
"He is an ObjectPAL programmer."
| |
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. Term used by the software designer to let a tester know that the defect they reported isn't a defect, the reported behavior is working as the designer wants it to.Term used by the software designer to let a tester know that the defect they reported isn't a defect, the reported behavior is working as the designer wants it to. | |
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! |
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: The History of FoxPro Great resource! The history of FoxPro including FoxPro and Visual FoxPro. Also includes predictions about the future. | |
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 Tool Basics Topic. Code Snippet of the Month Although you can use either a & or a + to concatenate values, my preference is to use a + because more languages use it. However, if you use & then some type conversions are done for you. If you use + you will sometimes have to cast a value to concatenate it. For example, you will have to use CStr to cast a number to a string if you use the + operator as a concatenation operator. Dim FirstName As String Dim LastName As String FirstName = "Mike" LastName = "Prestwood" MsgBox "Full name: " & FirstName & " " + LastName MsgBox "2+2=" + CStr(2+2) | |
VB Classic Message Board Ask this group a question! Select a topic below or Visit VB Classic Board Now!
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 VB.Net Topic. Code Snippet of the Month VB.Net, like VBClassiccode blocks, are surrounded by statement ending keywords that all use End such as End Class, End Sub, End Function, End If, and End If. Public Class Dog
End Class Protected Sub MySub End Sub Public Shared Function MySharedFunction() As Integer MySharedFunction = 12345 End Function If x Then End If | |
VB.Net Message Board Ask this group a question! Select a topic below or Visit VB.Net Board Now!
A classic post from our MS Frontpage topic... Browser Safe Colors: By Intensity by Mike PrestwoodBrowser safe colors consist of 216 colors that have been agreed upon and should look good on any type of monitor capable of displaying 256 colors or higher. |
Monthly 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 Windows Hosting Topic The free Microsoft web stress tool is designed to realistically simulate multiple browsers requesting pages from a Web site. The Microsoft WAS web stress tool is designed to realistically simulate multiple browsers requesting pages from a web site. You can use this tool to gather performance and stability information about your web application. This tool simulates a large number of requests with a relatively small number of client machines. The goal is to create an environment that is as close to production as possible so that you can find and eliminate problems in the web application prior to deployment.
Use this tool locally to test how well your website is performing in your test environment. The better it performs in your test environment under stress, the better it will perform when deployed live. From our Graphics Topic. Question: Why do images sometimes resize smaller well, and sometimes not? Sometimes when I resize an image to a small 100 pixel width or less image it looks great and sometimes it's very choppy. Answer: 1. You probably need to increase the number of colors prior to resizing. Some programs will do this for you automatically and some don't. For example, when working with a transparent GIF or PNG, the color palette is set to 256. If you shrink a transparent GIF or PNG, it will likely look choppy. However, if you increase the number of colors to 16-bit or higher, than resize, it looks great. Of course, you'll have to reapply transparency.
2. Various programs use various algorithms to resize images, make sure you try them all. From our Graphics Topic Tip of the Month Before you resize a transparent GIF or PNG larger or smaller, make sure you first increase the number of colors to the maximum number of colors allowed. In essence, unleash the full power of your graphics program. After you resize your image, you will have to reapply transparency. | |
Web Design Message Board Ask this group a question! Select a topic below or Visit Web Design Board Now!
A classic post from our Website Design Services topic... Website Design Services FAQ by Mike PrestwoodFAQs related to Prestwood building your website. |
Web Owners Message Board Ask this group a question! Select a topic below or Visit Web Owners Board Now!
A classic post from our Windows Vista topic... Download Windows Help for Vista and Server 2008 by Mike PrestwoodWindows Help program (WinHlp32.exe) does not ship with Microsft Vista nore with Windows Server 2008 but is available for download. |
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 XP Topic. Question: How much memory do I need with Windows XP? Answer: With the size of applications and data, my belief is that you need a minimum of 1 GB of RAM but 2 GBs is better. Unless you run lots of applications at the same time, there is no real need for more than 3 GBs of RAM. By the way, in Windows Vista, the caching scheme changed. Vista's SuperFetch built on and replaced Prefetch. Unlike Prefetch, SuperFetch will use up ALL memory for caching you give it so you want as much memory on Vista as you can afford and your hardware will allow. Vista 32-bit has a general limit of 4 GB and Vista 64-bit has a general limit of 128 GB. | |
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 | | 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... | 0 | New! 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.... | 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. |
|