Click or drag to resize
CGUIiDatabaseType Method (CGXNETCore, String, String, Int32)
Returns the type string of an external DAO database.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
If the file extension is "mdb", then an MSJET (Microsoft Access) database is assumed. If the file name is "ODBC", then "ODBC" is returned as the type. Otherwise, a dialog appears listing the other valid DAO database types.
Syntax
public static int iDatabaseType(
	CGXNETCore gxNetShared,
	string name,
	ref string type,
	int size
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
File Name
type
Type: SystemString
Database type (returned)
size
Type: SystemInt32
Size of type string

Return Value

Type: Int32
0 - OK -1 - Cancel terminates on error
See Also