Article ID: 160122
Article Last Modified on 10/11/2006
Table: WebTable
----------------------------------------------------
Field Name: ID
Data Type: AutoNumber (or Counter in version 2.0)
Field Name: Site
Data Type: Text
Field Size: 255
Field Name: SiteDesc
Date Type: Text
Field Size: 255
Table Properties: WebTable
--------------------------
PrimaryKey: ID
Site SiteDesc
-----------------------------------------------------------------
www.microsoft.com Microsoft Home Page
www.microsoft.com/MSAccessSupport Microsoft Access Support Page
Form: WebForm
---------------------------------
RecordSource: WebTable
Caption: Web Form
Text Box:
Name: txtID
ControlSource: ID
Text Box:
Name: txtSite
ControlSource: Site
OnDblClick: [Event Procedure]
Text Box: txtSiteDesc
Name: txtSiteDesc
ControlSource: SiteDesc
Private Sub txtSite_DblClick (Cancel As Integer)
Dim PATH As String, CMD As String, X As Integer
' Type the path where Iexplore.exe is located on your computer.
PATH = "C:\Program Files\Internet Explorer\"
' Default command line for Microsoft Internet Explorer.
CMD = Chr(34) & PATH & "Iexplore.exe" & Chr(34) & " " & Me![txtSite]
' Start Internet Explorer.
X = Shell(CMD, 1)
End Sub
148632 ACC: Start Files or Hyperlinks with Windows API ShellExecute()
Keywords: kbhowto kbprogramming kbusage KB160122