Tag

program

  • Total Source Code 15
  • Total Page : 1
  • You currently on page number : 1

Try Command

  • 00 0000
  • 249
  • Delphi, Delphi Programming, Basics, Keyword, Command, Try, RTL

The Try keyword is used to mark the start of a block of statements that have error trapping. If an error occurs, the program is not terminated. Instead, control is passed to either a Finally or Except section. Try is used in a number of ways. Version 1 In a Try-Finally construct, the Finally statement is guaranteed to be executed absolutely regardless of what happens in the Try Read more


Programmable Vector

  • 00 0000
  • 254
  • Applications, Create, Interactive, cadsystem, Graphics, Vector, Shows, programmable, programmable vector 1 1

Programmable Vector Graphics code shows how to use vector graphics in your applications and how to create interactive GIS and Read more


Boolean

  • 00 0000
  • 334
  • Delphi, Delphi Programming, Basics, Keyword, Command, Boolean, RTL

The Boolean type provides an enumeration of the logical True and False values. syntax : type Boolean = (False, True); Unlike other languages, it is not a number - it will only allow these values. This makes the code much more reliable. Using calculations to test for true or false is a C like practice, but is supported in Delphi. Use the following to hold such a logical Read more


Reading From Database

  • 00 0000
  • 371
  • C#,code,program,icodeformoney

In this section, we still using the same database as the previous section which is created by the following queries: #Create database CREATE DATABASE IF NOT EXISTS campus; #Activate database USE campus; #Create table CREATE TABLE IF NOT EXISTS students ( id INT PRIMARY KEY AUTO_INCREMENT, fullname VARCHAR(100), gender VARCHAR(10), faculty VARCHAR(50), Read more


Database Connection

  • 00 0000
  • 385
  • C#,program,icodeformoney

To use database in C#, we must first connect to the database. To do that, we use a Connection object. In this case, we use MySqlConnection class. Basically, the code to connect to a database are:var conn = new MySqlConnection();conn.ConnectionString = "Server=localhost; Uid=root; Pwd=123; Port=3306;";conn.Open();//Do something to the Read more


Variables

  • 00 0000
  • 329
  • C#,program,icodeformoney

A variable is just a storage for data of values in the program. In programming world, every variables has a datatype and in most programming language, C# included, a variable's datatype is determined when the variable is declared or initialized. There are several ways to declare a variable: [data type] [identifier];[data type] [identifier] = [value];[data type] [identifier Read more


How Create a Zip File Using PHP

  • 00 0000
  • 205
  • java script, web development, web design, web programming, jquery ajax, ajax php, jquery ajax demos, jquery demos, regular expression, ajax demos, ajax programming, tutorials, php script, ajax tutorial, ajax examples, jquery tutorial, database, mysql, web database development, blogger, google ajax api, google visualization, google app, rss, technology, coding, code, examples, php programming, facebook scripts, twitter API, facebook like, twitter scripts, form validation, hosting, form submit, validation, application development, software, free scripts, free hosting, sql script, programming, jsp, tomcat, SMTP Mail

Hello friends now we are going to discus a small code for creating Zip file using PHP. Creating zip file is simple as comparing with author languages. PHP have a very useful class called ZipArchive ,To create multiple zip files in this post i will show you how create a ZIP file Source <?php function Read more


Passing JavaScript variables to PHP

  • 00 0000
  • 247
  • tutorial,html,javascript,asp,vbscript,sql,php,authoring,programming,training,learning,beginner's guide,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,webcheatsheet,active server pages,internet,database,development,Web building,Webmaster,html guide,php hypertext preprocessor, structured query language

Javascript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications. One of the frequent problems is defining visitor’s screen resolution using JavaScript tools and passing Read more


C# LINQ

  • 00 0000
  • 308
  • Programming,C#,.Net

LINQ (Language-Integrated Query) in C# is a simple way to query and update a Collection of data. We can use LINQ for example to filter, sort or even merge data in collections. The simplest way to use LINQ is: from [itemIdentifier] in [collection] where [condition] select [itemIdentifier] Below are examples of LINQ usage:class Program {  static void Read more


Kill Active Program

  • 19 December 2013
  • 225
  • routine,kill,program,delphi

  Needed a routine to kill an active program based on classname or window title.  I came up with the following routine     procedure KillProgram(Classname : string; WindowTitle : string);const  PROCESS_TERMINATE = $0001;var  ProcessHandle : THandle;  ProcessID: Integer;  TheWindow : HWND;begin  TheWindow := FindWindow(Classname, WindowTitle);  GetWindowThreadProcessID(TheWindow, Read more


Show list of installed programs

  • 24 December 2013
  • 244
  • installed program,show

The list of installed programs you can find in registry in HKEY_LOCAL_MACHINE using Software\Microsoft\Windows\CurrentVersion\Uninstall path. We will display programs, which contains DispalayName parameter.   uses Registry; ... procedure TForm1.Button1Click(Sender: TObject); var MyList: TStringList; MyRegistry: TRegistry; i: Integer; Str: string; begin Read more


Pengantar Pemrograman AVR

  • 00 0000
  • 293
  • avr,program

Tutorial sederhana ini sejatinya adalah catatan pengalaman saya setelah berhasil membakar (download) .hex ke dalam chip Atmega128 melalui kabel USBASP dengan program avrdude di Ubuntu. Tutorial ini –walaupun sederhana– ditujukan sebagai pijakan awal Anda untuk memrogram mikrokontroler AVR dengan hanya menggunakan Linux. Tutorial ini diharap memberi gambaran Anda untuk menggantikan Read more


Galaxy Enterprise Distributor System (SEBAS)

  • 00 0000
  • 248
  • program,distributor,software,galaxy

1. GALAXY SEBAS SEBAS adalah salah satu produk software dari PT. Galaxy Interaktif yang di peruntukkan bagi perusahaan distributor kecil dan menengah untuk membantu mengontrol stock, penjualan, pembelian , hutang , piutang, kasir, accountting dan aktiva. 2. MENGAPA HARUS SEBAS * Telah digunakan ratusan perusahaan Read more


How to write your first BlackBerry application – Lesson 1: UI fields

  • 00 0000
  • 677
  • blackbery,smartphone,programming

This article is the first in a series of articles about BlackBerry development. With App World, third party software vendors and the web, there are a ton of opportunities for an independent developer to make money. BlackBerry Development in Java – Lection 1: Basic fields in the User Interface Let’s get right into it. Download the JDE (Java Development Environment) from the BlackBerry Read more


How to write a BlackBerry application – Lesson 2: Mail API, Invoke API, Menu

  • 00 0000
  • 638
  • blackberry,programming,smartphone,mobile

How to write your second BlackBerry application – Lesson 2: Mail API, Invoke API, Menu In the first tutorial you learned how to set up the BlackBerry JDK (Java Development Kit) and how to create a simple User Interface with Buttons, Labels and Edit Fields. In this lesson, you’ll learn how one can program, create and compose email messages as well as how to add a MenuItem to your Read more




Category