IT SOLUTIONS
Office 916-726-5675
Tech Search:  Adv  More...
-Collapse +Expand
Search Delphi Group:

Advanced
-Collapse +Expand
DELPHIGROUP

CROSSREFLANGGuides

PRESTWOODCERTIFIED

MY
GROUPSETTINGS
-Collapse +Expand
-Collapse +Expand
-Collapse +Expand
PRESTWOODSTORE
-Collapse +Expand
Prestwood Community
-Collapse +Expand
-Collapse +Expand
Sign in to see list of community groups here.

Prestwood eMagazine
Subscribe to our popular FREE monthly eMagazine.

Enter your email:

Delphi for Win32 Group

Delphi group covering all aspects of Delphi for Win32 and the upcoming Delphi for Win64 as well as a Kylix archive.

CodeGear Delphi Helmet Icon

Also consider joining our...

Newest Delphi group members:  1. emiliaanjos  (1 visits.) 2. almeyda53  (4 visits.) 3. eeshely  (2 visits.) 4. Ramanadh  (4 visits.) 5. mrcaston  (4 visits. Columbus, UNK USA) 6. mey  (1 visits. Bussum, UNK NL) 7. nicon_athens  (2 visits. GR) 8. OGM_JAF_PKEY  (1 visits. site maravalle, UNK DZ) 9. smiliev  (4 visits.) 10. Mark   (4 visits. USA)

Not a member of our community?

Join this group now for a free account, or sign in if you are already a member.

New and Updated Delphi Content: All Post Types

Message board, knowledge base, article comments, blogs, news, etc.

More...
  Filter new posts by...
  Title Type Topic
Sign In To Check If Stuff Is New
1522
Hits
1. A 10 Minute Delphi 2009 Paradox BDE TTable Quick Start
This KB Post addresses accessing Paradox tables through the BDE using TDatasource, TTable, and TDBGr...
2/8/2010

KB Post
BDE  
Sign In To Check If Stuff Is New
75
Hits
2. Language guide: ObjectPAL to Delphi
If anyone is interested in a Paradox Object / Delphi Object Pascal cross reference gude, click below...
1/30/2010

MB Post
Delphi News / Other  
Sign In To Check If Stuff Is New
197
Hits
3. Paradox and Delphi Cross Reference
If anyone is interested in a Paradox Object / Delphi Object Pascal cross reference gude, click below...
1/30/2010

MB Post
Delphi Single User Apps  
Sign In To Check If Stuff Is New
558
Hits
4. RE: Does Delphi support code contr...
thanks. i have not been back in a while but wanted to say thanks for the info.
1/30/2010

MB Post
Delphi Object PASCAL  
Sign In To Check If Stuff Is New
27
Hits
5. RE: Updating third-party components
1/25/2010

MB Post
Delphi VCL  
More...

Unanswered Delphi Questions

More...
 Thread StarterReplies Last Post Topic
Sign In To Check If Stuff Is New
265
Hits
PDF and RTF and Graphics
>We are also toying with Rave report instead of RTF as Rave apparently can output a PDF quite eas...
0New!
5/5/2009
Delphi News / Other
Sign In To Check If Stuff Is New
718
Hits
Login to PHP pages with NMHttp
Hi. is there any one help me? I want to Login to one Website (Username & Password)Like mail.yahoo.co...
0New!
7/9/2005
Delphi Internet Solutions
Sign In To Check If Stuff Is New
480
Hits
how can I Login to PHP pages with NMHttp?
Hi. is there any one help me? I want to Login to one Website (Username & Password)Like mail.yahoo.co...
0New!
7/8/2005
Delphi VCL
Sign In To Check If Stuff Is New
1144
Hits
MSSQL locks on ApplyUpdates with nested CDS
I have 2 tables on MSSQL 2K. Master table has a structure like this (simplified): master_table: k...
0New!
2/17/2005
Delphi Distributed Apps
Sign In To Check If Stuff Is New
527
Hits
SQL Parsing string field
I have a field called Expire_Date that contains dates like that MM-YY (M=month, Y=Year) and I need t...
0New!
1/30/2005
Delphi Single User Apps
More...

Icon Legend
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

Weekly Delphi Lesson

[Print Lesson]

Week 6, Posted Monday 2/8/2010

Content changes every Monday @ 1AM!! Check back once per week. Learn! Review! Test Yourself!

Tip of the Week
Tip: 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.
FAQ of the Week
Question:

Can I call a DotNet DLL from my Delphi 7 application?



Answer:

It's not easy because the .NET RTL resides in a different process. You can wrap up the DotNet DLL into an ActiveX control and call it or have both your app and the DotNet DLL write to the registry, a file, etc. By the way, you CAN wrap up a Win32 DLL in a DotNet DLL and call it from DotNet.

Code Snippet of the Week
Application.ProcessMessages

I always found the sleep command in ObjectPAL very useful. The following code does about the same thing in Delphi. It makes use of GetTickCount which is a Win32 API call that retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days.

procedure TUtils.Delay(MillisecondsDelay: Integer);
var
   FirstTickCount: LongInt;
begin
   FirstTickCount := GetTickCount;
   repeat 
       Application.ProcessMessages;
   until ((GetTickCount-FirstTickCount) >= Longint(MillisecondsDelay));
end;
Definition of the Week
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.
Link of the Week
Dr. Bob 42 A popular, and charming, website containing the latest news, press releases, articles, book reviews, tools, third-party tool reviews, and news on conferences & training using Delphi for Win32, Delphi for .NET, Delphi for PHP, Kylix (Delphi for Linux), C++Builder (Delphi for C++) & C#Builder as well as ASP.NET, XML, SOAP and Web Services.
File of the Week

None This Week

Lastest Delphi Flashcard

Our flashcards are part of our library of tidbits.

Tidbits are FAQs, Definitions, Tips, and Code Snippets from our knowledge base.

Delphi Inline Code (asm)

In Delphi, you can inline assembler code using the asm keyword.

Delphi Archive

Old Material from our old community

Online Delphi Lessons

Let the web teach you Delphi with these short, easy to read and follow, lessons.

Delphi Articles

COM Collections (125 KB PDF)

Abstract: Correctly implementing COM collections.

By William Pantoja. For developers to communicate among the applications they develop, Microsoft has provided an evolutionary path from DDE, OLE, OLE2, to COM (DCOM allows you to communicate between applications on different or distributed machines).

Writing High Quality Routines in Delphi
By Mike Prestwood

This Power Point presentation presents coupling, cohesion, and scope from an OO Delphi point of view. This presentation was given at the 1998 August Sacramento Delphi User Group meeting.


Delphi Gazette Archive

The Delphi Gazette was our monthly newsletter prior to the Prestwood eMag.

  • Delphi Gazette - Nov 1998 - Volume 1, Issue 10
  • Delphi Gazette - Oct 1998 - Volume 1, Issue 9
  • Delphi Gazette - August 1998 - Volume 1, Issue 8
    The August issue contains A New Look At Exceptions by Robert Muir, Using JPEGs in resource files by Larry J. Rutledge, Windows file association, Writing out Delphi source code to HTML, and more!
  • Delphi Gazette - July 1998 - Volume 1, Issue 7
    The July issue was skipped because Larry J. Rutledge, our editor, broke his collar bone.
  • Delphi Gazette - June 1998 - Volume 1, Issue 6
    The June issue covers Callback Procedures Using Delphi 3.0 by Dan Anaya, our Delphi Apprentice column covers several topics, and in our Components 101 column Larry J. Rutledge covers how to Auto-Repeat TSpeedButtons. Much more included!
  • Delphi Gazette - May 1998 - Volume 1, Issue 5
    The May issue covers Incremental Lookups in our Delphi Apprentice column, and TFileInfo in our Components 101 column.
  • Delphi Gazette - April 1998 - Volume 1, Issue 4
    Last Month, Mike Prestwood demonstrated how to design an object in Delphi by creating a TSysTime object. This month we'll extend it, adding needed funtionality to take an example class and make it more useful. Also in this issue is how to determine the cursor position in a TMemo or TRichEdit control, how to serve up a tray icon, and how to create control panel applets.
  • Delphi Gazette - March 1998 - Volume 1, Issue 3
    This issue covers creating classes for the novice, touches on entity business objects, and answers some reader questions.
  • Delphi Gazette - February 1998 - Volume 1, Issue 2
    This issue covers the Informant CD, GExperts (Programming Power for Delphi), and using Microsoft's IntelliMouse with Delphi.
  • Delphi Gazette - January 1998 - Volume 1, Issue 1
    In our premiere issue Mike Prestwood covers using string grids, using GetHeapStatus, beating shareware expiration dates, and Data Flow Diagrams DFD as applied to a non computer process (Store Bought vs. Diaper Service - Which is Better?).

Old Delphi File Library

Our Delphi Library area includes files we've posted as well as links to other Delphi libraries.

 
 10,482 registered community members.   Members Online Now
Mike Prestwood
If you have any questions,
please Contact Us.
--Mike Prestwood
Copyright 1995-2010 Prestwood I.T. Solutions.
Made in the U.S.A.
No H1-B. No offshoring.
A CA corporation.
CA CMAS certified.
Certified CA small business.
www.prestwood.com is part of the Prestwood Family of Websites.
Development by Mike Prestwood (ASP, ASP.Net, and Delphi to MS-SQL 2008).
Member Features powered by ASPSuite (programming by Mike Prestwood).
All rights reserved.

[Security & Privacy]