.


:




:

































 

 

 

 


Windows-




Word ( Excel, (Notepad) Dance Dance Revolution)?

Visual Basic shell, . Shell , . Windows- :

Shell "C:\Windows\calc.exe"

shell, Windows , . . - , .

Shell , . Shell, . : " Microsoft Word" " ". , ( - Program Files). , Shell , , - , - .

? , , . , Microsoft Office, . , Visual Basic. , . , .


Word , , 10 .

, , , , Word, GothicWedding.doc:

Dim Word As Object

Set Word = CreateObject("Word.Application")

Word.Visible = True

Word.Documents.Open CurrentProject.Path & "\GothicWedding.doc"

, Word, Word. Microsoft's Office Developer Center ( Microsoft Office) Web- http://msdn.microsoft.com/office.

 

DoCmd

DoCmd Access. " " , , , .

, DoCmd . , . ProductCatalog, OpenForm :

DoCmd.OpenForm "ProductCatalog"

DoCmd, OpenForm . Visual Basic , . , ( ), :

DoCmd.OpenForm "ProductCatalog",,,"ID=5", acFormReadOnly

ProductCatalog, ID (), 5, " " - .

 

acFormReadOnly. , . , " ", acFormReadOnly. , , vb, , , . , , - , IntelliSense, . 17.8.



. 17.8. , Visual Basic , . , ( ), Access

 

 

OpenForm , (OpenForm) (. 15). DoCmd , 15. . 17.1 .

17.1. DoCmd

ApplyFilter , , ,
.
Close ( , )
CopyDatabaseFile
FindRecord, FindNext GoToRecord
Hourglass ( ). , ,

17.1 ()

OpenForm, OpenQuery, OpenReport nbl . 15, (OpenReport) - (OpenQuery)
Printout
Quit Access
RunCommand , Access, . . . " " , RunCommand
RunMacro
RunSQL SQL-. . ,
ShowAllRecords , , ,




:


: 2016-03-28; !; : 534 |


:

:

, , .
==> ...

1482 - | 1392 -


© 2015-2024 lektsii.org - -

: 0.013 .