Step 1: Set Up the Visual Basic Project
In this scenario, it is assumed that you have Microsoft Visual Basic 6.0, ADO 2.5 or later, and the Microsoft OLE DB Provider for Internet Publishing installed on your system. You will first create a new project, and then add some controls to the default form in the project.
To create an ADO project:
In Microsoft Visual Basic, create a new Standard EXE project.
From the Project menu, choose References.
Select "Microsoft ActiveX Data Objects 2.5 Library" and click OK.
To insert controls on the main form:
Add a ListBox control to Form1. Set its Name property to lstMain.
Add another ListBox control to Form1. Set its Name property to lstDetails.
Add a TextBox control to Form1. Set its Name property to txtDetails.
See Also
Internet Publishing Scenario
Step 2: Initialize the Main List Box
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro