Using Createprocess To Execute Programs Snippets


Delphi code example Using CreateProcess to Execute Programs

Delphi code for using CreateProcess to Execute Programs

15 June, 2014   

Example for updating a record in a database with perl and the DBU module.

10 September, 2011   

Example of adding a constraint

Ever wondered how Visual Studio executes a process - such as a compiler - and displays the text it returns in its own window? It's actually really easy - and here's a simple example as to how.

Here's a simple trick to execute a Delphi object's method by name:

How to get returning value from a stored procedure

16 February, 2013   

Binds a php variable to an SQL statement using the bindParam() method

04 April, 2012   

Delphi code example for TColor to HTML color

The following code snippet shows how to execute standard Control Panel applets (Display Properties, Reginal Settings, Mouse Properties, and more) from Visual Basic code.

13 July, 2011   

This example uses count to count the number of times 0 appears among v1-v3 (putting it in z1) and likewise for v4-v6 (putting the count in z2). Then, if z1 is 3, then 9999 is placed in v1-v3 using a do repeat loop. The same is done for v4-v6.

Have you ever wanted to know how much memory one of your PHP scripts uses when it runs? You might want this information if your script has a memory leak or takes a long time to execute. If that's the case then there's a great built-in function called memory_get_usage, which will display the exact amount of memory being used by your script. This...

The pyperl dist provide an interface to the Perl DBI (dbi.py). This allow direct access to all the perl supported databases from python. Full documentation of the API from 'perldoc DBI' or the ORA "Programming the Perl DBI" book, by A. Descartes and T. Bunce.

15 June, 2013   

Example shows here How to Clone a Delphi Form. Note: when you create a new clone from an existing form, the clone's OnCreate will not execute.

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

23 October, 2012   

MySQL code example for sorting data in a GRID

07 December, 2013   

Example code for Oracle Cursor Query

05 May, 2012   

ASP code example with Sql Statement

Oracle PL/SQL example for avoiding overlapping months and years

05 September, 2011   

This class is for simplifying and accelerating working with SQL, using this class is very simple; there is a sample below for this class, which I hope is useful.