Article ID: 165631
Article Last Modified on 9/25/2003
List of Files:
C:\My Documents\Northwind.mdb
C:\Program Files\Microsoft Office\Office\Samples\Nwind80.hlp
C:\Program Files\Microsoft Office\Office\Samples\Nwind80.cnt
a. On the Add The Shortcuts screen, click the Database Shortcut
Properties tab, click Add, and type a description for your shortcut
in the Description box.
b. Under the Database Command-Line Options, click to select the Profile
and Run-time check boxes, and then click Next.
c. Click Yes and then OK to the Setup Wizard messages.
NOTE: The shortcut that is created will open your custom application
as a run-time application with a profile. You may also want to add a
shortcut that will open your Help file.
a. In the "List of Registry Values" box, click Add and complete the
following information for each entry that needs to be added to the
registry:
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Clipboard Formats
Value Name: Microsoft Excel (*.xls)
Base Value Data on File: (none)
Value Data: soa800.dll,8,xls,Biff5,MicrosoftExcel(*.xls),0
Value Data Type: String
Component Name: Application
NOTE: The "Top-Level for Key" entry has the same effect as manually
navigating to the HKEY_LOCAL_MACHINE\Software\YourCompanyName\
YourApplicationName\YourVersionNumber key.
NOTE: The Path To Key has the same effect as manually adding a new
key under the HKEY_LOCAL_MACHINE\Software\YourCompanyName\
YourApplicationName\YourVersionNumber key.
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Clipboard Formats
Value Name: MS-DOS Text (*.txt)
Base Value Data on File: (none)
Value Data: soa800.dll,10,txt,7,MS-DOSText(*.txt),0
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Clipboard Formats
Value Name: Rich Text Format (*.rtf)
Base Value Data on File: (none)
Value Data: soa800.dll,9,rtf,Rich Text
Format,RichTextFormat(*.rtf),0
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Report Formats
Value Name: HTML Documents
Base Value Data on File: (none)
Value Data: html,SOA_RptToHtml,1,HTML (*.html),1
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Report Formats
Value Name: Microsoft Excel
Base Value Data on File: (none)
Value Data: xls,SOA_RptToBIFF, Biff5,Microsoft Excel (*.xls),0
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Report Formats
Value Name: MS-DOS Text
Base Value Data on File: (none)
Value Data: txt,SOA_RptToAscii,1,MS-DOS Text (*.txt),0
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Report Formats
Value Name: Rich Text Format
Base Value Data on File: (none)
Value Data: rtf,SOA_RptToRTF,Rich Text Format,Rich Text Format
(*.rtf),0
Value Data Type: String
Component Name: Application
Top-Level for Key: $(Machine's Software Key for App)
Path to Key: Run-Time Options
Value Name: AppHelpFile
Base Value Data on File: Nwind80.hlp
Value Data Type: String
Value Data:
Component Name: Application
NOTE: Use the "Base Value Data on File" box if the value of the key
or entry that you are adding is a file name that you are adding to
the Setup Wizard program, as in the case of a Custom Help file.
The Value Data box will automatically be populated with the
path to your Help file when you supply the Base Value Data on File
value.
b. When you are finish adding all of the entries, click Next.
a. \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Access Runtime\Profiles
You should see an entry similar to the following:
Name Data
----------------------------------------------------------------
YourAppName "SOFTWARE\Microsoft Corporation\YourAppName\1.0"
b. \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft Corporation\YourAppName
You should see entries similar to the following:
Microsoft Corporation
YourAppName
1.0
Clipboard Formats
Jet
Report Formats
Run-Time Options
Clipboard Formats
-----------------
Name Data
----------------------------
Microsoft Excel(*.xls) "soa800.dll,8,xls,Biff5,MicrosoftExcel
(*.xls) ,0"
MS_DOS Text "MS-DOS Text (*.txt)"
Rich Text Format "soa800.dll,9,rtf,Rich Text Format,
RichTextFormat(*.rtf),0"
Report Formats
--------------
Name Data
-------------------------------------------------------------------
Microsoft Excel "xls,SOA_RptToBIFF, Biff5,Microsoft Excel
(*.xls),0"
MS-DOS Text "txt,SOA_RptToAscii,1,MS-DOS Text (*.txt),0"
Rich Text Format "rtf,SOA_RptToRTF,Rich Text Format,Rich Text
Format(*.rtf),0"
Run-Time Options
----------------
Name Data
----------------------------------------------------------------
AppHelpFile "Nwind80.hlp"
Keywords: kbhowto kbusage KB165631