home *** CD-ROM | disk | FTP | other *** search
Wrap
/* ** SAMPLE.RC - This is the ODBC sample driver resource file. ** ** This code is furnished on an as-is basis as part of the ODBC SDK and is ** intended for example purposes only. ** */ #include "sample.h" EDRIVERCONNECT DIALOG LOADONCALL MOVEABLE DISCARDABLE 96, 41, 91, 73 CAPTION "Connect..." FONT 8, "helv" STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP BEGIN CONTROL "&Connect to:", -1, "static", SS_LEFT | WS_CHILD, 5, 3, 47, 8 CONTROL "", ID_LISTBOX, "listbox", LBS_NOTIFY | LBS_SORT | LBS_STANDARD | WS_BORDER | WS_VSCROLL | WS_CHILD | WS_TABSTOP, 5, 12, 81, 41 CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 5, 56, 36, 14 CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 50, 56, 36, 14 END CONFIGDSN DIALOG 65, 43, 220, 148 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Microsoft ODBC Sample Setup" FONT 8, "MS Sans Serif" BEGIN CTEXT "Change data source name, description, or options. Then choose OK.", -1, 20, 7, 180, 17 RTEXT "Data Source &Name:", IDC_DSNAMETEXT, 8, 32, 65, 8, NOT WS_GROUP EDITTEXT IDC_DSNAME, 75, 30, 140, 13, ES_AUTOHSCROLL | WS_GROUP RTEXT "&Description:", -1, 8, 47, 65, 8, NOT WS_GROUP EDITTEXT IDC_DESC, 75, 45, 140, 12, ES_AUTOHSCROLL CONTROL "Sample Option &One", IDC_OPTION1, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 75, 65, 140, 10 CONTROL "Sample Option &Two", IDC_OPTION2, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 75, 75, 140, 10 GROUPBOX "Translator", -1, 6, 87, 209, 36 LTEXT "", IDC_TRANS_NAME, 14, 102, 142, 12 PUSHBUTTON "&Select...", IDC_SELECT, 164, 101, 40, 14 DEFPUSHBUTTON "OK", IDOK, 62, 128, 40, 14 PUSHBUTTON "Cancel", IDCANCEL, 118, 128, 40, 14 END // Version ----------------------------------------------------------------- #include <odbcver.h> #define USENGLISH_ANSI "040904E4" // String of 0x0409 and 1252 #define VER_COMPANYNAME_STR "Microsoft Corporation\0" #define VER_LEGALTRADEMARKS_STR "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0" #define VER_PRODUCTNAME_STR "Microsoft Open Database Connectivity\0" #define VER_FILEDESC_STR "Microsoft Sample ODBC Driver\0" #define VER_FILENAME_STR "SAMPLE.DLL\0" #define VER_NAME_STR "SAMPLE\0" VS_VERSION_INFO VERSIONINFO FILEVERSION VER_FILEVERSION PRODUCTVERSION VER_PRODUCTVERSION FILEFLAGSMASK VER_FILEFLAGSMASK FILEFLAGS VER_FILEFLAGS FILEOS VER_FILEOS FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK USENGLISH_ANSI BEGIN VALUE "CompanyName", VER_COMPANYNAME_STR VALUE "FileDescription", VER_FILEDESC_STR VALUE "FileVersion", VER_FILEVERSION_STR VALUE "InternalName", VER_NAME_STR VALUE "LegalTrademarks", VER_LEGALTRADEMARKS_STR VALUE "OriginalFilename", VER_FILENAME_STR VALUE "ProductName", VER_PRODUCTNAME_STR VALUE "ProductVersion", VER_PRODUCTVERSION_STR END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x0409, 1252 END END