Database °æ (¾«»ªÇø)
·¢ÐÅÈË: joy ( ÓêËͻƻ軨Ò×Âä), ÐÅÇø: Database
±ê Ìâ: vfpʹÓÃÖ¸ÄÏ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue Apr 21 09:27:39 1998), תÐÅ
Visual FoxPro 5.0a Óë Visual Studio 97 ºÍ Microsoft Office 97 ÓлúµØ½áºÏÔÚÒ»Æð¡£Visual FoxPro ÖÐ×é¼þµÄ´ó¶àÊýÒѾ¸üУ¬ÒÔ´ËÓë Visual Studio 97 ÖÐ×é¼þµÄ°æ±¾±£³ÖÒ»Ö¡£
ÕâЩ·¢Ðи½×¢ÊÇ°ïÖúϵͳ¡¢ÊÖ²áºÍ CD ÉÏ Visual FoxPro ÎĵµµÄ²¹³äÄÚÈÝ¡£ÆäËûÐÅÏ¢¿É²é¿´ http://www.microsoft.com/vfoxpro/ ÖÐµÄ Microsoft Visual FoxPro Web ÄÚÈÝ¡£
¸½×¢£º
1. ±¾ÎÄÖÐÌáµ½µÄ Visual FoxPro 5.0 ӦΪ Visual FoxPro 5.0a.
2. ±¾Èí¼þµÄ¹¦ÄÜÖڶ࣬¿ÉÄÜÉæ¼°µ½µÄ²»Í¬¹ú¼ÒºÍµØÇøµÄijЩÈÕÆÚ¸ñʽÓëÊÀ½çͨÐеÄÈÕÆÚ¸ñʽ²»¾¡Ïàͬ¡£Îª´Ë£¬±¾¹«Ë¾ÌرðÖ¸³ö£¬·²ÊDZ¾Èí¼þºÍÎĵµÖгöÏֵġ°Ì¨Í塱ÄËÊÇÖ¸ÖлªÈËÃñ¹²ºÍ¹úµĄ̈ÍåÊ¡£¬ÓйØ̨ÍåµÄÈÕÆÚ¸ñʽÊÇÖ¸¸ÃÊ¡·ÝʹÓõÄÒ»ÖÖÌرð³Æ·¨¶øÒÑ£¬²¢ÎÞÆäËûº¬Òå¡£
3. LQ-1600K ´òÓ¡»úÔÚûÓÐ<PRC 32K(Big)>ËÍÖ½Æ÷ʱ£¬´òÍêÿһҳA4Ö½ºó¶à×ßÒ»Ò³Ö½¡£
ÕâÊÇÓÉÓÚ´òÓ¡»úµÄÖ½ºÐÉèÖÃÓÐÎÊÌâ¡£ÒÔ Windows NT 4.0 ÖÐÎÄ°æΪÀý£¬Epson LQ-1600KII ´òÓ¡»úĬÈϵÄÖ½ºÐÉèÖÃΪ£ºÇ£ÒýËÍÖ½<PRC 32K(Big)>¡£Èç¹ûÓû§Ã»ÓйºÂò<PRC
32K(Big)>ËÍÖ½Æ÷£¬Ôò±ØÐë´Ó¡®ÊÖ¶¯ËÍÖ½¡¯ÀïÑ¡ÔñA4Ö½£¬²¢½«¡®Ç£ÒýËÍÖ½¡¯¸ÄΪ<²»ÄÜÓÃ>¡£ÕâÑù¾Í¿ÉÒÔÓÃÊÖ¹¤·½Ê½Ïò´òÓ¡»úËÍÖ½ÁË¡£
4. VFP5.0a ÔÚÖÐÎÄƽ̨¼°ÆäËüË«×Ö½Úƽ̨ÉÏÓÐÒ»ÒÑÖªÎÊÌ⣺
µ±Ó¦ÓóÌÐòÖаüº¬±»ÒýºÅ£¨""£©À¨ÆðµÄ HIGH ANSI£¨ASCIIÂë´óÓÚ128µ¥×Ö½Ú£©×Ö·ûʱ£¬½«»áµ¼ÖÂÓï·¨´íÎó¡£ÕâÊÇÒòΪ VFP5.0a µÄ±àÒëÆ÷½«Èκα»ÒýºÅÀ¨ÆðµÄ HIGH ANSI ×Ö·û½âÊÍΪ˫×Ö½Ú×Ö·ûµÄÊ××Ö½Ú¡£´Ë´íÎ󽫲»»á·¢ÉúÔÚÓÉ VFP5.0a
¿ª·¢µÄеÄÓ¦ÓóÌÐòÖС£×î¿ÉÄÜÓöµ½´ËÎÊÌâµÄÇé¿öÊÇ£¬ÄúµÄÓ¦ÓóÌÐòÊÇÓɾɵÄFOXPRO Îļþ£¨ÌرðÊÇÄÇЩ DOS °æ±¾µÄ£©Éý¼¶¶øÀ´ÇÒÎļþÖаüº¬±»ÒýºÅÀ¨ÆðµÄ HIGH ANSI ×Ö·û¡£½â¾öµÄ·½·¨ÊÇ£¬ÔÚµ¥×Ö½Úƽ̨ÉÏÓÃÎı¾±à¼Æ÷£¨»òÔÚÔ¿ª·¢»·¾³ÖУ©´ò¿ª·¢Éú´íÎóµÄÎļþ£¬ÕÒµ½°üº¬ "X"£¨X
´ú±í HIGH ANSI ×Ö·û£©µÄÐУ¬È»ºóÓú¯Êý CHR(N) ½« "X" Ìæ´ú£¬ÆäÖÐ N Ϊ X
µÄ ASCII Âë¡£Ö®ËùÒÔÒªÔÚµ¥×Ö½Úƽ̨ÉÏ£¨»òÔÚÔ¿ª·¢»·¾³ÖУ©Ð޸ģ¬ÊÇÒòΪÔÚijЩ˫×Ö½Úƽ̨£¨ÈçÖÐÎÄ WIN95 ¼°ÖÐÎÄ WIN NT £©ÉÏ£¬"X" ½«ÏÔʾΪ ""¡£ÔÚÍê³ÉÉÏÊöÐ޸ĺó£¬ÖØбàÒëÓ¦ÓóÌÐò¼´¿ÉÕý³£ÔËÐС£
5. MS Graph ÔÚ VFP5.0a ÖпÉÄÜÓöµ½µÄÎÊÌ⣺
ÔÚÔø¾°²×°¹ý VFP5.0a µÄÖÐÎÄ WIN95 ºÍ WIN NT4.0 ƽ̨ÉÏÔٴΰ²×°VFP5.0a£¨¼°ÆäÖеÄ×é¼þ MS Ggraph £©ºó£¬ÔËÐÐͼÐÎÏòµ¼Ê±ÏµÍ³¿ÉÄܻ᷵»ØÈçÏ´íÎóÐÅÏ¢»òÏÝÈëËÀÑ»·£º
´íÎó #1734ÔÚ addgraphfx£¨0£©£ºÕÒ²»µ½ÊôÐÔ HASLEGEND ¡£
Õâ¿ÉÄÜÊÇÒòΪÔÚÖÐÎÄ WIN95 »ò WIN NT4.0 ÖÐ×¢²á MS Graph ʱËùÓó¤ÎļþÃû¶øÒýÆðµÄ¡£
½â¾öµÄ·½·¨ÓÐÁ½¸ö£º
·½·¨Ò»£ºÖØа²×°ÖÐÎÄ WIN95 »ò WIN NT4.0 ºó£¬ÔÙ°²×° VFP5.0a ¡£
·½·¨¶þ£ºÐÞ¸ÄÖÐÎÄ WIN95 »ò WIN NT4.0 µÄ×¢²á±í¡£·½·¨ÈçÏ£º
1. ÔÚÖÐÎÄ WIN95 »ò WIN NT4.0 ÖÐÔËÐÐ×¢²á±í±à¼Æ÷ Regedit.exe
2. ¼¤»î±à¼²Ëµ¥£¬°´Ò»Ï¡°²éÕÒ¡±
3. ÔÚ¡°²éÕÒ¡±¶Ô»°¿òÖмüÈë¡°win16¡±£¬»Ø³µ
4. Ò»°ã°´Á½´ÎF3¼ü£¬Ö±ÖÁÒÔϵÚÎå²½
5. ×¢²á±í±à¼Æ÷ÓÒ²àÊý¾ÝÏîÏÂÏÔʾ¡°C:\Program Files\Common Files\Microsoft Shared\MSGRAPH5\GREN50.OLB¡±
6. ÔÚ×¢²á±í±à¼Æ÷ÓÒ²àÃû³ÆÏîÏÂͼ±êÉϵ¥»÷Êó±êÓÒ¼ü£¬Ñ¡¶¨¡°Ð޸ġ±
7. ÔÚ±à¼×Ö·û´®¿òÖн«¡°C:\Program Files\Common Files\Microsoft Shared\MSGRAPH5\GREN50.OLB¡± ÐÞ¸ÄΪ “
C:\Progra~1\Common~1\Mocros~1\MSGRAPH5\GREN50.OLB”
8. Í˳ö×¢²á±í±à¼Æ÷£¬ÖØÐÂÔËÐÐͼÐÎÏòµ¼¼´¿É
ÐèÒªÖ¸³öµÄÊÇ£¬×¢²á±íÖмǼ×ÅϵͳµÄÖØÒªÊý¾Ý£¬Ò»µ©±»ÆÆ»µ½«¿ÉÄܵ¼ÖÂÕû¸öϵͳË𻵡£ Òò´Ë£¬³ýÉÏÊöÐÞ¸ÄÍâÇëÎðÔÙ×ö±ðµÄ¸Ä¶¯¡£
6. ÔÚ VFP5.0a ÖÐÔËÐÐÉýǨÏòµ¼Ê±¿ÉÄÜ»áÓöµ½µÄÎÊÌ⣺
ÔÚÔËÐÐÉýǨÏòµ¼Ê±£¬Èôµ±Ç°Ä¿Â¼Öаüº¬Óпոñ£¬ÔòÔÚÉýǨ¹¤×÷È«²¿½áÊø£¬ÉýǨÏòµ¼×¼±¸Éú³ÉÏà¹Ø±¨±íʱ£¬ÏµÍ³»á·µ»ØÈçÏ´íÎóÐÅÏ¢£º
¡°ÃüÁîÖк¬Óв»ÄÜʶ±ðµÄ¶ÌÓï»ò¹Ø¼ü×Ö¡±¡£
ÕâÊÇÒòΪÉýǨÏòµ¼ÔÚÉýǨ½áÊøºó»áÔÚµ±Ç°Ä¿Â¼ÏÂÉú³É “upsize” ×ÓĿ¼£¬´ËʱÈôµ±Ç°Ä¿Â¼Öаüº¬Óпոñ£¬ÔòÉýǨÏòµ¼²»ÄÜʶ±ð¡£µ«´ËÎÊÌâ²¢²»Ó°ÏìÉýǨ¹ý³Ì±¾Éí¡£ ½â¾öµÄ·½·¨ÊÇ£ºÔÚÖ´ÐÐÉýǨÏòµ¼Ç°£¬ÇëÈ·ÈÏ»ò¸ü¸Äµ±Ç°Ä¿Â¼ÎªÒ»²»°üº¬¿Õ¸ñµÄĿ¼(ÀýÈ磺ÔÚÃüÁî´°¿ÚÖмüÈë”cd c:\”)¼´¿É¡£
7. ÔÚ°²×° FoxPro 2.5b Ë«×Ö½Ú°æʱ¿ÉÄÜÓöµ½µÄÎÊÌâ £º
Èç¹ûÄú´Ó¹âÅÌÉÏÕÒµ½ FoxPro 2.5b Ë«×ֽڰ棬 ²¢Ö±½Ó´Ó¹âÅÌÉÏÔËÐа²×°³ÌÐò£¬²»ÄÜ˳Àû°²×°¡£½â¾ö·½·¨£º
1. °²×° FoxPro2.5b for Windows, »ò LCK »ò CK »ò MK, ÐèÒª½«ÏàӦĿ¼ÏµÄËùÓÐÎļþ¸´ÖƵ½Ó²ÅÌÉÏ£¬´ÓÓ²ÅÌÉÏÔËÐа²×°³ÌÐò¼´¿É¡£
2. °²×° DK £¬ ÐèÒª½«Î»ÓÚ FoxPro25bSC\FoxPro25SC.DK\WinDK\3D\ Ï£¬Î»ÓÚ DISK1,DISK2,DISK3 ϵÄËùÓÐÎļþºÏ²¢µ½Ó²Å̵Äͬһ¸öĿ¼Ï£¬´ÓÓ²ÅÌÉÏÔËÐа²×°³ÌÐò¼´¿É¡£
Ŀ¼
°²×°µÄ±ØÒªÌõ¼þ
°²×° Visual FoxPro
Visual FoxPro 5.0a ÖеÄÐÂÌØÐÔ
ʹÓà Visual FoxPro
ʹÓà Visual FoxPro Áª»úÎĵµ
ÎĵµµÄ¸ü¸Ä
°²×°µÄ±ØÒªÌõ¼þ
ÒÔϲ¿·Ö¶Ô Visual FoxPro ³£¹æÐÔ°²×°ÒÔ¼°¸ö±ð×é¼þ°²×°ËùÐèµÄ±ØÒªÌõ¼þ×÷Ò»¸ÅÊö¡£
°²×° Visual FoxPro µÄ±ØÒªÌõ¼þ
¿ÉÒÔÔÚÈçÏ»·¾³ÖÐʹÓà Visual FoxPro.
· Windows 95
· Windows NT 3.51£¨ÐèÒª Service Pack 5, ¿ÉÔÚ Visual FoxPro CD µÄ \Srvcdpcks\WinNT351.qfe ÖÐÕÒµ½£©
· Windows NT 4.0£¨²»ÐèÒª Service Pack, µ«ÍƼöʹÓà Service Pack 3£©
Windows NT µÄÎĵµÖнéÉÜÁËÔËÐÐ Windows NT µÄ×îµÍÒªÇó¡£
ÏÂÃæÊÇÔÚ Windows 95 ÖÐÔËÐÐ Visual FoxPro ÍƼöµÄϵͳҪÇó£º
· һ̨´øÓÐ 486 50MHz ´¦ÀíÆ÷£¨»ò¸ü¸ßµµ´¦ÀíÆ÷£©µÄ IBM ¼æÈÝ»ú¡£
· Ò»¸öÊó±ê¡£
· 10MB ÄÚ´æ¡£
· ±ãЯʽ°²×°ÐèÒª 15MB µÄÓ²Å̿ռ䣬µäÐÍ°²×°ÐèÒª 100MB Ó²Å̿ռ䣬×î´ó°²×°ÐèÒª 240MB Ó²Å̿ռ䡣
¸½×¢ ȱʡÇé¿öÏ£¬Áª»úÎĵµÎļþ±£´æÔÚ¹âÅÌÉÏ£¬¿ÉÒÔËæʱ²é¿´¡£ÎªÁ˸üºÃµØÔËÐУ¬¿É½«ÕâЩÎļþ (140 MB) ¸´ÖƵ½ÄúµÄ±¾µØ»úÉÏ£¬·½·¨ÊÇ°²×°Ê±Ñ¡Ôñ¡°Óû§×Ô¶¨Òå°²×°¡±Ñ¡Ï½Ó×ÅÑ¡Ôñ¡°È«²¿Ñ¡ÖС±¡£
ÍƼöʹÓà VGA »ò¸ü¸ß·Ö±æÂʵļàÊÓÆ÷¡£
¡°°²×°Ïòµ¼¡±µÄ±ØÒªÌõ¼þ
Èç¹ûÒªÔËÐС°°²×°Ïòµ¼¡±£¬±ØÐëÒÑ°²×°ÁË Visual FoxPro ÔËÐÐʱ¿Ì¿â£¨Visual FoxPro Runtime£©¡£³ý·ÇÔÚ×Ô¶¨Ò尲װʱ½«ÔËÐÐʱ¿Ì¿â£¨Runtime£©ÅųýÔÚÍ⣬һ°ãÔÚ°²×° Visual FoxPro ʱ»á×Ô¶¯°²×° Runtime¡£
¡°Automation ·þÎñ³ÌÐò¡±µÄ±ØÒªÌõ¼þ
Èç¹ûÒªÓà Visual FoxPro À´´´½¨¡°Automation ·þÎñ³ÌÐò¡±£¬Ôò±ØÐëÒÑ°²×°ÁË Visual FoxPro ÔËÐÐʱ¿Ì¿â£¨Visual FoxPro Runtime£©¡£³ý·ÇÔÚ×Ô¶¨Ò尲װʱ½«ÔËÐÐʱ¿Ì¿â£¨Runtime£©ÅųýÔÚÍ⣬һ°ãÔÚ°²×° Visual FoxPro ʱ»á×Ô¶¯°²×°ÔËÐÐʱ¿Ì¿â£¨Runtime£©¡£
¡°ÉýǨÏòµ¼¡±µÄÒªÇó
¡°ÉýǨÏòµ¼¡±¸ù¾ÝÔÓÐµÄ Visual FoxPro Êý¾Ý¿â£¬ÓÃͬÑùµÄ±í½á¹¹¡¢Êý¾ÝÒÔ¼°ÆäËûÊôÐÔÔÚ·þÎñÆ÷ÉÏ´´½¨Êý¾Ý¿â¡£ÔËÐС°ÉýǨÏòµ¼¡±ÐèÒªÂú×ãÏÂÁзþÎñÆ÷¡¢¿Í»§»úºÍÍøÂçÒªÇó£º
·þÎñÆ÷ ÐèÒªÏÂÁÐijһ²úÆ·£º
· Microsoft SQL Server 6.x for Windows NT¡£
· Microsoft SQL Server 4.x for Windows NT¡£
· Microsoft SQL Server 4.x for OS/2¡£
· Oracle Server 7.0 »ò¸üа汾£¬Ò²¿ÉÒÔÊǼæÈÝ°æ±¾¡£
¿Í»§»ú ¿Í»§»ú±ØÐ룺
· Âú×ã Visual FoxPro µÄϵͳҪÇó¡£
· ÒÑ°²×°°üÀ¨ ODBC ×é¼þÔÚÄÚµÄ Visual FoxPro¡£
· ¶ÔÓÚ Oracle:
· ÒÑ°²×° Oracle Çý¶¯³ÌÐòµÄ ODBC ¸´±¾£¨Óë Visual FoxPro Ò»Æð°²×°£©¡£
· ÒÑ°²×° Windows NT »ò Windows 95 Ï Visual FoxPro ²Ù×÷ƽ̨µÄ SQL Net ¿Í»§ÍøÂçÈí¼þ¡£¸ÃÈí¼þÊÇ Oracle ·þÎñÆ÷µÄÈÎÒâ°æ±¾ÖеĿͻ§Èí¼þ×é¼þµÄÒ»²¿·Ö¡£
· ¶ÔÓÚ SQL Server:
· ÒÑ°²×° ODBC SQL Server Çý¶¯³ÌÐòµÄ¸´±¾£¨Óë Visual FoxPro Ò»Æð°²×°£©¡£
ÍøÂç ¿Í»§»úºÍ·þÎñÆ÷±ØÐëÓÃÏÂÁвúÆ·Ö®Ò»»¥Áª£º
· Microsoft Windows 95¡£
· Microsoft Windows NT¡£
· Microsoft LAN Manager¡£
· ÆäËûÓë Windows ¼æÈݵÄÍøÂçÈí¼þ£¬°üÀ¨ Novell NetWare¡£
°²×° Visual FoxPro
ÏÂÃæÊÇ Visual FoxPro ³ÌÐòºÍ Windows NT Service Pack ÔÚ°²×°Ê±µÄ×¢ÒâÊÂÏî¡£
°²×° Visual FoxPro 5.0a
¿ÉÒÔ´Ó CD-ROM »òÍøÂçÉÏ°²×° Visual FoxPro¡£
ÖØÒªÄÚÈÝ Èç¹ûÄúÔÚ¼ÆËã»úÉÏʹÓÃÁË·À²¡¶¾³ÌÐò£¬ÇëÔÚÔËÐС°°²×°³ÌÐò¡±Ö®Ç°½«Ëü¹Ø±Õ¡£·À²¡¶¾³ÌÐò´ò¿ªÊ±£¬¡°°²×°³ÌÐò¡±²»ÄÜÕý³£ÔËÐС£¡°°²×°³ÌÐò¡±ÔËÐк󣬼ÇסÖØÐÂÆô¶¯·À²¡¶¾³ÌÐò¡£
ÈôÒª´Ó CD-ROM ÉÏ°²×° Visual FoxPro
1. ½«¹âÅ̲åÈë CD-ROM Çý¶¯Æ÷¡£
2. ÔÚ¡°¿ªÊ¼¡±²Ëµ¥ÖУ¬Ñ¡Ôñ¡°ÔËÐС±¡£
3. ¼üÈë x:\setup£¬²¢ÇÒ°´ ENTER ¼ü£¬ÕâÀï x ´ú±í CD-ROM Çý¶¯Æ÷×Öĸ¡£
4. È»ºó°´ÕÕÆÁÄ»ÉÏÏÔʾµÄÖ¸Áî²Ù×÷¡£
· ÈôÒª½øÐÐ×îС»¯°²×°£¨15MB£©£¬ÇëÑ¡Ôñ¡°±ãЯ»ú£¨×îС°²×°£©¡±¡£¸ÃÑ¡Ïî²»°²×°¡°°ïÖú¡±Îļþ¡¢Ê¾ÀýÎļþ»ò ODBC¡£
· ÈôÒª½øÐеäÐÍ°²×°£¨100MB£©£¬ÇëÑ¡Ôñ¡°ÍêÈ«°²×°¡±¡£¸ÃÑ¡Ïî²»°²×°Áª»úÎĵµÎļþ£¨100MB
£©¡£
· ÈôÒª°²×°°üÀ¨Áª»úÎĵµÎļþµÄËùÓÐ Visual FoxPro Îļþ£¬ÇëÑ¡Ôñ¡°Óû§×Ô¶¨Òå°²×°¡±£¬È»ºóÑ¡Ôñ¡°È«²¿Ñ¡ÖС±¡£
¸½×¢ Èç¹ûҪʹÓá°°²×°Ïòµ¼¡±£¬»òÓà Visual FoxPro ´´½¨ Automation ·þÎñ³ÌÐò£¬Ôò±ØÐë°²×° Visual FoxPro ÔËÐÐʱ¿Ì¿â£¨Visual FoxPro Runtime£©¡£ÔËÐÐʱ¿Ì¿â£¨Runtime£©»áÔÚ°²×° Visual FoxPro ʱ×Ô¶¯°²×°£¬³ý·ÇÄúÑ¡Ôñ×Ô¶¨Òå°²×°£¬²¢ÔÚרҵ¼¶Ó¦ÓóÌÐòµÄÑ¡ÏîÖн«ËüÒÆ×ß¡£
Windows NT 3.51 ÌáʾÐÅÏ¢ “Ordinal Not Found”
ÔÚ Windows NT 3.51 ÉÏ£¬Èç¹ûʹÓà Visual FoxPro »ò Visual FoxPro Ó¦ÓóÌÐò£¬Äú¿ÉÄܻῴµ½ÒÔÏÂÐÅÏ¢£º
VFP.EXE - Ordinal Not Found
The ordinal 419 could not be located in
the dynamic link library OLEAUT32.dll
ÔÚÏÂÃæÕâЩÇé¿öÏ£¬»á³öÏÖ¸ÃÐÅÏ¢£º
· °²×° Visual FoxPro µÄÍêÕû°æ±¾£¬µ«Ã»°´ÌáʾÖØÐÂÆô¶¯¼ÆËã»ú¡£
· °²×°ÓÉ¡°°²×°Ïòµ¼¡±´´½¨µÄ Ò»¸ö Visual FoxPro Ó¦ÓóÌÐò£¬µ«Ã»°´ÌáʾÖØÐÂÆô¶¯¼ÆËã»ú¡£
· µ±Íê³ÉÁË Visual FoxPro 5.0a °²×°£¬»ò°²×°Ò»¸öÓà Visual FoxPro 5.0a¡°°²×°Ïòµ¼¡±×齨µÄÓ¦ÓóÌÐòºó£¬ÔÙ°²×° Windows NT Service Pack¡£
Èç¹ûʹÓÃÁË OLEAUT32.DLL µÄ¹ýÆÚ°æ±¾£¬½«³öÏÖ¸ÃÐÅÏ¢¡£ÔÚÉÏÊöÇ°Á½ÖÖÇé¿öÏ£¬ÖØÐÂÆô¶¯¼ÆËã»ú»áÔØÈëаæµÄ OLEAUT32.DLL£¬Ò²¾Í½â¾öÁËÕâ¸öÎÊÌâ¡£
ÔÚµÚÈýÖÖÇé¿öÏ£¬Windows NT Service Pack °²×°³ÌÐòÓþɵİ汾¸ÄдÁË OLEAUT32.DLL¡£Òª½â¾öÕâ¸öÎÊÌ⣬±ØÐëжÔØ£¬²¢ÖØа²×° Visual FoxPro »ò Visual FoxPro Ó¦ÓóÌÐò£¬ÒÔ±ã»Ö¸´ÕýÈ·µÄ OLEAUT32.DLL °æ±¾¡£
¸½×¢ ²»Äܽö½öÖØа²×° Visual FoxPro »ò Visual FoxPro Ó¦ÓóÌÐò£»±ØÐëÈ«²¿½«ËüжÔØ£¬ÔÙÖØа²×°¡£
»òÕߣ¬¿É½« Service Pack ÖÐµÄ OLEAUT32.DLL °æ±¾¸üÐÂΪ Visual FoxPro Ëù°üº¬µÄ°æ±¾£¬È»ºóÖØа²×° Service Pack¡£¹ý³ÌÈçÏÂËùʾ¡£
¸½×¢ ÒÔϹý³ÌÓà Windows NT 3.51 ºÍ Service Pack 4 ½øÐÐÁ˲âÊÔ£¬Ëü¿Éʹ Visual FoxPro ÕýÈ·Æô¶¯¡£ÕâÀÎÒÃÇÌṩµÄÊÇ¿ÉÑ¡·½·¨£¬¹©ÖØа²×° Visual FoxPro »òÒÑ·¢²¼µÄÓ¦ÓóÌÐòʹÓ㬵«ÎÒÃDz»½¨ÒéÕâÑù×ö¡£´Ë¹ý³ÌÐèÒª³Ðµ£·çÏÕ£¬²¢ÊÂÏÈÐèÒª±¸·ÝËùÓÐÏà¹ØµÄÎļþ¡£
ÈôÒª¸üРService Pack µÄ OLEAUT32.DLL °æ±¾
1. ÔÚ Windows NT service pack Ŀ¼Ï£¨¸ÃĿ¼Öаüº¬ UPDATE.EXE Îļþ£©£¬½« OLEAUT32.DLL
ÖØÃüÃûΪ OLEAUT32.OLD¡£
2. ´Ó Visual FoxPro CD µÄ OS\SYSTEM Ŀ¼ÖУ¬½« OLEAUT32.DLL ¸´ÖƵ½ service pack Ŀ¼Ï¡£
3. ÔËÐÐ UPDATE.EXE À´ÖØа²×° service pack¡£
Visual FoxPro 5.0a ÖеÄÐÂÌØÐÔ
Visual FoxPro µÄÕâ¸ö°æ±¾´øÀ´Á˸üÇ¿´óµÄ¹¦ÄÜ£¬¿ÉÒÔÔÚÓ¦ÓóÌÐò»òÊý¾Ý¿â¿ª·¢µÄÈκÎÒ»¸öÁìÓòÖиøÄúÌṩ°ïÖú¡£ÕâЩ¸Ä½øÌåÏÖÔÚÐÔÄÜ¡¢ÏµÍ³×ÊÔ´ÀûÓÃÒÔ¼°Éè¼Æ»·¾³ÉÏ¡£ÓйØÓïÑÔ·½Ãæ¸ü¸ÄµÄÏêϸÄÚÈÝ£¬Çë²ÎÔÄÖ÷°ïÖúÎļþÖеġ°ÐµÄÓïÑÔÔªËØ¡±¡£
Visual FoxPro 5.0a °üÀ¨ÏÂÁÐÐÂÌØÐÔ£º
· ÔöÇ¿µÄÏîÄ¿¼°Êý¾Ý¿â¹ÜÀí
· ÒѸÄÉƵĵ÷ÊÔ¹¤¾ß
· ¸ü¼ò±ãµÄ±íÉè¼ÆÒÔ¼°À©Õ¹µÄÊý¾Ý×Öµä
· ÔöÇ¿µÄ²éѯ¼°ÊÓͼÉè¼Æ
· Ôö¼ÓµÄ±íµ¥¹¦ÄÜÒÔ¼°¸ü¼ò±ãµÄÉè¼Æ
· ¸ü¶à¸üºÃµÄÏòµ¼
· OLE Óë ActiveX ¸üÇ¿µÄ¼¯³É
· ʹÓÃÓÎÀëÊÓͼÔöÇ¿Á¬½ÓÄÜÁ¦
· Ó¦ÓóÌÐò×é¼þµÄʵÀý
ÔöÇ¿µÄÏîÄ¿¼°Êý¾Ý¿â¹ÜÀí
Ôڸð汾ÖУ¬Äú¿ÉÒÔ¶ÔÏîÄ¿¼°Êý¾ÝÓиüÇ¿µÄ¿ØÖÆ¡£ÄúÄܹ»Ê¹ÓÃÔ´´úÂë¹ÜÀí²úÆ·£¨±ÈÈç Microsoft Visual
SourceSafe£©£¬Í¬Ê±ÔÚ¡°ÏîÄ¿¹ÜÀíÆ÷¡±Öп´µ½×é¼þµÄ״̬¡£Êý¾Ý¿âÈÝÆ÷ÔÊÐí¼¸¸öÓû§ÔÚͬһ¸öÊý¾Ý¿âÖÐͬʱ´´½¨»òÐ޸ĶÔÏó¡£°´ÐèˢеÄÌØÐÔÔÊÐíÄú¸üÐÂÊý¾Ý¿â»òÊÓͼ¡£¡°Êý¾Ý¿âÉè¼ÆÆ÷¡±¾ßÓвéÕÒ¼°ÖØÅŵÄÌØÐÔ£¬ÔÊÐíÄúѸËÙ¸ü¸ÄÊý¾Ý¿âÖжÔÏóµÄÊÓͼ¡£Äú¿ÉÒÔʹÓüüÅÌ·ÃÎÊ¡°ÏîÄ¿¹ÜÀíÆ÷¡±¼°
¡°ÏîÄ¿¹ÜÀíÆ÷¡±ÖеÄͼ±ê£¬¡°Êý¾Ý¿âÉè¼ÆÆ÷¡±Ò²ÄÜ°ïÖúÄúѸËÙÇø·Ö¶ÔÏó¡£
ÏÖÔÚ£¬¶ÔÓں͹æÔòÏà³åÍ»µÄÖµ£¬Êý¾Ý¿âÒýÇæÖ§³Ö¶ÔËüÃǵĸü¸Ä¡£±£ÊØʽ»º³å¿ÉÒÔ¸üÓÐЧµØ´¦Àí¼Ç¼µÄËø¶¨¡£NULL ÏÖÔÚÒѾÊÇÒ»¸ö¿É±êʶµÄ¹Ø¼ü×Ö£¬¿ÉÒÔ´úÌæ¡°.NULL.¡±Ê¹Óá£
ÒѸÄÉƵĵ÷ÊÔ¹¤¾ß
ÔÚ Visual FoxPro µÄÕâ¸ö°æ±¾ÖУ¬¿ÉÒÔ¸ü¼ò±ãµØµ÷ÊÔ¼°¼à¿ØÄúµÄÓ¦ÓóÌÐò×é¼þ¡£ÓÐЩѡÏî¿ÉÔÚ Visual FoxPro
Ö÷´°¿ÚÖдò¿ªµ÷ÊÔ¹¤¾ß£¬Í¬Ê±Äú¿ÉÒÔÑ¡Ôñ£¬ÕâЩµ÷ÊÔ¹¤¾ßÊÇÓëÄúµÄÓ¦ÓóÌÐò½çÃæÒ»ÆðÏÔʾ»¹ÊÇ·Ö¿ªÏÔʾ£¨ÕâÑùËûÃÇ¿ÉÒÔ²»¸ÉÉæÓ¦ÓóÌÐòµÄ¹¤×÷¿Õ¼ä£©¡£Ðµĵ÷ÊÔÆ÷ÌṩÁËÉèÖÃжϵ㡢¸ú×ÙʼþÒÔ¼°¼Ç¼ִÐдúÂëµÄ¹¤¾ß£¬¿´ÆðÀ´Óë Visual C
µÄµ÷ÊÔ»·¾³ºÜÏàËÆ¡£ÔÚ¡°¼àÊÓ¡±´°¿ÚÒÔ¼°¡°¾Ö²¿¡±´°¿ÚÖУ¬Äú¿ÉÒÔÉîÈë³ÌÐò£¬²é¿´ÊôÐÔÉèÖÃÖµ¡¢¶ÔÏóÒÔ¼°Êý×éÔªËصÄÖµ¡£ÒªÏë²é¿´Ò»¸ö±äÁ¿µÄµ±Ç°Öµ£¬ÔÚ¡°¸ú×Ù¡±´°¿ÚÖУ¬Ö»Ðè°Ñ¹â±ê·ÅÖÃÔÚ±äÁ¿ÃûÉϼ´¿É¡£¡°Êä³ö¡±´°¿ÚΪÏÔʾ½»»¥µÄ£¨»ò´úÂëÖУ©ÐÅÏ¢ÐèÇóÌṩÁË·½±ãµÄ;¾¶£¬Í¬Ê±Ëü¿ÉÒÔ°Ñ
½á¹ûµ¼ÏòÓ¦ÓóÌÐò´°¿ÚÖ®ÍâµÄÒ»¸ö´°¿Ú¡£
¸ü¼ò±ãµÄ±íÉè¼ÆÒÔ¼°À©Õ¹µÄÊý¾Ý×Öµä
ÔÚ¡°±íÉè¼ÆÆ÷¡±µÄÕâ¸ö°æ±¾ÖУ¬Äú¿ÉÒÔÔÚ´´½¨×Ö¶Îʱ·½±ãµØÌí¼ÓË÷Òý£¬ÄúÒ²¿ÉÒÔÖ¸¶¨¸ü¶àµÄĬÈÏÖµ£¬ËüÃÇ¿Éʹ±íµÄÉè¼ÆѸËÙ¶ø¼ò±ã¡£ÔÚÄú¶¨Òå×ֶεÄͬʱ¾Í¿ÉÒÔ½¨Á¢Ò»¸öÆÕͨË÷Òý¡£Í¨¹ý¡°±í¡±Ñ¡Ï£¬Äú¿ÉÒÔÖ±½Ó·ÃÎÊ±í¼¶µÄÓÐЧÐÔ¹æÔò¡¢´¥·¢Æ÷ÒÔ¼°Í³¼ÆÖµ¡£ÐµÄȱʡÀ༰¿âÊôÐÔÔÊÐí°ÑÒ»¸ö
×Ö¶ÎÖ¸¶¨ÎªÄ³¸ö¿Ø¼þÀàÐÍ£ºµ±°Ñ¸Ã×Ö¶ÎÌí¼Óµ½±íµ¥ÉÏʱ£¬Äúͨ¹ý¼òµ¥µÄ²Ù×÷±ã´´½¨ÁËËùÐèµÄ¿Ø¼þ¡£ÁíÍ⣬
InputMask ¼° Format ÊôÐÔ¿ÉÒÔ°ïÄú¿ØÖÆÊý¾ÝµÄÏÔʾ¡£
еġ°Á¬½ÓÉè¼ÆÆ÷¡±¿ÉÒÔƽ»¬µØÓë ODBC ¹ÜÀíÆ÷Ò»Æð¹¤×÷£¬Ê¹´´½¨Á¬½Ó¸ü¼Ó¼ò±ã¡£¸ÃÉè¼ÆÆ÷Ò²ÌṩÁË¿ÉÒÔÓÅ»¯Á¬½ÓµÄ¸½¼ÓÊôÐÔ¡£
ÔöÇ¿µÄ²éѯ¼°ÊÓͼÉè¼Æ
ÏÖÔÚÄú¿ÉÒÔ´´½¨ÍⲿÁª½Ó£¬ÎªÁÐÖ¸¶¨±ðÃû£¬Ñ¡Ôñ×îÉÏÃ漸Ìõ»ò°Ù·ÖÖ®¼¸µÄ¼Ç¼£¬ËùÓÐÕâЩ¹¦Äܶ¼ÔÚ¡°²éѯÉè¼ÆÆ÷¡±¼°¡°ÊÓͼÉè¼ÆÆ÷¡±ÖС£²¢ÇÒ£¬Ê¹Óá°ÊÓͼÉè¼ÆÆ÷¡±£¬Äú¿ÉÒÔΪÊÓͼ×Ö¶ÎÖ¸¶¨À©Õ¹ÊôÐÔ£¬ÕâºÍ±í×ֶεÄÖ¸¶¨Ïàͬ¡£ÀýÈ磬Äú¿ÉÒÔÖ¸¶¨Ò»¸öĬÈϿؼþÀà¡¢ÊäÈëÑÚÂë»ò¸ñʽ¡£
Èç¹û°Ñ¼Ç¼ѡÔñ½øÒ»¸öÁÙʱ±í£¬Äú¿ÉÒÔʹÓÃÐ嵀 NOFILTER ¹Ø¼ü×Ö´´½¨Ò»¸öÎïÀíÎļþ£¬ÔÚºóÐø²éѯÖУ¬Äú¿ÉÒÔÒýÓÃÕâ¸öÎļþ¡£¶øÔÚÒÔÇ°£¬Èç¹û²éѯÓÐÒ»¸ö¹ýÂËÆ÷£¬ÁÙʱ±í¾Í²»Äܱ»ÒýÓá£
Ôö¼ÓµÄ±íµ¥¹¦ÄÜÒÔ¼°¸ü¼ò±ãµÄÉè¼Æ
Êý¾Ý×ÖµäµÄÔöÇ¿ÓÐÖúÓÚ±íµ¥µÄÉè¼Æ£¬¡°±íµ¥Éè¼ÆÆ÷¡±±¾ÉíÒ²¸üÒ×ʹÓò¢ÇÒÌṩÁ˸ü¶àµÄ¹¦ÄÜ¡£¡°±íµ¥Éè¼ÆÆ÷¡±Ö§³Öµ¥Îĵµ½çÃæ (SDI) ÒÔ¼°¶àÎĵµ½çÃæ (MDI) µÄÑ¡ÏÒò´ËÄúµÄÓ¦ÓóÌÐò¿ÉÒÔ¾ßÓÐÄú×îÏ£ÍûµÄ¹¦ÄÜ¡£Ê¹Óà SDI£¬Äú¿ÉÒÔ´´½¨Ó¦ÓóÌÐò´°¿Ú£¬ËüÃÇÊÇ Windows
×ÀÃæµÄ×Ó´°¿Ú¡£Ðµġ°¿ì½Ý²Ëµ¥Éè¼ÆÆ÷¡±¿ÉÒÔ°ïÖúÄú´´½¨¿ì½Ý²Ëµ¥£¬ÔڿؼþÐÂÌíµÄ RightClick ʼþÖУ¬¿ÉÒÔʹÓÃÕâЩ¿ì½Ý²Ëµ¥¡£±íµ¥ºÍ¿Ø¼þÓÖÓÐÁËһЩ¸½¼ÓµÄÊôÐԺͷ½·¨³ÌÐò£¬¿ÉÒÔ°ïÖúÄú¿ØÖÆ±íµ¥Ã¿Ò»²¿·ÖµÄ¸Ð¾õ¼°Íâ¹Û¡£
ÔÚ¡°ÊôÐÔ¡±´°¿ÚÖУ¬Äú¿ÉÒÔÑ¡ÔñÒ»×é¿Ø¼þ£¬²é¿´»ò¸ü¸ÄËüÃǹ²Í¬µÄÊôÐÔ¡£Èç¹ûÄúÐèÒª¸ü¶àµÄ¿Õ¼äÀ´²é¿´»ò¸üÐÂÊôÐÔÉèÖÃÖµ£¬¿ÉÒÔʹÓá°ÊôÐÔËõ·Å¡±ÌØÐÔ¡£Ê¹Óá°¶ÔÆ롱¹¤¾ß£¬Ë®Æ½¡¢´¹Ö±¾ÓÖÐÒÔ¼°ÆäËû·ÅÖ÷½Ê½Ò²Ò×ÓÚʵÏÖ¡£ÔÚ¡°ÊôÐÔ¡±´°¿ÚÖУ¬¿ÉÒÔʹÓüüÅ̶¨Î»£ºCTRL ¼üÓë PAGE
UP¡¢PAGE DOWN¡¢
HOME »ò END ¼üÒ»ÆëʹÓ㬱ã¿ÉÔÚ¶ÔÏóÖ®¼äÒƶ¯¡£Èç¹ûÐèÒª¸ü¸ÄÔËÐÐÖÐ±íµ¥µÄijЩ¶«Î÷£¬¹¤¾ßÀ¸Éϵġ°ÐÞ¸Ä±íµ¥¡±°´Å¥¿ÉʹÄúÔÙ´ÎѸËÙÇл»µ½Éè¼Æģʽ¡£
ÓÉÓÚ³ÌÐò±àдµÄ¹æ·¶»¯¡¢ÓòÊÉ«ÏÔʾ´úÂëµÄÑ¡ÏîÒÔ¼°ÔöÇ¿µÄ²éÕÒ¼°Ìæ»»ÌØÐÔ£¬Ðµıà¼Æ÷ʹ±àд´úÂë¸üΪ¼ò±ã¡£¿ì½Ý²Ëµ¥¼°¼üÅÌ·ÃÎʵÄÌØÐÔÔÚÕû¸ö²úÆ·ÖпÉÓã»Ê¹ÓÃÊó±êÓÒ°´Å¥¿ÉÒÔ·¢ÏÖÈÎÒâ¸ø¶¨ÔªËØ¿ÉÄܵĶ¯×÷¡£
¸ü¶à¸üºÃµÄÏòµ¼
Á½¸öеÄÏòµ¼¿ÉÒÔ°ïÄú´´½¨Ó¦ÓóÌÐò£º
· ¡°Ó¦ÓóÌÐòÏòµ¼¡±¿ÉΪÄúµÄÏîÄ¿´´½¨Ò»¸ö¿ò¼Ü¡£Èç¹ûÄúϲ»¶£¬Ëü»¹¿ÉÒÔÌí¼ÓÓ¦ÓóÌÐò×é¼þ£¬²¢Á¢¼´±àÒëÒ»¸öÓ¦ÓóÌÐò¡£
· ¡°Oracle ÉýǨÏòµ¼¡±¿ÉÒÔÊ×ÏÈÔÚ Visual FoxPro Öд´½¨Ó¦ÓóÌÐò£¬È»ºó½«ËüµÄ²¿·Ö»òÈ«²¿£¨°üÀ¨Êý¾Ý¿â¡¢±íºÍÊÓͼ£©ÒƵ½Ò»¸ö Oracle ·þÎñÆ÷ÉÏ£¬´Ó¶ø´´½¨Ò»¸ö¿Í»§/·þÎñÆ÷Ó¦ÓóÌÐò¡£
ÆäËûÏòµ¼¼°Ê¾ÀýµÄ¸üиøÄúÒÔ¸ü¶àµÄÄÜÁ¦£¬±ÈÈç·ÃÎÊÅÅÐòËùÓõÄË÷Òý±êʶ¡£¡°±íµ¥Éè¼ÆÆ÷¡±ÔÊÐíÄúÌí¼ÓÒ»¸öÒ³¿ò£¬´Ó¶ø¿ÉÒÔÔÚ¸½¼ÓÒ³ÃæÉÏÏÔʾ¸ü¶àµÄ×ֶΡ£ÏÖÔÚ¡°Êý¾Ý͸ÊÓ±íÏòµ¼¡±ºÍ¡°ÓʼþºÏ²¢Ïòµ¼¡±¿ÉÒÔʹÓÃÐ嵀 Visual FoxPro ¿ª·ÅʽÊý¾Ý¿âÁ¬½Ó£¨ODBC
Çý¶¯³ÌÐò£©¡£¡°ÉýǨÏòµ¼¡±Ö§³ÖÉùÃ÷µÄ²ÎÕÕÍêÕûÐÔ¡£¡°½»²æ±íÏòµ¼¡±ºÍ¡°Í¼ÐÎÏòµ¼¡±Ö§³Ö NULL ÖµµÄÏÔʾºÍÒþ²Ø¡£ÁíÍ⣬¡°WWW ËÑË÷Ò³Ïòµ¼¡±×÷Ϊ¹¤¾ß£¬¿ÉÒÔ´´½¨ÓÃÓÚ²éѯºÍÏÔʾÊý¾Ý¿â¼Ç¼µÄ Web Ò³¡£
OLE Óë ActiveX ¸üÇ¿µÄ¼¯³É
Visual FoxPro ÏÖÔÚÊÇÒ»¸ö OLE ·þÎñ³ÌÐò£¬Òò´ËÆäËûÓ¦ÓóÌÐò¿ÉÒÔʹÓà Visual FoxPro¡£ÐµÄÈÝÆ÷¹Øϵ£¨Ò²¾ÍÊÇ ISimpleFrame£©ºÍÊý¾Ý°ó¶¨ÄÜÁ¦¿ÉÖ§³Ö¸ü¶àÀàÐ굀 ActiveX ¿Ø¼þ¡£ Visual FoxPro »¹¿ÉʹÄú´´½¨×Ô¼ºµÄ OLE ·þÎñ³ÌÐò£¨×÷Ϊ EXE ºÍÄÚ²¿¹ý³Ì DLL
Îļþ£©£¬²¢¿É½«Ëü·ÅÔÚ±¾µØ»òÔ¶³Ì·þÎñÆ÷ÉÏ¡£
ʹÓÃÓÎÀëÊÓͼÔöÇ¿Á¬½ÓÄÜÁ¦
ÓÐʱ£¬¿ÉÄÜÒª¾³£ÏÔʾ¡¢ÊÕ¼¯»òÐÞ¸ÄÓëÖ÷Êý¾Ý¿â¶ÀÁ¢µÄÊý¾Ý¡£Í¨¹ýÔÚ Visual FoxPro Öд´½¨ÓÎÀëÊÓͼ£¬Äú¾Í¿ÉÒÔʹÓúÍÖ÷Êý¾Ý¿âÁª½ÓµÄÊÓͼ£¬²¢ÎªÍÑ»úʹÓô´½¨Ò»¸öÊý¾Ý×Ó¼¯¡£
Èç¹ûÒªÍÑ»ú¹¤×÷£¬¿ÉÒÔÖ±½ÓʹÓøÃÊÓͼ£¬»ò´´½¨Ò»¸öÓ¦ÓóÌÐòÀ´Íê³É¡£Íê³Éºó£¬¿É½«ÊÓͼÖеÄÐÞ¸ÄÉýǨµ½Ö÷Êý¾Ý¿âÖС£µ±ÉýǨÓÎÀëÊÓͼʱ£¬Visual FoxPro ¶ÔÓÎÀëÊÓͼºÍÔʼÊý¾Ý¼äµÄ¸Ä±ä½øÐÐе÷¹ÜÀí¡£
Ó¦ÓóÌÐò×é¼þµÄʵÀý
еġ°Solution¡±Ê¾ÀýÊÕ¼¯ÁËһϵÁÐÓ¦ÓóÌÐò×é¼þ£¬ÏÔʾÁËÈçºÎÀûÓà Visual FoxPro µÄÌØÐÔ½â¾öʵ¼ÊÎÊÌâ¡£Äú¿ÉÒÔÔÚÓ¦ÓóÌÐòÖÐÖ±½ÓʹÓÃʾÀý×é¼þ¼°ËüÃǵĴúÂë¡£
ʹÓà Visual FoxPro
ÒÔÏÂÖ÷ÌâÊÇÎĵµÍê³ÉʱÉÐδ°üº¬ÔÚÄÚµÄÐÅÏ¢¡£µ¥»÷Ö÷ÌâÃû¿ÉÖ±½ÓÌøתµ½Ïà¹ØÄÚÈÝÖУ¬»ò°´ÈçÏÂ˳ÐòÏòϹö¶¯²é¿´ÄÚÈÝ£º
°²×°
±íµ¥ºÍ¿Ø¼þ
±¨±í¡¢ÊÓͼ¡¢²éѯ ºÍ SQL
¿ª·¢»·¾³
Ïòµ¼
Ààä¯ÀÀÆ÷
ActiveX ¿Ø¼þ
ת»»Æ÷
´Ó Visual FoxPro Öе¼³öÊý¾Ý
¹Ø±Õ´øÓÐÒ»¸ö¶ÀÁ¢¼Ç¼µÄÁÙʱ±í
Microsoft Web ä¯ÀÀÆ÷¿Ø¼þ
±í¸ñÖжÔÏóµÄÑÕÉ«ÊôÐԵļ̳Ð
°²×°
¸üРVisual FoxPro 3.0 µÄÅäÖÃÎļþ
Èç¹û½« Visual FoxPro 5.0a °æ°²×°µ½ÏÖ´æ Visual FoxPro 3.0 µÄĿ¼Ï£¬µ±´æÔÚÅäÖÃÎļþ (CONFIG.FPW) ʱ£¬Visual FoxPro еİ汾»á¶ÁÈ¡²¢Ê¹ÓÃËü¡£
Èç¹û³ÌÐòʹÓþɵÄÅäÖÃÎļþ£¬Äú¿ÉÄÜÏ£Íû¶ÔËü½øÐиüУ»ÔÚ Visual FoxPro 5.0a °æÖУ¬²»ÔÙÐèÒª´ÓÅäÖÃÎļþÖе÷ÓÃÆô¶¯³ÌÐò VFPSTART.PRG¡£´ò¿ª CONFIG.FPW Îļþ£¬²é¿´ÓëÒÔÏÂËùʾÃüÁîÏàËƵijÌÐòÐУº
command = DO HOME() + "vfpstart"
ÔÚ Visual FoxPro 3.0 °æÖУ¬Èç¹ûûÓж¨ÖÆ VFPSTART.PRG ³ÌÐò£¬Äú¿ÉÒÔ¼òµ¥µØ´Ó CONFIG.FPW ÎļþÖÐɾ³ý´ËÐС£Èç¹ûÏ£ÍûÔÚ VFPSTART.PRG Öб£ÁôËù×öµÄÐ޸ģ¬²¢ÇÒ Visual FoxPro 5.0a ÔÚÆô¶¯Ê±Òѵ÷ÓÃÁ˸óÌÐò£¬ÄÇôÄú¿ÉÒÔ½«¸ÃÐб£Áô¡£
Microsoft Graph VBA (Visual Basic for Applications) °ïÖú
°²×° Visual FoxPro ʱ£¬Äú½«Í¬Ê±°Ñ VBA_GRP.HLP °²×°ÔÚ MSAPPS\MSGRAPH Ŀ¼Ï¡£´Ë°ïÖúÎļþÊÇÒ»¸ö²Î¿¼Ïòµ¼£¬Ëü¶Ô Microsoft Graph ËùÌṩµÄ¡¢Ê¹Óá°Automation¡±´´½¨Ó¦ÓóÌÐòµÄ¶ÔÏó¡¢ÊôÐԺͷ½·¨³ÌÐò×öÁËÃèÊö¡£
±íµ¥ºÍ¿Ø¼þ
ÔËÐÐÃüÁîʱˢÐÂ±íµ¥ÏÔʾ
Èç¹ûÔËÐÐÁËij¸öÃüÁÌرðÊÇÓÃÓÚÊäÈë¡¢Êä³ö¼Ç¼µÄÃüÁÈ磬REINDEX£©£¬ÔòÃüÁîÖ´ÐÐʱ£¬Visual FoxPro ½«ÆäËûµÄ»î¶¯Ê¼þ×îС»¯£¬À´ÓÅ»¯Ö´ÐÐÃüÁî¡£ÊÜÓÅ»¯Ó°ÏìµÄÒ»¸ö·½ÃæÊÇÆÁÄ»ÏÔʾ¡£½á¹ûÊÇ£¬Äú¿ÉÒÔ¿´µ½ÔÚÃüÁîÍê³É֮ǰ£¬Visual FoxPro ²»Ë¢ÐÂÆÁÄ»¡£
ÀýÈçÓÐÒ»¸ö±íµ¥£¬¶ÔÓû§À´ËµÊÇÒ»¸öÆô¶¯ÖØË÷Òý½ø³ÌµÄ¶Ô»°¿ò¡£ÓÉÓÚÖØË÷Òý»á»¨Ò»¶¨µÄʱ¼ä£¬Äú¿ÉÄÜÏ£Íû·¢³öÒ»ÌõÐÅÏ¢£¬±ÈÈçÄÚÈÝΪ¡°Please wait while the table is reindexed.¡±¡£¡°ÖØË÷Òý¡±°´Å¥µÄ´úÂë¿ÉÒÔÊÇ£º
msg = "Please wait while the table is reindexed."
THISFORM.Label1.Caption = msg
REINDEX
µ±µ¥»÷°´Å¥Ê±£¬Äú»á¿´µ½Ö»Óе±ÖØË÷Òý½ø³ÌÍê³Éºó£¬²ÅÏÔʾ±êÇ©µÄ±êÌâ¡£
Èç¹û³öÏÖÕâÑùµÄÇé¿ö£¬Äú¿ÉÒÔ·¢²¼Ò»Ìõ WAIT ÃüÁÑÓ³ÙÖ´ÐÐÓÅÏÈÃüÁÕâÑù¾Í¿ÉÒÔʹ Visual FoxPro
ÓÐʱ¼äË¢ÐÂÆÁÄ»¡£Èç¹ûÊäÈëÁÙʱ±í³öÏÖÔÚ´íÎóµÄλÖ㬿ÉÒÔµ÷Óà _SCREEN ¶ÔÏóµÄ Show ·½·¨³ÌÐòÀ´½«ËüÒÆ×ß¡£ÏÂÃæ½éÉÜÈçºÎʹÓà WAIT ÃüÁ²»³öÏÖ´°¿Ú£©½« REINDEX ÃüÁîÑÓ³Ù 0.1 ÃëÖ´ÐУº
Msg = "Please wait while the table is reindexed."
THISFORM.Label1.Caption = msg
_SCREEN.Show
WAIT "" TIMEOUT .1
REINDEX
Çå³ýÓà @ ... SAY ÃüÁîÏÔʾµÄÎı¾
Èç¹ûÓà @ ... SAY ÃüÁîÔÚ±íµ¥ÖÐÏÔʾÐÅÏ¢£¬Äú»á·¢ÏÖ²»ÄÜÓà CLEAR ÃüÁîÇå³ý±íµ¥¡£ÀýÈ磬ÃûΪ, “
Show Date” °´Å¥µÄ ”Click” ·½·¨³ÌÐò¿ÉΪ£º
@ 10,20 SAY datetime()
Ôò “Show Date” °´Å¥µÄ ”Click” ·½·¨³ÌÐòÊÇ£º
CLEAR
THIS.Parent.Setall("VISIBLE", .T.)
THISFORM.Refresh
È»¶ø£¬ÊÂʵÉÏ´Ë·½·¨³ÌÐò´úÂë²¢²»ÄÜÇå³ýÆÁÄ»¡£Äú±ØÐëÔÚË¢ÐÂÆÁĻǰËø¶¨ÆÁÄ»£¬ÊºóÔÙ½â³ýËø¶¨¡£Òò´Ë£¬ÍêÕûµÄ·½·¨³ÌÐò´úÂë¿ÉΪÈçÏÂÄÚÈÝ£º
CLEAR
THISFORM.LockScreen = .T.
THIS.Parent.Setall("VISIBLE", .T.)
THISFORM.LockScreen = .F.
´´½¨ÓÐģʽµÄºÍÎÞģʽµÄ SDI ºÍ MDI ±íµ¥
ÈôÒª´´½¨ÓÐģʽµÄ»òÎÞģʽµÄ SDI ºÍ MDI ±íµ¥£¬±ØÐëÉèÖÃÈý¸öÊôÐÔ£¬¶øÎĵµÖÐÖ»ÌÖÂÛÁËÁ½¸ö¡£
ϱí¶Ô²»Í¬ÀàÐÍ±íµ¥£¨×÷Ϊ MDI ºÍ SDI ´°¿ÚµÄÓÐģʽºÍÎÞģʽ±íµ¥£©ÊôÐԵĸ÷ÖÖ×éºÏÉèÖýøÐÐÁË˵Ã÷¡£ÔÚ±íÖУ¬¡°´«Í³ÐÍ¡±Ö¸µÄÊÇÀàËÆ Visual FoxPro 3.0 ´´½¨µÄÓ¦ÓóÌÐò£¬¶øÕâЩ³ÌÐòÖУ¬ Visual FoxPro Ö÷´°¿ÚÒ»°ã×÷Ϊ×ÀÃæ¡£ÔÚ MDI
Ó¦ÓóÌÐòÖУ¬±íµ¥×÷ΪÃû×ÖΪ¡°WindMain¡±±íµ¥µÄ×Ó´°¿Ú£¬¡°
WindMain¡±±íµ¥×÷Ϊ×ÀÃæ¡£SDI Ó¦ÓóÌÐò¾ßÓи¡¶¯µÄ±íµ¥¡£
´´½¨ SDI ºÍ MDI µÄÊôÐÔÉèÖÃ
Ó¦ÓóÌÐòÀàÐÍ ÓÐģʽ±íµ¥ ÎÞģʽ±íµ¥ ×ÀÃæ
´«Í³ÐÍ ShowWindow = 0
Desktop = .F.
WindowType = 1 ShowWindow = 0
Desktop = .F.
WindowType = 0 _SCREEN.Visible = .T.
(_SCREEN ×÷Ϊ×ÀÃæ)
MDI ShowWindow = 1
Desktop = .F.
WindowType = 1 ShowWindow = 1
Desktop = .F.
WindowType = 0
_SCREEN.Visible = .F.
WindMain.ShowWindow = 2
WindMain.WindowType = 0
(×Ô¶¨Òå±íµ¥£¬¡°WindMain¡±×÷Ϊ×ÀÃæ¡£)
SDI ShowWindow = 1
DeskTop = .T.
WindowType = 1 ShowWindow = 2
WindowType = 0 _SCREEN.Visible = .F.
(ÎÞ×ÀÃæ±íµ¥£»Windows ×ÀÃæ¾ÍÊÇÓ¦ÓóÌÐòµÄ×ÀÃæ¡£)
ÀýÈ磬ÔÚ SDI Ó¦ÓóÌÐòÖÐÓÐÒ»¸öÓÐģʽ±íµ¥£¬¿É°´ÈçÏ·½Ê½ÉèÖÃÊôÐÔ£º
WindowType = 1 (ÓÐģʽ)
ShowWindow = 1 (¶¥²ã±íµ¥)
Desktop = .T.
³ýÁËÇ°Ãæ±íÖÐÁгöµÄÊôÐÔÍ⣬»¹¿ÉÒÔÉèÖà MDIForm ÊôÐÔ£¬Ö¸¶¨×Ó±íµ¥×î´ó»¯Ê±£¬¸¸´°¿ÚÊÇ·ñ¹²ÏíÆä±êÌâÀ¸ºÍ¹¤¾ßÀ¸¡£ÓйصÄÏêϸÄÚÈÝ£¬Çë²ÎÔı¾ÎÄÉԺ󲿷֡°¶ÔÎĵµµÄÐ޸ġ±Öеġ°MDIForm ÊôÐÔ¡±¡£
´´½¨²»´øÓбêÌâÀ¸µÄ¶¥²ã±íµ¥ÊµÀý
ÈôÒª´´½¨Ò»¸ö²»´ø±êÌâÀ¸µÄ±íµ¥£¬Èç¹û°ÑËüµ±×÷±íµ¥ÀàµÄʵÀýÀ´´´½¨£¬¿ÉÄÜ»áÓÐÒ»¶¨À§ÄÑ¡£Í¨³££¬Í¨¹ýÈçÏÂÉèÖÿɴ´½¨Ò»¸ö²»´ø±êÌâµÄ¶¥²ã±íµ¥£º
· ½« ShowWindow ÊôÐÔÉèÖÃΪ 2 £¨×÷Ϊ¶¥²ã±íµ¥£©
· ½« BorderStyle ÊôÐÔÉèÖÃΪ 2 £¨¹Ì¶¨¶Ô»°¿ò£©
· ½« Caption ÊôÐÔÉèÖÃΪ¿Õ×Ö·û´®¡£
· ½« MaxButton¡¢MinButton¡¢ControlBox ºÍ Movable ÊôÐÔÉèÖÃΪ¡°¼Ù¡±(.F.)¡£
ÀýÈ磬ÓÃÒÔÏ´úÂë²úÉúÒ»¸ö²»´øÓбêÌâÀ¸µÄ±íµ¥£º
PUBLIC myForm
myForm = CREATEOBJECT("blankForm")
myForm.Show
RETURN
DEFINE CLASS blankForm AS form
ShowWindow = 2
BorderStyle = 2
Caption = ""
ControlBox = .F.
MaxButton = .F.
MinButton = .F.
Movable = .F.
ENDDEFINE
È»¶ø£¬±íµ¥ÏÔʾʱ´øÓÐÒ»¸ö¿Õ±êÌâÀ¸¡£ÎªÁ˽â¾ö´ËÎÊÌ⣬²¢Éú³É²»´ø±êÌâÀ¸µÄ±íµ¥£¬Äú¿ÉÒÔÏȽ« Caption ÊôÐÔÉèÖÃΪһ¸ö×Ö·û´®Öµ£¬È»ºóÔÚ±íµ¥µÄ Init ·½·¨³ÌÐòÖн«ËüÖØÖÃΪ¿Õ×Ö·û´®¡£ÒÔÏ´úÂë¶ÔÇ°Àý×öÁËÐ޸ģ¬¿ÉÒÔÕýÈ·ÏÔʾ±íµ¥£º
PUBLIC myForm
myForm = CREATEOBJECT("blankForm")
myForm.Show
RETURN
DEFINE CLASS blankForm AS form
ShowWindow = 2
BorderStyle = 2
Caption = "Testing form"
ControlBox = .F.
MaxButton = .F.
MinButton = .F.
Movable = .F.
PROCEDURE Init
THIS.Caption = ""
ENDPROC
ENDDEFINE
ÔÚ±í¸ñÖÐʹÓà ActiveRow ÊôÐÔ
»ñÈ¡±í¸ñ ActiveRow ÊôÐÔÖµËùÐèÒªµÄʱ¼äÒòÇëÇóλÖõIJ»Í¬¶ø²»Í¬¡£Èç¹û´Ó±í¸ñÄÚ²¿£¨
THIS.ActiveRow£©»ñÈ¡ÊôÐÔÖµ£¬»ñÈ¡ÊôÐÔÖµËùÐèÒªµÄʱ¼äÊÇÓɱí¸ñÖлÐеÄλÖþö¶¨µÄ¡£»î¶¯ÐоàÀë±í¸ñ¶¥²¿Ô½½ü£¬ËùÐèµÄʱ¼äÔ½ÉÙ¡£È»¶ø£¬Èç¹ûÒª´Ó±í¸ñÍâ»ñÈ¡ÊôÐÔÖµ£¨ÀýÈ磬´ÓÃüÁî°´Å¥»ñÈ¡ THISFORM.Grid1.ActiveRow
ÊôÐÔÖµ£©£¬»ñÈ¡ÊôÐÔÖµËùÐèʱ¼äÒ»°ãÊÇÏàͬµÄ£¬µÈÓڻÐÐÔÚ±í¸ñÍ·²¿Ê±»ñÈ¡ÊôÐÔÖµËùÐèµÄʱ¼ä¡£
´´½¨°üº¬±íµ¥µÄ×Ô¶¨Òå¶ÔÏó
Visual FoxPro ²»ÔÊÐí´´½¨ÕâÑùµÄ±íµ¥£¬Ëü°üº¬Ò»¸öǶÌ׵ģ¬°üº¬ÓÐÁíÒ»¸ö±íµ¥µÄ¶ÔÏó¡£Èç¹ûÄúÊÔͼÓÃÕâÑùµÄ·½·¨°ÑÒ»¸ö±íµ¥¶ÔÏóÌí¼Óµ½ÁíÒ»¸ö±íµ¥ÖÐÈ¥£¬Visual FoxPro »á±¨¸æÓ¦ÓóÌÐò³ö´í¡£
±¨±í¡¢ÊÓͼ¡¢²éѯºÍ SQL
¡°±¨±íÉè¼ÆÆ÷¡±Í¼Æ¬¿Ø¼þÖеÄͼ±ê
µ±ÄúÔÚ¡°±¨±íÉè¼ÆÆ÷¡±Öд´½¨Í¼Æ¬¿Ø¼þʱ£¬Í¼±êÎļþ£¨.ICO£©²»ÔÙ×÷Ϊ¡°´ò¿ª¡±¶Ô»°¿òÖÐÑ¡ÔñÎļþµÄĬÈÏÑ¡Ïͨ¹ýÖ¸¶¨ .ICO ÎļþµÄÍêÕûÎļþÃû£¬ÄúÈÔÈ»¿ÉÒÔ°üº¬Í¼±ê¡£Í¼±ê½«ÔÚÔ¤ÀÀʱ³öÏÖÔÚ±¨±íÖУ¬µ«²»»á´òÓ¡¡£
ÔÚ¡°ÊÓͼÉè¼ÆÆ÷¡±Öд´½¨´øÓдóÁ¿ SQL Óï¾äµÄÊÓͼ
Èç¹û´´½¨»ùÓÚ´óÁ¿¡¢¸´Ô SQL Óï¾äµÄÊÓͼ£¨Èç´óÁ¿µÄ Group By »ò Order By ×ֶΣ©£¬¡°ÊÓͼÉè¼ÆÆ÷¡±½«±¨¸æ³ö´í¡£Èç¹û³öÏÖÕâÑùµÄÇé¿ö£¬¿ÉÉè·¨¼ò»¯ÊÓͼµÄ¶¨Ò壬»ò½«Ò»¸öÊÓͼ·Ö³É¼¸¸öÊÓͼ¡£
Óá°ÊÓͼÉè¼ÆÆ÷¡±ÔÚÔ¶³ÌÊÓͼÖÐÑ¡Ôñ×é
Èç¹ûÄúÓá°ÊÓͼÉè¼ÆÆ÷¡±´´½¨Ô¶³ÌÊÓͼ£¬ÔÚ¸ÃÊÓͼÖнøÐÐÊý¾Ý·Ö×é²¢°üº¬ HAVING ×Ӿ䣬Ôò¿ÉÄÜ»á³öÏÖÎÊÌâ¡£ÓÈÆäÊÇ£¬µ±°´ÒÔϲ½Öè´´½¨Ô¶³ÌÊÓͼ£¬¿ÉÄÜ»á³öÏÖÎÊÌ⣺
1. Óá°ÊÓͼÉè¼ÆÆ÷¡±´´½¨Ô¶³ÌÊÓͼ¡£
2. ÔÚ¡°·Ö×éÒÀ¾Ý¡±Ñ¡ÏÖÐÖ¸¶¨×é¡£
3. Ñ¡¶¨¡°Âú×ãÌõ¼þ¡±£¬´´½¨Ò»¸ö HAVING ×Ӿ䡣
4. ÔÚ¡°Âú×ãÌõ¼þ¡±¶Ô»°¿òÖУ¬Ñ¡Ôñ´øÓС°·ñ¡±µÄÒÔÏÂÈκÎÒ»¸ö²Ù×÷·û£º£½¡¢Like¡¢Is NULL¡¢Between
ºÍ In¡£
5. ±£´æÊÓͼ£¬²¢¹Ø±Õ¡°ÊÓͼÉè¼ÆÆ÷¡±¡£
6. ÖØдò¿ª¡°ÊÓͼÉè¼ÆÆ÷¡±ÐÞ¸ÄÊÓͼ¡£
µ±µÚÒ»´Î´´½¨´ËÊÓͼʱ£¬Ëü¿ÉÕýÈ·Ö´ÐС£µ«ÊÇ£¬µ±Ôٴδò¿ªÊÓͼ½øÐÐÐÞ¸Äʱ£¬Äú»á¿´µ½Ô¶³ÌÊý¾ÝÔ´ÏÔʾһ¸öÓï·¨´íÎóÐÅÏ¢¡£Èç¹ûÕâÑù£¬ÎªÁ˽â¾öÕâ¸öÎÊÌ⣬Äú¿ÉÒÔÑ¡Ôñ¡°·Ö×éÒÀ¾Ý¡±Ñ¡Ï£¬È»ºóÑ¡Ôñ¡°Âú×ãÌõ¼þ¡±´ò¿ª¡°Âú×ãÌõ¼þ¡±¶Ô»°¿ò¡£ÔÙÑ¡Ôñ¡°È·¶¨¡±¹Ø±Õ¡°Âú×ãÌõ¼þ¡±¶Ô»°¿ò£¬¾Í¿ÉÒÔ
¼ÌÐøÆäËûÐÞ¸ÄÁË¡£
Óà SQL Sever ´´½¨Ô¶³ÌÊÓͼµÄÍⲿÁª½Ó
Èç¹ûʹÓà 6.5 °æµÄ SQL Server ODBC Çý¶¯³ÌÐò£¬µ±´´½¨Ò»¸öʹÓÃÍⲿÁª½ÓÀ´°üº¬·þÎñÆ÷ÉϱíµÄÊÓͼʱ£¬Äú¿ÉÄÜ»áÅöµ½ÎÊÌâ¡££¨Èç¹ûʹÓà 6.0 °æµÄ SQL Server ODBC Çý¶¯³ÌÐò£¬»òÕßÈç¹ûʹÓÃÁíÒ»¸öÊý¾ÝÔ´£¬¶¼²»»áÓдËÎÊÌâ¡££©
Èç¹ûÓñíµÄ±ðÃûÀ´¶¨ÒåÁª½Ó£¬»òÕßÈç¹ûÓá°Ô¶³ÌÊÓͼÉè¼ÆÆ÷¡±À´¶¨ÒåÁª½Ó£¬SQL Server ODBC Çý¶¯³ÌÐò½«²»½ÓÊÜ SQL Óï¾ä¡£ÀýÈ磬ÒÔÏ SQL Óï¾ä¾¡¹ÜÕýÈ·£¬µ«½ô½Ó×ÅÖ´ÐÐ USE ÃüÁîʱ»á²úÉú´íÎó£º
CREATE VIEW aView CONN aConn AS;
SELECT *;
FROM {oj authors A LEFT OUTER JOIN titleauthor T;
ON A.au_id = T.au_id}
USE aView
ÓÐÁ½ÖÖ·½·¨¿É´¦Àí´ËÎÊÌâ¡£µÚÒ»ÖÖÊÇÔÚÊÓͼ¶¨ÒåÖбÜÃâʹÓñíµÄ±ðÃû¡£ÀýÈ磬ÓÃÒÔÏÂÓï¾ä¿É»ñµÃÓëÉÏÀýÏàͬµÄ½á¹û£º
CREATE VIEW aView CONN aConn AS;
SELECT *;
FROM {oj authors LEFT OUTER JOIN titleauthor;
ON authors.au_id = titleauthor.au_id}
USE aView
ÁíÒ»ÖÖ·½·¨ÊÇ£¬Äú¿ÉÒÔÓà SQL Server ±¾ÉíµÄÓï·¨À´´´½¨ÍⲿÁ¬½ÓÓï¾ä£¨*= Ϊ×óÍⲿÁ¬½Ó£¬=* ΪÓÒÍⲿÁ¬½Ó£©¡£ÀýÈ磬ÒÔÏÂÓï¾äÊÇʹÓà SQL Server ±¾ÉíÓï·¨½øÐÐ×ÔÁ¬½ÓµÄÒ»¸öÀý×Ó£º
CREATE VIEW aView CONN aConn AS;
SELECT *;
FROM Employee A, Employee B;
WHERE A.Emp_ID *= B.Supv_ID
USE aView
¡°Ô¶³ÌÊÓͼÉè¼ÆÆ÷¡±ÓñíµÄ±ðÃû´´½¨ SQL Óï¾ä¡£Òò´Ë£¬ÕâЩ½â¾ö°ì·¨²»ÄÜÓÉ¡°Ô¶³ÌÊÓͼÉè¼ÆÆ÷¡±À´Íê³É¡£
¿ª·¢»·¾³
¡°µ÷ÊÔÆ÷¡±´°¿ÚÖÐÖµµÄ¸üÐÂ
Èç¹ûʹÓà SET TRBETWEEN OFF ÃüÁͨ³£Ö»ÓÐÔÚ Visual FoxPro
´¦Óڵȴý״̬ʱ£¬µ÷ÊÔ³ÌÐò²Å¸üÐÂÆä´°¿Ú£¨¡°¸ú×Ù¡±´°¿Ú£¬¡°¼àÊÓ¡±´°¿Ú£¬¡°¾Ö²¿¡±´°¿ÚµÈ£©ÖеÄÖµ¡£È»¶ø£¬ÔÚÓÐЩÇé¿öÏ£¬µ÷ÊÔ³ÌÐòÒ²»á¸üд°¿ÚÖеÄÖµ¡£ÀýÈ磬µ±µ÷ÊÔ³ÌÐòÖØÐÂÏÔʾ´°¿Úʱ£¬Èç¹û´°¿ÚÔø±»ÆäËûµÄ³ÌÐò´°¿ÚÔÝʱ¸²¸Ç¹ý£¬¾Í¿ÉÄÜ·¢ÉúÕâÑùµÄÇé¿ö¡£Õâ¿ÉÄܻᵼÖÂÎÞ·¨Ô¤¼ÆºÎʱ
ÐÂÖµ³öÏÖÔÚ¡°µ÷ÊÔÆ÷¡±´°¿ÚÖС£
ÔÚ¡°¼àÊÓ¡±´°¿ÚÖÐʹÓà CREATEOBJECT( )
ÔÚ¡°¼àÊÓ¡±´°¿ÚÖУ¬Äú²»ÄÜÔÚÊäÈëµÄ±í´ïʽÖÐʹÓà CREATEOBJECT( ) º¯Êý¡£Èç¹ûÕâÑù×ö£¬Visual FoxPro ½«»áÏÔʾ´íÎóÐÅÏ¢£¬Ö¸Ê¾ÎÞ·¨¼ÆËã±í´ïʽ¡£×÷Ϊ±í´ïʽ¼ÆËãµÄÒ»²¿·Ö£¬Visual FoxPro ½«´´½¨²¢´¦Àí¸Ã¶ÔÏó¡£Èç¹û CREATEOBJECT( ) ÖÐËùÖ¸¶¨µÄ¶ÔÏóÊÇÒ»¸ö Automation
¶ÔÏó£¬Äú¿ÉÄÜ»áÆô¶¯¶ÔÏóµÄ¶à¸öʵÀý£¬Õâ¿ÉÄÜÒýÆðÄÚ´æ²»×ã¡£
¡°µ÷ÊÔÆ÷¡±µÄ¡°¾Ö²¿¡±´°¿Ú
¹ØÓÚ¡°¾Ö²¿¡±´°¿ÚÖУ¬±äÁ¿ÀàÐÍÕⲿ·ÖÎĵµÃ»ÓÐÃ÷ȷ˵Ã÷Òþ²Ø±äÁ¿ºÍ±£»¤±äÁ¿ÔÚ´Ë´°¿ÚÖÐÊDz»¿É¼ûµÄ¡£
ÔÚ¡°µ÷ÊÔÆ÷¡±¹¤¾ßÀ¸ÖÐÑ¡Ôñ¡°Ìø³ö¡±
ÔÚ¡°µ÷ÊÔÆ÷¡±¹¤¾ßÀ¸ÉÏÑ¡Ôñ¡°Ìø³ö¡±°´Å¥Ö®Ç°£¬ÇëÈ·ÈÏ¡°¸ú×Ù¡±´°¿Ú´ò¿ª¡£Èç¹û¡°¸ú×Ù¡±´°¿Ú¹Ø±Õ£¬´Ë°´Å¥ÎÞ·¨¹¤×÷¡£
ʹÓÃÔ´´úÂë¹ÜÀíÈí¼þ
ÔÚ Visual FoxPro ÖÐʹÓÃÔ´´úÂë¹ÜÀíÈí¼þʱ£¬ÄúºÍÆäËû¿ª·¢Õß±ØÐë×öµ½ÒÔϼ¸µã£º
· Èç¹û¿ª·¢Ð¡×éʹÓà SCCTEXT.PRG ³ÌÐòÀ´´´½¨±íµ¥¡¢±¨±íµÈµÄÎı¾°æ±¾£¬ËùÓпª·¢Õß±ØÐëÔÚËûÃǵĻúÆ÷ÉÏʹÓô˳ÌÐòµÄÏàͬ°æ±¾¡£
· ²»Í¬µÄ¿ª·¢Õß¼Óµ½Í¬Ò»¸öÏîÄ¿ÖУ¬±ØÐëʹÓò»Í¬µÄÓû§±êʶ¡£
Èç¹û¿ª·¢Ð¡×éûÓÐÕâÑù×ö£¬ÔÚÇ©Èë±íµ¥»òÆäËûµÄ¶þ½øÖÆÎļþʱ£¬Äú½«»áÅöµ½ÎÊÌ⡣ijЩÇé¿öÏ£¬Ô´´úÂë¹ÜÀíÈí¼þ»¹¿ÉÄÜ´ÓÄúµÄ»úÆ÷ÉÏɾ³ýÕâЩÎļþµÄ±¾µØ°æ±¾¡£
Ïòµ¼
ʹÓá°WWW ËÑË÷Ò³Ïòµ¼¡±
¡°WWW ËÑË÷Ò³Ïòµ¼¡±¿ÉÒÔ´´½¨ Web Ò³Ã棬ͨ¹ýËü¿É¶Ô Visual FoxPro Êý¾Ý½øÐÐËÑË÷¡££¨´ËÏòµ¼µÄÎļþ´æ´¢ÔÚ Visual FoxPro TOOLS\INETWIZ Ŀ¼Ï¡££©
Äú¿ÉÒÔʹÓà Visual FoxPro Server Ó¦ÓóÌÐò£¨SERVER.APP£©×÷Ϊ Web ·þÎñÆ÷£¬Ò²¿ÉÒÔʹÓÃºÍ HTTPODBC.DLL ÒýÇæÏàÁ¬½ÓµÄ Visual FoxPro ODBC Çý¶¯³ÌÐò£¬ HTTPODBC.DLL ¹¤¾ßÔÚ Microsoft Internet Information Server (IIS) Ϲ¤×÷¡£ÓйØʹÓà HTTPODBC.DLL µÄÏêϸÄÚÈÝ£¬Çë²ÎÔÄ
IIS Îĵµ¡£
×÷Ϊ¡°WWW ËÑË÷Ò³Ïòµ¼¡±´´½¨ËÑË÷Ò³ÃæµÄÁíÒ»¸ö;¾¶£¬Äú¿ÉÒÔʹÓÃºÍ Custom OLE ·þÎñ³ÌÐòÏàÁ¬½ÓµÄ ISAPI (Internet Server API) ÐÒ飬¸Ã·þÎñ³ÌÐòÓÉ Visual FoxPro 5.0a ´´½¨¡£ÀýÈ磬¿É²ÎÔÄ Visual FoxPro API\SAMPLES\SERVERS Ŀ¼Ï嵀 FOXISAPI.DLL
Îļþ¡£ÓйØÈçºÎÔËÐиÃʾÀýµÄÄÚÈÝ£¬Çë²ÎÔĸÃĿ¼Ï嵀 README.TXT Îļþ¡£
ʹÓá°Oracle ÉýǨÏòµ¼¡±
Visigenics ODBC driver for Oracle ÔÚ Windows 95 ÏÂÎÞ·¨Õý³£¹¤×÷¡£
Ààä¯ÀÀÆ÷
Visual FoxPro ¡°Ààä¯ÀÀÆ÷¡±ÖÐÌí¼ÓÁËÒÔϹ¦ÄÜ¡£ÓйØÔËÐкÍ×Ô¶¨Òå Visual FoxPro Ààä¯ÀÀÆ÷µÄÏêϸÐÅÏ¢£¬Çë²ÎÔÄ¡°°ïÖú¡±Öеġ°Ààä¯ÀÀÆ÷¡±¡£
Ö¸¶¨Òª´ò¿ªµÄĬÈÏÎļþ
ĬÈÏÇé¿öÏ£¬ÓÉ¡°¹¤¾ß¡±²Ëµ¥»ò¡°ÃüÁ´°¿ÚÔËÐС°Ààä¯ÀÀÆ÷¡±Ê±£¬½«»áÏÔʾ¡°´ò¿ª¡±¶Ô»°¿ò£¬ÕâÑùÄú¾Í¿ÉÒÔÑ¡ÔñÒ»¸öÒª´ò¿ªµÄÎļþ¡£Ò²¿ÉÒÔÖ¸¶¨Ò»¸ö»ò¸ü¶àĬÈÏÎļþ£¬ÔÚÔËÐС°Ààä¯ÀÀÆ÷¡±Ê±»á×Ô¶¯´ò¿ªËüÃÇ¡£
ÈôÒªÖ¸¶¨Ä¬Èϵġ°Ààä¯ÀÀÆ÷¡±Îļþ
1. ÔÚ¡°Ààä¯ÀÀÆ÷¡±Öдò¿ª¸ÃÎļþ¡£
2. È·ÈÏÔÚ¡°Ààä¯ÀÀÆ÷¡±µÄ¡°ÀࡱÁбíÖÐÑ¡ÔñÁ˸ÃÎļþ¡£
3. ÔÚ¡°ÃüÁ´°¿ÚÖÐÊäÈëÒÔÏ´úÂ룺
_oBrowser.SetDefaultFile
ÒÔÇ°Ö¸¶¨µÄĬÈÏÎļþ½«²»ÔÙĬÈÏ´ò¿ª¡£Èç¹û²»Ï£Íû¸²¸ÇĬÈÏÎļþ£¬Äú¿ÉÒÔÌí¼ÓÒ»¸öĬÈÏÎļþÁÐ±í¡£
ÈôÒªÖ¸¶¨¸½¼ÓµÄĬÈÏ¡°Ààä¯ÀÀÆ÷¡±Îļþ
1. ÔÚ¡°Ààä¯ÀÀÆ÷¡±Öдò¿ª¸Ã¸½¼ÓÎļþ¡£
2. È·ÈÏÔÚ¡°Ààä¯ÀÀÆ÷¡±µÄ¡°ÀࡱÁбíÖÐÑ¡ÔñÁ˸ÃÎļþ¡£
3. ÔÚ¡°ÃüÁ´°¿ÚÖÐÊäÈëÒÔÏ´úÂ룺
_oBrowser.SetDefaultFile(.T.)
ÈôÒª´Ó¡°Ààä¯ÀÀÆ÷¡±ÁбíÖÐɾ³ýÒ»¸öĬÈÏÎļþ
1. È·ÈÏÔÚ¡°Ààä¯ÀÀÆ÷¡±µÄ¡°ÀࡱÁбíÖÐÑ¡ÔñÁ˸ÃÎļþ¡£
2. ÔÚ¡°ÃüÁ´°¿ÚÖÐÊäÈëÒÔÏ´úÂ룺
_oBrowser.ResetDefaultFile
ÈôÒª´Ó¡°Ààä¯ÀÀÆ÷¡±ÁбíÖÐɾ³ýËùÓÐĬÈÏÎļþ
· ÔÚ¡°ÃüÁ´°¿ÚÖÐÊäÈëÒÔÏ´úÂ룺
_oBrowser.ResetDefaultFile(.T.)
ÉèÖà OLE ¹«¹²
Èç¹û¶¨ÒåÒ»¸öÀàΪ¹«¹²À࣬ÔÚ¡°ÀࡱÁбíÖеÄÀàÃûÅԱ߽«ÏÔʾһ¸öÐǺţ¨*£©¡£Èç¹ûÒª¸Ä±äÀàµÄ OLE
¹«¹²×´Ì¬£¬¿ÉÒÔÔÚ¿ì½Ý²Ëµ¥ÖÐÑ¡Ôñ¡°OLE ¹«Óᱡ£
Óë´Ë¹¦ÄܶÔÓ¦£¬ÔÚ aClassList Êý×éÊôÐÔÖÐÔö¼ÓÁËÒ»ÁУº
aClassList λÖà ÉèÖÃ
[nIndex,9] Èç¹ûΪ¡°Õ桱(.T.)£¬¸ÃÀඨÒåΪ OLE ¹«¹²¡£
½«Àà´úÂëµ¼³öµ½ÎļþÖÐ
³ýÁËÔÚ´°¿ÚÖÐä¯ÀÀÀඨÒå´úÂ룬Äú»¹¿ÉÒÔ½«ËüÖ±½Ó±£´æµ½Ò»¸öÎļþÖС£
ÈôÒª½«ÀඨÒåµÄ´úÂë±£´æµ½Ò»¸öÎļþÖÐ
´Ó¿ì½Ý²Ëµ¥ÖÐÑ¡Ôñ¡°Êä³ö¡±¡£
– »òÕß –
ÓÃÊó±êÓÒ¼üµ¥»÷¡°²é¿´Àà´úÂ롱°´Å¥¡£
ÔÚ¡°´ò¿ª¡±¶Ô»°¿òÖÐÑ¡Ôñ»òÊäÈëÎļþÃû¡£
Óë´Ë¹¦ÄÜÏà¶ÔÓ¦£¬ÔÚ ExportClass ·½·¨³ÌÐòÖÐÌí¼ÓÁ˵ڶþ¸ö²ÎÊý×÷ΪÎļþÃû¡£Ó﷨Ϊ£º
ExportClass([lShow][, tcExportToFileName])
ÍÏ·ÅÀàµÄͼ±ê
½«ÀàµÄͼ±ê´Ó¡°Ààä¯ÀÀÆ÷¡±ÖÐÍϵ½×ÀÃæÉÏ£¬¾Í¿ÉÒÔ´´½¨ÀàµÄʵÀý¡£ÔÚÍϷŲÙ×÷Öа´×¡ CTRL ¼ü£¬¿ÉÒÔ·ÀÖ¹ÔÚ´´½¨ÊµÀýʱ³ö´í¡£ÄúÒ²¿ÉÒÔ½«Ààͼ±êÍϵ½¡°ÃüÁ´°¿ÚÖУ¬À´Ö´ÐкÏÊ浀 SET CLASSLIB ÃüÁÓà CREATEOBJECT ´úÂ뽫ÀàʵÀý»¯¡£
¸½×¢ ÓÉÓÚ¡°Ààä¯ÀÀÆ÷¡±Ö»´´½¨ËùÑ¡ÀàµÄÒ»¸öʵÀý£¬¶ÔÓڸöÔÏóµÄ Init¡¢Load »ò Activate ʼþ´øÀ´µÄÖÖÖÖ¿ÉÄÜ£¬ËüÎÞ·¨ÊÂÏȾö¶¨¡£Òò´ËÔÚʹÓô˹¦ÄÜ֮ǰ£¬½¨ÒéÄúÊìϤһÏÂÀàµÄʼþ´úÂë¡£
Óë´Ëй¦ÄÜÏà¶ÔÓ¦£¬Äú¿ÉÒÔ½«ÒÔÏ嵀 oObject ²ÎÊý´«µÝ¸ø FormAddObject ·½·¨³ÌÐò£ºcommand¡¢
_screen »òÕß new¡£
_obrowser.FormAddObject ("command")
_obrowser.FormAddObject ("_screen")
_obrowser.FormAddObject ("new")
ÔÚ FormAddObject ·½·¨³ÌÐòÖÐÌí¼ÓÁËÒ»¸ö¿ÉÑ¡µÄ²ÎÊý tlNoErrors¡£ÏÖÔÚµÄÓ﷨Ϊ£º
FormAddObject(oObject [, nXCoord] [, nYCoord] [, lActivateForm]
[, lDesignMode][, lNoShow][, tlNoErrors])
ActiveX ¿Ø¼þ
¶Ô ActiveX ¿Ø¼þµÄÖ§³Ö
ÓÉÓÚ ActiveX ¿Ø¼þÊǶÀÁ¢µÄÄ£¿é£¬²»ÊÇÔÚ Visual FoxPro Öпª·¢µÄ£¬Ò²²»Ö»ÊÊÓÃÓÚ Visual FoxPro£¬Òò´ËËù±íÏÖ³öÀ´µÄÐÔÄÜ¿ÉÄܲ»Í¬ÓÚ Visual FoxPro ±¾ÉíµÄ¿Ø¼þ¡£ÔÚ Visual FoxPro ÖÐʹÓÃÕâЩ¿Ø¼þʱ£¬¿ÉÄÜ»áÓöµ½ÎÊÌ⣬»òÕ߻ᷢÏÖËüÃǺÍÆäËû³ÌÐòÖеÄÔËÐÐÇé¿ö²»Í¬¡£
ÀýÈ磬Visual FoxPro ½« ISimpleFrame ¿´×÷ÕæÕýµÄÈÝÆ÷£¬Visual FoxPro »¹Ö§³Ö¶Ô ActiveX ¿Ø¼þ´´½¨×ÓÀà¡£ÕâÁ½¸ö¹¦Äܶ¼»áÓ°Ïìµ½´¦Àí ActiveX ¿Ø¼þÖÐËùʹÓõÄÓïÑÔ¡£¿Ø¼þÎĵµÖÐһЩʾÀýÐèÒª×öЩÐ޸ģ¬²ÅÄÜÔÚ Visual FoxPro ÖÐÕýÈ·ÔËÐС£
Èç¹ûÅöµ½¿Ø¼þµÄÎÊÌ⣬Äú»á·¢ÏֿؼþµÄÒ»¸öͨÓûò¸üа汾¿ÉÓá£ÒªµÃµ½×îеÄÐÅÏ¢£¬¿ÉÓùؼü×Ö¡°
ActiveX¡±ÔÚ ¡°Visual FoxPro Knowledge Base¡±ÖÐËÑË÷¡£¡°knowledge base¡±Öаüº¬ÁËʾÀý´úÂë¡¢°æ±¾ÐÅÏ¢ºÍÓÐ¹Ø ActiveX ¿Ø¼þµÄÐÅÏ¢¡£
ʹ VTABLE °ó¶¨ÓÐЧ»òÕßÎÞЧ
һЩ ActiveX ¿Ø¼þÖ§³Ö VTABLE °ó¶¨£¬µ«²¢²»ÍêÈ«ÊÇÕâÑù¡£ VTABLE °ó¶¨ÔÊÐí¿Ø¼þÖ÷Ì彫¡°early¡±°ó¶¨µ½Æä³ÉÔ±ÉÏ£¨ÊôÐԺͷ½·¨³ÌÐò£©£¬ÒÔ»ñµÃ¸üºÃµÄÐÔÄÜ¡£Èç¹û¿Ø¼þ²»Ö§³Ö VTABLE °ó¶¨£¬ÔÚ OLEAUT32.DLL ÖÐ Visual FoxPro
»á³öÏÖÖÂÃü´íÎ󣬻òÕ߻ῴµ½ÖîÈ硰ûÓÐ×ã¹»µÄ´æ´¢¿Õ¼äÀ´Íê³É²Ù×÷¡£¡±µÄÐÅÏ¢¡£
Èç¹ûÕâÑù£¬Äú¿ÉÒÔµ÷ÓÃÐ嵀 SYS(2333) º¯ÊýÀ´ÔÝʱʹ VTABLE °ó¶¨ÎÞЧ¡£ÆäÓ﷨Ϊ£º
SYS(2333, 0)
ÔÚ VTABLE °ó¶¨ÎÞЧºó£¬Äú¿ÉÒÔ´´½¨¸Ã¿Ø¼þµÄÒ»¸öʵÀý¡£È»ºóµ÷Óà SYS(2333,1) À´ÖØÐÂÉèÖà VTABLE
°ó¶¨£¬ÕâÑùÆäËûµÄ ActiveX ¿Ø¼þ¾Í¿ÉÒÔÀûÓà VTABLE °ó¶¨Ëù´øÀ´µÄ¸ü¿ìËٶȡ£
¸½×¢ Èç¹ûÔÚ Visual Basic 4.0 ÖвâÊÔ ActiveX ¿Ø¼þ£¬½«²»»áÓöµ½´ËÎÊÌ⣬ÒòΪ¸Ã°æ±¾µÄ Visual Basic
²»Ö§³Ö VTABLE °ó¶¨¡£
ÄúÒ²¿ÉÒÔÔÚ Windows ×¢²áÖд´½¨Ò»¸öÈë¿Ú£¬À´Ê¹µ¥¸ö¿Ø¼þµÄ VTABLE °ó¶¨ÎÞЧ£¬Ã¿´Î´´½¨¿Ø¼þµÄÁíÒ»¸öʵÀýʱ£¬¸ÃÈë¿ÚΪÄú¼õÉÙÁ˽« VTABLE °ó¶¨ÎÞЧµÄÂé·³¡£ÓÃÒÔÏÂ×¢²á¹Ø¼ü×Ö´´½¨Èë¿Ú£¬¿ÉÒÔ´ïµ½ÕâÑùµÄÄ¿µÄ£¬ÆäÖÐ clsid ´ú±í¿Ø¼þµÄÀà id ºÅ£¬¸Ã¿Ø¼þΪҪʹ VTABLE
°ó¶¨ÎÞЧµÄ¿Ø¼þ¡£
HKEY_CLASSES_ROOT\NoDualInterface\{clsid}
ÀýÈ磬Äú¿ÉÒÔÔÚ×¢²áÖн¨Á¢ÒÔÏÂÈë¿Ú£¬Ê¹ Internet Explorer Shell ¿Ø¼þµÄ VTABLE °ó¶¨ÎÞЧ£º
HKEY_CLASSES_ROOT\NoDualInterface\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}
×Ô¶¯¸Ä±ä±íµ¥ÖÐ Panel ¿Ø¼þµÄ´óС
Èç¹ûÄú½«Ò»¸ö ActiveX Threed Panel ¿Ø¼þ×÷Ϊ OLE ÈÝÆ÷¿Ø¼þ£¨OLE Container£©Ìí¼Óµ½±íµ¥ÖУ¬È»ºó½«ËüµÄ AutoSize ÊôÐÔÉèÖÃΪ¡°2 - AutoSize Panel Height To
Caption¡±£¬ÄÇôÄúÔÚÖØ»¸Ã¿Ø¼þʱ»áÓöµ½ÎÊÌâ¡£¸Ã¿Ø¼þ¿ÉÄÜ»áºÜϸС£¬¿ÉÄܲ»ÔÊÐíÖØÐÂÉèÖø߶ȡ£Òª½â¾öÕâÎÊÌ⣬¿ÉÔÚ¡°ÊôÐÔ¡±´°¿ÚÖУ¬Ë«»÷ËüµÄ Caption ÊôÐÔÀ´ÖØÐÂÉèÖÃËü¡£Caption ÊôÐÔ½«±»ÉèÖÃΪ¡°(None)¡±£¬ÕâÑùÔÊÐíÄú¸ù¾ÝÐèÒª¸Ä±ä Panel µÄ´óС¡£
½« Rich Textbox ¿Ø¼þÁ¬½Óµ½±¸×¢×Ö¶Î
Èç¹ûÄúÒª½«Ò»¸ö Microsoft Rich Textbox ¿Ø¼þÖ±½ÓÓë±íÖб¸×¢×ֶΰó¶¨ÆðÀ´£¨½«¿Ø¼þµÄ ControlSource
ÊôÐÔÉèÖóɱ¸×¢×Ö¶ÎÃû£©£¬ÄÇôÔÚÔËÐÐ´Ë±íµ¥Ê±£¬ Visual FoxPro
½«»áÏÔʾ´íÎóÐÅÏ¢£¬²¢½â³ý¿Ø¼þ°ó¶¨¡£ÎªÁ˽â¾öÕâÎÊÌ⣬Äú¿ÉÒÔ½«×Ö¶ÎÄÚÈݸ´ÖƵ½Ò»¸ö±äÁ¿ÖУ¬ÈκÎʱºòÒƶ¯¼Ç¼ָÕ붼»á¸üд˱äÁ¿¡£È»ºó½«¿Ø¼þ°ó¶¨µ½±äÁ¿ÉÏ£¬¶ø²»ÊÇÖ±½Ó°ó¶¨µ½±¸×¢×Ö¶ÎÉÏ¡£ÈçºÎ´´½¨´ËÀàÐ͵İó¶¨Ê¾Àý£¬Çë²ÎÔÄ¡°
Solutions Sample¡±Öеġ°Use the richtext Control¡±¡£
ISimpleFrame ¿Ø¼þÖеİ´Å¥Ìáʾ
ÔÚ ISimpleFrame ActiveX ¿Ø¼þÖУ¬Èç¹ûÒªÏÔʾһ¸ö¿Ø¼þµÄ°´Å¥ÌáʾÐÅÏ¢£¨ÀýÈç ActiveX SSTab ¿Ø¼þÖеÄÃüÁî°´Å¥£©£¬¿É½« ActiveX ¿Ø¼þ×Ô¼ºµÄ ShowTips ÊôÐÔÉèÖóɡ°Õ桱(.T.)¡£¶ÔÓÚ ISimpleFrame ActiveXÍâÃæµÄ¿Ø¼þ£¬Ôò¿ÉÉèÖÃ¸Ã±íµ¥µÄ ShowTips ÊôÐÔ¡£
ÔÚ ISimpleFrame ¿Ø¼þÖлñµÃ¿Ø¼þ°ïÖú
Èç¹ûÄú½«Ò»¸ö Visual FoxPro ±¾ÉíµÄ¿Ø¼þ·ÅÖÃÔÚ ISimpleFrame ¿Ø¼þÄÚ£¨ÀýÈ磬Èç¹ûÄú½«Ò»¸öÃüÁî°´Å¥·ÅÖÃÔÚ ActiveX SSTab ¿Ø¼þÄÚ£©£¬Äú½«²»ÄÜÏÔʾ¸Ã¿Ø¼þµÄÉÏÏÂÎÄÏà¹Ø°ïÖú£¨¡°ÕâÊÇʲô¡±°ïÖú£©¡£
Éè¼ÆģʽÏÂÔÚ SSTab ¿Ø¼þÑ¡Ï֮¼äµÄÒƶ¯
Èç¹ûÄú´´½¨ÁËÒ»¸ö±íµ¥£¬Ëü°üº¬Ò»¸ö SSTab ¿Ø¼þ£¬È»ºóÔÚ¡°±íµ¥Éè¼ÆÆ÷¡±ÖÐÔËÐÐËü£¬²¢·µ»Øµ½Éè¼ÆģʽÏ£¬ÄÇôÄú¿ÉÄÜÎÞ·¨µ¥»÷¿Ø¼þÖеĵÚÒ»¸öÑ¡ÏÀ´ÏÔʾËü¡£Èç¹û³öÏÖÕâÑùµÄÇé¿ö£¬Äú¿ÉÒÔÊÔ×Ŷ൥»÷Ëü¼¸´Î£¬»òÕß¿ÉÒÔµ¥»÷Ñ¡ÏµÄ±ß¿ò¡£
½«Êý×é´«µÝ¸ø ActiveX ¿Ø¼þ
Èç¹ûÄú½«Êý×é´«µÝ¸øÒ»¸ö ActiveX ¿Ø¼þ£¨ÀýÈ磬µ÷ÓÿؼþµÄÒ»¸ö·½·¨³ÌÐò£¬²¢Òª½«Êý×é´«µÝ¸øËü£©Äú±ØÐëÓÃÒýÓõķ½Ê½´«µÝËü¡£Èç¹ûÄúÓÃÊýÖµ£¨Ä¬Èϵģ©·½Ê½´«µÝ£¬½«Ö»´«µÝµÚÒ»¸öÔªËØ¡£
ÔÚÒ³¿òÖÐʹÓà ISimpleFrame ¿Ø¼þ
µ±ÔÚÒ³¿òµÄÒ³ÃæÖÐʹÓà ISimpleFrame ¿Ø¼þ£¨Èç Threed Frame ¿Ø¼þ£©Ê±£¬¿ÉÄÜ»áÓöµ½ÒÔÏÂÎÊÌ⣺
· Èç¹û½« ISimpleFrame ¿Ø¼þ·ÅÔÚÒ³¿òµÄijһҳÖУ¬È»ºóÏÔʾ±íµ¥£¬¿Ø¼þ¿ªÊ¼¿ÉÄÜ»á³öÏÖÔÚËùÓеÄÒ³ÃæÖС£ÎªÁË·ÀÖ¹¿Ø¼þÔÚÆäËûÒ³ÃæÖгöÏÖ£¬ÔÚÒ³ÃæµÄ Activate ·½·¨³ÌÐòÖУ¬¿É½«¿Ø¼þµÄ Visible ÊôÐÔÉèÖÃΪ¡°Õ桱(.T.)£¬ÔÚ Deactivate
·½·¨³ÌÐòÉèÖÃΪ¡°¼Ù¡±(.F.)¡£ÔËÐÐ±íµ¥Ê±£¬¸ù¾ÝÄĸöÒ³ÃæÊǻµÄ£¬ÔÚÊ×ÏȳöÏÖÒ³ÃæµÄ Activate ·½·¨³ÌÐòÖУ¬Äú»¹µÃ½«¿Ø¼þµÄ Visible ÊôÐÔÉèÖÃΪ¡°¼Ù¡±(.F.)¡£
· Èç¹ûÄú½«Ò»¸ö ISimpleFrame ¿Ø¼þ·ÅÖÃÔÚÒ»¸ö»ùÓÚ±íµ¥µÄÀàµÄÒ³ÃæÉÏ£¬ÄÇôµ±Äú´´½¨¸ÃÀàµÄʵÀý²¢ÏÔʾʱ£¬¿Ø¼þ¿ÉÄÜ»á³öÏÖÔÚ Windows ×ÀÃæÉÏ¡£Èç¹û³öÏÖÕâÑùµÄÇé¿ö£¬ÔÚ±íµ¥µÄ Init ·½·¨³ÌÐòÖÐʹÓÃÒÔÏ´úÂ룬Äú¿ÉÒÔ½â¾öÕâ¸öÎÊÌ⣺
* ÔÚÏÂÒ»ÐÐÖУ¬2 ±íʾ¸Ã¿Ø¼þËùÔÚµÄÒ³
this.pageframe1.activepage = 2
this.draw
this.pageframe1.activepage = 1 && ĬÈÏÒ³
ÍÏ·Å ActiveX ¿Ø¼þ
Äú¿ÉÄܲ»ÄÜΪijЩ ActiveX ¿Ø¼þ½¨Á¢ÍϷŲÙ×÷£¨ÀýÈ磬Äú²»ÄÜÍ϶¯ ISimpleFrame ¿Ø¼þ£©¡£ÔÚÆäËûÇé¿öÏ£¬Äú¿ÉÄܻᷢÏÖÔÚ ActiveX ¿Ø¼þÖ®¼ä½¨Á¢ÍϷŲÙ×÷»áµ¼Ö´íÎó¡£
ת»»Æ÷
ΪÁ˱£³ÖÓëÒÔÇ° FoxPro ºÍ Visual FoxPro °æ±¾µÄ¼æÈÝÐÔ£¬×ª»»³ÌÐò°üº¬Á˶îÍâµÄ´íÎó¼ì²é¹¦ÄÜ£¬ÓÃÓÚ¼ì²éÎı¾¿ò£¨TextBox£©¡¢±à¼¿ò£¨EditBox£©ºÍ΢µ÷¿Ø¼þ£¨Spinner£©ÕâЩ¾ßÓÐÎı¾±à¼¹¦ÄܿؼþµÄÌض¨Ê¼þ¡£ÓÈÆäÊÇ£¬Äú²»ÄÜÔÚÕâЩ¿Ø¼þµÄ Valid¡¢ When¡¢ RangeHigh »ò RangeLow
ʼþÖе÷Óà SetFocus ·½·¨³ÌÐò¡£ÕâÒ»Ð޸ĻáÓ°Ïìµ½ÒÑÓÐµÄ Visual FoxPro 3.0 ´úÂ룬¸Ã´úÂë²»ÏÞÖÆÔÚÕâЩʼþÖÐʹÓà SetFocus ·½·¨³ÌÐò¡£
´Ó Visual FoxPro Öе¼³öÊý¾Ý
µ±ÄúÔÚ¡°Îļþ¡±²Ëµ¥Ñ¡Ôñ¡°µ¼³ö¡±Ê±£¬½«»á³öÏÖ¡°µ¼³ö¡±¶Ô»°¿ò£¬²¢ÏÔʾ´øÓÐ Visual FoxPro 3.0 (DBF) ÊäÈëÏîµÄÎļþÀàÐÍÁÐ±í£¬µ«Ã»ÓÐ Visual FoxPro 5.0a (DBF) µÄÊäÈëÏî¡£¿ÉÒÔʹÓà Visual FoxPro 3.0 (DBF) µÄÊäÈëÏîÀ´µ¼³ö Visual FoxPro 5.0a µÄ±í¡£
¹Ø±Õ´øÓÐδÌá½»¼Ç¼µÄÁÙʱ±í
ÔÚ Visual FoxPro 3.0b ÖУ¬Èç¹ûÒª¹Ø±ÕÒ»¸ö´øÓÐδÌá½»¼Ç¼µÄÁÙʱ±í£¬½«»á³öÏÖ 1545 ºÅ´íÎó¼°ÒÔÏÂÐÅÏ¢£º¡°±ðÃû¡°Ãû³Æ¡±µÄ±í»º³åÇøº¬Óв»ÄÜÓèÒÔʵÏÖµÄÐ޸ġ£¡±£¬Äú½«ÎÞ·¨¹Ø±ÕÁÙʱ±í£¬Ò²ÎÞ·¨Ð޸Ļº³åģʽ£¬³ý·ÇÄú½øÐÐÈçϲÙ×÷£ºÓà TABLEUPDATE( ) Ã÷È·Ìá½»±íµÄÐ޸ģ¬»òÕßÓÃ
TABLEREVERT( )
·ÅÆú±íµÄÐ޸ġ£ÔÚ Visual FoxPro 5.0a ÖУ¬´Ë´¦²»»áÏÔʾ¸ÃÐÅÏ¢£¬ÁÙʱ±í»á¹Ø±Õ£¬²»»á±£´æËù×öµÄÈκÎÐ޸ġ£
Microsoft Web Browser ¿Ø¼þ
Microsoft Internet Explorer 3.0 °üº¬ÁËÒ»¸ö³ÆΪ Microsoft Web Browser µÄ ActiveX ¿Ø¼þ£¬ÔÚ Visual FoxPro ±íµ¥ÖÐÄú¿ÉÒÔʹÓÃËü¡£ÎªÁËʹÓà Microsoft Web Browser ¿Ø¼þ£¬ÄúÐèÒª¶Ô±íµ¥×öÉÙÁ¿Ð޸ģ¬ÒÔ·ÀÖ¹ÔÚʵÀý»¯±íµ¥Ê±³öÏÖÌáʾ¶Ô»°¿ò¡£ÔÚ±íµ¥µÄ¡°Ë¢Ð¡±·½·¨³ÌÐòÖÐÌí¼Ó
NODEFAULT ÃüÁ¿ÉÒÔ½ûÖ¹´Ë¶Ô»°¿ò³öÏÖ¡£
±í¸ñÖжÔÏóÑÕÉ«ÊôÐԵļ̳Ð
Èç¹ûÄúÓá°ÀàÉè¼ÆÆ÷¡±´´½¨ÁËÒ»¸ö±í¸ñÀ࣬²¢Îª±í¸ñÖеĶÔÏóÉèÖÃÁËÒ»¶¨µÄÑÕÉ«ÊôÐÔ£¬ÄÇôÄú½«·¢ÏÖµ±±í¸ñ·ÅÔÚ±íµ¥»òÆäËûÈÝÆ÷ÖÐʱ£¬±í¸ñµÄʵÀýûÓÐÕýÈ·¼Ì³ÐÕâЩÑÕÉ«ÊôÐÔ¡£ÊÜÓ°ÏìµÄÊôÐÔÊÇ£ºHeader BackColor¡¢Header ForeColor¡¢Column BackColor ºÍ Column ForeColor¡£×÷Ϊ
workaround£¬ÔÚ¡°ÀàÉè¼ÆÆ÷¡±ÖУ¬Äú¿ÉÒÔÔÚ¶ÔÏóµÄ Init ´úÂëÀïÉèÖúÏÊʵÄÑÕÉ«ÊôÐÔ£¬ÀýÈ磺
In Column1.Header1.Init:
this.Backcolor=RGB(128,0,0)
ÕâÖÖÇé¿öÖ»ÊÊÓÃÓÚ´æ´¢ÔÚ .VCX ÎļþÖеıí¸ñÀà¡£Èç¹û±í¸ñÀàÊÇͨ¹ý DEFINE CLASS ÓôúÂ붨ÒåµÄ£¬ÔòÉÏÊöÊôÐÔ¿ÉÒÔÕýÈ·µØ¼Ì³ÐÏÂÀ´¡£
¹ØÓÚ
ʹÓà Visual FoxPro µÄÁª»úÎĵµ
Visual FoxPro °üÀ¨ÁËÒ»Ì×ÍêÕûµÄÁª»úÎĵµ£¬¸ÃÁª»úÎĵµ°üº¬ÁËËùÓÐÐèÒªµÄ Visual FoxPro ×ÊÔ´£¬°üÀ¨½ø½×Ö¸ÄÏ¡¢²Î¿¼×ÊÁÏ¡¢Ó¦ÓóÌÐòʾÀýºÍ¹¤¾ßµÄÐÅÏ¢¡¢¼¼ÊõÂÛÎĵȡ£
Áª»úÎĵµ×ÛºÏÁË´òÓ¡ÎĵµºÍÁª»ú°ïÖúµÄÓŵ㣬ÌṩÁ˸ü¶àµÄ·½±ã¡£Äú¿ÉÒÔ£º
· ÔĶÁ´òÓ¡ÎĵµÏµÁеÄÍêÕûÎı¾¡£
· ÔĶÁĿ¼²¿·ÖµÄ¸ÅÊö£¨ÀýÈç¡°¿ª·¢¿Í»§/·þÎñÆ÷Ó¦ÓóÌÐò¡±£©£¬È»ºó¿ÉÌøתµ½¸ÐÐËȤµÄÖ÷ÌâÉÏ¡£
· ͼÎIJ¢Ã¯µØä¯ÀÀ Visual FoxPro µÄʹÓù¦ÄܲûÊö¡£
· ʹÓÃĿ¼¡¢¹Ø¼ü×Ö»òÈ«ÎÄËÑË÷À´²éÕÒÖ÷Ìâ¡£
· Öð¸öÑ¡ÔñÖ÷Ì⣬»òʹÓÃĿ¼À´´òÓ¡Ò»¸ö»ò¶à¸öÖ÷Ìâ¡£
· ×ö¹ØÓÚÖ÷ÌâµÄ×¢ÊÍ¡£
·ÃÎÊÁª»úÎĵµ
Áª»úÎĵµ¿É´Ó Visual FoxPro¡°°ïÖú¡±²Ëµ¥ÖлñµÃ¡£
ÈôÒªÏÔʾÁª»úÎĵµ
· ´Ó¡°°ïÖú¡±²Ëµ¥ÖÐÑ¡Ôñ¡°Îĵµ¡±¡£
ÓйØÈçºÎʹÓÃÁª»úÎĵµä¯ÀÀÆ÷µÄÏêϸÄÚÈÝ£¬¿ÉÔÚä¯ÀÀÆ÷Öа´ F1¡£
ä¯ÀÀÁª»úÎĵµ
Äú¿ÉÒÔÓò»Í¬µÄ·½·¨ä¯ÀÀÁª»úÎĵµ¡£
ÈôҪʹÓÃĿ¼
1. ÔÚ¡°²é¿´¡±²Ëµ¥ÖÐÑ¡Ôñ¡°Ä¿Â¼¡±¡£
¸½×¢ Èç¹ûûÓÐÏÔʾĿ¼£¬Ôò¿ÉÄÜÊÇÄúµÄÁª»úÎĵµ±»ÉèÖóÉÖ»ÏÔʾÖ÷ÌâÎı¾¡£¿ÉÒÔÔÚ¡°²é¿´¡±²Ëµ¥ÖÐÑ¡Ôñ¡°µ¼º½ÇøºÍÖ÷ÌâÇø¡±¡£
2. ÔÚ¡°Ä¿Â¼¡±´°¿ÚÖУ¬Ñ¡ÔñÄúÏ£ÍûÏÔʾµÄĿ¼µÈ¼¶£¨ÊéÃû£©¡£ÓÃͬÑùµÄ·½·¨£¬Äú¿ÉÒÔ´ò¿ªÆäËûµÈ¼¶¡£Èç¹ûÒªÏÔʾµ¥¸öÖ÷Ì⣬¿ÉÑ¡ÔñÒª²é¿´Ö÷ÌâÅԱߵÄÒ³Ãæͼ±ê¡£
ÈôÒª°´¹Ø¼ü×Ö²éÕÒÖ÷Ìâ
1. ÔÚ¡°²é¿´¡±²Ëµ¥ÖÐÑ¡Ôñ¡°Ë÷Òý¡±¡£
2. ÔÚ¡°Ë÷Òý¡±´°¿Ú¶¥²¿µÄ¿òÖУ¬ÊäÈëÒª²éÕҵĹؼü×Ö¡£»òÕߣ¬Äú¿ÉÒÔä¯ÀÀÏÂÃæÎı¾¿òÖеĹؼü×ÖÁÐ±í¡£
ÈôÒªÓÃÈ«ÎÄËÑË÷²éÕÒÖ÷Ìâ
1. ÔÚ¡°²é¿´¡±²Ëµ¥ÖÐÑ¡Ôñ¡°²éÕÒ¡±¡£
2. ÔÚ¡°²éÕÒ¡±Çø¶¥²¿µÄ¿òÖУ¬ÊäÈëÒªËÑË÷µÄ×Ö»ò´Ê×é¡£Èç¹ûÊäÈëÒ»¸ö´Ê×飬ҪÓÃÎ÷ÎÄË«ÒýºÅ°ÑËüÀ¨ÆðÀ´¡£
ÔÚÎı¾¿òÏÂÃæµÄÁбíÖУ¬ä¯ÀÀÆ÷ÏÔʾÁËÄúËù²éÕҵİüº¬¸Ã×Ö»ò´Ê×éµÄÖ÷ÌâÁÐ±í£¬Ñ¡ÔñÖ÷ÌâÃûä¯ÀÀËüµÄÄÚÈÝ¡£ä¯ÀÀÆ÷ÏÔʾÖ÷Ìâʱ£¬ËùÓÐÄúÊäÈëµÄ×Ö»ò´Ê×é»áÍ»³öÏÔʾ¡£
Ìáʾ Äú¿ÉÒÔÓà Boolean ²Ù×÷·û£¨AND ºÍ OR£©À´Ê¹ËÑË÷¸ü׼ȷ¡£ÏêϸÄÚÈÝ¿Éͨ¹ýÔÚ¡°²éÕÒ¡±¿òÖа´ F1 À´µÃµ½¡£
²é¿´¶àýÌåÑÝʾ
Visual FoxPro Áª»úÎĵµ°üº¬¶àýÌåÑÝʾ£¬ËüÑÝʾÈçºÎʹÓøóÌÐò¡£ÀýÈ磬Äú¿ÉÒÔ¿´µ½Ò»¸ö´øÓÐ˵Ã÷µÄÉú¶¯ÑÝʾ£¬¶ÔÈçºÎ¿ª·¢Ó¦ÓóÌÐòÌṩ¸ÅÊö¡£
¶àýÌåÑÝʾÓëµ¥¸öÖ÷ÌâÏà¹ØÁª¡£Èç¹ûÒ»¸öÖ÷Ìâ°üº¬¶àýÌåÑÝʾ£¬ÔòÔÚÖ÷ÌâÖлá³öÏÖÒ»¸öÉãÏó»úͼ±ê¡£Ñ¡Ôñ¸Ãͼ±ê¼´¿ÉÆô¶¯¶àýÌåÑÝʾ¡£
¶ÔÁª»úÎĵµ½øÐÐÒÉÄѽâ´ð
Èç¹ûÄúÔÚʹÓÃÁª»úÎĵµÊ±Óöµ½ÎÊÌ⣬ä¯ÀÀÆ÷¿ÉÄÜÕÒ²»µ½Îı¾»ò¶àýÌåÎļþ£¬»òÕß¿ÉÄÜÄúµÄ»úÆ÷µ±Ç°ÉèÖÃÓÐÎÊÌâ¡£ÓйØÉèÖôíÎóµÄÏêϸÄÚÈÝ£¬Çë²ÎÔÄÏÂÃæµÄ¡°´íÎóÐÅÏ¢¡±¡£
ÎÞ·¨ÏÔʾÎı¾»ò¶àýÌåÑÝʾ
Visual FoxPro ʹÓÃÒÔÏÂ×¢²áÈë¿Ú£¬´æ´¢Áª»úÎĵµµÄÎı¾Êý¾Ý¿âºÍ¶àýÌåÎļþ£º
HKEY_CURRENT_USER\Software\VB and VBA Program Settings
\MSeries\Visual FoxPro Online Documentation
Èç¹ûä¯ÀÀÆ÷ÎÞ·¨ÏÔʾÎı¾£¬Çë¼ì²é¸Ã×¢²áλÖÃÖС°Êý¾Ý¿âÃû¡±µÄÖµ£¬È·ÈÏÈë¿ÚÖ¸Ïò VFPDOCS.MDB£¬²¢°üÀ¨ÍêÕûµÄ·¾¶¡£ÀýÈ磬Êý¾Ý¿âÃûµÄÈë¿Ú¿ÉÒÔΪ£º
C:\VFP\ONLINE\vfpdocs.mdb
Èç¹ûä¯ÀÀÆ÷ÎÞ·¨ÏÔʾ¶àýÌåͼÏó£¬Çë¼ì²é´æ´¢ÔÚͬÑù×¢²áλÖõġ°¶àýÌå·¾¶Èë¿Ú¡±ÖеÄ·¾¶£¬´Ë·¾¶Ó¦Ö¸ÏòÁª»úÎĵµ .AVI ÎļþËù´æ´¢µÄĿ¼¡££¨´ËÈë¿ÚÖÐûÓÐÎļþÃû£¬Ö»Óз¾¶¡££©¡£È·ÈÏ·¾¶ÖÐûÓпոñ¡£
´íÎóÐÅÏ¢
Èç¹ûÆô¶¯Áª»úÎĵµÊ±³öÏÖÎÊÌ⣬Ôò Visual FoxPro ½«ÏÔʾһÌõ´íÎóÐÅÏ¢¡£Ï±íÁгöÁËһЩ´íÎóÐÅÏ¢£¬ÒÔ¼°ËüÃÇ¿ÉÄܵÄÔÒòºÍ½¨ÒéµÄ½â¾ö·½·¨¡£
´íÎóÐÅÏ¢ ¿ÉÄܵÄÔÒò ½â¾ö·½·¨
ÎÞ·¨´´½¨ auto-redraw ͼÐΠͼÐÎÄÚ´æ¹ýÉÙ ÖØÐÂÆô¶¯¼ÆËã»ú¡£
·Ç·¨¹ý³Ìµ÷Óà ÎÞ·¨°´ÕÕ×î½üµÄλÖÃÅäÖÃä¯ÀÀÆ÷¡£ ɾ³ýä¯ÀÀÆ÷ÖÐÁбíĿ¼ÖеÄËùÓÐÁÐ±í£¨Í¨³£ÊÇ VFP\ONLINE\LISTS £©£¬²¢ÖØÐÂÆô¶¯ä¯ÀÀÆ÷¡£
¶ÔÎĵµµÄÐÞ¸Ä
ÏÂÃæÁгöµÄÐÞ¸ÄÊǶÔÁª»ú°ïÖúÖÐËùÁÐÎĵµÐ޸ĵIJ¹³ä¡£Èç¹ûÒª²é¿´ÄÇЩÐ޸ģ¬¿ÉÔÚ¡°°ïÖú¡±ÖвéÕÒĿ¼¡°¶ÔÊÖ²áÎĵµµÄÐ޸ġ±¡£
¸½×¢ ÔÚÎĵµÖУ¬ËùÓÐÌáµ½ Visual FoxPro 4.0 »ò 5.0 ´¦£¬¶¼Ó¦Îª Visual FoxPro 5.0a.
¡¶¿ª·¢Ö¸ÄÏ¡·
µÚÊ®¶þÕ¡°Ìí¼Ó²éѯºÍ±¨±í¡±
µÚ 341 Ò³ ÔÚ±êÍ·¡°ÉèÖñ¨±í´øÇøµÄ¸ß¶È¡±Ï£¬¶ÎÂä×îºóÒ»¾äÓ¦¸ÃÊÇ£º
ÓйطÖ×é´øÇøµÄÏêϸÄÚÈÝ£¬Çë²ÎÔÄ¡¶Óû§Ö¸ÄÏ¡·µÚÆßÕ¡°Éè¼Æ±¨±íºÍ±êÇ©¡±Öеġ°ÔÚ²¼¾ÖÉÏ·Ö×éÊý¾Ý¡±²¿·Ö¡£
µÚ 342 Ò³ ÔÚ±êÍ·¡°Ìí¼ÓÓò¿Ø¼þ¡±Ï£¬¶ÎÂäÖÐ×îºóÒ»¾äÓ¦¸ÃÊÇ£º
ÊäÈë±í´ïʽºó£¬Äú¿ÉÒÔÐ޸ĸñʽ£¬»òÕßÉèÖôòÓ¡¡¢Î»ÖûòÉìչѡÏî¡£ÓйصÄÏêϸÄÚÈÝ£¬Çë²ÎÔÄ¡¶Óû§Ö¸ÄÏ¡·µÚÆßÕ¡°Éè¼Æ±¨±íºÍ±êÇ©¡±Öеġ°Ïò±¨±í¿Ø¼þÌí¼Ó×¢ÊÍ¡±²¿·Ö£¬ºÍ¸ÃÕÂÉÔºóµÄ¡°ÉèÖÃÒ»¸ö¿Ø¼þµÄ´òÓ¡Ñ¡Ï¡£
µÚÊ®ÁùÕ¡°Ìí¼Ó OLE¡±
µÚ 445 Ò³ Ìæ»»ÒÔϵĹý³Ì²½Ö裺
1. ½« OLE ·þÎñ³ÌÐò¿ÉÖ´ÐÐÎļþ¸´ÖƵ½·þÎñÆ÷Éϲ¢ÔËÐÐËü£¬°ÑËü×¢²áµ½ Windows Registry ÖС£
Ì滻Ϊ£º
1. ½« OLE ·þÎñ³ÌÐò¿ÉÖ´ÐÐÎļþ¸´ÖƵ½·þÎñÆ÷ÉÏ£¬²¢°´Ç°Ãæ¡°×¢²á OLE ·þÎñ³ÌÐò¡±²¿·ÖÖÐËùÊö£¬½«Ëü×¢²áµ½ Windows ×¢²á±íÖС£
µÚ¶þÊ®ÁùÕ¡°´´½¨·¢²¼´ÅÅÌ¡±
µÚ 633 Ò³ ɾ³ý¡°Ñ¡Ôñ¿ÉÑ¡×é¼þ¡±±êͷϵÄ×îºóÒ»¶Î¡£Ö¸¶¨²Ù×÷ϵͳµÄÑ¡ÏîÒѱ»É¾³ý£»Äú¿ÉÒÔʹÓá°°²×°Ïòµ¼¡±Îª Windows 95 ºÍ Windows NT ´´½¨Í¬Ò»Ì×·¢²¼ÅÌ¡£
¡¶Language Reference¡·
_COVERAGE ϵͳ±äÁ¿
µÚ 95 Ò³ ÕâûÓÐĬÈ쵀 coverage Ó¦ÓóÌÐò¡£´Ë±äÁ¿ÔÊÐíÄú´´½¨×Ô¼ºµÄ¸²¸ÇÓ¦ÓóÌÐò£¬²¢Ê¹Ëü¿É±» Visual FoxPro µ÷Óá£
ComboBox¿Ø¼þ
µÚ 81 Ò³ ´Ë¿Ø¼þÖ§³ÖÏòÊôÐÔÁбíÖÐÌí¼ÓͼƬ
GETOBJECT( ) º¯Êý
µÚ 204 Ò³ Ôڴ˺¯ÊýµÄÓï·¨ÖУ¬É¾³ýÎļþÃûÉϵķ½À¨ºÅ£¨Ëü²»ÊÇ¿ÉÑ¡µÄ£©¡£¸ÃÓï·¨Ó¦¸ÃΪ£º
GETOBJECT(FileName [, ClassName])
HighlightRowÊôÐÔ
µÚ 216 Ò³ ´ËÊôÐÔΪµ¥¶ÀµÄ±í¸ñµ¥Ôª£¨¶ø²»ÊÇÐУ©Ö¸¶¨¸ßÁÁ¶È¡£
IMESTATUS( )º¯Êý
µÚ 21 Ò³ IMESTATUS( ) ±êÌâÖÐ Korean ÏÖ³¡·µ»ØÖµµÄ±í°üº¬ÁË´íÎóµÄÊýÖµ¡£Ï±íÊÇÕýÈ·µÄ£º
·µ»ØÖµ IME ״̬
0 ûÓа²×°IME
1 Hangul ģʽ£¨µ¥×Ö½Ú£©
2 English ģʽ£¨µ¥×Ö½Ú£©
11 English ģʽ£¨Ë«×Ö½Ú£©
15 Hangul mode (double-byte).ģʽ£¨Ë«×Ö½Ú£©
23 Hanja ת»»Ä£Ê½£¨Hangul + µ¥×Ö½Úģʽ£©
31 Hanja ת»»Ä£Ê½£¨Hangul + Ë«×Ö½Úģʽ£©
Pack ÃüÁî
µÚ 308 Ò³ ÏÖÔÚ Pack ÃüÁîÖ§³Ö TableName ²ÎÊý£¬ÔÊÐíÄúÔÚÒ»¸öδ´ò¿ªµÄ±íÖÐÓÀ¾Ãɾ³ýËùÓдøÓÐɾ³ý±ê¼ÇµÄ¼Ç¼¡£ÐµÄÓï·¨¸ñʽΪ£º
PACK [TableName] [MEMO] [DBF]
ÓÀ¾Ãɾ³ýËùÓдøÓÐɾ³ý±ê¼ÇµÄ¼Ç¼֮ºó£¬±íÈÔÈ»Êǹرյġ£Èç¹ûÖ¸¶¨µÄ±íÒѾ´ò¿ª£¬½«·¢ÉúÒ»¸ö´íÎó¡£
Picture ÊôÐÔ
µÚ 318 Ò³ ½« ComboBox Ìí¼Óµ½´ËÊôÐÔËùÓ¦ÓõĿؼþÁбíÖС£
SORT ÃüÁî
µÚ 389 Ò³ ÔÚ TOTAL ÃüÁîÖУ¬É¾³ý DATABASE ºÍ NAME ×Ó¾äµÄÒýÓá£
USE ÃüÁî
µÚ 430 Ò³ ÔÚ´ËÃüÁîµÄ NOUPDATE ×Ó¾äÖУ¬ÐèҪעÒ⣬Èç¹ûµÚÒ»´ÎÓà NOUPDATE ´ò¿ªÒ»¸ö±í£¬¾Í²»Äܽ«Ëü×÷Ϊ¿É¸üбíÔÚÁíÒ»¸ö¹¤×÷ÇøÖдò¿ª¡£Èç¹ûÐèÒª´ò¿ª±í½øÐиüУ¬Ôò±ØÐëÏȹرմËÃüÁÓà CLOSE ÃüÁî»ò²»´ø±í¸ñÃûµÄ USE ÃüÁ£¬È»ºó²»´ø NOUPDATE ×Ó¾äÖØдò¿ªËü¡£
SELECT - SQL ÃüÁî
µÚ 372 Ò³ SELECT - SQLµÄÓï·¨ÊÇ´íÎóµÄ¡£ SELECT - SQL ÕýÈ·µÄÓï·¨¿ÉÔÚ¡°°ïÖú¡±ÎļþÖÐÕÒµ½¡£
SET( ) º¯Êý
µÚ 379 Ò³ ÔÚ²ÎÊýÏ£¬ SETÃüÁî±íÐè°üÀ¨ CARRY£¬Ëü·µ»Ø ON »ò OFF Öµ¡£
TopIndex ÊôÐÔ
µÚ 422 Ò³ ¶ÔÓÚ ComboBox ¿Ø¼þ£¬´ËÊôÐÔÊÇÖ»¶ÁµÄ£¨¶ÔÓÚ ListBox ¿Ø¼þÊǿɶÁ/дµÄ£©¡£
TopItemID ÊôÐÔ
µÚ 422 Ò³ ¶ÔÓÚ ComboBox ¿Ø¼þ£¬´ËÊôÐÔÊÇÖ»¶ÁµÄ£¨¶ÔÓÚ ListBox ¿Ø¼þÊǿɶÁ/дµÄ£©¡£
TOTALÃüÁî
µÚ 422 Ò³ ÔÚ TOTAL ÃüÁîÖУ¬É¾³ý DATABASE ºÍ NAME ×Ó¾äµÄÒýÓá£
Áª»ú°ïÖú
_RetDateStr( ) API ¿âÀý³Ì
¸Ãº¯ÊýµÄÎĵµÐè×¢Ã÷µÄÊÇ£¬µ±´«µÝÒ»¸öÈÕÆÚʱ£¬±ØÐëʹÓÃmm/dd/year¸ñʽ£¬ÆäËû¸ñʽ£¨ÈçANSI£©²»ÔÊÐí¡£
AERROR( ) º¯Êý
ÔÚRemarks½ÚµÄµÚÒ»¶ÎÖУ¬¸Ãº¯Êý½¨Á¢Ò»¸ö´øÓÐÁùÁеÄÊý×顣ʵ¼ÊÉÏ£¬AERROR( ) º¯Êý½¨Á¢Ò»¸ö´øÓÐÆßÁеÄÊý×飬¾ÍÏóÔÚRemarks½ÚºóÃæµÄ±íÖÐ˵Ã÷µÄÄÇÑù¡£
GotFocus ʼþ
½«Remarks ½ÚÖеÚÈý¶ÎÄÚÈÝɾ³ý£º
Ö»Óе±±íµ¥Ã»Óпؼþ£¬»òÕßËùÓпؼþ¾ùÎÞЧ»ò²»¿É¼ûʱ£¬Ò»¸ö±íµ¥±¡²Å½ÓÊܽ¹µã¡£
MDIForm ÊôÐÔ
ÎĵµÖУ¬ÊôÐÔ˵Ã÷½öΪÏòºó¼æÈÝ£¬Õâ²»ÕýÈ·¡£MDIForm ÊôÐÔÖ¸¶¨µ±×Ó±íµ¥×î´ó»¯Ê±£¬ÊÇ·ñºÍ¸¸´°¿ÚºÏÓñêÌâÀ¸¡£MDIForm ÊôÐÔµÄÉèÖÃΪ£º
ÉèÖà ˵Ã÷
Õæ (.T.) ×Ó±íµ¥ÔÚ×î´ó»¯Ê±ÓëÆ丸±íµ¥ºÏÓñêÌâÀ¸£¬ËüµÄ×î´ó»¯°´Å¥¡¢×îС»¯°´Å¥ºÍ¹Ø±Õ¿òÏÔʾÔڲ˵¥À¸ÖУ¬²¢ÔÚ¸¸±íµ¥¶¥²¿µÄËùÓй¤¾ßÀ¸Ö®ÉÏ¡£
¼Ù (.F.) ×î´ó»¯µÄ×Ó±íµ¥±£Áô×Ô¼ºµÄ±êÌâÀ¸£¬ËüÏÔʾÔÚ¸¸±íµ¥¶¥²¿µÄËùÓй¤¾ßÀ¸Ö®Ï¡£
MDOWN( )
´ËÖ÷ÌâÊÇ´íÎóµÄ¡£ÓÃÒÔÏÂÄÚÈÝÌæ´ú£º
ÅжÏÊÇ·ñ°´ÁËÊó±ê°´Å¥£¬²¢·µ»ØÕæ(.T.)»ò¼Ù(.F.)Öµ¡£
Óï·¨
MDOWN( )
·µ»ØÖµ
LogicalÂß¼ÐÍ
×¢ÊÍ
ÔÚÖ´ÐÐ MDOWN( ) ʱ£¬Èç¹û°´ÏÂÊó±ê°´Å¥£¬Ôò·µ»ØÕæ(.T.)£»ÔÚÖ´ÐÐ MDOWN( ) ʱ£¬Èç¹ûûÓа´ÏÂÊó±ê°´Å¥£¬Ôò·µ»Ø¼Ù(.F.) ¡£
MousePointer ÊôÐÔ
ÉèÖñíÖЩÁËÒÔÏÂÉèÖãº
ÉèÖà ˵Ã÷
99 ×Ô¶¨Òå¡£
SET DEBUG ÃüÁî
Visual FoxPro 5.0a ºöÂÔ SET DEBUG ÃüÁî¡£
SHOW WINDOW ÃüÁî
SCREEN ×Ó¾äӦΪ IN SCREEN ¡£
ÅäÖÃÎļþµÄÌØÊâÏî
Ìí¼ÓÏÂÁÐÏîºÍ˵Ã÷£º
Ïî ˵Ã÷
HIDEAPPOBJ ON | OFF Ö¸¶¨¶ÔÓÚÆäËûÓ¦ÓóÌÐòÀ´Ëµ “Visual FoxPro.Application” ÊÇ·ñ¿ÉÓᣵ± HIDEAPPOBJ ÉèÖÃΪ ON ʱ£¬ÖîÈç Microsoft Visual Basic, Microsoft Visual C++, Visual FoxPro µÈÓ¦ÓóÌÐò²»ÄÜ·ÃÎÊ Visual FoxPro ¿ÉÖ´ÐгÌÐò»ò Visual FoxPro
×Ô¶¨Òå·þÎñÆ÷µÄÓ¦ÓóÌÐò¶ÔÏó¡£Ò಻ÄÜ·ÃÎÊÖ÷ÒªµÄ _VFP Ó¦ÓóÌÐò¶ÔÏóºÍÈκÎ×Ô¶¨Òå·þÎñ³ÌÐò¶ÔÏóµÄ Application ÊôÐԵķ½·¨³ÌÐòºÍÊôÐÔ¡£HIDEAPPOBJ µÄĬÈÏÉèÖÃΪ OFF.
SYS(1037) º¯Êý
ËùÓÐÓõ½¡°Ò³ÃæÉèÖᱶԻ°¿òµÄµØ·½£¬Ó¦Îª¡°´òÓ¡Ò³ÃæÉèÖᱶԻ°¿ò¡£
SYS(1271) º¯Êý
SYS(1271) º¯ÊýµÄÎĵµÖ¸³ö£¬SYS(1271) º¯Êý¿ÉÒÔÓÃÀ´·µ»Ø¿ÉÊÓÀà¿âÃû£¨.VCXÎļþ£©£¬ÆäÖаüº¬ÁËÒ»¸ö¶ÔÏóµÄÖ¸¶¨ÊµÀý¡£ÊÂʵÉÏ£¬SYS(1271) º¯ÊýÖ»ÄÜÓÃÀ´·µ»Ø±íµ¥Ãû£¨.SCXÎļþ£©£¬ÆäÖаüº¬Ö¸¶¨¶ÔÏóµÄÒ»¸öʵÀý¡£
SYS(3054) º¯Êý
ÔÚ²ÎÊýÏ£¬Ìí¼ÓÒÔÏÂÄÚÈÝ£º
11 ¿ÉÒÔÏÔʾ°üº¬Á¬½Ó»ò¶à±í²éѯµÄ Rushmore ÓÅ»¯µÈ¼¶¡£
Äú±ØÐëµ÷Óà SYS(3054,11) À´ÅжϴøÓÐÁ¬½ÓµÄ SELECT Óï¾äµÄÓÅ»¯µÈ¼¶¡£Èç¹ûʹÓà SYS(3054,11)À´ÏÔʾÓÅ»¯µÈ¼¶£¬¼´Ê¹°üº¬Á¬½ÓµÄÓï¾äÒÑ×öÁËÓÅ»¯£¬ËüÃǽ«ÒÔδÓÅ»¯µÄ·½Ê½ÏÔʾ¡£
SYS(3095) º¯Êý
·µ»Ø OLE ¶ÔÏóµÄ Idispatch Ö¸Õë¡£
Óï·¨
SYS(3095, oObjectName)
·µ»Ø
ÊýÖµ
²ÎÊý
oObjectName Ö¸¶¨ OLE ÈÝÆ÷¿Ø¼þµÄÃû³Æ£¬»ò OLE °ó¶¨¿Ø¼þµÄÃû³Æ£¬»òÓ¦ÓóÌÐò¶ÔÏóµÄÃû³Æ£¬º¯Êý½«·µ»ØËüÃÇµÄ Idispatch Ö¸Õë¡£ÀýÈ磬¼üÈë ? SYS(3095, _VFP) ÏÔʾ Visual FoxPro µ±Ç°ÊµÀýµÄ Idispatch Ö¸Õë¡£
˵Ã÷
Èç¹ûÄúÖ¸¶¨µÄ¶ÔÏó²»ÊÇ OLE ¶ÔÏó£¬Ôò SYS(3095) ½«·µ»Ø 0. Èç¹û oObjectName Ϊ Visual FoxPro ±íµ¥»òÄÚ²¿¿Ø¼þ£¬Ôò SYS(3095) ½«·µ»Ø 0. Èç¹ûÖ¸¶¨µÄ OLE ¶ÔÏó²»´æÔÚ£¬½«²úÉú¡°Î´ÕÒµ½±äÁ¿¡±´íÎó¡£
ʾÀý
ÏÂÁÐʾÀýÏÔʾÁË Microsoft Excel Ó¦ÓóÌÐò¶ÔÏóµÄ Idispatch Ö¸Õ룺
oExcelApp = CREATEOBLECT(‘Excel.Application’)
Display Idispatch pointer for Excel object
? SYS(3095, oExcelApp)
Visual FoxPro µÄϵͳÈÝÁ¿
ÔÚ¡°±í¡±ºÍ¡°Ë÷ÒýÎļþ¡±µÄ±íÖУ¬Ö¸³ö¿Éͬʱ´ò¿ª±íµÄ×î´óÊýĿΪ2551¡£´ËÊýÄ¿Ó¦¸ÃΪ65535£¬µ«ÊÇÈç¹ûͬʱ´ò¿ª2000¸öÒÔÉÏµÄ±í£¬ÐÔÄܾͻá´ó´ó½µµÍ¡£
Áª»úÎĵµ
Gopher OLE ·þÎñÆ÷ʾÀý
ÔÚ´ò¿ª gopher ʾÀý¹ý³ÌÖУ¬ÕýÈ·ÃüÁîÊÇ£º
MODIFY PROJECT (HOME() + 'SAMPLES\SERVERS\GOPHER\FOXSRCH')
ÔËÐÐ gopher ʾÀýʱ£¬ÔÚ¹ý³ÌµÄ²½Öè 3 ÖУ¬¸ÃÐеÄÕýÈ·Îı¾Ó¦ÊÇ£º
#DEFINE FOXHOME "\VFP5\"
¼¼ÊõÂÛÎÄ
¾¡¹ÜÂÛÎÄÓÃÓÚ Visual FoxPro 5.0a£¬µ«´ó¶àÊý¼¼ÊõÂÛÎÄ¶Ô Visual FoxPro ÒÔÇ°µÄ°æ±¾Ò²ÊÊÓ᣽«À´£¬Èç¹ûÄú¶ÔÓйظü´ó·¶Î§ÄÚ¼¼ÊõÎÊÌâµÄÂÛÎÄÓÐËù¿´·¨£¬ÎÒÃǽ«Ï´¶ú¹ªÌý¡£Çë²é¿´ Web ½Úµã£¨
http://www.microsoft.com/vfoxpro£©£¬¿É»ñµÃ×îÐÂÐÅÏ¢¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.229.126]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º407.273ºÁÃë