|
|
|
|
- Opening a selected image file
Opening a selected image file The following code is used to open the selected image file. The selected file is opened by the associated software in Windows.
// Declare the variables FileNameAndPath is string ResOpen is boolean // Select file to open FileNameAndPath = fImageSelect("C:\Directories", "File.gif", "Select an image",... "JPEG (*.JPG)"+TAB+"*.jpg"+CR+"BMP (*.BMP)"+TAB+"*.gif") // Open file ResOpen = ShellExecute(FileNameAndPath) // Display an error message if the opening was not performed IF ResOpen = False THEN Error(ErrorInfo(errMessage)) ELSE // Processes in the opened file ... // End of processes END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|