m.kelas-karyawan-ftumj.prestasi.web.id Layanan Informasi 17 Jam
Telp/Fax : 021-8762002, 8762003, 8762004, 87912360
HP/SMS : 081 1110 4824 27, 0812 9526 2009, 08523 1234 000
WhatsApp : 0817 0816 486, 0812 9526 2009
email : _Hubungi Kami__ silahkan klik
Chatting dengan Staf :
ggkarir.com
ggiklan.com
Pilih Bahasa :   ID   EN   Permintaan Katalog / Brosur (GRATIS via POS)   Kelas Karyawan   Reguler
Gilland GroupGilland GroupFilsafatElektronikaDebat EkonomiBudha

   
Cari  
    Teknik Informatika

    Sebelumnya  (Visual Basic for Applications) (Visual Instruction Set)  Berikutnya    

Visual FoxPro

VisualFoxProScreenshot.png
Typical VFP9 editing session
Original author(s)Microsoft Corporation
Stable releaseVisual FoxPro 9.0 Service Pack 2 (SP2) / October 11, 2007; 5 years ago (2007-10-11)
Development statusMaintenance mode
Operating systemMicrosoft Windows
Platformx86 and greater
Available inIDE: English, German, Spanish
Runtime: Above, French, Chinese, Russian, Czech, Korean
TypeDatabase Programming language
LicenseMicrosoft EULA
Websitemsdn.microsoft.com/vfoxpro

Visual FoxPro is a data-centric object-oriented and procedural programming language produced by Microsoft. It is derived from FoxPro (originally known as FoxBASE) which was developed by Fox Software beginning in 1984. Fox Technologies merged with Microsoft in 1992, after which the software acquired further features and the prefix "Visual". The last version of FoxPro (2.6) worked under Mac OS, DOS, Windows, and Unix: Visual FoxPro 3.0, the first "Visual" version, reduced platform support to only Mac and Windows, and later versions were Windows-only. The current version of Visual FoxPro is COM-based and Microsoft has stated that they do not intend to create a Microsoft .NET version.

Version 9.0, released in 2007, is the final version of the product.

Contents

History

FoxPro originated as a member of the class of languages commonly referred to as "xBase" languages, which have syntax based on the dBase programming language. Other members of the xBase language family include Clipper and Recital. (A history of the early years of xBase can be found in the dBase article.)

Visual FoxPro, commonly abbreviated as VFP, is tightly integrated with its own relational database engine, which extends FoxPro's xBase capabilities to support SQL query and data manipulation. Unlike most database management systems, Visual FoxPro is a full-featured, dynamic programming language that does not require the use of an additional general-purpose programming environment. It can be used to write not just traditional "fat client" applications, but also middleware and web applications.

In late 2002, it was demonstrated that Visual FoxPro can run on Linux under the Wine Windows compatibility suite. In 2003, this led to complaints by Microsoft: it was claimed that the deployment of runtime FoxPro code on non-Windows machines violates the End User License Agreement.[1]

Visual FoxPro had a rapid rise and fall in popularity as measured by the TIOBE Programming Community Index.[2] In December 2005, VFP broke into the top 20 for the first time. In June 2006 it peaked at position 12, making it (at the time) a "B" language. By September 2010, FoxPro and its variants had fallen out of the top 50, where it has remained ever since.

In March 2007, Microsoft announced that there will be no VFP 10,[3] thus making VFP9 (released to manufacturing on December 17, 2004) the last commercial VFP release from Microsoft. The support of Version 9 is ongoing with service packs that were released December 8, 2005 and October 11, 2007.

At the time of the end of life announcement, work on the next release codenamed Sedna (named after a recently discovered dwarf planet) which was built on top of the VFP9 codebase had already begun. "Sedna" is a set of add-ons to VFP 9.0 of xBase components to support a number of interoperability scenarios with various Microsoft technologies including SQL Server 2005, .NET Framework, Windows Vista, Office 2007, Windows Search and Team Foundation Server (TFS). Microsoft released Sedna under the Shared source license on the CodePlex site. Microsoft has clarified that the VFP core will still remain closed source. Sedna was released on January 25, 2008.[4] As of March 2008, all xBase components of the VFP 9 SP2 (including Sedna) were available for community-development on CodePlex.

In late March 2007 a grassroots campaign was started by the Spanish-speaking FoxPro community at MasFoxPro[5] ("MoreFoxPro" in English) to sign a petition to Microsoft to continue updating Visual FoxPro or release it to the community as Open Source. On April 3, 2007 the movement was noted by the technical press[6]

Also on April 3, 2007 Microsoft responded to the petitioner's requests with this statement from Alan Griver:

"We're very aware of the FoxPro community and that played a large part in what we announced on March 13th. It's never an easy decision to announce that we're not going to release another version of a product and it's one that we consider very carefully.

"We're not announcing the end of FoxPro: Obviously, FoxPro applications will continue to work. By some of our internal estimates, there are more applications running in FoxPro 2.6 than there are in VFP and FoxPro 2.6 hasn't been supported in many years. Visual FoxPro 9 will be supported by Microsoft through 2015.

"For Microsoft to continue to evolve the FoxPro base, we would need to look at creating a 64-bit development environment and that would involve an almost complete rewrite of the core product. We've also invested in creating a scalable database with SQL Server, including the freely available SQL Server Express Edition. As far as forming a partnership with a third-party is concerned, we've heard from a number of large FoxPro customers that this would make it impossible for them to continue to use FoxPro since it would no longer be from an approved vendor. We felt that putting the environment into open source on CodePlex, which balances the needs of both the community and the large customers, was the best path forward."

Version information

Operating system compatibility

Supported Windows Versions
VersionVFP 3.0VFP 5.0VFP 6.0VFP 7.0VFP 8.0VFP 9.0
Windows 3.xYesNoNoNoNoNo
Windows NT 4.0YesYesYesYesNoNo [7]
Windows 95YesYesYesRuntime onlyNoNo
Windows 98YesYesYesYesRuntime onlyRuntime only
Windows MeYesYesYesYesRuntime onlyRuntime only
Windows 2000YesYesYesYesYesYes
Windows XPYesYesYesYesYesYes
Windows Server 2003 ?YesYesYesYesYes
Windows VistaCompatibility ModeYesYesYesYesYes
Windows 7YesNoYesYesYesYes
Windows 8 ? ?Yes ? ?Yes

Information on executable files

VersionVERSION() returnsEXE SizeEXE DateDLL SizeDLL Name
VFP 9 SP2 with HotfixesVisual FoxPro 09.00.0000.7423 for Windows5,648 kbApril 3, 20094,624 kbVFP9R.DLL
VFP 9 SP2Visual FoxPro 09.00.0000.5721 for Windows5,648 kbSeptember 21, 20074,624 kbVFP9R.DLL
VFP 9Visual FoxPro 09.00.0000.2412 for Windows5,620 kbDecember 13, 20044,600 kbVFP9R.DLL
VFP 8Visual FoxPro 08.00.0000.3117 for Windows5,236 kbSeptember 25, 20034,200 kbVFP8R.DLL
VFP 7Visual FoxPro 07.00.0000.9465 for Windows4,260 kbJanuary 4, 20023,344 kbVFP7R.DLL
VFP 6Visual FoxPro 06.00.8961.00 for Windows4,091 kbAugust 18, 20003,295 kbVFP6R.DLL
VFP 5Visual FoxPro 5.0.0.415 for Windows4,065 kbJanuary 24, 19973,148 kbVFP500.DLL
VFP 3Visual FoxPro 03.00.00.0711 for Windows4,374 kbDecember 16, 19953,657 kbVFP300.ESL
FPW 2.6aFoxPro 2.6a for Windows2,444 kbSeptember 28, 19942,946 kbFOXW2600.ESL

Code samples

The FoxPro language contains commands quite similar to other programming languages such as Basic. Loops include do, if, while, for, else commands in a usage easily understood by anyone familiar with other programming languages. Commands take the form of "command" and "endcommand"

Some basic syntax samples:

FOR i = 1 to 10   x = x + 6.5ENDFOR IF i = 25   i = i + 1ELSE   i = i + 3ENDIF x = 1DO WHILE x < 50   x =  x + 1ENDDO x = 1DO WHILE .T.  x = x + 1  IF x < 50   LOOP  ELSE   EXIT  ENDIFENDDO nMonth = MONTH(DATE())DO CASE      CASE nMonth <= 3               MESSAGEBOX("Q1")       CASE nMonth <= 6               MESSAGEBOX("Q2")       CASE nMonth <= 9               MESSAGEBOX("Q3")       OTHERWISE               MESSAGEBOX("Q4")ENDCASE FOR EACH oControl IN THISFORM.Controls  MESSAGEBOX(oControl.Name)ENDFOR f = Factorial(10) FUNCTION Factorial(n) LOCAL i,r r = 1 FOR i = n TO 1 STEP -1  r = r * n ENDFOR RETURN rENDFUNC

Hello World example:

MESSAGEBOX("Hello World")

Object

Output of the Hello World program.
loForm = CREATEOBJECT("HiForm")loForm.Show(1) DEFINE CLASS HiForm AS Form  AutoCenter = .T.  Caption = "Hello, World"   ADD OBJECT lblHi as Label WITH ;    Caption = "Hello, World!"ENDDEFINE
loMine = CREATEOBJECT("MyClass")? loMine.cProp1   && This will work. (Double-ampersand marks an end-of-line comment)? loMine.cProp2   && Program Error: Property CPROP2 is not found. ? loMine.MyMethod1()  && This will work.? loMine.MyMethod2()  && Program Error: Property MYMETHOD2 is not found. DEFINE CLASS MyClass AS Custom  cProp1 = "My Property"    && This is a public property  HIDDEN cProp2     && This is a private (hidden) property  dProp3 = {}     && Another public property   PROCEDURE Init()    && Class constructor    This.cProp2 = "This is a hidden property."  ENDPROC   PROCEDURE dProp3_Access    && Property Getter   RETURN DATE()  ENDPROC  PROCEDURE dProp3_Assign(vNewVal)   && Property Setter    IF VARTYPE(vNewVal) = "D"     THIS.dProp3 = vNewVal    ENDIF  ENDPROC   PROCEDURE MyMethod1()    * This is a public method, calling a hidden method that returns    * the value of a hidden property.    RETURN This.MyMethod2()  ENDPROC   HIDDEN PROCEDURE MyMethod2()  && This is a private (hidden) method    RETURN This.cProp2  ENDPROCENDDEFINE

Data handling

The language also has extensive database manipulation and indexing commands. The "help" index of commands in VFP 9 has several hundred commands and functions described. The examples below show how to code the creation and indexing of tables, however VFP has table and database builder screens which create the tables and indexes without making you write code.

Output of the Data handling program.
&& Create a tableCREATE TABLE randData (iData I) && Populate with random data using xBase and SQL DML commandsFOR i = 1 TO 50    APPEND BLANK    REPLACE iData WITH (RAND() * 100)     INSERT INTO randData (iData) VALUES (RAND() * 100)ENDFOR && Place a structural index on the dataINDEX ON iData TAG iDataCLOSE ALL && Display ordered data using xBase-style commandsUSE randDataSET ORDER TO iDataGO TOPLIST NEXT 10  && First 10 GO BOTTOMSKIP -10LIST REST     && Last 10CLOSE ALL && Browse ordered data using SQL DML commandsSELECT * ;  FROM randData ;  ORDER BY iData DESCENDING

ODBC access using SQL passthrough

&& Connect to an ODBC data sourceLOCAL nHndnHnd = SQLCONNECT ("ODBCDSN", "user", "pwd") && Execute a SQL commandLOCAL nResultnResult = SQLEXEC (nHnd, "USE master")IF nResult < 0  MESSAGEBOX ("MASTER database does not exist!")  RETURNENDIF && Retrieve data from the remote server and stores it in&& a local data cursornResult = SQLEXEC (nHnd, "SELECT * FROM authors", "QAUTHORS") && Update a record in a remote table using parametersPRIVATE cAuthorID, cAuthorNamecAuthorID = "1001"cAuthorName = "New name"nResult = SQLEXEC (nHnd, "UPDATE authors SET auth_name = ?cAuthorName WHERE auth_id = ?cAuthorID") && Close the connectionSQLDISCONNECT(nHnd)

Beta code names

  • VFP 3 - Taz
  • VFP 5 - RoadRunner
  • VFP 6 - Tahoe
  • VFP 7 - Sedona
  • VFP 8 - Toledo
  • VFP 9 - Europa
  • VFP Next - Sedna

References

  1. ^ Visual FoxPro for Linux: A Violation of the EULA?, May 13, 2003, By Ed Leafe, Linux Journal
  2. ^ Tiobe Index History for FoxPro
  3. ^ A Message to the Community
  4. ^ Microsoft SEDNA download
  5. ^ MasFoxPro
  6. ^ Developers petition Microsoft to reconsider FoxPro phase out Posted by Mary Jo Foley (April 3rd, 2007) - All about Microsoft - ZDNet.com
  7. ^ - The free patch for VFP 9.0 has been created by the German FoxPro User Group (dFPUG) and is available at the dFPUG document portal in the directory http://portal.dfpug.de/dFPUG/Dokumente/Freeware/. It allows you to run VFP 9.0 applications on NT 4.0. Microsoft has indicated that this will be addressed in VFP 9.0 SP1.

External links

Microsoft pages

Other pages

    Sebelumnya  (Visual Basic for Applications) (Visual Instruction Set)  Berikutnya    





Tags: Visual FoxPro, Teknik Informatika, 2243, Visual FoxPro Typical VFP9 editing session Original author(s) Microsoft Corporation Stable release Visual FoxPro 9.0 Service Pack 2 (SP2) / October 11 2007 ; 5 years ago ( 2007 10 11 ) Development status Maintenance mode Operating system Microsoft Windows Platform x86 and greater Available in IDE: English German Spanish Runtime: Above French Chinese Russian Czech Korean Type Database Programming, Visual FoxPro, Bahasa Indonesia, Contoh Instruksi, Tutorial, Referensi, Buku, Petunjuk m.kelas karyawan ftumj, prestasi.web.id
 Berbagai Reklame    Program S2 (Pascasarjana, Magister)    Download Katalog    Peluang Karir
Kuliah Reguler Pagi (Hybrid)

Koleksi Jenis Foto
Penerimaan Mahasiswa/i
Program Studi
Layanan + Download
Jaringan Website Perkuliahan Karyawan
Jaringan Website Kuliah Paralel
Jaringan Website Gabungan PTS
Jaringan Website Program Reguler Pagi
Jaringan Website Program S2 (Magister)

 Kuliah Gratis    Perkuliahan Lanjutan    Kelas Reguler Pagi    Program Kuliah Paralel    Jadwal Ujian Try Out    Jadwal Sholat    Al Qur'an Online    Tutorial Telekomunikasi    Soal-Jawab Tes Psikologi    Ensiklopedi Bebas    Berbagai Perdebatan    Pendaftaran Online    Permohonan Beasiswa Kuliah    Program Kuliah Hybrid di 112 PTS Terbaik
Beritahukan ke Rekan Anda
Nama Anda

Email Anda

Email Rekan 1

Email Rekan 2 (tidak wajib)

Email Rekan 3 (tidak wajib)
⚛ harus diisi dengan benar

Permintaan Brosur
(Gratis via POS)
Nama Lengkap

Alamat Penerima

Kota/Kabupaten & Provinsi

Kode Pos

Email (tidak wajib)

☃ harus diisi lengkap & jelas
Atau kirimkan nama dan
alamat lengkap via SMS ke HP:
0811 1990 9026


Download BROSUR
Brosur Kelas Karyawan
Gabungan Seluruh Wilayah Indonesia

pdf (11,2 MB)ZIP (8,8 MB)
Image/jpg (36,2 MB)
Brosur Kelas Karyawan
JABODETABEK

pdf (5,5 MB)ZIP (4,4 MB)
Image/jpg (13,2 MB)
Brosur Kelas Karyawan
DIY,JATENG,JATIM & BALI

pdf (4,4 MB)ZIP (3,5 MB)
Image/jpg (14,5 MB)
Brosur Kelas Karyawan
JAWA BARAT

pdf (2,8 MB)ZIP (2,2 MB)
Image/jpg (7,1 MB)
Brosur Kelas Karyawan
SULAWESI

pdf (1,9 MB)ZIP (1,5 MB)
Image/jpg (5,6 MB)
Brosur Kelas Karyawan
SUMATERA & BATAM

pdf (2,2 MB)ZIP (1,7 MB)
Image/jpg (6,5 MB)
Brosur Kuliah Reguler
pdf (4,1 Mb)ZIP (8,4 Mb)
Soal2 UN & SBMPTN
pdf(3,5 Mb)ZIP(1,5 Mb)

STRATEGI Meningkatkan
Kualitas Pendidikan, Pendapatan dan Sumber Daya PTS
http://kpt.co.id
Terobosan Baru

PT. Gilland Ganesha
Membutuhkan Segera

  • Design Grafis
  • Web Programmer

Penjelasan Lebih Lanjut di :
Info pekerjaan

Perawatan anak kucing, potret kucing, dsb.
155 Ras Kucing di Indonesia

Facebook Kuliah Karyawan
Twitter Kuliah Karyawan

Link2 PTS
PTS Terpandang & Utama
S1, S2, D3

Tautan Elok
silakan klik
Universitas di Inggris
Seluruh Literatur Online
Anime
Bahasa
Biologi
Budaya
Elektronika
Film

p2k.itbk.ac.id  |  saintekmu.web.id  |  uin-al-azhaar.web.id