Search Photo  
RSS Feed
22 November 2009
  Home | Forum | Photo Gallery | Wallpapers | Business | Entertainment | Education | Sports | Article | City |
Free News on your website
School, College, University, Institute, Institute, Coaching Center and other Education Institute of India
Education Directory | Results | Who is Who | Notes | Article | Tutorial | Information | Dictionary | News 
 
  CA Clipper | FoxPro |

 

News FlashUS to give crucial information on Headley-Rana accomplice's 26/11 role to India | Restoration of Mughal road in J-K heads towards completion | China wants a Chinese version of Tibetan Buddhism, says Dalai Lama | Cultural heritage of Manipur showcased in Sikkim | Green Park stadium's scoreboard, the only manually operated scoreboard in India | Dalai Lama hopes PM will discuss Tibet issue with the U.S. leadership | 3 injured in fire at Jodhpur's handloom showroom | White House prepares for first state visit by Manmohan Singh | Bamboo fencing on Nainital's hillside roads to prevent mishaps | Indian Navy vessel on solo circumnavigation of world reaches New Zealand |
FoxPro Tutorial & Source Code
* Author      : Team of Pelagian Softwares
* Date        : 08/10/2007
* Source      : pass.prg
* Description : Simple Password Program


* usage:  paste this code, where you want to ask for password
*         or call with do pass

set talk off
do whil .t.
 @ 08, 24 clea to 14, 55 DOUB
 @ 08, 24 TO 14, 55 DOUB
 @ 10, 27 SAY "Please Enter Your Passward"
 @ 12, 36 say spac(8) colo '/w'
 @ 12, 35 SAY " "
 a=0
 x=inkey()
 pw=''
 do whil !a=8
  x=inkey()
  IF X = 0
   loop
  EndIf
  if x=27
   close all
   release all
   set colo to
   set stat on
   Clear
   ReTurn
  EndIf
  if x=13
   exit
  EndIf
  if x=127
   if a=0
    ??chr(7)
   EndIf
   if !A=0
    a=a-1
    q12=len(pw)
    pw=left(pw,q12-1)
    @ 12, 36+A say " " colo '/w'
   EndIf
  EndIf
  if !x=127
   pw=pw+chr(x)
   @ 12,36+A  say "*" colo '/w'
   a=a+1
  EndIf
 EndDo
 pw=padr(pw,8)
 if pw = 'hello   '
  EXIT
 ELSE
  save scre
  set colo to
  @ 12, 36 SAY repl("*",8) colo '/w'
  ??chr(7)
  @ 04, 22 to 07, 56 doub
  @ 05, 23 say " WRONG PASSWARD PLEASE TRY AGAIN " colo "/w"
  @ 06, 28 say " Press  To Exit! " colo "/w"
  do whil inkey()=0
  EndDo
  rest scre
 EndIf
EndDo
** start your program from here
clear
?"welcome to Pelagian Softwares"
?
?
?"Author: Rishi Acharya"


Also download:  

Category for FoxPro

Database
Financial
Mathametics
Screen
Search
Security
Sound
String

 

All right reserved by Khabarexpress.com
Contact Us | Archives | Sitemap | Can't see Hindi ?
Special Edition: Lakshchandi Mahayagya, Camel Festival 2007, Vartmaan Sahitya, Bikaner Udyog Craft Mela
Our Network rajb2b.com | khabarexpress.com | uniqueidea.net | PelagianDictionary.com | hindinotes.com
Developed & Designed by Pelagian Softwares