??????? ???? ????? Visual Basic 6 ? ???????

?????? ????????? ?????? ?????????
???? ???????: 195269 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

??????

????? ??? ??????? ??? ??????? ????????? ???????? ??? ????? ???????? ???????? ???? Microsoft Press Microsoft Visual Basic Professional 6.0 ?????? ?????? ?????? ISBN 1-57231-809-0.

??? ????? ???????? ???????:

  • ?????? ?: ????????? ???????? "????? Michael ???? 10 ????? ???"
  • xvii ??????: ??? ?? ????? URL
  • xxv ??????: ??? ?? ????? URL
  • 35 ??????: ??? ?? ?????? 2
  • 91 ??????: ??? ?? ???? "????? ?????" "???? ????"
  • 118 ??????: ???? ??? ???????? ?????? ??????? ?? ????? 2
  • 135 ??????: ?????? ??? ?????
  • 197 ??????: ??? ?? ????? ????????? ????????
  • 225 ??????: ??????? ??????? ?? ????? ????? ?? ??????? ?????? ?? ???????
  • 252 ??????: ?????? ??????? ??? ????
  • 307 ???????: ????? ?? ????? ?????? ??? ????
  • 335 ??????: ??? ?? ????? ????? ????
  • ?????? 361: ??? ??? ?????
  • 392 ??????: ????? ????? ?? Excel 2000 ???????
  • 467 ??????: ????? ??????? ?? ????? 18 ??????
  • 536 ?????? - 551: ?????? ??? MyDHTML7 ??? ??? ?????
  • 537 ??????: ?? ?? ???? ??????? ?? ??? ???????
  • 539 ??????: ?????? ??? ???? Coin ?? ????
  • 548 ??????: ????? ?? ?????? ??? ??????? Internet Explorer 5.0
  • ????? 552 ?????? - 553: ??? ???? ???? ?????? 22
  • 572 ??????: ???? ?????
  • 594 ?????? - 597: ?????? ??????? ?? ????? ???? ?????? ???????
  • ?????? ??????: ????? ??? ??????? ???????

??????? ????


xvii ??????: ?? ????? URL ?????

xvii ??????: ?? ????? URL ??? Microsoft Press.

?????:
http://mspress.microsoft.com/support/support.htm
???:
http://www.microsoft.com/learning/en/us/training/format-books-support.aspx

xxv ??????: ?? ????? URL ?????

xxv ??????: ?? ????? URL ??? Microsoft Press.

?????:
http://mspress.microsoft.com/support/support.htm
???:
http://www.microsoft.com/learning/en/us/training/format-books-support.aspx

35 ??????: ??? ?? ?????? 2

???? ??? ?? ?????? 2 ?? ?????? 35.

?????:
"???? ????? ? ???? ??? ??????? ??? ?????."

???:
"???? ????? ? ???? ??? ??????? ??? ?????".

91 ??????: ??? ?? ???? "????? ???????" "???? ????"

?????:
"????? ??????? ???? ????? ??? ???? ?? ??????? ?????"

???:
"????? ??????? ???? ????? ??? ???? ?? ???? ??????"

118 ??????: ???? ??? ???????? ?????? ??????? ?? ????? 2

?? ?????? 118 ?? ?????? ?????? ???? ???? ?????? ?????? ???????? ?? ????? 1. ?? ?????? ?? ?? ????? ?????? ???????? ??? ????? 2.

?????:
"??? ????? ?? ????? 1 ??? ?? ????????? ???????? ?? ?????? Visual Basic ???? ????? ??????."

???:
"??? ????? ?? ????? 2 ??? ?? ????????? ???????? ?? ?????? Visual Basic ???? ????? ??????."

135 ??????: ?????? ??? ?????

???? 135; ????? ???? ????? ???? ????? ???????? Visual Basic Operators:

Change:
Area=2Pi r^2
To:
Area=Pi r^2

197 ??????: ??? ?? ????? ????????? ????????

197 ???? ????? ??? ??? ?? ????????? ?????? ?? ?????? "?????? 7 ?????? ??? ??????"

?????:
"??? InpName ="Trotsky"?? ExitFor"

???:
"??? InpName ="Trotsky"?? ????? ??"

225 ??????: ?????? ??????? ?? ????? ????? ?? ??????? ?????? ?? ???????

?? ?????? 225 ?? ?????? ??????? ?? ?????? ?????? ?????? "??????? ??????" ??? "???????".

?????:
"????? ???? ????? ????? ??????? ?? ???????" ???? Sub ????? "; ?? ????? ???????" ??????? ?????? "?? ????? ????? Visual Basic ??????? ????? ????? ????? ???????."

???:
"????? ???? ????? ????? ??????? ?? ???????" ???? Sub ????? "; ?? ????? ??????? ??????? ???????? ????? Visual Basic ??????? ????? ????? ????? ???????."

252 ??????: ?????? ??????? ??? ????

?? ?????? 252 ??????? parenthetical concludes ?????? ?????? ????? ??? ???? ??? ?????? ??? ?????.

?????:
"(????? ??? ???? ?? ????? ??? ?????? ???? ??????. ???? ?????? "?? ???? ?????" ?????? ?? ??? ????? ?????? ??? ????.)"

???:
"(????? ??? ???? ?? ????? ??? ?????? ???? ??????. ???? Expanding ? ????? ?????? ????? ??????? ??? ????? ?????? ?? ??? ????? ?????? ??? ????.)"

307 ???????: ????? ?? ????? ?????? ??? ????

11 ??? ?????? 307 ? "??????? ???? ??? ????"

???? ???? ???? ??? ??? ???? ??? ????? ??:
   Public ArrayName(Dim1Elements, Dim2Elements, ...) As DataType
				
??? ???? ??? ??? "Dim1Elements ??? ??????? ?? ????? ????? ?? ?????? ???? Dim2Elements ??? ??????? ?? ????? ?????? ?? ?????? (????? ?????? ???? ?????)."

??? ??? ????? ?? Visual Basic ?? ???, Dim1Elements Dim2Elements ?? ??? ????? ???? ???. ??? ?? ???? reworded ??? ???????? ????? ???? ???.

????? ???:
"??? ??????? Dim1Elements ?????? ??? ??????? ?? ????? ????? ?? ??????."

"??? ??????? Dim2Elements ?????? ??? ??????? ?? ????? ?????? ?? ?????? (????? ?????? ???? ?????)."

335 ??????: ??? ?? ????? ????? ????

????? ?????? ??? ?????? 335 ??? ????? ????????? ?????? ??? ?????.

Change:
start% = InStr("bob", "bobby")
To:
start% = InStr("bobby", "bob")

?????? 361: ??? ??? ?????

??? ??? ??? ??????? (_) ?? ????? ????? ????? ?? ??? ?? ???? 361 ?? ?????? 7. ????? ???????? ????? ??? ????? ?????? ?? ??? ????? ?? Visual Basic ???? ????.

?????:
   prompt$ = "Enter the new record, and then click _
				
???:
   prompt$ = "Enter the new record, and then click
				

392 ??????: ????? ????? ?? Excel 2000 ???????

?? ?????? 392 ??? ???? ??? ?? ????????? ???????? ???? ????? ??????? ?? Microsoft Excel 2000. ????? Microsoft Office ??????? ?? ????? ????? ?? Microsoft Office 97 ???? ?? ??????? ?????? ??? ????? Microsoft Visual Basic 6.0.

?????:
Set xl = CreateObject("Excel.Sheet")
				
???:
Set xl = CreateObject("Excel.Application")
				

467 ??????: ????? ??????? ?? ????? 18 ??????

?? ?????? 467, ?? ????? 18: "????? ???????? FreeMem" ? ??? ??? ??? ??????? FreeMem ? ?? ??? ????? ????? mscomctl.ocx. ??? ????????? ?????? ?????? ??? ?????? 467 ?????? ????? ???? ???? ?? mscomctl.ocx "?? ?? ??? ?????--?????? ????? ??????? ?"

???? ??????:
??? ???? ???????? ???? ??? "???". ????? ????? "??? ????? ?????". ???? ??? ?????.

?? ??????? FreeMem ??????, ??? ????? ?? ??????? "???" ?? ???? ??? ????????. ?? ?????? "????????" ? ???? ?? ????? ????? ??????? ????? ? ???????? ????? ??? ??? ??? Microsoft Windows ?????? ?????? 6.0 ?? ???? ??? ???? ???????? ???????. ???? ??? ???? ????? ? C:Windows\System\mscomctl.ocx. ???? ??? ????? ?????? ??. ??? ????? ???? ?????? ??? ???? ???????.

?? ???? Project ???? ????? ??????? ??? Form1 (FreeMem.frm) ???? ??????. ??? ????? ????? "??? ????? ?????" ????. ???? ??? ?????. ??? pictureBox ????? ?????? pgbPhysMem ???????? ?? ???? ???? ???? ??? ??? ?????.

??? pictureBox ?????? ?????? pgbVirtMem ???????? ?? ???? ???? ???? ??? ??? ?????.

?????? ??????? ?? ?????? 2 ?? ?????? 467.

536 ?????? - 551: ?????? ??? MyDHTML7 ??? ??? ?????

???? 536-551 ? ?????? 22:
??? ????? ????? ??????? MyDHTML7 ?? ????? ??? ??? "??? ????? ?????". ????? ?? ????? ????? ??????? ???????:
  1. ??? ??????? ??????? ???? ?? ?????? ?? ????? 21 22 ??????.
  2. ??? ????? 545 ??????:
     Result.innerText = "Wins: " & GetProperty(BaseWindow.Document, "Wins")
    						
    ???:
       Result.innerText = "Wins: " & GetProperty(Document, "Wins")
    						
  3. ??? ????? ???? 546:
          x = GetProperty(BaseWindow.Document, "Wins")
          Result.innerText = "Wins: " & x + 1
          PutProperty BaseWindow.Document, "Wins", x + 1
       End If
       End Function
    						
    ???:
          x = GetProperty(Document, "Wins")
          Result.innerText = "Wins: " & x + 1
          PutProperty Document, "Wins", x + 1
       End If
       End Function
    						
  4. ??? ????? ???? 547:
       PutProperty BaseWindow.Document, "Wins", x + 1
    						
    ???:
       PutProperty Document, "Wins", x + 1
    						
?????? ?? ????????? ??? ????? ????? 22 ?? ????? ???? Visual Basic 6.0. ???? ?????? ???? ?? ??????? ?? Visual Basic 6.0 ??? ????? ?????? ????????? DHTML ?? ??????? ?? ??? ?????. ??? ???? ??????? ???? ??????? ?? ??? ????? ? ?? ?????? ?? PutProperty GetProperty ?????? ??????.

????? ?? ??? ?????:
Sub PutProperty(strName As String, vntValue As Variant)
Function GetProperty(strName As String) As Variant
				
???????:
Sub PutProperty(objDocument As HTMLDocument, strName As String, vntValue As Variant, Optional Expires As Date)
Function GetProperty(objDocument As HTMLDocument, strName As String) As Variant
				
???????? ??? ????? ???? ????? ?? ???? ?????? PutProperty GetProperty ??????.
????? 1-2:
   Result.innerText = "Wins: " & GetProperty("Wins")
   x = GetProperty("Wins")
   PutProperty "Wins", x + 1
				
????? 3-9:
   Result.innerText = "Wins: " & GetProperty(BaseWindow.Document, "Wins")
   x = GetProperty(BaseWindow.Document, "Wins")
   PutProperty BaseWindow.Document, "Wins", x + 1
				
????? 10 +:
   Result.innerText = "Wins: " & GetProperty(Document, "Wins")
   x = GetProperty(Document, "Wins")
   PutProperty Document, "Wins", x + 1
				
???????? ??? ????? ???? ????? ???????? ???????? ??? ????? ??????? ??????.
????? 1-9:
   Sub PutProperty(strName As String, vntValue As Variant)
   Function GetProperty(strName As String) As Variant
   Result.innerText = "Wins: " & GetProperty("Wins")
   x = GetProperty("Wins")
   PutProperty "Wins", x + 1
				
????? 10 +:
   Sub PutProperty(objDocument As HTMLDocument, strName As String, vntValue As Variant, Optional Expires As Date)
   Function GetProperty(objDocument As HTMLDocument, strName As String) As Variant
   Result.innerText = "Wins: " & GetProperty(Document, "Wins")
   x = GetProperty(Document, "Wins")
   PutProperty Document, "Wins", x + 1
				
????? ?? ???? ???? ???????? ? ???? ????????? ???????? "Basewindow.Document" ?????? ??? ?? Internet Explorer 5.0. ???????? ??? "?????" ??? ?? ???? ???? ???? ?? Internet Explorer 4.0 ? Internet Explorer 5.0 ? Internet Explorer 5.5.

?? ??? ??? 22 ?????? ????? ???? ???? ???? ????? ????? ??? ?????? ???????:
  1. ????? ????.
  2. ?? ??? ??? ?? ??? 22 ?????? ???????? ??????? 21 ?????? ?????? ?? ????? 21 ????? ??? ????? ???????.
  3. ????? Internet Explorer ??? ?????????.

537 ??????: ?? ?? ???? ??????? ?? ??? ???????

?? ?????? 537 ? ?? ?? ???? ??????? ??????? ???? ???? ??? ??? ??????.

?????:
  1. ???? ??? ?????? Blank1 ?? ??? ????? ????? ??????.
    ????? ?????? ?? ??? ????? ?? ?? ?? ??? ????? ????? ???? ????? ??????.
  2. ???? ????? ?????.
    ??? ??? ?????? ???? ???? ???? ?? ??????.

???:
  1. ???? ??? ?????? Blank1 ?? ??? ????? ????? ??????.
    ????? ??????.
  2. ???? ??? ?????? ?????? ??? ???? Blank1 ???? "???" ?? ??????? ????????.
    ??? ??? ?????? ???? ???? ???? ?? ??????.

539 ??????: ?????? ??? ???? Coin ?? ????

????? ????? ?????? 3 ?? ?????? 539 ?? ????? ?? ???? ?????? coin ?? ?? ????. ?????? ???, ??? ????? ??????? ???? ???? ?????? ??? 0.

??? ??????? ??????? ????? ???????.
  1. ???? ?? ????? ???? ??????.
  2. ?? ?????? "?????" ? ?? ???????? ??? ????? ???? ?? ???? ??? ???? ???? ??? ???? ???????.
  3. ???? 0 ?? ??????? ???? ????? Enter ????? ?? ??? ??? ?? ???? ??????.
  4. ???? ??? ???? "??? ???????" ??? ???? ??????? Visual Basic ???? ?????????.

548 ??????: ????? ?? ?????? ??? ??????? Internet Explorer 5.0

??? ?? ??? ????? ???????? ??????? ??? ???? ?????? 548:

??????: ??? ??? ?????? ??????? 5.0 ?? ???? ?? ?????? Internet Explorer ? ???? ????? ???? ???? ????? ?? ???? ???? ActiveX ??? ?????? ??????? ?? ???? ??? ????. ???? ??? "???" ?????? ????? ??????--ActiveX ???? ???? ??? ?????? ????? ?????? ???? ???????? ?????.

????? 552 ?????? - 553: ??? ???? ???? ?????? 22

??? ?????? 552 ? ?? ????? ?????? ?? ?????? ?????:
PutProperty "?????" x + 1

???:
??????? PutProperty "?????" ? x + 1

??? ?????? 553 ? ?? ???? ?????? ?????:
? = GetProperty("Wins")

???:
? = GetProperty (???????, "???")

572 ??????: ???? ?????

?? ?????? 572 ?? ???? ???? ?????? ??????? ????? ??? ???? ??? ????? ??????. ??? ????? ?? ???? ?? ???? ?? ??? pathname 0 ?? "Less03" ??? ??? ?? ??? ????? ??????? ?????? ?????? ??? ??? ????? ???????? ??? ????? ??????? ??????? ??????.

?????:
C:\Vb6Sbs\Less3\Students.mdb

???:
C:\Vb6Sbs\Less03\Students.mdb

594 ?????? - 597: ?????? ??????? ?? ????? ???? ?????? ???????

??????? ??????? ?? ????? 594 597 ?? "????? ???? ?????? ?????" ?????? ????? 24 ?? ??????? ?????? ????? ???? Visual Basic 6.0. ????? ?????? ?? ?????? ????? ???? ??????? ?? ?????????.

??????? ???? ??? ???????:

  1. ?? ??????? ????? Visual Basic ? ???? ??? ????? "????? ???? ????????".
  2. ?? ?????? "???? ????????" ? ???? ??? ?????? ?????? ??? Connection1 ?? ?? ??? ????? ?? ??????? ????????. ???? ??????? ???? ?? ???? ?????? "????? ?????? ????????" ???? ???? ?? ?????? ???? ???? ???????? ?? ?????? ??? ????????.
  3. ??? ????? ??????? ???? ???? ?? ????? Microsoft OLE DB ?????? ?? ODBC ?????? ??? ?? ???? ??? ??????. ??? ??? ????? ??????? ????? ???? ?????? ????? ????????.
  4. ???? ??? ?? ?????? "??????? ??? ???? ????????" ??? ?? ??? ????? ??????, ???? ??? "??????? ??????" ?? ???????? ???? ??????? ???????? ????? ??? ?????.
  5. ???? ??? ???? "????? ???" ??? ???? ??????? "???? ????????".
    ????? ?? "??? ?????" ???? ?????? ActiveX ???? ?? "???? ????????".
  6. ?????? ???? ????? ???? ?????? ???????? ???? ??? ?????? ?????? ??? Command1 ?? "???? ????????" ???? ???????? ??? ?? ??????? ????????.
  7. ?? ???? ?????? ????? Command1 ???? InstuctorTable ?? ???? ???? "??? ?????".
    ???? InstructorTable ??? ???? ?????? ??????? ??? ??????? ??? ????? ADO ???? ???.
  8. ???? ??? ???? ??????? ???????? ??? ???? ???? ?????? "???? ????? ????????" ?? ???? ??? ??? ??????.
  9. ???? ??? ???? ??????? ???????? "??? ??????" ?? ???? ??? ?????? Instructors.
  10. ???? ??? "?????" ????? ??? InstructorTable ?? "???? ????????".
  11. ???? ??? ????? ????? (+) ????? ????? InstructorTable ?????? ?????? ??????? ?????? ?????? ??.
  12. ??? ???? ??????? ?? ???? ??? ???? DataEnvironement1.
  13. ?? ??????? ???? ???? ??? ????? "??? DataEnvironment1 ????".
  14. ???? Instruct ?? ???? Enter.
    ?? ???? ???????? ???? ??? ????? ?????? ??? ?????? ????? ??, ???? ??? ???? ?????? ??????? ??????.

?????? ??????: ????? ??? ??????? ???????

??? ???? ??????? ???????? ????? ?????? ????? ?????? ?????? ???????? ??????? 6.0 ???????? Visual ???????. ????? ???? 15 16, 17 ? 19 ? 20 ? 21 ? 22 ? 23 Professional ?? ??????? ??????? ?? Visual Basic 6.0.

?????:
"???????? ??? ??????? ????? ??????? ??????? ????? ?? Microsoft Visual Basic 6.0 ?? Edition Professional ?? Enterprise Edition."

???:
"???????? ??? ??????? ????? Microsoft Visual Basic 6.0 Professional Edition ?? Enterprise Edition."

????? Microsoft Press ??? ????? ????? ??? ??????? ??????. ???? ????????? ?????????? ????????? ???????? ????? ?????? ???????? ?? printings ?????????? ?? ??? ??????. ??? ??? ???? ????? ???? ?? ??? ?????? ?? ????? ?????? ??? ???? ?? ???? ????????? ?????.

???????

???? ???????: 195269 - ????? ??? ??????: 23/???? ??????/1435 - ??????: 1.4
????? ???
  • MSPRESS Microsoft Visual Basic Professional 6.0 Step by Step ISBN 1-57231-809-0
????? ??????: 
kbnosurvey kbarchive kbmt kbdocerr kbdocfix kbinfo KB195269 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????195269

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com