home login register your profile contact        
Affymetrix
Products Support Analysis Scientific Community Corporate Careers Shop Affymetrix Japan
Software Developer Network
File SDK Overview
File SDK Downloads
File SDK Object Hierarchy
IGDACEXPFile
IGDACDATFile
IGDACCELFile
IGDACCHPFile
IGDACCDFFile
IGDACProbe
IGDACProbeSet
IGDACProbePair
IGDACControlProbeSet
IGDACCustomSeqComposite
IGDACCustomSeqProbeSet
IGDACCustomSeqProbeGroup
IGDACCustomSeqProbeList
IGDACGenotypeProbeSet
IGDACGenotypeProbeGroup
IGDACGenotypeProbeList
IGdacFileChooserDlg
IGDACFilesMode
File SDK Definitions
File SDK Messages
File SDK Release Notes

IGdacFileChooserDlg


OVERVIEW
The IGdacFileChooserDlg interface provides the functionality to allow a user to list, filter and select data files managed by Affymetrix software (MAS, LIMS, GCOS).

PROPERTIES

FileType
ID 3
Description The type of file to display in the dialog as the default. This value is set to the type of file selected after the ShowDialog method is invoked.
TypeDBFD_FILE_TYPE
AccessRead-write
Remarks The default is to show all file types.

Title
ID 4
DescriptionThe title of the file open dialog.
TypeBSTR
AccessWrite-only
Remarks Set this value to change the title of the file open dialog.

AvailableFileTypes
ID 5
DescriptionThis value is used to define the list of file types to display. This is a bitwise combination of DBFD_FILE_TYPE values.
Typelong
AccessWrite-only
Remarks The default value is to show all available file types.

MultiSelect
ID 6
DescriptionA flag indicating whether the file open dialog should allow single or multiple file selection.
TypeBOOL
AccessWrite-only
Remarks The default value is FALSE - single selection.

ServerName
ID 7
DescriptionThe name of the GCOS client or server or LIMS server or blank if the target system is MAS in file mode.
TypeBSTR
AccessRead-write
Remarks This value must be set prior to invoking the ShowDialog method.

DataPath
ID 8
DescriptionThe path name where the data files are stored.
TypeBSTR
AccessRead-write
Remarks

This value is initialized by the software and only needs to be set if the target Affymetrix system is MAS 5 in file mode. This value does not need to be set for the GCOS or LIMS systems.

If the user changes directories in the file open dialog, this value will be modified to be the directory where the data files are selected.

When settings this value for MAS 5 file mode, first set the ServerName property to an empty string then set this property.

LibraryPath
ID 9
DescriptionThe path name where the library files are stored.
TypeBSTR
AccessRead-write
Remarks

This value is initialized by the software and only needs to be set if the target Affymetrix system is MAS 5 in file mode. This value does not need to be set for the GCOS or LIMS systems.

When settings this value for MAS 5 file mode, first set the ServerName property to an empty string then set this property.

METHODS

ShowDialog
ID1
Description This function returns a probe list object at the specified index.
PrototypeHRESULT ShowDialog([in] unsigned long hParentWnd, [out] int* nResult)
Parameters

hParentWnd - A handle to the parent window.
nResult - A value indicating if the OK or CANCEL button was selected. The values are:

-1 - Indicates an error condition.
1 - The OK button was selected.
2 - The CANCEL button was selected.

Return

S_OK if the function succeeded.
E_POINTER if the nResult pointer is NULL.

Remarks

The nResult value and the return value should be checked to verify that the user selected a file, click OK and that the function succeeded.


GetSelectedFiles
ID 2
DescriptionThis method returns the list of selected files from the ShowDialog method.
PrototypeHRESULT GetSelectedFiles([out] SAFEARRAY(BSTR)* ppsa)
Parametersppsa - An array of files selected from the ShowDialog method. This file names will not contain the path where they reside. The path is available from the DataPath property.
ReturnHRESULT - S_OK if successful or E_FAIL otherwise.
Remarks

This method should only be called after a successful call to the ShowDialog method and the user clicked the OK button.

888-DNA-CHIP (888-362-2447) +44 (0) 1628 552550 feedback e-mail support terms of use privacy policy