The Launch_ReadDictPath() function returns the location of an application, forms, or reports dictionary from the launch file. This function will work only when your application is opened with the runtime engine.
Launch_ReadDictPath(launch_file_location, product_ID, dictionary_type, dictionary_location_ID)
• launch_file_location – A string containing the full generic path to the launch file, including the file name. Both Launch_SelectFile() and Launch_GetFileName() return the full path and name of a launch file.
• product_ID – An integer indicating the product ID for the application, forms, or reports dictionary pathname you want returned. You can return a product ID using either the Launch_GetProdID() or the Launch_GetFileInfo() functions.
• dictionary_type – An integer indicating the type of dictionary for which the pathname is being returned. Use the following integer values:
Value |
Description |
---|---|
0 |
Application dictionary |
1 |
Forms dictionary |
2 |
Reports dictionary |
• dictionary_location_ID – A string indicating the dictionary location ID. This can be returned using the Launch_GetFileInfo() function.
A string indicating the dictionary path.
Once you read a dictionary location using this function, you can then modify the location, and write changes to the launch file using Launch_WriteDictPath().