VB °æ (¾«»ªÇø)
·¢ÐÅÈË: Mice (¿ªÐĹû), ÐÅÇø: VisualBasic
±ê Ìâ: [תÔØ] Visual Basic µÄÃüÃû¹æÔò
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Mon Nov 16 19:09:01 1998), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô VisualProgram ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ 344.A Ëù·¢±í ¡¿
Ó¦¸ÃÓÃÒ»ÖµÄǰ׺À´ÃüÃû¶ÔÏó£¬Ê¹ÈËÃÇÈÝÒ×ʶ±ð¶ÔÏóµÄÀàÐÍ¡£ÏÂÃæÁгöÁË Visual Basic
Ö§³ÖµÄһЩÍƼöʹÓõĶÔÏóÔ¼¶¨¡£
ÍƼöʹÓõĿؼþǰ׺
¿Ø¼þÀàÐÍ Ç°×º Àý×Ó
3D Panel pnl pnlGroup
Animated button ani aniMailBox
Check box chk chkReadOnly
Combo box, drop-
down list box cbo cboEnglish
Command button cmd cmdExit
Common dialog dlg dlgFileOpen
Communications com comFax
Control £¨µ±Ìض¨
ÀàÐÍδ֪ʱ£¬ÔÚ¹ý
³ÌÖÐËùʹÓõģ© ctr ctrCurrent
Data control dat datBiblio
Data-bound
combo box dbcbo dbcboLanguage
Data-bound grid dbgrd dbgrdQueryResult
Data-bound
list box dblst dblstJobType
Directory
list box dir dirSource
Drive list box drv drvTarget
File list box fil filSource
Form frm frmEntry
Frame fra fraLanguage
Gauge gau gauStatus
Graph gra graRevenue
Grid grd grdPrices
Horizontal
scroll bar hsb hsbVolume
Image img imgIcon
Key status key keyCaps
Label lbl lblHelpMessage
Line lin linVertical
List box lst lstPolicyCodes
MAPI message mpm mpmSentMessage
MAPI session mps mpsSession
MCI mci mciVideo
MDI child form mdi mdiNote
Menu mnu mnuFileOpen
MS Flex grid msg msgClients
MS Tab mst mstFirst
OLE ole oleWorksheet
Outline out outOrgChart
Pen BEdit bed bedFirstName
Pen HEdit hed hedSignature
Pen ink ink inkMap
Picture pic picVGA
Picture clip clp clpToolbar
Report rpt rptQtr1Earnings
Shape shp shpCircle
Spin spn spnPages
Text box txt txtLastName
Timer tmr tmrAlarm
UpDown upd updDirection
Vertical scroll bar vsb vsbRate
Slider sld sldScale
ImageList ils ilsAllIcons
TreeView tre treOrganization
Toolbar tlb tlbActions
TabStrip tab tabOptions
StatusBar sta staDateTime
ListView lvw lvwHeadings
ProgressBar prg prgLoadFile
RichTextBox rtf rtfReport
ÍƼöʹÓõÄÊý¾Ý·ÃÎʶÔÏó (DAO) µÄǰ׺
ÓÃÏÂÁÐǰ׺À´Ö¸Ê¾Êý¾Ý·ÃÎʶÔÏó¡£
Êý¾Ý¿â¶ÔÏó ǰ׺ Àý×Ó
Container con conReports
Database db dbAccounts
DBEngine dbe dbeJet
Document doc docSalesReport
Field fld fldAddress
Group grp grpFinance
Index idx idxAge
Parameter prm prmJobCode
QueryDef qry qrySalesByRegion
Recordset rec recForecast
Relation rel relEmployeeDept
TableDef tbd tbdCustomers
User usr usrNew
Workspace wsp wspMine
һЩÀý×Ó£º
Dim dbBiblio As Database
Dim recPubsInNY As Recordset, strSQLStmt As String
Const DB_READONLY = 4 ' ÉèÖó£Á¿¡£
'´ò¿ªÊý¾Ý¿â¡£
Set dbBiblio = OpenDatabase("BIBLIO.MDB")
' ΪSQL Óï¾äÉèÖÃÎı¾¡£
strSQLStmt = "SELECT * FROM Publishers WHERE _
State = 'NY'"
' ´´½¨ÐµļǼ¼¯¶ÔÏó¡£
Set recPubsInNY = db.OpenRecordset(strSQLStmt, _
dbReadOnly)
ÍƼöʹÓõIJ˵¥Ç°×º
Ó¦ÓóÌÐòƵ·±Ê¹ÓÃÐí¶à²Ëµ¥¿Ø¼þ£¬¶ÔÓÚÕâЩ¿Ø¼þ¾ß±¸Ò»×éΨһµÄÃüÃûÔ¼¶¨ºÜʵÓᣳýÁË
×îÇ°Ãæ "mnu" ±ê¼ÇÒÔÍ⣬²Ëµ¥¿Ø¼þµÄǰ׺Ӧ¸Ã±»À©Õ¹£º¶Ôÿһ¼¶Ç¶Ì×Ôö¼ÓÒ»¸ö¸½¼Óǰ׺
£¬½«×îÖյIJ˵¥µÄ±êÌâ·ÅÔÚÃû³Æ×Ö·û´®µÄ×îºó¡£Ï±íÁгöÁËһЩÀý×Ó¡£
²Ëµ¥±êÌâÐòÁÐ ²Ëµ¥´¦ÀíÆ÷Ãû³Æ
File Open mnuFileOpen
File Send Email mnuFileSendEmail
File Send Fax mnuFileSendFax
Format Character mnuFormatCharacter
Help Contents mnuHelpContents
µ±Ê¹ÓÃÕâÖÖÃüÃûÔ¼¶¨Ê±£¬Ò»¸öÌض¨µÄ²Ëµ¥×éµÄËùÓгÉÔ±Ò»¸ö½ÓÒ»¸öµØÁÐÔÚ Visual Basic
µÄ¡°ÊôÐÔ¡±´°¿ÚÖС£¶øÇÒ£¬²Ëµ¥¿Ø¼þµÄÃû×ÖÇå³þµØ±íʾ³öËüÃÇËùÊôµÄ²Ëµ¥Ïî¡£
ΪÆäËü¿Ø¼þÑ¡Ôñǰ׺
¶ÔÓÚÉÏÃæûÓÐÁгöµÄ¿Ø¼þ£¬Ó¦¸ÃÓÃΨһµÄÓÉÁ½¸ö»òÈý¸ö×Ö·û×é³ÉµÄǰ׺ʹËüÃDZê×¼»¯£¬
ÒÔ±£³ÖÒ»ÖÂÐÔ¡£Ö»Óе±ÐèÒª³ÎÇåʱ£¬²ÅʹÓöàÓÚÈý¸ö×Ö·ûµÄǰ׺¡£
ÀýÈ磬¶ÔÓÚÅÉÉúµÄ»òÐ޸ĵĿؼþÏóÉÏÊöÄÇÑùÀ©Õ¹Æäǰ׺£¬Ê¹µÃÔÚÕæÕýʹÓÃÁËÄÄÒ»¸ö¿Ø¼þ
µÄÎÊÌâÉϱÜÃâ»ìÏý¡£¶ÔÓÚµÚÈý·½¿Ø¼þ£¬Ó¦¸Ã°ÑÖÆÔìÉ̵ÄСдËõдÃû¸½¼Óµ½Ç°×ºÖС£ÀýÈç
£¬´Ó Visual Basic Professional 3D ¿ò¼ÜÖд´½¨µÄÒ»¸ö¿Ø¼þʵÀý¿ÉÒÔÓà fra3d ÕâÑùµÄ
ǰ׺£¬ÒÔ±ÜÃâ»ìÏýËùʹÓõĿؼþ¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.92]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.67]
5632350.Atar ÐÅÈË: Mice (¿ªÐĹû), ÐÅÇø: VB
±ê Ìâ: [תÔØ] Visual Basic ³£Á¿ºÍ±äÁ¿ÃüÃûÔ¼¶¨
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 19 18:45:50 1998), תÐÅ
³ýÁ˶ÔÏóÖ®Í⣬³£Á¿ºÍ±äÁ¿Ò²ÐèÒªÁ¼ºÃ¸ñʽµÄÃüÃûÔ¼¶¨¡£±¾½ÚÁгöÁË Visual Basic Ö§
³ÖµÄ³£Á¿ºÍ±äÁ¿µÄÍƼöÔ¼¶¨¡£²¢ÇÒÌÖÂÛ±êʶÊý¾ÝÀàÐͺͷ¶Î§µÄÎÊÌâ¡£
±äÁ¿Ó¦¸Ã×ÜÊDZ»¶¨ÒåÔÚ¾¡¿ÉÄÜСµÄ·¶Î§ÄÚ¡£È«¾Ö (Public) ±äÁ¿¿ÉÒÔµ¼Ö¼«Æ临ÔÓµÄ×´
̬»ú¹¹£¬²¢ÇÒʹһ¸öÓ¦ÓóÌÐòµÄÂß¼·Ç³£ÄÑÓÚÀí½â¡£È«¾Ö±äÁ¿Ò²Ê¹´úÂëµÄÖØÓúÍά»¤¸ü
¼ÓÀ§ÄÑ¡£
Visual Basic ÖеıäÁ¿¿ÉÒÔÓÐÏÂÁз¶Î§£º
·¶Î§ ÉùÃ÷λÖà ¿É¼ûλÖÃ
¹ý³Ì¼¶ ¹ý³Ì£¬×Ó¹ý³Ì»òº¯Êý¹ý³ÌÖÐµÄ 'Private' ÔÚÉùÃ÷ËüµÄ¹ý³ÌÖÐ
Ä£¿é¼¶ ´°Ìå»ò´úÂëÄ£¿é£¨.frm¡¢.bas £©µÄÉùÃ÷ ´°Ìå»ò´úÂëÄ£¿éÖеÄÿһ¸ö¹ý³Ì
²¿·ÖÖÐµÄ 'Private'
È«¾Ö ´úÂëÄ£¿é£¨.bas£©µÄÉùÃ÷²¿·ÖÖÐµÄ 'Public' Ó¦ÓóÌÐòÖеÄÿһ´¦
ÔÚ Visual Basic µÄÓ¦ÓóÌÐòÖУ¬Ö»Óе±Ã»ÓÐÆäËü·½±ã;¾¶ÔÚ´°ÌåÖ®¼ä¹²ÏíÊý¾Ýʱ²Åʹ
ÓÃÈ«¾Ö±äÁ¿¡£µ±±ØÐëʹÓÃÈ«¾Ö±äÁ¿Ê±£¬ÔÚÒ»¸öµ¥Ò»Ä£¿éÖÐÉùÃ÷ËüÃÇ£¬²¢°´¹¦ÄÜ·Ö×é¡£¸ø
Õâ¸öÄ£¿éÈ¡Ò»¸öÓÐÒâÒåµÄÃû³Æ£¬ÒÔÖ¸Ã÷ËüµÄ×÷Óã¬Èç Public.bas¡£
½ÏºÃµÄ±àÂëÏ°¹ßÊǾ¡¿ÉÄÜдģ¿é»¯µÄ´úÂë¡£ÀýÈ磬Èç¹ûÓ¦ÓóÌÐòÏÔʾһ¸ö¶Ô»°¿ò£¬¾Í°Ñ
ÒªÍê³ÉÕâÒ»¶Ô»°ÈÎÎñËùÐèÒªµÄËùÓпؼþºÍ´úÂë·ÅÔÚµ¥Ò»µÄ´°ÌåÖС£ÕâÓÐÖúÓÚ½«Ó¦ÓóÌÐò
µÄ´úÂë×éÖ¯ÔÚÓÐÓõÄ×é¼þÖУ¬²¢¼õСËüÔËÐÐʱµÄ¿ªÏú¡£
³ýÁËÈ«¾Ö±äÁ¿£¨Ó¦¸ÃÊDz»±»´«µÝµÄ£©£¬¹ý³ÌºÍº¯ÊýÓ¦¸Ã½ö¶Ô´«µÝ¸øËüÃǵĶÔÏó²Ù×÷¡£ÔÚ
¹ý³ÌÖÐʹÓõÄÈ«¾Ö±äÁ¿Ó¦¸ÃÔÚ¹ý³ÌÆðʼ´¦µÄÉùÃ÷²¿·ÖÖбêʶ³öÀ´¡£´ËÍ⣬Ӧ¸ÃÓà ByVal
½«²ÎÊý´«µÝ¸ø Sub ¹ý³Ì¼° function ¹ý³Ì£¬³ý·ÇÃ÷ÏÔµØÐèÒª¸Ä±äÒÑ´«µÝµÄ²ÎÊýÖµ¡£
±äÁ¿·¶Î§Ç°×º
Ëæ׏¤³Ì´óСµÄÔö³¤£¬»®·Ö±äÁ¿·¶Î§µÄ¹¤×÷ҲѸËÙÔö¼Ó¡£ÔÚÀàÐÍǰ׺µÄÇ°Ãæ·ÅÖõ¥×Öĸ
·¶Î§Ç°×º±êÃ÷ÁËÕâÖÖÔö³¤£¬µ«±äÁ¿ÃûµÄ³¤¶È²¢Ã»ÓÐÔö¼ÓºÜ¶à¡£
·¶Î§ ǰ׺ Àý×Ó
È«¾Ö g gstrUserName
Ä£¿é¼¶ m mblnCalcInProgress
±¾µØµ½¹ý³Ì ÎÞ dblVelocity
Èç¹ûÒ»¸ö±äÁ¿ÔÚ±ê׼ģ¿é»ò´°ÌåÄ£¿éÖб»ÉùÃ÷Ϊ Public£¬ÄÇô¸Ã±äÁ¿¾ßÓÐÈ«¾Ö·¶Î§¡£Èç
¹ûÒ»¸ö±äÁ¿ÔÚ±ê׼ģ¿é»ò´°ÌåÄ£¿éÖб»·Ö±ðÉùÃ÷Ϊ Private£¬ÄÇô¸Ã±äÁ¿ÓÐÄ£¿é¼¶·¶Î§¡£
×¢Òâ Ò»ÖÂÐÔÊÇ׿ÓгÉЧµØʹÓÃÕâÖÖ¼¼ÊõµÄ¹Ø¼ü£»Visual Basic ÖеÄÓï·¨¼ì²éÆ÷²»»á
²¶×½ÒÔ "p." ¿ªÍ·µÄÄ£¿é¼¶±äÁ¿¡£
³£Á¿
³£Á¿ÃûµÄÖ÷ÌåÊÇ´óСд»ìºÏµÄ£¬Ã¿¸öµ¥´ÊµÄÊ××Öĸ´óд¡£¾¡¹Ü±ê×¼ Visual Basic ³£Á¿
²»°üº¬Êý¾ÝÀàÐͺͷ¶Î§ÐÅÏ¢£¬µ«ÊÇÏó i¡¢s¡¢g ºÍ m ÕâÑùµÄǰ׺¶ÔÓÚÀí½âÒ»¸ö³£Á¿µÄÖµ
ºÍ·¶Î§»¹ÊǺÜÓÐÓõġ£¶ÔÓÚ³£Á¿Ãû£¬Ó¦×ñÑÓë±äÁ¿ÏàͬµÄ¹æÔò¡£ÀýÈ磺
mintUserListMax '¶ÔÓû§ÁбíµÄ×î´óÏÞÖÆ
'(ÕûÊýÖµ£¬±¾µØµ½Ä£¿é)
gstrNewLine 'ÐÂÐÐ×Ö·û
'(×Ö·û´®£¬Ó¦ÓóÌÐòÈ«¾ÖʹÓÃ)
±äÁ¿
ÉùÃ÷ËùÓеıäÁ¿½«»á½ÚÊ¡±à³Ìʱ¼ä£¬ÒòΪ¼üÈë²Ù×÷ÒýÆðµÄ´íÎó¼õÉÙÁË£¨ÀýÈ磬¾¿¾¹ÊÇ
aUserNameTmp£¬»¹ÊÇ sUserNameTmp£¬»¹ÊÇ sUserNameTemp£©¡£ÔÚ¡°Ñ¡Ï¶Ô»°¿òµÄ
¡°±à¼Æ÷¡±±êÇ©ÖУ¬¸´Ñ¡¡°ÒªÇó±äÁ¿ÉùÃ÷¡±Ñ¡Ïî¡£Option Explicit Óï¾äÒªÇóÔÚ
Visual Basic ³ÌÐòÖÐÉùÃ÷ËùÓеıäÁ¿¡£
Ó¦¸Ã¸ø±äÁ¿¼Óǰ׺À´Ö¸Ã÷ËüÃǵÄÊý¾ÝÀàÐÍ¡£¶øÇÒǰ׺¿ÉÒÔ±»À©Õ¹£¬ÓÃÀ´Ö¸Ã÷±äÁ¿·¶Î§£¬
ÌرðÊǶԴóÐͳÌÐò¡£
±äÁ¿Êý¾ÝÀàÐÍ
ÓÃÏÂÁÐǰ׺À´Ö¸Ã÷Ò»¸ö±äÁ¿µÄÊý¾ÝÀàÐÍ¡£
Êý¾ÝÀàÐÍ Ç°×º Àý×Ó
Boolean bln blnFound
eanB byt bytRasterData
nByteCollection o col colWidgets
ection o cur curRevenue
on objectCu dtm dtmStart
ectCur dbl dblTolerance
Curre err errOrderNum
rencyDa int intQuantity
yDat lng lngDistance
Object obj objCurrent
ectSin sng sngAverage
Single str strFName
gleStringUser-def udt udtEmployee
User-de vnt vntCheckSum
ÃèÊö±äÁ¿ºÍ¹ý³ÌÃû
±äÁ¿»ò¹ý³ÌÃûµÄÖ÷ÌåÓ¦¸ÃʹÓôóСд»ìºÏÐÎʽ£¬²¢ÇÒÓ¦¸Ã×ã¹»³¤ÒÔÃèÊöËüµÄ×÷Ó᣶øÇÒ
£¬º¯ÊýÃûÓ¦¸ÃÒÔÒ»¸ö¶¯´ÊÆðÊ×£¬Èç InitNameArray »ò CloseDialog¡£
¶ÔÓÚƵ·±Ê¹ÓõĻò³¤µÄÏÍƼöʹÓñê×¼ËõÂÔÓïÒÔʹÃû³ÆµÄ³¤¶ÈºÏÀí»¯¡£Ò»°ãÀ´Ëµ£¬³¬
¹ý 32 ¸ö×Ö·ûµÄ±äÁ¿ÃûÔÚ VGA ÏÔʾÆ÷É϶ÁÆðÀ´¾ÍÀ§ÄÑÁË¡£
µ±Ê¹ÓÃËõÂÔÓïʱ£¬ÒªÈ·±£ËüÃÇÔÚÕû¸öÓ¦ÓóÌÐòÖеÄÒ»ÖÂÐÔ¡£ÔÚÒ»¸ö¹¤³ÌÖУ¬Èç¹ûÒ»»á¶ù
ʹÓà Cnt£¬ Ò»»á¶ùʹÓà Count£¬½«µ¼Ö²»±ØÒªµÄ»ìÏý¡£
Óû§¶¨ÒåµÄÀàÐÍ
ÔÚÒ»ÏîÓÐÐí¶àÓû§¶¨ÒåÀàÐ͵Ĵ󹤳ÌÖУ¬³£³£ÓбØÒª¸øÿÖÖÀàÐÍÒ»¸öËü×Ô¼ºµÄÈý¸ö×Ö·û
µÄǰ׺¡£Èç¹ûÕâЩǰ׺ÊÇÒÔ "u" ¿ªÊ¼µÄ£¬ÄÇôµ±ÓÃÒ»¸öÓû§¶¨ÒåÀàÐÍÀ´¹¤×÷ʱ£¬¿ìËÙʶ
±ðÕâЩÀàÐÍÊǺÜÈÝÒ׵ġ£ÀýÈ磬ucli ¿ÉÒÔ±»ÓÃÀ´×÷Ϊһ¸öÓû§¶¨ÒåµÄ¿Í»§ÀàÐͱäÁ¿µÄÇ°
׺¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.92]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.67]
±ê Ìâ: [תÔØ] Visual Basic ½á¹¹»¯±àÂëÔ¼¶¨
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 19 18:45:59 1998), תÐÅ
³ýÁËÃüÃûÔ¼¶¨Í⣬½á¹¹»¯±àÂëÔ¼¶¨£¬¿ÉÒÔ¼«´óµØ¸ÄÉÆ´úÂëµÄ¿É¶ÁÐÔ£¬Èç´úÂë×¢ÊͺÍÒ»ÖÂ
ÐÔËõ½ø¡£
´úÂë×¢ÊÍÔ¼¶¨
ËùÓеĹý³ÌºÍº¯Êý¶¼Ó¦¸ÃÒÔÃèÊöÕâ¶Î¹ý³ÌµÄ¹¦ÄܵÄÒ»¶Î¼òÃ÷×¢ÊÍ¿ªÊ¼£¨Õâ¶ÎÀý³Ì¸Éʲô
£©¡£ÕâÖÖÃèÊö²»Ó¦¸Ã°üÀ¨Ö´Ðйý³Ìϸ½Ú£¨ËüÊÇÔõô×öµÄ£©£¬ÒòΪÕâ³£³£ÊÇËæʱ¼ä¶ø±äµÄ
£¬¶øÇÒÕâÖÖÃèÊö»áµ¼Ö²»±ØÒªµÄ×¢ÊÍά»¤¹¤×÷£¬ÉõÖÁ¸üÔ㡪³ÉΪ´íÎóµÄ×¢ÊÍ¡£´úÂë±¾Éí
ºÍ±ØÒªµÄǶÈë×¢Êͽ«ÃèÊöʵÏÖ·½·¨¡£
µ±²ÎÊýµÄ¹¦Äܲ»Ã÷ÏÔÇÒµ±¹ý³ÌÏ£Íû²ÎÊýÔÚÒ»¸öÌض¨µÄ·¶Î§ÄÚʱ£¬Ò²Ó¦ÃèÊö´«µÝ¸ø¹ý³ÌµÄ
²ÎÊý¡£±»¹ý³Ì¸Ä±äµÄº¯Êý·µ»ØÖµºÍÈ«¾Ö±äÁ¿£¬ÌرðÊÇͨ¹ýÒýÓòÎÊýµÄÄÇЩ£¬Ò²±ØÐëÔÚÿ
¸ö¹ý³ÌµÄÆðʼ´¦ÃèÊöËüÃÇ¡£
¹ý³ÌÍ·×¢ÊÍ¿éÓ¦¸Ã°üÀ¨ÏÂÁнڱêÌâ¡£¹ØÓÚÀý×Ó£¬Çë²ÎÔÄϽڡ°¸ñʽ»¯´úÂ롱¡£
½Ú±êÌâ ×¢ÊÍÃèÊö
Ä¿µÄ ¸Ã¹ý³ÌÍê³Éʲô£¨¶ø²»ÊÇÔõôÍê³É£©¡£
¼ÙÉè Áгöÿ¸öÍⲿ±äÁ¿¡¢¿Ø¼þ¡¢´ò¿ªÎļþ»òÆäËü²»Ã÷ÏÔÔªËØ¡£
Ч¹û Áгöÿ¸ö±»Ó°ÏìµÄÍⲿ±äÁ¿¡¢¿Ø¼þ¡¢»òÎļþ¼°Æä×÷Óã¨Ö»Óе±Ëü²»Ã÷ÏÔʱ£©¡£
ÊäÈë ÿһ¸ö¿ÉÄܲ»Ã÷ÏԵIJÎÊý¡£²ÎÊý·Ö±ðÔÚµ¥¶ÀµÄÐÐÉÏ£¬²¢Ç¶Èë×¢ÊÍ¡£
·µ»Ø º¯Êý·µ»ØÖµµÄ˵Ã÷¡£
¼ÇסÏÂÁм¸µã£º
¡ö ÿһ¸öÖØÒª±äÁ¿µÄÉùÃ÷Ó¦¸Ã°üÀ¨Ò»¸öǶÈë×¢ÊÍ£¬À´ÃèÊö¸Ã±äÁ¿µÄʹÓá£
¡ö ±äÁ¿¡¢¿Ø¼þ¼°¹ý³ÌµÄÃüÃûÓ¦¸Ã×ã¹»Çå³þ£¬Ê¹µÃÖ»Óи´ÔÓµÄÖ´ÐÐϸ½Ú²ÅÐèҪǶÈë
×¢ÊÍ¡£
¡ö .Bas Ä£¿é°üº¬¹¤³ÌµÄ Visual Basic Ò»°ã³£Á¿ÉùÃ÷£¬ÔÚÆäÆðʼ´¦£¬Ó¦¸Ã°üÀ¨Ãè
ÊöÓ¦ÓóÌÐòµÄ×ÛÊö£¬ÁоÙÖ÷ÒªÊý¾Ý¶ÔÏó¡¢¹ý³Ì¡¢Ëã·¨¡¢¶Ô»°¡¢Êý¾Ý¿â¼°ÏµÍ³Ðè
Çó¡£ÓÐʱ£¬Ò»¶ÎÃèÊöËã·¨µÄαÂë¿ÉÄÜ»áÓÐËù°ïÖú¡£
¸ñʽ»¯´úÂë
ÒòΪÐí¶à³ÌÐòÔ±ÈÔȻʹÓà VGA ÏÔʾÆ÷£¬ËùÒÔÔÚÔÊÐí´úÂë¸ñʽÀ´·´Ó³Âß¼½á¹¹ºÍǶÌ×µÄͬ
ʱ£¬Ó¦¾¡¿ÉÄܵØÊ¡ÆÁÄ»¿Õ¼ä¡£ÏÂÃæÁгö¼¸µã£º
¡ö ±ê×¼µÄ¡¢»ùÓÚÖƱíλµÄǶÌ׿éÓ¦¸Ã±»Ëõ½øËĸö¿Õ¸ñ£¨È±Ê¡Çé¿öÏ£©¡£
¡ö ¹ý³ÌµÄ¹¦ÄÜ×ÛÊö×¢ÊÍÓ¦¸ÃËõ½øÒ»¸ö¿Õ¸ñ¡£¸úÔÚ×ÛÊö×¢ÊͺóÃæµÄ×î¸ß¼¶µÄÓï¾äÓ¦
¸ÃËõ½øÒ»¸öÖƱí룬¶øÿһ¸öǶÌ׵ĿéÔÙËõ½øÒ»¸öÖƱíλ¡£ÀýÈ磺
'*****************************************************
'Ä¿µÄ£º ÔÚÓû§ÁбíÊý×éÖÐÕÒ³ö
' Ò»¸öÖ¸¶¨Óû§µÄµÚÒ»´Î³öÏÖλÖá£
'ÊäÈ룺
' strUserList()£º ±»ËÑË÷µÄÓû§ÁÐ±í¡£
' strTargetUser£º ÒªËÑË÷µÄÓû§Ãû¡£
' ·µ»Ø£º ÔÚrasUserList Êý×éÖÐrsTargetUser
' µÄµÚÒ»´Î³öÏÖµÄË÷Òý¡£
' Èç¹ûÄ¿±êÓû§Ã»ÕÒµ½£¬·µ»Ø-1¡£
'*****************************************************
Function intFindUser (strUserList() As String, strTargetUser As _
String)As Integer
Dim i As Integer ' Ñ»·¼ÆÊýÆ÷¡£
Dim blnFound As Integer ' Ä¿±êÑ°ÕÒ±êÖ¾¡£
intFindUser = -1
i = 0
While i <= Ubound(strUserList) and Not blnFound
If strUserList(i) = strTargetUser Then
blnFound = True
intFindUser = i
End If
Wend
End Function
¸ø³£Á¿·Ö×é
±äÁ¿ºÍ¶¨ÒåµÄ³£Á¿Ó¦¸Ã°´¹¦ÄÜ·Ö×飬¶ø²»ÊÇ·ÖÉ¢µ½µ¥¶ÀÇøÓò»òÌض¨ÎļþÖС£Visual
Basic Ò»°ã³£Á¿Ó¦¸ÃÔÚµ¥Ò»Ä£¿éÖзÖ×飬ÒÔ½«ËüÃÇÓëÓ¦ÓóÌÐòÌض¨µÄÉùÃ÷·Ö¿ª¡£
& ºÍ £« ÔËËã·û
ÔÚÁ¬½Ó×Ö·û´®Ê±×ÜÊÇʹÓà & ÔËËã·û£¬¶øµ±´¦ÀíÊýֵʱ³£Óà £« ÔËËã·û¡£µ±ÔÚÁ½¸ö±äÌåÉÏ
²Ù×÷ʱ£¬Óà £« ÔËËã·ûÀ´Á¬½Ó¿ÉÄܻᵼÖÂÎÊÌâ¡£ÀýÈ磺
vntVar1 = "10.01"
vntVar2 = 11
vntResult = vntVar1 + vntVar2 'vntResult = 21.01
vntResult = vntVar1 & vntVar2 'vntResult = 10.0111
Ϊ MsgBox¡¢InputBox ¼° SQL ²éѯ´´½¨×Ö·û´®
µ±²úÉú³¤×Ö·û´®Ê±£¬Ê¹ÓÃÏ»®ÏßÁ¬½Ó×Ö·û²úÉú¶àÐдúÂ룬ÕâÑù±ãÓÚÔĶÁ»òµ÷ÊÔ×Ö·û´®¡£
µ±ÏÔʾһ¸öÏûÏ¢¿ò (MsgBox) »òÊäÈë¿ò (InputBox)£¬»ò²úÉúÒ»¸ö SQL ×Ö·û´®Ê±£¬ÕâÒ»
¼¼ÊõÌرðÓÐÓá£ÀýÈ磺
Dim Msg As String
Msg = "This is a paragraph that will be " _
& "in a message box. The text is" _
& " broken into several lines of code" _
& " in the source code, making it easier" _
& " for the programmer to read and debug."
MsgBox Msg
Dim QRY As String
QRY = "SELECT *" _
& " FROM Titles" _
& " WHERE [Year Published] > 1988"
TitlesQry.SQL = QRY
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.92]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.67]
±ê Ìâ: ÎÒϲ»¶VB!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 19 20:47:51 1998), תÐÅ
1¡£Óï¾äÒ׶Á
2¡£½ÚÊ¡µ÷ÊÔʱ¼ä£¬Ìá¸ßµ÷ÊÔЧÂÊ
3¡£ÏÖÔÚËÙ¶ÈÒ²²»Âýô
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.235.31]
±ê Ìâ: A question
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed May 20 09:55:20 1998), תÐÅ
ÎÒÕýÔÚÓÃVB±àдһЩ³ÌÐò,ÔÚÓÃGraph¿Ø¼þ»Í¼Ê±,
ÉèNumSet=5,¿ÉÊÇÖ»ÓеÚÒ»¸öLegeng Text±»¸³Öµ,
ÆäËüÖ»¿´µ½»Í¼·ûºÅ,¶ø²»¼ûÎÒËùÒªÊäÈëµÄͼµÄ·û
ºÅ˵Ã÷(¼´Lengend Text µÄÄÚÈÝ),°´ËµLegend Text
µÄÊôÐÔÊôÓÚÊý×é,¿ÉÔõÑù²ÅÄܳɹ¦µÄ¶ÔÆ丳ֵ±¾ÈË
ÓÉÓÚ±ÏÒµÔÚ¼´,ؽ´ý¸ßÊÖÖ¸µã
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
±ê Ìâ: [תÔØ] Re: VB ÖÐÓÐʵÏÖ´òÓ¡¹¦ÄܵĿؼþÂð£¿
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed May 20 10:13:30 1998), תÐÅ
¡¾ ÔÚ youth (С¶¬¹Ï) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: VB ÖÐÓÐʵÏÖ´òÓ¡¹¦ÄܵĿؼþÂð£¿
¿É°®µÄС¶¬¹Ï°¡,VB5.0ÖеÄͨÓöԻ°¿ò,
Ö»Òª½«ÆäÉèΪCommondialog1.showprintÔò
¿ÉÒÔʵÏÖºÍWindowsÖÐÆäËûÓ¦ÓóÌÐòÖÐÄÇÑù
µÄ´òÓ¡¹¦ÄÜ(¼ÙÉèÄãµÄͨÓöԻ°¿ò¿Ø¼þµÄÃû×ÖÉèΪ
commondialog1)
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
±ê Ìâ: Re: VB Öж¯»µÄʵÏÖ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed May 20 10:29:14 1998), תÐÅ
¼ÄÐÅÈË: celine (ºþµ×³¿ÐÇ )
±ê Ìâ: Re: VB Öж¯»µÄʵÏÖ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed May 20 10:26:27 1998)
À´ Ô´: ljyang.hit.edu.c
¡¾ ÔÚ youth (С¶¬¹Ï) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÏëÔÚVBµÄ´°ÌåÉϼÓÉÏÒ»¶ÎÑ»·²¥·ÅµÄС¶¯»,ÓÐÒ»µãССҪÇó:²¥·ÅÆ÷²»ÄÜÈÃ
: Óû§¿´¼û,´°ÌåÒ»¼ÓÔØʱ,¶¯»¿ªÊ¼²¥·Å,´°ÌåжÔØʱ,¶¯»Í£Ö¹,ÓÐʲô°ì·¨Âð?
: ÎÒÕâÓÐ ActiveMovie µÄ¿Ø¼þ,µ«²»ÖªµÀÔõôÓÃ? ллÄãµÄ°ïÖú!
Äã¿ÉÒÔͨ¹ý¸ü¸ÄËùҪǶÈëµÄOLE¿Ø¼þµÄǶÈëÌØÐÔ,Èç¿ÉÒÔÊÔÒ»ÊÔ
OLEControlName.InsertObjDlg¶Ô»°¿òÖеÄÑ¡Ïî
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
±ê Ìâ: ½¨VB°æµÄÄ¿µÄ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 21 10:08:32 1998), תÐÅ
½¨Õâ¸ö°æµÄÄ¿µÄÊÇΪÁ˸ü¶àµÄ°®ºÃVB ºÍÕýÔÚʹÓÃVBµÄÈËÌṩһ¸ö»¥Ïàѧϰ
½»Á÷µÄ³¡Ëù,ËùÒÔÎÒÏ£ÍûÔÚÕâ¸ö°æ²»Òª³öÏÖ¹àË®ÐÐΪ,ÈÃÕâ¸ö°æ³ÉΪÕæÕýµÄ
ѧÊõ½»Á÷µÄµØ·½..... ºÃÂð?
лл´ó¼Ò !!!!!!
--
ÎÒÔ¸ÎÒÊÇÒ»¸öÎÞ±ÈÃÀÀöµÄÃξ³
ÈÃÄãÓÀÔ¶ÓÀÔ¶Ò²×ß²»³öÀ´
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.69]
±ê Ìâ: how to study VB
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 21 22:01:30 1998), תÐÅ
¾ÍÎÒ¸öÈËÈÏΪ£¬Ñ§ºÃVBҪעÒâÁ½µã
1.VBµÄʼþÇý¶¯±à³ÌµÄ»úÀí¡£
2.ActiveX¿Ø¼þµÄʹÓá£
¶ÔÓÚVB5.0£¬ÔòÓ¦¶à×¢ÒâVBÃæÏò¶ÔÏóµÄ·½·¨£¬
¿É×¢Òâ¶àʹÓÃVBÖй¤³ÌÖмÓÈëÀàÄ£¿éÖеÄ
VBÀàÉú³ÉÆ÷
¶ÔÓÚVBµÄѧϰ£¬ÎÒ¸öÈËÈÏΪ£¬¶ÔÓÚÓÐBasic
±à³Ì»ù´¡µÄÈË£¬²»ÐèÒª¹ºÂòÊé¼®£¬Èç¹û£¬Äã
°²×°µÄÊÇVB5.0ÖÐÎİ棬ֻҪ°²×°ÉÏÁª»úÊֲᣬ
Ëü±ãÊÇÒ»±¾ºÜºÃµÄÊé¼®£¬ÊÐÃæÉÏ£¬ÕâÒ»Ì×Êé
Âô¶þÈý°ÙԪǮ¡£
Òò´Ë£¬ÎÒ¸öÈËÈÏΪÔÚ±¾°æ²»ÒªÔÙ³öÏÖʲôVBÈëÃÅ
Ö®ÀàµÄÎÄÕ¡£±¾°æÖ»Ó¦¸Ã×÷ΪÌÖÂÛVB±à³Ì¼¼ÇÉ
ºÍ½â¾öVBÒÉÄÑÎÊÌâ¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: etp4.hit.edu.cn]
±ê Ìâ: Re: ÎÒϲ»¶VB!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 21 22:33:18 1998), תÐÅ
¡¾ ÔÚ atom (°¢ÍÃ) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: 1¡£Óï¾äÒ׶Á
: 2¡£½ÚÊ¡µ÷ÊÔʱ¼ä£¬Ìá¸ßµ÷ÊÔЧÂÊ
: 3¡£ÏÖÔÚËÙ¶ÈÒ²²»Âýô
²»¼ûµÃ£¡µ÷ÊÔÊý¾Ý¿âÓ¦ÓóÌÐò£¬ËٶȾÍ
ºÜ²»ÀÖ¹ÛÁË¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: etp4.hit.edu.cn]
±ê Ìâ: VBºÍDEPHIÄĸöºÃһЩ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri May 22 17:58:07 1998), תÐÅ
ÈçÌâ..
Çë´óϺÃDz»Ï§´Í½Ì
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: yaoyu.hit.edu.cn]
±ê Ìâ: Re: VBºÍDEPHIÄĸöºÃһЩ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat May 23 07:54:43 1998), תÐÅ
¡¾ ÔÚ biped (ËÓÐVtoolsD?) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈçÌâ..
: Çë´óϺÃDz»Ï§´Í½Ì
¶¼Í¦²»´íµÄ,DelphiµÄÄÚºËÊÇ Pascal.
ÉÏÊÖ¶¼±È½ÏÈÝÒ×.
ÕâÒª¿´¸öÈËÏ°¹ßÁË.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: sys05.hit.edu.cn]
±ê Ìâ: Re: VBºÍDEPHIÄĸöºÃһЩ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat May 23 08:01:58 1998), תÐÅ
Vbû·¨ºÍDelphiÏà±È. Vb±ÈDelphiºÃѧ,µ«ÊÇѧ»áÁËÒ²¾ÍÍêÊÂÁË,
ÕæÕý±àÒ»¸öºÃ³ÌÐò,»¹ÒªÊ¹ÓÃDelphi,ʹÓÃVBµÄËÙ¶ÈÕæÊÇÌ«ÂýÌ«ÂýÁË.
΢ÈíµÄ³ÌÐò´ÓÀ´²»ÊdzÌÐòÔËÐÐËٶȼӿì,¶øÊÇÓÐCPUÀ´°ïÖúËü¼ÓËÙ,
ËùÒԲųöÏÖÁËWINTEL.
¡¾ ÔÚ biped (ËÓÐVtoolsD?) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈçÌâ..
: Çë´óϺÃDz»Ï§´Í½Ì
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: cal.hit.edu.cn]
±ê Ìâ: Re: VBºÍDEPHIÄĸöºÃһЩ?
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat May 23 08:07:34 1998), תÐÅ
¡¾ ÔÚ biped (ËÓÐVtoolsD?) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈçÌâ..
: Çë´óϺÃDz»Ï§´Í½Ì
VBʹÓÃÆðÀ´±È½Ï¼òµ¥£¬¶ÔÓÚËõ¶Ì²úÆ·µÄ¿ª·¢ÖÜÆÚ¾ßÓÐÓÅÊÆ¡£
µ«Èç¹û³ÌÐòÔ±¶ÔÓÚPASCALÊìϤµÄ»°£¬VBµÄÓÅÊƾͲ»Ì«ÏÔÖøÁË¡£
¶øÇÒVB¶ÔÓÚÀàµÄÖ§³Ö²»Ç¿£¬²»Ì«ÊÊÓÃÓÚÃæÏò¶ÔÏóµÄ±à³Ì¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: as605.hit.edu.cn]
±ê Ìâ: [תÔØ] VB"ÎÊÓë´ð"
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun May 24 09:35:25 1998), תÐÅ
¡¡¡¡×÷Ϊһ¸öVB°®ºÃÕߣ¬Ò»¸öÈËÔÚºÚ°µÖÐÃþË÷ÕæÊÇÌ«ÀÛÁË¡£ÏÖ
½«ÎÒÃþË÷µÄһЩÐĵù±Ï׸ø´ó¼Ò£¬Ï£ÍûÆðÅ×שÒýÓñµÄ×÷Óã¨ÎÒ
ÓõÄÊÇVISUAL BASIC 5ª±0ÖÐÎİ棩¡£
¡¡¡¡1ª±ÎÊÌ⣺ÓÐÒ»³ÌÐòº¬ÓÐÁ½¸öForm£¬ÆäÖÐForm2µÄPictureÊô
ÐÔΪһÕÅBMPλͼ£¬¶øÒÔÏÂÊÇForm1ÏÔʾForm2µÄ³ÌÐò£º
¡¡¡¡Form2ª±Show
¡¡¡¡'ÑÓ³Ù2Ãë
¡¡¡¡Time1=Timer
¡¡¡¡While Timer£Time1<2
¡¡¡¡Wend
¡¡¡¡ÒÔÉϳÌÐòµÄÄ¿µÄÊÇÏ£ÍûÏÔʾForm2µÄͼƬÁ½ÃëÖ®ºó£¬Form1
²Å¼ÌÐøÖ´ÐУ¬½á¹û¾¹È»ÊÇ2ÃëÖ®ºó£¬Form2µÄͼƬ²ÅÏÔʾ³öÀ´¡£
ΪʲôͼƬ»áÑÓ³ÙÏÔʾÄØ£¿
¡¡¡¡»Ø´ð£ºÒ»°ã¶øÑÔ£¬»æͼ»á±ÈÒ»°ãµÄÖ¸Áî·Ñʱ£¬Òò´Ë£¬»æͼ
Ö¸ÁîµÄÓÅÏȼ¶½ÏµÍ£¬Ò²¾ÍÊÇ˵£¬Ö±µ½ÆäËûÖ¸ÁִÐÐÍê±ÏÖ®
ºó£¬²Å»áÂÖµ½»æͼָÁîµÄÖ´ÐУ¬ÔÚÒÔÉϵÄForm1³ÌÐòÖУ¬ÓÉÓÚ
Form2ª±ShowÖ®ºó£¬ÓÖÖ´ÐÐÁËÒ»¸ö·Ñʱ2ÃëµÄWhileÑ»·£¬Òò´Ë£¬
Form2µÄͼƬ±ØÐëµÈ´ý2ÃëÖÓ£¬²Å»á±»Ãè»æ³öÀ´¡£
¡¡¡¡¿É°´ÈçÏ·½·¨½â¾ö£º
¡¡¡¡ÔÚWhileÑ»·ÖÐÔö¼ÓDoEvents£¬ÈçÏ£º
¡¡¡¡Form2ª±Show
¡¡¡¡'ÑÓ³Ù2Ãë
¡¡¡¡Time1=Timer
¡¡¡¡While Timer£Time1<2
¡¡¡¡DoEvents
¡¡¡¡Wend
¡¡¡¡DoEventsµÄ×÷ÓÃÊǶÌÔݵØÍ£Ö¹Ö´ÐУ¬Ê¹µÃÓÅÏȼ¶½ÏµÍµÄ»æ
ͼָÁî±»Ö´ÐУ¬ÓÚÊÇForm2µÄͼƬ±ã¿ÉÒÔÔÚWhileÑ»·Ö´ÐеĽ×
¶Î¾Í±»ÏÔʾ³öÀ´¡£
¡¡¡¡2ª±ÎÊÌ⣺ÔÚ±àÊý¾Ý¿â³ÌÐòʱ£¬¸ù¾Ý°ïÖúÀ´ÉùÃ÷±äÁ¿£¬Èç
주
¡¡¡¡Dim db As Database
¡¡¡¡Dim rs As Recordset
¡¡¡¡½á¹û³ÌÐò±àÒëʱVB¾¹È»Ëµ¡°Óû§¶¨ÒåÀàÐÍ䶨Ò塱£¬ÊǺÎ
ÔÒòÄØ?
¡¡¡¡»Ø´ð£ºDatabase¼°RecordsetÊôÓÚDAO(Data Access
Object)Ä£¿éÀïµÄ£¬²»ÊÇVBÄÚ¶¨µÄ£¬Òò´Ë±ØÐ뽫DAOµÄ¶¨Òå°üº¬
ÔÚ¡°ÒýÓÃÖС±£¬VB²Å»áÈϵÃDatabase¼°Recordset£¬²Ù×÷·½·¨ÊÇ
Ñ¡È¡¹¦ÄܱíµÄ¡°¹¤³Ì£¨P£©ª±ª±ª±¡±£¬´ý³öÏÖ¡°ÒýÓã¨N£©ª±ª±
ª±¡±´°Ê±£¬ÔÙÑ¡È¡Microsoft DAO 3ª±0 Object Library»ò
Microsoft DAO 2ª±5/3ª±0 Compatibility Library(¼æÈÝ
Access 2ª±0ÒÔÇ°µÄ°æ±¾)¡£(Èç¹ûʹÓõÄÊÇ16λ°æ±¾µÄVB£¬ÔòÑ¡
È¡Microsoft DAO 2ª±5 Object Library)
¡¡¡¡3ª±ÎÊÌ⣺ÎÒÏë¿ØÖÆI/O£¬VBÊÇ·ñÓÐÀàËÆQuick BASICµÄINP
¡¢OUTÖ¸Áî¿ÉʹÓã¿
¡¡¡¡»Ø´ð£ºVB²¢ÎÞINP¼°OUTµÄÖ¸Áî¿ÉÓ㬼´Ê¹ÊÇWindowsµÄAPI
º¯ÊýҲûÓÐÀàËƵĺ¯Êý£¬ÔÒòÊÇWindows²»Ï£ÍûÓ¦ÓóÌÐòÖ±½Ó¿Ø
ÖÆÓ²¼þ¡£Èç¹ûÏë¿ØÖÆRS232µÄͨѶ¿Ú£¬ÔòVBרҵ°æ(»òÆóÒµ°æ)ÓÐ
Ïֳɵġ°MSComm¡±¿Ø¼þ¿ÉÓá£
¡¡¡¡4ª±ÎÊÌ⣺ÈçºÎ´´½¨ÍÖÔ²ÐεĴ°Ìå?
¡¡¡¡»Ø´ð£ºµ±È»ÊÇÓÃWin32 APIº¯ÊýÁË£¬ÓÃVB5ª±0ÖÐÎÄ°æµÄAPI
Îı¾²é¿´Æ÷½«ÏÂÁÐAPIº¯Êý¼ÓÈë´°ÌåµÄͨÓôúÂëÖУ¬¾Í¿ÉÒÔ×öÒ»
¸öÍÖÔ²´°¿Ú¡£
¡¡¡¡Private Declare Function CreateEllipticRgn Lib
¡ågdi32¡å(ByVal X1 As Long,ByVal Y1 As Long,ByVal X2
As Long,ByVal Y2 As Long)As Long
¡¡¡¡Private Declare Function SetWindowRgn Lib ¡åuser32
¡å(ByVal hWnd As Long,ByVal hRgn As Long,ByVal bRedraw
As Boolean)As Long
¡¡¡¡ÔÚForm_Load()´°ÌåÖмÓÈëÈçÏ´úÂ룺
¡¡¡¡Private Sub Form_Load()
¡¡¡¡Show
¡¡¡¡SetWindowRgn
hWnd,CreateEllipticRgn(0,0,300,200),True
¡¡¡¡End Sub
¡¡¡¡ÉÏÊö´úÂë¿ÉÒÔ´´½¨Ò»¸öÍÖÔ²ÐÎ×´µÄ´°¿Ú¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.67]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.235.31]
±ê Ìâ: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun May 24 09:39:39 1998), תÐÅ
ËÓÐʹÓÃVB DbGrid ¿Ø¼þ·½ÃæµÄ¾Ñé, Çë¶àÖ¸½Ì, ÔÚÏÂÏÈл¸÷λ´óÏÀÁË.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: yaoyu.hit.edu.cn]
6031925.Atar ÐÅÈË: feature (Ξý¸ßÒå), ÐÅÇø: VB
±ê Ìâ: Re: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun May 24 09:48:27 1998), תÐÅ
¡¾ ÔÚ katherine (cat) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ËÓÐʹÓÃVB DbGrid ¿Ø¼þ·½ÃæµÄ¾Ñé, Çë¶àÖ¸½Ì, ÔÚÏÂÏÈл¸÷λ´óÏÀÁË.
ÎÒ½¨ÒéÄã×îºÃ²»ÒªÓÃDBGRID£¬·ñÔòÄã»á·¢ÏÖÄãµÄ³ÌÐò¾³£³öÒ»°ã±£»¤ÐÔ´íÎó¡£
Äã¿ÉÒÔÓÃMSGRID£¬»òÕ߸ɴàÓÃGRID¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: as605.hit.edu.cn]
±ê Ìâ: Çë¸ßÊֻشð£¡
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun May 24 10:37:01 1998), תÐÅ
ÎÒÓÃvb5.0£¬ÏÖÔÚÓÐÒ»¸öÎÊÌ⣺
ÎÒÏëÓÃÆäʵÏÖ½«32λµÄ Êý¾Ý´«µ½²¢Ðпڣ¬»òÕß´Ó²¢ÐпڶÁÈ¡32λµÄ
Êý¾Ý£¬ÎÒ¸ÃÔõôʵÏÖ£¿
please help me quickly!
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.230.86]
: ÎÒÓÃvb5.0£¬ÏÖÔÚÓÐÒ»¸öÎÊÌ⣺
: ÎÒÏëÓÃÆäʵÏÖ½«32λµÄ Êý¾Ý´«µ½²¢Ðпڣ¬»òÕß´Ó²¢ÐпڶÁÈ¡32λµÄ
: Êý¾Ý£¬ÎÒ¸ÃÔõôʵÏÖ£¿
: please help me quickly!
±ê Ìâ: Re: Çë¸ßÊֻشð£¡
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Mon May 25 12:44:30 1998), תÐÅ
¡¾ ÔÚ jc (hui) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÎÒÓÃvb5.0£¬ÏÖÔÚÓÐÒ»¸öÎÊÌ⣺
: ÎÒÏëÓÃÆäʵÏÖ½«32λµÄ Êý¾Ý´«µ½²¢Ðпڣ¬»òÕß´Ó²¢ÐпڶÁÈ¡32λµÄ
: Êý¾Ý£¬ÎÒ¸ÃÔõôʵÏÖ£¿
: please help me quickly!
±¾ÈËÓÃVC5.0×öÁËÒ»¸ö¶Ë¿Ú¶Áд.DLL£¬µ«»¹Ã»ÔÚVBÖÐÓùý¡£Èç¹ûÄãÏëÊÔÊÔ
ÎÒÃÇ¿ÉÒÔ¹²Í¬ÌÖÂÛ¡£
ÈÊÔÊÔ
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: robbiped01.hit.e]
±ê Ìâ: Re: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 26 10:30:05 1998), תÐÅ
¡¾ ÔÚ feature (Ξý¸ßÒå) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¡¾ ÔÚ katherine (cat) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: : ËÓÐʹÓÃVB DbGrid ¿Ø¼þ·½ÃæµÄ¾Ñé, Çë¶àÖ¸½Ì, ÔÚÏÂÏÈл¸÷λ´óÏÀÁË.
: ÎÒ½¨ÒéÄã×îºÃ²»ÒªÓÃDBGRID£¬·ñÔòÄã»á·¢ÏÖÄãµÄ³ÌÐò¾³£³öÒ»°ã±£»¤ÐÔ´íÎó¡£
: Äã¿ÉÒÔÓÃMSGRID£¬»òÕ߸ɴàÓÃGRID¡£
ÎÒ»áÓÃÒ»µã£¬¿ª·¢ÁËһЩСµÄÊý¾Ý¿â£¬ÓÐÐËȤÁªÂ磡
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: lmt.hit.edu.cn]
±ê Ìâ: Re: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 26 11:19:15 1998), תÐÅ
¡¾ ÔÚ katherine (cat) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ËÓÐʹÓÃVB DbGrid ¿Ø¼þ·½ÃæµÄ¾Ñé, Çë¶àÖ¸½Ì, ÔÚÏÂÏÈл¸÷λ´óÏÀÁË.
Èç¹ûÄãÒª°ó¶¨µÄ¿â²»´ó£¬¶øÇÒҲûʲô¸´ÔӵIJÙ×÷µÄ»°
DbGrid ÊÇ¿ÉÒÔÓÃÓá£Èç¹ûÏà·´£¬ÎÒ½¨Òé×îºÃ²»ÓÃ(Èç¹ûÊÇҪ͵¸öÀÁ£¬¿ÖÅÂ
»áÕÒÀ´¸ü´óµÄÂé·³£©¡£¾ÍÏóÔÚ¼òµ¥Ó¦ÓÃʱ¿ÉÒÔÓÃÓÃÄǸöData¿Ø¼þ£¬µ«ÕæÒªÏë
×Ô¼ºÁé»î¿ØÖƶÔÊý¾Ý¿âµÄ·ÃÎÊ»¹ÊÇÒª×Ô¼º±àÂëÀ´µÃ·ÅÐÄ¡£
¿ÉÒÔÓÃÓÃGrid¿Ø¼þ£¬ËäÈ»±àÂë¶àЩ£¬µ«×Ô¼º¿É¿ØÖƵIJ¿·ÖÒ²´óһЩ¡£
---------------------------------------------------------------------
³èÈè²»¾ª£¬Ïп´Í¥Ç°»¨¿ª»¨Â䣻
È¥ÁôÎÞÒ⣬ÂþËæÌìÍâÔƾíÔÆÊ棻
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: as605.hit.edu.cn]
±ê Ìâ: [תÔØ] VBÖп´Í¼Æ¬µÄ·½·¨
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 26 20:00:27 1998), תÐÅ
¡¡¡¡Óã֣£´±àÖÆÓйØͼƬÏÔʾ·½ÃæµÄ³ÌÐòʱ£¬ÓÐʱ»áÓöµ½Òª´ò¿ªµÄͼÏó±ÈËù´æ·Å
µÄͼƬ¿ò´óµÄÇé¿ö£¬½«Í¼Æ¬¿òÖеģÁ£Õ£Ô£Ï£Ä£Ò£Á£×ÉèÖÃΪ£Ô£Ò£Õ£Å£¬¿ÉÒÔʹͼƬ
¿òÓëÒª´ò¿ªµÄͼÏóÒ»Ñù´ó£¬µ«ÔÚʵ¼ÊÓ¦ÓÃÖУ¬ÉÏÊö·½·¨²¢²»ÄÜ¿´µ½Õû¸öͼƬ¡£ËäÈ»
Óãףé£î£ä£ï£÷£óµÄ£Á£Ð£Éº¯ÊýÖеģ£ɣԣ£̣ԣ¨£©¿ÉÒÔʵÏÖÔÚͼƬ¿òÖÐÒƶ¯Í¼
Ï󣬵«ÕâÖÖ·½·¨Ì«×¨ÒµÇÒʹÓø´ÔÓ¡£Æäʵ¿ÉÒÔÔËÓã֣£´ÐÂÔöµÄ»æͼ¹¦ÄܣУÁ£É£Î
£ÔÀ´½â¾öÕâ¸öÎÊÌâ¡£¾ßÌåʵÏÖ·½·¨ÈçÏ£º
¡¡¡¡Ò»¡¢ÔÚ´°ÌåÖÐÉèÖúá¹ö¶¯Ìõ£¨£È£Ó£Ã£Ò£Ï£Ì£Ì£±£©ºÍÊú¹ö¶¯Ìõ£¨£Ö£Ó£Ã£Ò£Ï£Ì
£Ì£±£©ÓÃÓÚͼƬµÄ¶¨Î»¡£
¡¡¡¡¶þ¡¢ÔÚºá¹ö¶¯Ìõ¿Ø¼þºÍÊú¹ö¶¯ÌõÖÐдÈëÒÔÏ´úÂ룺
¡¡¡¡£ð£ò£é£ö£á£ô£å¡¡£ó£õ£â¡¡£è£ó£ã£ò£ï£ì£ì£±£ß£ã£è£á£î£ç£å£¨£©¡¡£¢µ±¸Ä±ä
£È£Ó£Ã£Ò£Ï£Ì£Ì£±£®£Ö£Á£Ì£Õ£Åʱ¼¤·¢
¡¡¡¡£ð£é£ã£ô£õ£ò£å£±£®£ð£é£ã£ô£õ£ò£å£½£ì£ï£á£ä£ð£é£ã£ô£õ£ò£å¡¡£¢Çå¿ÕͼƬ¿ò
¡¡¡¡¡¡¡¡£ð£é£ã£ô£õ£ò£å£±£®£ð£á£é£î£ô£ð£é£ã£ô£õ£ò£å¡¡£ì£ï£á£ä£ð£é£ã£ô£õ£ò
£å£¨£¢£ð£é£ã£ô£õ£ò£å£î£á£í£å£¢£©£¬££è£ó£ã£ò£ï£ì£ì£±£®£ö£á£ì£õ£å£¬££ö£ó
£ã£ò£ï£ì£ì£±£®£ö£á£ì£õ£å
¡¡¡¡¡¡¡¡£å£î£ä¡¡£ó£õ£â
¡¡¡¡£ð£ò£é£ö£á£ô£å¡¡£ó£õ£â¡¡£ö£ó£ã£ò£ï£ì£ì£±££ã£è£á£î£ç£å£¨£©¡¡£¢µ±¼¤·¢
£Ö£Ó£Ã£Ò£Ï£Ì£Ì£±£®£Ö£Á£Ì£Õ£Åʱ¼¤·¢
¡¡¡¡¡¡¡¡£ð£é£ã£ô£õ£ò£å£±£®£ð£é£ã£ô£õ£ò£å£½£ì£ï£á£ä£ð£é£ã£ô£õ£ò£å
¡¡¡¡¡¡¡¡£ð£é£ã£ô£õ£ò£å£±£®£ð£á£é£î£ô£ð£é£ã£ô£õ£ò£å¡¡£ì£ï£á£ä£ð£é£ã£ô£õ£ò
£å£¨£¢£ð£é£ã£ô£õ£ò£å£î£á£í£å£¢£©£¬££è£ó£ã£ò£ï£ì£ì£±£®£ö£á£ì£õ£å£¬££ö£ó
£ã£ò£ï£ì£ì£±£®£ö£á£ì£õ£å
¡¡¡¡£å£î£ä¡¡£ó£õ£â
¡¡¡¡³ÌÐòÖеģУɣãԣգңţΣÁ£Í£Å±íʾҪ´ò¿ªµÄͼƬÎļþÃû£¬Ö®ËùÒÔÓã£È£Ó
£Ã£Ò£Ï£Ì£Ì£±£®£Ö£Á£Ì£Õ£ÅºÍ££Ö£Ó£Ã£Ò£Ï£Ì£Ì£±£®£Ö£Á£Ì£Õ£ÅÊÇÒòΪͼƬ¿òµÄ±ê
¶ÈÔÚȱʡÉ趨ʱ×óÉϽǶ¨ÒåΪ£¨£°£¬£°£©¡£µ±£È£Ó£Ã£Ò£Ï£Ì£Ì£±£®£Ö£Á£Ì£Õ£Å£½£±
£°£¬£Ö£Ó£Ã£Ò£Ï£Ì£Ì£®£Ö£Á£Ì£Õ£Å£½£µ£°Ôò»Í¼ÆðµãÔÚ£¨££±£°£¬££µ£°£©´¦£¬Õâ
Á½ÖÖÇé¿öÏÂËùÏÔʾµÄͼÏó²»Ò»Ñù£¬Òò´Ë²úÉúÒ»ÖÖͼƬÔÚÒƶ¯µÄ¸Ð¾õ£¬ÕâÑù¾Í½â¾öÁË
ÔÚСͼƬ¿ò¿´´óͼƬµÄÎÊÌâ¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: libserver-bak.hi]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: hitatc.hit.edu.c]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.69]
±ê Ìâ: [תÔØ] ÈçºÎÔÚVBÖÐʵÏÖ¹âÇýÅÌƬµÄÍ˳öºÍ×°Èë
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Tue May 26 20:00:33 1998), תÐÅ
¡¡¡¡Í¨³£¹âÇýÅÌƬµÄÍ˳öºÍ×°ÈëÊDzÉÓá°ÊÖ¶¯¡±·½Ê½£¬¼´°´¹âÇýÃæ°åÉϵģţê£å£ã
£ô°´Å¥£¬³ÆΪӲ²Ù×÷¡£Èç¹ûÓÃÈí¼þʵÏÖÉÏÊö²Ù×÷£¬Ôò³ÆΪÈí²Ù×÷¡£
¡¡¡¡ÏÂÃæ½éÉÜÒ»ÖÖÓã֣é£ó£õ£á£ì¡¡£Â£Á£Ó£É£Ã¡¡£³£®£°¡¡£æ£ï£ò¡¡£×£é£î£ä£ï£÷
£óרҵ°æÖеģͣãɣ®£Ö£Â£Ø¶àýÌå¿Ø¼þÀ´ÊµÏÖµÄÈí²Ù×÷·½·¨¡£
¡¡¡¡Ê×ÏȱØÐëÈ·¶¨ÄãµÄ£×£é£î£ä£ï£÷£óϵͳÖУ¬£Ó£Ù£Ó£Ô£Å£Í£®£É£Î£ÉÎļþ£Û£Í£Ã
£É£ÝС½ÚÖÐÓУãģÁ£õ£ä£é£ï£½£Í£ã£é£ã£ä£á£®£ä£ò£ö£¬·ñÔòÓ¦Ôö¼Ó´ËÇý¶¯³ÌÐò¡£
¡¡¡¡½ÓÏÂÀ´¾ÍÊÇÔÚ£Ö£é£ó£õ£á£ì¡¡£Â£Á£Ó£É£ÃÖÐʹÓãۣÁ£Ä£Ä¡¡£Æ£é£ì£å£Ý½«£×£é
£î£ä£ï£÷£ó£Ü£Ó£Ù£Ó£Ô£Å£ÍĿ¼Öеģͣãɣ®£Ö£Â£Ø¼ÓÖÁ£Ô£ï£ï£ì£Â£ï£øÀï¡£ÓÃÊó
±êË«»÷£Ô£ï£ï£ì£Â£ï£øÖеÄýÌå¿ØÖÆÏî»òÍÏ·ÅÖÁ£Æ£ï£ò£íÉÏ£¬µ÷ÕûÆä´óС£¬²¢ÏÔʾ
³ö¾Å¸ö°´Å¥£¬´Ó×óÖÁÓÒ·Ö±ðÊǣУò£å£ö¡¢£Î£å£ø£ô¡¢£Ð£ì£á£ù¡¢£Ð£á£õ£ó£å¡¢£Â£á
£ã£ë¡¢£Ó£ô£å£ð¡¢£Ó£ô£ï£ð¡¢£Ò£å£ã£ï£ò£ä¼°£Å£ê£å£ã£ô¡£ÎÒÃÇÖ»±£Áô£Å£ê£å£ã£ô
°´Å¥£¬ÔÚ´úÂëÖн«ÆäËü°´Å¥µÄ£Ö£é£ó£é£â£ì£åÊôÐÔÉ趨Ϊ£Æ£á£ì£ó£å£¬¼´ÔËÐÐʱ²»
¿É¼û¡£
¡¡¡¡³ÌÐò´úÂëÈçÏ£º
¡¡¡¡£Ó£õ£â¡¡£Æ£ï£ò£í££Ì£ï£á£ä£¨£©
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ä£å£ö£é£ã£å£Ô£ù£ð£å£½£¢£Ã£Ä£Á£õ£ä£é£ï£¢¡¡¡¡¡¡
¡¡¡¡¡¯Ö¸¶¨Ã½ÌåÀàÐÍ¡¡¡¡¡¡
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ã£ï£í£í£á£î£ä£½£¢£Ï£ð£å£î£¢¡¡¡¡¡¡¡¡
¡¡¡¡¡¯´ò¿ªÃ½ÌåÉ豸¡¡¡¡¡¡
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ð£ò£å£ö£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Î£å£ø£ô£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ð£ì£á£ù£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Â£á£ã£ë£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ó£ô£å£ð£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ó£ô£ï£ð£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ð£á£õ£ó£å£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ò£å£ã£ï£ò£ä£Ö£é£ó£é£â£ì£å£½£Æ£á£ì£ó£å
¡¡¡¡£Å£î£ä¡¡£Ó£õ£â
¡¡¡¡£Ó£õ£â¡¡£Æ£ï£ò£í££Õ£î£ì£ï£á£ä£¨£Ã£á£î£ã£å£ì¡¡£Á£ó¡¡£É£î£ô£å£ç£å£ò£©
¡¡¡¡£Í£Í£Ã£ï£î£ô£ò£ï£ì£±£®£Ã£ï£í£í£á£î£ä£½£¢£Ã£ì£ï£ó£å£¢¡¡¡¡¡¡¡¯¹Ø±ÕýÌå
É豸
¡¡¡¡£Å£î£ä¡¡£Ó£õ£â
¡¡¡¡³ÌÐòÖУͣͣãï£î£ô£ò£ï£ì£±ÊÇϵͳÄÚ¶¨µÄýÌå¿ØÖƶÔÏóÃû³Æ£¬Óû§¿ÉÒÔ¸ù¾Ý
¾ßÌåÇé¿ö×Ô¼º¸ü¸Ä¡£
¡¡¡¡ÕâʱÄã¿ÉÒÔµ÷ÊÔ²¢µ÷Õû£Æ£ï£ò£íºÍ¿Ø¼þµÄ´óС£¬µ÷ÊÔÕý³£ºó£¬¿ÉÉèÖãƣï£ò£í
¶ÔÏóµÄ±êÌâ¡¢ÑÕÉ«¡¢Í¼±êµÈ¡£È»ºó±àÒë³É£®£Å£Ø£ÅÎļþ£¬¼´¿ÉÔÚ£×£é£î£ä£ï£÷£óÏÂ
ÔËÐС£
¡¡¡¡±¾·½·¨ÔÚ£´£¸£¶£Ä£Ø£²£¯£¶£¶¼æÈÝ»úÉÏ£¨Åä£Ã£Ä££É£Ó£²£°£±¹âÇý£©£¬£×£é£î
£ä£ï£÷£ó¡¡£³£®£²ÖÐÎÄ°æºÍ£×£é£î£ä£ï£÷£ó¡¡£³£®£±Î÷ÎÄ°æÏÂÔËÐÐͨ¹ý¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: libserver-bak.hi]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: hitatc.hit.edu.c]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.69]
bs±ê Ìâ: [תÔØ] ¸ßн³ÏƸ,»ú»áÄѵÃ!!!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed May 27 17:50:52 1998), תÐÅ
Òò¾Óª¹æÄ£À©´ó,ÏÖ¼±Óû¸ßн³ÏƸÏÂÁÐÈ˲Å:
1.ÍøÂç¹ÜÀíÔ± 1ÈË
´ÓʹãÓòÍøµÄÉè¼Æά»¤¼°¹ÜÀí¹¤×÷.
ÒªÇó:ÓÐʵ¼Ê¹¤×÷¾Ñé,ÊìϤSCO UNIX V5 , SUN Solaris 6.2, NetWare 4.11
,NT Server 4.0 ¼°´óÐÍÊý¾Ý¿â¡£²»ÐèÅàѵÄÜÖ±½ÓÉϸڡ££¨×¨Ö°£©
´ýÓö:ÃæÒé
2.³ÌÐòÔ± 20ÈË
´ÓÊÂÓ¦ÓÃÈí¼þµÄ¿ª·¢,ά»¤µÈ¹¤×÷.
ÒªÇó:ÊìÁ·ÕÆÎÕÒÔÏ¿ª·¢¹¤¾ß(±à³ÌÓïÑÔ)Ö®Ò».
(1) VB,VBS,VBA
(2) c,c++,VC
(3) Delphi
(4) Powerbuilder
(5) Java
(6) CGI±à³Ì(Perl,c,c++)
(7) Sybase,Oracle,MS SQL Server
(8) HTML 3.2,Photo Shop
´ýÓö:ÊÔÓÃÆÚÈý¸öÔ 1200.00~1800.00/Ô , תÕýºó 1500.00~3000.00/ÔÂ
×¢:ÒÔÉÏÈËÔ±´ýÓöΪ»ù±¾¹¤×Ê,ÊÓ¸öÈ˹±Ï×´óС¸øÓë½±½ð¼°ºìÀû,
¹«Ë¾Óи÷ÖÖ¸£Àû±£ÕÏ(±£ÏÕ,ס·¿...),Íû¸÷λÓÐ־֮ʿǰÀ´
¼ÓÃË,¹²Í¬ÕñÐ˹¤´óÈí¼þÊÂÒµ.
ÁªÏµµç»°:6415189,6415811
E-Mail: 9941@bigfoot.com
scq@grapetree.hit.edu.cn
BP : 95812-9941
ÁªÏµÈË: Ëδ¿Ç¿
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.244.16]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.244.16]
VB
±ê Ìâ: wait for your help!!!!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 28 12:21:32 1998), תÐÅ
ÎÒÕýÓÃVB5.0±àÒ»¸ö´ÓÆóÒµÄÚ²¿µÄ·þÎñÆ÷ÖÐä¯ÀÀÊý¾ÝµÄ³ÌÐò.
ÏÖÔÚÎÒÏëÖªµÀÊÇ·ñ¿ÉÒÔÓÃVB5ÌṩµÄÃüÁîÐÞ¸ÄIEä¯ÀÀÆ÷ÖеIJ˵¥,
ʹÆä»ù±¾²Ëµ¥Ïûʧ,ÓÃÎÒ¶¨ÒåµÄ²Ëµ¥È¡¶ø´úÖ®.²¢ÇÒÄÜÍê³ÉÒ»¶¨µÄ¹¦ÄÜ.
ÇëËÙ¸æÖ®,¶àлÁË!!!!!!
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: dip3.hit.edu.cn]
6533371160 10214±ê Ìâ: Re: wait for your help!!!!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 28 15:22:05 1998), תÐÅ
¡¾ ÔÚ Ailice (^_^) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÎÒÕýÓÃVB5.0±àÒ»¸ö´ÓÆóÒµÄÚ²¿µÄ·þÎñÆ÷ÖÐä¯ÀÀÊý¾ÝµÄ³ÌÐò.
: ÏÖÔÚÎÒÏëÖªµÀÊÇ·ñ¿ÉÒÔÓÃVB5ÌṩµÄÃüÁîÐÞ¸ÄIEä¯ÀÀÆ÷ÖеIJ˵¥,
: ʹÆä»ù±¾²Ëµ¥Ïûʧ,ÓÃÎÒ¶¨ÒåµÄ²Ëµ¥È¡¶ø´úÖ®.²¢ÇÒÄÜÍê³ÉÒ»¶¨µÄ¹¦ÄÜ.
: ÇëËÙ¸æÖ®,¶àлÁË!!!!!!
ºÃÏóÓе㲻̫¿ÉÄÜ¡£
Èç¹ûÄãÏëÖ±½ÓÐÞ¸ÄIE²Ëµ¥£¬ÆðÂëIE±ØÐëÌṩ¶ÔÍⲿ±à³Ì½Ó¿Ú¼°±à³Ìº¯Êý¶ø²»Ó¦¸ÃÓÃVBµÄº¯
ÊýÈ¥Ö±½ÓÐÞ¸ÄIE²Ëµ¥¡£Èç¹ûÓÐÁËÕâЩº¯Êý£¬¶ÔËùÓеıà³ÌÓïÑÔ¶¼Ó¦¸Ã¿ÉÒÔÍê³ÉÄãËùÏëÒªµÄ
ÈÎÎñ¡££¨²»¹âÊÇVB)¡£µ«ÊÇIEÊÇ·ñÌṩÍⲿ±à³Ì½Ó¿ÚºÃÏó»¹Ã»ÓÐÌý˵¹ý¡£
ÁíÍ⣺ÎÒ¾õµÄÓÃVBÍêÈ«¿ÉÒÔ¿ª·¢³öÒ»¸öÀàËÆÓëIE·ç¸ñµÄÈí¼þ¡£ÄãÍêÈ«¿ÉÒÔ¿ª·¢³ö¾ßÓÐ
×Ô¼º·ç¸ñµÄä¯ÀÀÊý¾Ý¿âµÄÈí¼þ£¬Óò»×ÅÈ¥ÓÃIE.
--
¡ù ÐÞ¸Ä:£®youth ÓÚ May 28 15:25:36 Ð޸ı¾ÎÄ£®[FROM: hitcrc.hit.edu.c]
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: hitcrc.hit.edu.c]
±ê Ìâ: Re: wait for your help!!!!
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu May 28 19:16:56 1998), תÐÅ
Äã¿ÉÒÔÊÔ×ÅÓÃVB5.0ÖÐÌṩµÄWEB¿Õ¼ä×Ô¼º±àÒ»¸öä¯ÀÀÆ÷,Õâ²¢²»Ì«ÄÑ,
ÄãÈÔÈ»¿ÉÒÔÊÔÊԸıä¿Ø¼þÖеÄͼ±êµÄÑùʽÒÔÓºÏÄãµÄÐèÒª,»¹¿ÉÒÔÔö
Ìí×Ô¼ºµÄ°´Å¥,¶à¿´Ò»¿´WEB¿Ø¼þµÄ°ïÖú,Ò²ÐíÕæµÄÓÐËù°ïÖú.
¡¾ ÔÚ Ailice (^_^) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÎÒÕýÓÃVB5.0±àÒ»¸ö´ÓÆóÒµÄÚ²¿µÄ·þÎñÆ÷ÖÐä¯ÀÀÊý¾ÝµÄ³ÌÐò.
: ÏÖÔÚÎÒÏëÖªµÀÊÇ·ñ¿ÉÒÔÓÃVB5ÌṩµÄÃüÁîÐÞ¸ÄIEä¯ÀÀÆ÷ÖеIJ˵¥,
: ʹÆä»ù±¾²Ëµ¥Ïûʧ,ÓÃÎÒ¶¨ÒåµÄ²Ëµ¥È¡¶ø´úÖ®.²¢ÇÒÄÜÍê³ÉÒ»¶¨µÄ¹¦ÄÜ.
: ÇëËÙ¸æÖ®,¶àлÁË!!!!!!
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*** @M*e@ @
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Celine.bbs@bbs.hit.edu.cn
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ljyang.hit.edu.c]
23417 ±ê Ìâ: ÔõôÄÜÈÃÒ»¸öpictureÔÚpicturebox¾ÓÖÐÏÔʾ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Wed Jun 10 18:23:44 1998), תÐÅ
as title
thanks
--
ÎÒÔ¸ÎÒÊÇÒ»¸öÎÞ±ÈÃÀÀöµÄÃξ³
ÈÃÄãÓÀÔ¶ÓÀÔ¶Ò²×ß²»³öÀ´
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.226.80]
±ê Ìâ: ÈÕÆڵġ°·³ÄÕ¡±
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu Jun 11 10:18:53 1998), תÐÅ
ÈÕÆÚ²éѯµÄ×î¼òµ¥Ò»ÖÖÇé¿ö£º
sql="Select * from lib where Fdate=#98-3-26#"
Ôõô×Ü˵ An error near "#" ?
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¿´Àý×ÓÒ²ÊÇÕâôдµÄ¡£
ÒÔǰҲû³ö¹ý´í°¡£¬ÈÃÎÒÒ»³ïĪչ¡£¡£¡£
ËÓÐÀàËƵľÀú£¬Ôõô½â¾öµÄ£¿
--
ÏÂÑ©ÁË£¬Ï´óÁË£¬Ð¡Ã¨Ð¡¹·´ò¼ÜÁË
´òÊÇÇ× Ò§ÊÇ°® ´ÓÀ´°®ºÞÔÚÒ»µÀ¡£¡£¡£
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.235.31]
15407.Ar ÈË: checcy (ÀϰͶá), ÐÅÇø: VB
±ê Ìâ: Re: ÈÕÆڵġ°·³ÄÕ¡±
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Thu Jun 11 17:37:14 1998), תÐÅ
¡¾ ÔÚ Quiet (Ìì½ÖÔÂÉ«) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈÕÆÚ²éѯµÄ×î¼òµ¥Ò»ÖÖÇé¿ö£º
: sql="Select * from lib where Fdate=#98-3-26#"
: Ôõô×Ü˵ An error near "#" ?
: ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
: ¿´Àý×ÓÒ²ÊÇÕâôдµÄ¡£
: ÒÔǰҲû³ö¹ý´í°¡£¬ÈÃÎÒÒ»³ïĪչ¡£¡£¡£
: ËÓÐÀàËƵľÀú£¬Ôõô½â¾öµÄ£¿
¼Ó¸ö¿Õ¸ñÊÔÊÔ¡£
--
" A bad day workin' is better than a good day fishin' ."
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: ppp235.hr.hl.cn]
±ê Ìâ: Ôõô½« picture box ¿Ø¼þ±ä³ÉÔ²µÄ£¿
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 12:55:44 1998), תÐÅ
ÇëÖ¸½Ì
--
СÂí¾ÍÊÇСÂí£¬Ëû¼´²»ÊÇСÂí¸çÒ²²»ÊÇÂíÏþ´º¡£
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: robbiped01.hit.e]
ÐÅÇø: VB
±ê Ìâ: VBÐĵÃ1
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 15:15:40 1998), תÐÅ
±¾ÈËʹÓÃVB5¡£0ÒѾÓÐÒ»¶Îʱ¼äÁË£¬ÏÂÃ潫ÎÒµÄÐĵÃÕûÀíÈçÏ£¬
ÎÒ½«ÒÀ¾ÝÎҵĿÕÏÐʱ¼äµÄ¶àÉÙ£¬Á¬Ðø½«ÎÒµÄÐĵÃÌùÉÏÀ´
Ï£Íû¶Ô¹ã´óVB°®ºÃÕßÓÐÓã¡°´ÕÕÏÂÁÐÈý¸ö²½Öè¿ÉÉú³É Application ¶ÔÏóʼþ¾ä±ú£º
1 ÔÚÀàÄ£¿éÖÐÉùÃ÷¶ÔÓ¦ÓÚʼþµÄ¶ÔÏó±äÁ¿¡£
2 ±àдÌض¨Ê¼þµÄ¹ý³Ì¡£
3 ´ÓÆäËûÄ£¿éÖгõʼ»¯ÒÑÉùÃ÷µÄ¶ÔÏó¡£
ÉùÃ÷¶ÔÏó±äÁ¿
Ϊ Application ¶ÔÏóʼþ±àд¹ý³Ì֮ǰ£¬±ØÐëн¨Ò»¸öÀàÄ£¿é²¢ÉùÃ÷
Ò»¸ö°üº¬Ê¼þµÄ Application ÀàÐͶÔÏó¡£
ÀýÈ磬¼ÙÉèÒѽ¨Á¢ÃûΪ EventClassModule µÄÐÂÀàÄ£¿é¡£¸ÃÀàÄ£¿é°ü
º¬ÏÂÁбàÂë¡£
Public WithEvents App As Word.Application
±àдʼþ¹ý³Ì
¶¨ÒåÁË°üº¬Ê¼þµÄжÔÏóºó£¬Ëü½«³öÏÖÔÚÀàÄ£¿éµÄ¡°¶ÔÏó¡±ÏÂÀÁÐ
±í¿òÖУ¬È»ºó¿ÉΪжÔÏó±àдʼþ¹ý³Ì¡££¨ÔÚ¡°¶ÔÏ󡱿òÖÐÑ¡¶¨ÐÂ
¶ÔÏóºó£¬ÆäÓÐЧʼþ½«³öÏÖÔÚ¡°¹ý³Ì¡±ÏÂÀÁбí¿òÖУ¬£©´Ó¡°¹ý
³Ì¡±ÏÂÀÁбí¿òÖÐÑ¡ÔñÒ»¸öʼþ£¬ÔòÔÚÀàÄ£¿éÖÐÔö¼ÓÒ»¿Õ¹ý³Ì¡£
Private Sub App_DocumentChange()
End Sub
³õʼ»¯ÒÑÉùÃ÷¶ÔÏó
ÔÚ¹ý³ÌÔËÐÐ֮ǰ£¬Äú±ØÐ뽫ÀàÄ£¿éÖеÄÒÑÉùÃû¶ÔÏ󣨱¾ÀýÖÐΪ App£©
ºÍ Application ¶ÔÏóÏàÁ¬½Ó¡£Äú¿ÉÔÚÈκÎÄ£¿éÖÐʹÓÃÏÂÁбàÂë¡£
Dim X As New EventClassModule
Sub Register_Event_Handler()
Set X.App = Word.Application
End Sub
ÔËÐÐ Register_Event_Handler ¹ý³Ì¡£¸Ã¹ý³ÌÔËÐкó£¬ÀàÄ£¿éÖеÄ
App ¶ÔÏóÖ¸Ïò Word Application ¶ÔÏó£¬È»ºóµ±Ê¼þ·¢ÉúʱÀàÄ£
¿éÖеÄʼþ¹ý³Ì¼´¿ÉÉúЧ¡£
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
±ê Ìâ: Re: ÈÕÆڵġ°·³ÄÕ¡±
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 19:47:13 1998), תÐÅ
¡¾ ÔÚ Quiet (Ìì½ÖÔÂÉ«) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈÕÆÚ²éѯµÄ×î¼òµ¥Ò»ÖÖÇé¿ö£º
: sql="Select * from lib where Fdate=#98-3-26#"
: Ôõô×Ü˵ An error near "#" ?
: ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
: ¿´Àý×ÓÒ²ÊÇÕâôдµÄ¡£
: ÒÔǰҲû³ö¹ý´í°¡£¬ÈÃÎÒÒ»³ïĪչ¡£¡£¡£
: ËÓÐÀàËƵľÀú£¬Ôõô½â¾öµÄ£¿
ÈÕÆÚÖµÐèÒªÒýºÅ°É£¬ºÃÏóÊǵ¥ÒýºÅ£¬Èç¹ûÊÇË«ÒýºÅ¾ÍÁ¬ÊäÈý¸ö
--
NOT KNOWN FROM WHEN, AND NOT KNOWN FROM WHERE,
JUST COME TO THIS WORLD, LIKE THE WIND BLOWS ON THE PLAIN INVOLUNTARILY;
NOT KNOW FOR WHAT, AND NOT KNOW TO WHERE,
SO RUSH ABOUT IN THIS WORLD, LIKE THE WATER FLOWS IN THE EARTH INVOLUNTARILY
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.97.228.217]
ø: VB
±ê Ìâ: Re: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 20:49:19 1998), תÐÅ
¡¾ ÔÚ blaster (Сӥ) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¡¾ ÔÚ feature (Ξý¸ßÒå) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: : ÎÒ½¨ÒéÄã×îºÃ²»ÒªÓÃDBGRID£¬·ñÔòÄã»á·¢ÏÖÄãµÄ³ÌÐò¾³£³öÒ»°ã±£»¤ÐÔ´íÎó¡£
: : Äã¿ÉÒÔÓÃMSGRID£¬»òÕ߸ɴàÓÃGRID¡£
: ÎÒ»áÓÃÒ»µã£¬¿ª·¢ÁËһЩСµÄÊý¾Ý¿â£¬ÓÐÐËȤÁªÂ磡
ÇëÎÊÄã»áÓÃdbgridʵÏÖ¶àÐÐÑ¡ÔñÂð?dbgridµÄȱʡ¹¦ÄÜÖ»ÄÜʵÏÖµ¥ÐÐÑ¡Ôñ.
ÎÒ¿ÉÒÔ¿´¿´Äú¿ª·¢µÄÊý¾Ý¿âÂð?
Thank you!
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: yaoyu.hit.edu.cn]
bs±ê Ìâ: Re: Ë»áÓÃDbGrid¿Ø¼þ
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 20:50:42 1998), תÐÅ
¡¾ ÔÚ Command (ÐÐÔÆÁ÷Ë®) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¡¾ ÔÚ katherine (cat) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: : ËÓÐʹÓÃVB DbGrid ¿Ø¼þ·½ÃæµÄ¾Ñé, Çë¶àÖ¸½Ì, ÔÚÏÂÏÈл¸÷λ´óÏÀÁË.
: Èç¹ûÄãÒª°ó¶¨µÄ¿â²»´ó£¬¶øÇÒҲûʲô¸´ÔӵIJÙ×÷µÄ»°
: DbGrid ÊÇ¿ÉÒÔÓÃÓá£Èç¹ûÏà·´£¬ÎÒ½¨Òé×îºÃ²»ÓÃ(Èç¹ûÊÇҪ͵¸öÀÁ£¬¿ÖÅÂ
: »áÕÒÀ´¸ü´óµÄÂé·³£©¡£¾ÍÏóÔÚ¼òµ¥Ó¦ÓÃʱ¿ÉÒÔÓÃÓÃÄǸöData¿Ø¼þ£¬µ«ÕæÒªÏë
: ×Ô¼ºÁé»î¿ØÖƶÔÊý¾Ý¿âµÄ·ÃÎÊ»¹ÊÇÒª×Ô¼º±àÂëÀ´µÃ·ÅÐÄ¡£
: ¿ÉÒÔÓÃÓÃGrid¿Ø¼þ£¬ËäÈ»±àÂë¶àЩ£¬µ«×Ô¼º¿É¿ØÖƵIJ¿·ÖÒ²´óһЩ¡£
: ---------------------------------------------------------------------
: ³èÈè²»¾ª£¬Ïп´Í¥Ç°»¨¿ª»¨Â䣻
: È¥ÁôÎÞÒ⣬ÂþËæÌìÍâÔƾíÔÆÊ棻
: ¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: as605.hit.edu.cn]
·Ç³£¸ÐлCommand µÄ½¨Òé.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: yaoyu.hit.edu.cn]
6±ê Ìâ: Re: ÈÕÆڵġ°·³ÄÕ¡±
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:43:56 1998), תÐÅ
ÄãÉÙÁ˵¥ÒýºÅ,¼ÓÉϾͺÃÓÃ.
¡¾ ÔÚ Quiet (Ìì½ÖÔÂÉ«) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÈÕÆÚ²éѯµÄ×î¼òµ¥Ò»ÖÖÇé¿ö£º
: sql="Select * from lib where Fdate=#98-3-26#"
: Ôõô×Ü˵ An error near "#" ?
: ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
: ¿´Àý×ÓÒ²ÊÇÕâôдµÄ¡£
: ÒÔǰҲû³ö¹ý´í°¡£¬ÈÃÎÒÒ»³ïĪչ¡£¡£¡£
: ËÓÐÀàËƵľÀú£¬Ôõô½â¾öµÄ£¿
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
0.AbbsSupermax (Max), ÐÅÇø: VB
±ê Ìâ: Ìá¸ßVB·ÃÎÊÊý¾Ý¿âµÄЧÂÊ(1)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:44:32 1998), תÐÅ
1.¾¡Á¿Ê¹ÓÃÊÂÎñ´¦Àí¸üÐÂÊý¾Ý¿â
VBµÄÊÂÎñ´¦Àí°üÀ¨ÒÔBeginTrans¿ªÊ¼,ÒÔCommitTrans»ò
Rollback½áβµÄ¶àÌõÊý¾Ý¿â²Ù×÷Ö¸Áî.ÊÂÎñ´¦Àí³ýÁËÄÜ
ºÜºÃµÄ±£Ö¤Êý¾Ý¿âµÄÍêÕûÐÔÒÔÍâ.ͬʱÄÜ´ó´óÌá¸ßÊý¾Ý
¿âÅúÁ¿¸üеÄЧÂÊ.ÕâÊÇÒòΪÈç¹ûÊý¾Ý¿â¸üвÙ×÷ûÓÐ
ʹÓÃÊÂÎñ´¦Àí,Ôòÿ´ÎUpdate²Ù×÷¶¼»áÒýÆðÊý¾Ý¿âдÅÌ
Ò»´Î.ʹÓÃÊÂÎñ´¦Àíºó,¸üÐÂÖ»ÔÚÄڴ滺³åÇøÄÚ½øÐÐ,Ö´
ÐÐCommitTransʱ²Å½«ËùÓÐÐÞ¸ÄÒ»´Îд»Øµ½´ÅÅÌÖÐ.
ʹÓÃÊÂÎñ´¦ÀíҪעÒâһϼ¸µã:
(1)ÊÂÎñ´¦ÀíÒªÓкÜÍêÉƵĴíÎó¼ì²é»úÖÆ;
(2)ÒòΪVBÔÚÊÂÎñ´¦Àí½áÊøÇ°¶ÔÊý¾Ý¿âʹÓÃÁËÒ³ÃæËø.ËùÒÔ
ÔÚ¶àÓû§»·¾³ÖÐ,Èç¹ûÊÂÎñ±»¹ÒÆð,ÔòÆäËûÓû§½«ÎÞ·¨
·ÃÎÊÉÏËøµÄÊý¾Ý.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
±ê Ìâ: Ìá¸ßVB·ÃÎÊÊý¾Ý¿âµÄЧÂÊ(2)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:45:22 1998), תÐÅ
2.¾¡Á¿Ê¹ÓôúÂë·Ö½âSelect¼ìË÷²Ù×÷
ʹÓÃSelect½øÐÐÊý¾Ý¿â²Ù×÷¹ÌÈ»¼òµ¥Ò×ÓÃ,µ«Èç¹û½«Ò»Ð©
¼ìË÷²Ù×÷·Ö½âΪµÈ¼ÛµÄÊÖ¹¤¼ìË÷´úÂë,Ôò¶ÔÊý¾Ý¿âµÄ¼ìË÷ËÙ
¶È½«´ó´ó¼Ó¿ì.·Ö½âµÄ»ù±¾·½·¨ÊǶԼìË÷¹Ø¼ü×ֶνøÐÐË÷Òý,
ÀûÓÃSeek·½·¨¶¨Î»ºó,¸ù¾ÝË÷ÒýµÄÊý¾Ý¿âÒѾÅÅÐòµÄÌصã,½ø
ÐбéÀú²éÕÒ.¶ÔÓÚ±éÀú·¶Î§²»ÊǺܿíʱ,ÕâÖÖ·½·¨Äܼ¸Ê®±¶µÄ
Ìá¸ßÊý¾Ý¿âµÄ·ÃÎÊËÙ¶È.
ÀýÈç:
Select * from person where vol= '123' and birth= #11
-02-73#
·Ö½â³ÉÏÂÃæµÄ²Ù×÷ºó,·ÃÎÊËٶȿɴó´óÌá¸ß:
Table.Index= "vol"
Table.Seek "=","123"
if not table.nomatch then
while not table.eof
if table("vol")="123" then
table.movelast
else if table("Birth")= #11-02-73# then
'ÕÒµ½¼Ç¼
end if
table.movenext
wend
end if
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
±ê Ìâ: Ìá¸ßVB·ÃÎÊÊý¾Ý¿âµÄЧÂÊ(3)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:45:58 1998), תÐÅ
3.ʹÓà attach °ó¶¨Êý¾Ý¿â±í
µ±Ê¹ÓÃODBCÁ¬½ÓMS SQL Server, Oracle ºÍ Sysbase Ö®ÀàµÄ
Êý¾Ý¿â·þÎñÆ÷ʱ,ÎÒÃÇ¿ÉÒÔͨ¹ýMS AcessµÄattach ¹¦Äܽ«·þÎñÆ÷
Éϵıí°ó¶¨µ½MS AcessÊý¾Ý¿âÖÐ,ÒòΪMS AcessÊý¾Ý¿âÄÜ»º´æÊý
¾Ý¿â·þÎñÆ÷ÉϱíµÄ½á¹¹,µ±ÎÒÃÇ·ÃÎÊODBC Êý¾ÝԴʱÄÜÌá¸ßϵͳµÄ
·ÃÎÊÐÔÄÜ.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
±ê Ìâ: Ìá¸ßVB·ÃÎÊÊý¾Ý¿âµÄЧÂÊ(4)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:47:08 1998), תÐÅ
4.ʹÓÃdbSQLPassThroughÑ¡Ïî
Á¬½ÓMS SQL Server, Oracle ºÍ SysbaseÊý¾Ý¿â·þÎñÆ÷ʱ,ʹÓÃ
dbSQLPassThroughÑ¡Ïî¿É½«ÃüÁîÖ±½Ó·¢Ë͸øÊý¾Ý¿â·þÎñÆ÷,´Ó¶ø
¼õÉÙÖмä¼þ¶ÔÃüÁîµÄ¼ì²éºÍ½âÊÍ,Ìá¸ßÁËÊý¾Ý¿âµÄ·ÃÎÊÐÔÄÜ.
ÏÂÀýʹÓô洢¹ý³Ì½¨Á¢Dynaset:
dim mydb as database
dim myds as dynaset
set mydb=opendatabase(..........)'´ò¿ªÊý¾Ý¿â
set myds=mydb.openrecordset("name",dbOpendynaset,
dbSQLPassThrough,...)
ʹÓÃdbSQLPassThroughµÄȱµãÊÇ·µ»ØµÄ¼Ç¼¼¯ÊÇÖ»¶ÁµÄ.
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
17 ±ê Ìâ: Ìá¸ßVB·ÃÎÊÊý¾Ý¿âµÄЧÂÊ(5)
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri Jun 12 21:48:03 1998), תÐÅ
5.ÕýȷʹÓÃÊý¾Ý¿â·ÃÎʶÔÏó
Table
.Ö§³ÖSEEKÃüÁîºÍË÷Òý.Á½ÕßÅäºÏÄÜ×î¿ìµÄÕÒµ½¼Í¼.
±ÊÕßÔø¾×ö¹ýËٶȱȽÏÊÔÑé,¶¼ÊǼìË÷10Íò¸ö¼Ç¼
Table ÓÃʱ3.5 Ãë
Dynaset ÓÃʱ9Ãë
Snapshot ÓÃʱ10Ãë
.Ö§³Ö¶Áд²Ù×÷
.²»Ö§³ÖSORTºÍFILTER,±ØÐëʹÓÃIndex´úÌæ
.¶ÔÓ¦ÓÚÊý¾Ý¿âÖеÄÎïÀí±í,Ôö,ɾ,¸Ä»áÖ±½ÓÓ°ÏìÊý¾Ý¿â±í
Dynaset
.×îÁé»îµÄÊý¾Ý¿â¶ÔÏó
.Ö§³Ö¶Áд²Ù×÷,ÊǼǼµÄ¶¯Ì¬×Ó¼¯
.ÔÚODBCÖÐ,д²Ù×÷ÐèÒªÉ趨ΨһÐÔË÷Òý
.Ö§³ÖSORTºÍFILTER
.ʹÓÃJOINÃüÁî¹ØÁª¶à¸ö±íʱ,Ö»ÄÜʹÓÃDynaset
Snapshot
.Ö»ÄܶÁ²»ÄÜд,²»ÄܼÓËø
.²»Ö§³ÖÊÂÎñ´¦Àí
.²»Ö§³ÖEdit,AddnewºÍUpdate·½·¨
--
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: softstudio.hit.e]
±ê Ìâ: Re: ÈÕÆڵġ°·³ÄÕ¡±
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat Jun 13 00:43:06 1998), תÐÅ
¡¾ ÔÚ Supermax (Max) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ÄãÉÙÁ˵¥ÒýºÅ,¼ÓÉϾͺÃÓÃ.
: ¡¾ ÔÚ Quiet (Ìì½ÖÔÂÉ«) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: : ÈÕÆÚ²éѯµÄ×î¼òµ¥Ò»ÖÖÇé¿ö£º
: : sql="Select * from lib where Fdate=#98-3-26#"
: : Ôõô×Ü˵ An error near "#" ?
: : ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
: : ¿´Àý×ÓÒ²ÊÇÕâôдµÄ¡£
: : ÒÔǰҲû³ö¹ý´í°¡£¬ÈÃÎÒÒ»³ïĪչ¡£¡£¡£
: : ËÓÐÀàËƵľÀú£¬Ôõô½â¾öµÄ£¿
Èç¹ûËûʹÓõÄÊý¾Ý¿âÊÇvb×Ô´øµÄdataaccessµÄ»£¬ÈÕÆÚÊÇÓÃ"#"ºÅµÄ¡£
¹À¼Æ¿ÉÄÜ»¹ÊÇËû±ðµÄµØ·½ÓÐÎÊÌâ¡£
--
" A bad day workin' is better than a good day fishin' ."
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.234.10]
--
¡ù תÔØ:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: cad4.hit.edu.cn]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º409.964ºÁÃë