home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wzintnet / inetwiz.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-01  |  5.0 KB  |  131 lines

  1. #DEFINE C_DEBUG    .F.
  2.  
  3. ***** Dropdown list selector
  4. #DEFINE STEP1_LOC    "Step 1 - Select Table"
  5. #DEFINE STEP2_LOC    "Step 2 - Choose Search Field"
  6. #DEFINE STEP3_LOC    "Step 3 - Set Search Page Options"
  7. #DEFINE STEP4_LOC    "Step 4 - Set Up Search Page"
  8. #DEFINE STEP5_LOC    "Step 5 - Select Result Fields"
  9. #DEFINE STEP6_LOC    "Step 6 - Set Up Result Page"
  10. #DEFINE STEP7_LOC    "Step 7 - Finish"
  11.  
  12. ***** Screen directions
  13. #DEFINE DESC0_LOC    "The wizard helps you create a Web page that searches your "+ ;
  14.                     "data.  The data must be Visual FoxPro 3.0 or later."
  15.  
  16. #DEFINE DESC1a_LOC    "Which table do you want the Web page to search?"
  17. #DEFINE    DESC1b_LOC    "Select a database or Free Tables, and then select "+ ;
  18.                     "a table from the list."
  19. #DEFINE DESC1        DESC1a_LOC+CRET+CRET+DESC1b_LOC
  20.  
  21. #DEFINE DESC2a_LOC    "Which index of the table do you want the Web page to search?"
  22. #DEFINE    DESC2b_LOC    "You can search on any indexed field in the selected table."
  23. #DEFINE DESC2        DESC2a_LOC+CRET+CRET+DESC2b_LOC
  24.  
  25. #DEFINE DESC3a_LOC    "What text do you want displayed on the Web search page?"
  26. #DEFINE    DESC3b_LOC    "Enter text for the title and description of the search page. "+ ;
  27.                     "The description will appear just below the title."
  28. #DEFINE DESC3        DESC3a_LOC+CRET+CRET+DESC3b_LOC
  29.  
  30. #DEFINE DESC4a_LOC    "Do you want to include a background or header image on the "+ ;
  31.                     "Web search page?"
  32. #DEFINE DESC4b_LOC    "You may select any JPEG or GIF file. "
  33. #DEFINE DESC4c_LOC    "You can also provide an option to return the search results as a file."
  34. #DEFINE DESC4        DESC4a_LOC+CRET+CRET+DESC4b_LOC+DESC4c_LOC
  35.  
  36. #DEFINE DESC5a_LOC    "Which fields do you want to return from the search?"
  37. #DEFINE    DESC5b_LOC    "You can return up to 5 fields from the selected table."
  38. #DEFINE DESC5        DESC5a_LOC+CRET+CRET+DESC5b_LOC
  39.  
  40. #DEFINE DESC6a_LOC    "Do you want to include a background or header image on the Web "+ ;
  41.                     "result page?"
  42. #DEFINE DESC6b_LOC    "You may select any JPEG or GIF file. "
  43. #DEFINE DESC6c_LOC    "You can also set the maximum number of records that will be "+ ;
  44.                     "returned by the search and a data source for the Microsoft Internet Information Server."
  45. #DEFINE DESC6        DESC6a_LOC+CRET+CRET+DESC6b_LOC+DESC6c_LOC
  46.  
  47. #DEFINE DESC7        ""    &&empty--finish screen
  48.  
  49. ***** Screen BMP files
  50. #DEFINE BMPFILE1    "bmps\tablesel.bmp"
  51. #DEFINE BMPFILE2    "bmps\srchfld.bmp"
  52. #DEFINE BMPFILE3    "bmps\srchpage.bmp"
  53. #DEFINE BMPFILE4    "bmps\srchpict.bmp"
  54. #DEFINE BMPFILE5    "bmps\retfield.bmp"
  55. #DEFINE BMPFILE6    "bmps\retpict.bmp"
  56. #DEFINE BMPFILE7    ""
  57.  
  58. #DEFINE    E_BADPARMS_LOC    "Invalid parameters passed."
  59.  
  60. ** Data types
  61. #DEFINE DT_NUMERIC  'N'
  62. #DEFINE DT_FLOAT     'F'
  63. #DEFINE DT_LOGIC     'L'
  64. #DEFINE DT_MEMO      'M'
  65. #DEFINE DT_GENERAL  'G'
  66. #DEFINE DT_CHAR      'C'
  67. #DEFINE DT_DATE      'D'
  68. #DEFINE DT_DOUBLE      'B'
  69. #DEFINE DT_TIME      'T'
  70. #DEFINE DT_MONEY      'Y'
  71.  
  72. ** Miscellaneous
  73. #DEFINE NUM_AFIELDS        11    &&linear dimension of AFIELDS
  74. #DEFINE C_SEP            " = "            &&property separator
  75. #DEFINE C_VERSTAMP        "VERSION =  0.007"
  76. #DEFINE C_DOS             "DOS"
  77. #DEFINE C_WINDOWS         "WINDOWS"
  78. #DEFINE C_MAC             "MAC"
  79. #DEFINE C_UNIX            "UNIX"
  80. #DEFINE    C_CRLF            CHR(13)+CHR(10)    &&return/linefeed
  81. #DEFINE    C_CR            CHR(13)            &&return
  82. #DEFINE    C_LF            CHR(10)            &&linefeed
  83. #DEFINE    C_TAB            CHR(9)            &&tab
  84. #DEFINE    C_SCXEXT        "SCX"            &&2.x screen extension
  85. #DEFINE C_DEFSET        "Formset1"
  86. #DEFINE C_DEFFORM        "Form1"
  87. #DEFINE C_MAXCHAR        60
  88. #DEFINE C_WINFONT        "MS Sans Serif"
  89. #DEFINE C_WINFSIZE        8
  90. #DEFINE C_WINFSTYLE        "B"
  91. #DEFINE C_WINFBOLD        .T.
  92. #DEFINE C_WINFITALIC    .F.
  93. #DEFINE C_WINFUNDER        .F.
  94. #DEFINE CRET            CHR(13)
  95. #DEFINE CRLF            CHR(13)+CHR(10)
  96.  
  97.  
  98. * Error messages used to check for valid styles.
  99.  
  100. #DEFINE WZ_DIRNAME    'WIZARDS\WIZBMPS'        &&dirname for bmps
  101. #DEFINE WIZ_DIR        'WIZARDS\'                &&default wizard directory --relative to SYS(2004)
  102. #DEFINE WIZ_STYDBF    'FRMSTYLE.DBF'            &&wizard style dbf
  103. #DEFINE WIZ_STYVCX    'WIZSTYLE.VCX'            &&wizard style class lib
  104. #DEFINE C_LOCATE_LOC    'Locate: '            &&GetFile prompt -- note keep it small so file fits
  105.  
  106. #DEFINE ERR_FORMSET_LOC    "Formsets are not supported as styles in the Form Wizard."
  107.  
  108. * Registry constants
  109. #DEFINE ERROR_SUCCESS    0            && all is fine
  110. #DEFINE C_RESWIDTH        "ResWidth"    && Options dialog setting
  111. #DEFINE C_RESHEIGHT        "ResHeight"    && Options dialog setting
  112.  
  113. * File Saving Strings
  114. #DEFINE    C_HTMLMSG_LOC    "HTML file:"
  115. #DEFINE C_HEADERIMG_LOC    "GIF/JPG file:"
  116. #DEFINE    C_BKGDIMG_LOC    "GIF/JPG file:"
  117.  
  118. #DEFINE    wizInternet_Wizard_Step_1    1999965411
  119. #DEFINE    wizInternet_Wizard_Step_2    1999965412
  120. #DEFINE    wizInternet_Wizard_Step_3    1999965413
  121. #DEFINE    wizInternet_Wizard_Step_4    1999965414
  122. #DEFINE    wizInternet_Wizard_Step_5    1999965415
  123. #DEFINE    wizInternet_Wizard_Step_6    1999965416
  124. #DEFINE    wizInternet_Wizard_Step_7    1999965417
  125.  
  126. #DEFINE    TITLE1_LOC            "Visual FoxPro HTML Search Page"
  127. #DEFINE    TITLE2_LOC            "Visual FoxPro Query Return Page"
  128. #DEFINE    STRINGHERE_LOC        "Enter your search string here:"
  129. #DEFINE    SEARCHBTNCAPTION_LOC    "Search"
  130. #DEFINE    RETDATA_LOC        "Return data as file."
  131. #DEFINE    GENERATE_LOC        'Generated by the Visual FoxPro WWW Search Page Wizard<br>'