Software snipets for the Delphi & Pascal Community
Mar 10, 2010 - 08:03 PM
alt1
Borland :: Mailing Lists
alt1
Search  
alt1
alt1 alt1 alt1 alt1 alt1
alt1
Main Menu
alt1
· Home
· Your Account

Other Options

· AvantGo
· Downloads
· FAQ
· Members List
· Messages
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Submit News
· Topics
· Top List
· Web Links

alt1
Who's online
alt1
There are currently, 1 guest(s) and 0 member(s) online.

You are an anonymous user. You can register for free by clicking here


alt1
Welcome to the NEW DELPHI SWAG website !

Many years ago, at the dawn of the World Wide Web, when the BBS idea was going hot and heavy, a group of PASCAL programmers got together and came up with a really unique idea .. SWAG was a collection of source code and program examples for the PASCAL programming language that became extremely popular .. and it still is even today !

We all know about such great sites as Torry's and DSP .. We also have Delphi3000.com .. unfortunately, economics are causing many of these to well known sites to become more and more commercial. SO .... after 4 years of inactivity, SWAG is BACK !!! or should I say DELPHI SWAG !!

The new DELPHI SWAG website allows posting of multiple snipets in multiple languages, visible to different types of users. This central message also has an option to be posted to ALL languages at once...

We will have material available covering every concievable topic .. just like the original SWAG did .. and ALL OF IT ABSOLUTELY FREE !!

We'll have the original SWAG material too under the category VINTAGE PASCAL.

So, We hope you will enjoy the new DELPHI SWAG website .. look around, and take time to sign up as a member. Also, if you have anthing to share, please do so .. the rest of us will appreciate it !

The DELPHI SWAG development Team


alt1
List functions in DLL
Posted by: Gayle on Saturday, December 08, 2001 - 03:54 PM EST
alt1
Windows API Ever wanted to list functions in a DLL ?? Here's how.

alt1
(2239 Reads) ( Read more... | 2196 bytes more | 2 Comments | Printer friendly page  Send this story to a friend | )
alt1

alt1
Print Selected Rows in TStringGrid
Posted by: Gayle on Saturday, December 08, 2001 - 03:53 PM EST
alt1
Components/VCL Here is a component that I wrote to print out the selected lines (to the printer) of a TStringGrid, it’s called TPrintGrid.

I hope enjoy it, if you have any questions, comments, suggestions - please don't hesitate to ask me.

-Bradley Baumann
www.scrapcode.com
bradley@bestweb.net / _@scrapcode.com


alt1
(1931 Reads) ( Read more... | 5994 bytes more | comments? | Printer friendly page  Send this story to a friend | )
alt1

alt1
Downloading all files (*.*) from within Delphi
Posted by: Gayle on Saturday, December 08, 2001 - 03:48 PM EST
alt1
Internet & Web You can use this code to download all files from an FTP site from within your Delphi program.

alt1
(2748 Reads) ( Read more... | 3417 bytes more | 4 Comments | Printer friendly page  Send this story to a friend | )
alt1

alt1
Generate A Windows Console Application?
Posted by: Gayle on Saturday, December 08, 2001 - 10:08 AM EST
alt1
Windows API Ever want to generate a Windows Console Application? This tells you how.

Note:Contributed by Bernhard Angerer
alt1
(1330 Reads) ( Read more... | 1292 bytes more | comments? | Printer friendly page  Send this story to a friend | )
alt1

alt1
MS-SQL : connection is in use by another statement
Posted by: Gayle on Tuesday, December 04, 2001 - 06:14 AM EST
alt1
ADO/OLE Database


When porting a larger database application (130k LOC) that worked fine with Oracle and InterBase to MS-SQL (6.5), I frequently got the error message 'connection is in use by another statement'.

At first, creating a new TDatabase for each TTable/ TQuery seemed to be necessary.

Then I found what was 'wrong' (not really wrong.. :-)

To speed up some of my queries, I had set the property Unidirectional to true. Delphi creates for such queries only one cursor (versus two for bidirectional queries or TTables). After removing the assignments of Unidirectional := true the error message disappeared and everything worked fine.

The following code resulted in the exception 'connection is in use by another statement':


alt1
(2571 Reads) ( Read more... | 1646 bytes more | 2 Comments | Printer friendly page  Send this story to a friend | )
alt1

alt1
alt1
Survey
alt1
What do you think of the new SWAG website?

Think? I use it!
It's what was needed.
What's a SWAG?
I categorically oppose income taxes


[ Results | Polls ]

Votes: 68 | Comments: 421

alt1
Today's big story
alt1
No big story for today.

alt1
Login
alt1
Username

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like a theme manager, comments configuration and posting comments with your name.

alt1
Past Articles
alt1
Tuesday, December 04

· Check the BDE version in your application (0)
· Allow Incremental Searching in your TDataSets (0)
· Checking for Large Fonts (0)


Saturday, December 01

· How can I close a MessageBox() (2)
· Fix Conflict between TDatabase & TObject (0)
· Put stuff in the Registry instead of an INI file (0)

alt1
Report Bugs :: Tasks :: Developers 
alt1




alt1