home *** CD-ROM | disk | FTP | other *** search
/ Chip 5 / Chip_05_2000.iso / tb70olx.sbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1999-08-10  |  60.7 KB  |  783 lines

  1. !This program cannot be run in DOS mode.
  2. .rdata
  3. @.rsrc
  4. @.reloc
  5. Asymetrix ToolBook Application
  6. MINSTB32.dll
  7. @    (    (    K
  8. *ClassTbl*
  9. *ClassEntry*
  10. *PTABLE*
  11. *WINDOWSEG*
  12. *ICONRESTAB*
  13. *ICONRESSEG*
  14. *ICONRES*
  15. Background
  16. *OBJTABLE*
  17. *IDTABLE*
  18. *NAMETAB*
  19. Rectangle
  20. Ellipse
  21. RoundedRectangle
  22. Polygon
  23. IrregularPolygon
  24. AngledLine
  25. Curve
  26. PaintObject
  27. Picture
  28. Group
  29. Stage
  30. Button
  31. Viewer
  32. ComboBox
  33. Field
  34. RecordField
  35. Hotword
  36. *RHOTWORD*
  37. *TbxBase*
  38.     (    ewer
  39. bxBase*
  40.     (    bxBase*
  41.                 7    
  42. 7            7
  43. a                
  44. 7            7
  45. 7            777777    
  46.     7                
  47. 7            7
  48. a        7    
  49.                 7
  50.     7            
  51. a777    a
  52. aaaaa
  53. &File
  54. &Open...    Ctrl+O
  55. &Save    Ctrl+S
  56. Save &As...
  57. saveas
  58. &Import...
  59. import
  60. &Export...
  61. export
  62. Print Set&up...
  63. printsetup
  64. &Print Pages...    Ctrl+P
  65. printpages
  66. Prin&t Report...
  67. printreport
  68. Send &Mail...
  69. sendmail
  70. &Run...
  71. E&xit    Alt+F4
  72. &Edit
  73. &Undo    Ctrl+Z
  74. Cu&t    Ctrl+X
  75. &Copy    Ctrl+C
  76. &Paste    Ctrl+V
  77. paste
  78. C&lear    Del
  79. clear
  80. Select &All    Shift+F9
  81. selectall
  82. Select Pa&ge    Shift+F12
  83. selectpage
  84. &Size to Page    F11
  85. sizetopage
  86. F&ind...    F5
  87. Re&place...
  88. replace
  89. Aut&hor    F3
  90. author
  91. &Text
  92. &Character...    F6
  93. character
  94. &Paragraph...    F7
  95. paragraph
  96. &Regular    Ctrl+Space
  97. regular
  98. &Bold    Ctrl+B
  99. &Italic    Ctrl+I
  100. italic
  101. &Underline    Ctrl+U
  102. underline
  103. Stri&keout    Ctrl+K
  104. strikeout
  105. Superscrip&t/Subscript
  106. superscriptSubscript
  107. &Normal Script
  108. normalscript
  109. Su&bscript    Ctrl+L
  110. subscript
  111. Su&perscript    Ctrl+Shift+L
  112. superscript
  113. &Show Hotwords    F9
  114. showhotwords
  115. &Page
  116. &Next    Alt+Right
  117. &Previous    Alt+Left
  118. previous
  119. &First    Alt+Up
  120. first
  121. &Last    Alt+Down
  122. &Back    Shift+F2
  123. &History...    Ctrl+F2
  124. history
  125. N&ew Page    Ctrl+N
  126. newpage
  127. &Help
  128. &Contents    F1
  129. contents
  130. Status &Bar    F12
  131. statusbar
  132. .mGS.
  133. /P8Z/
  134. 2m~"3
  135. ASYM_OLX
  136. _s_ASYMOLX_InitDone
  137. enterSystem
  138. _s_ASYMOLX_Init
  139. linkSysbook
  140. bACIIsScored
  141. MASYM_IsScored
  142. enterBook
  143. s_ACI_UserID
  144. MASYM_IsScored
  145. msgTxt
  146. FALSE
  147. CantConnectSoRetry
  148. CantConnectConfirmExit
  149. ACIConnectServer
  150. ACIConnect
  151. ACIConnectServer
  152. ACIClose
  153. ACIStartLesson
  154. ACIScoreQuestion
  155. ACILogAnswer
  156. ACIEndLesson
  157. ACIEndLessonAndLogout
  158. ACIGetLessonScore
  159. ACIGetLessonStatus
  160. ACIGetAccessRights
  161. ACIGetUserID
  162. ACIGetCourseID
  163. ACIGetModuleID
  164. ACIGetModuleOrdinal
  165. ACIGetRecorded
  166. ACIGetLogged
  167. ACIGetUserName
  168. ACIGetCourseName
  169. bookRef
  170. to a course management system. Please Click OK to exit
  171. You cannot use this book, as you are not properly logged in 
  172. ACI_ConfirmLogonCancel
  173. s_ACI_UserName
  174. ASYM_MessageBox
  175. ACI_LogonPrompt
  176. bACIIsScored
  177. You must logon to use this course. Are you sure you want to exit?
  178. 1ASYM_LogType
  179. asymolx.dll
  180. giACIScore
  181. ,tb70r.sbk
  182. bookname
  183. PASYMI_AutoSecurity
  184. ACIStartLesson
  185. reader
  186. YesNo
  187. Please confirm your details are correct and try again.
  188. Exclamation
  189. false
  190. Unable to connect to a course management system. 
  191. bACIIsLogged
  192. MASYM_IsScored
  193. retVal
  194. CantConnectSoExit
  195. info_Title
  196. msgCaption
  197. ACIGetLogged
  198. error
  199. unlinkSelf
  200. bInLesson
  201. s_ACI_Path
  202. ASYM_GetString
  203. Error
  204. UACIGetRecorded
  205. Question
  206. MASYM_LinkDLLs
  207. tb70r.sbk
  208. Logon
  209. giACIMaxScore
  210. shortNm
  211. getShortFileName32
  212. ,*Use cg    
  213. tbfile32.dll
  214. olx_itemOffset
  215. itemOffset
  216. olx_itemOffset
  217. getShortFileName32
  218. ASYM_Is32Bit
  219. tbdlg.dll
  220. unlinkSelf
  221. FALSE
  222. ASYM_Is32Bit
  223. reader
  224. UACIClose
  225. FALSE
  226. bInLesson
  227. ACIEndLesson
  228. unlinkSysbook
  229. ASYM_CMS_CollectTotalScore
  230. giACIScore
  231. bInLesson
  232. giACIMaxScore
  233. leaveBook
  234. ,,H.,
  235. iQType
  236. FALSE
  237. TRUEFALSE
  238. totalScore
  239. wZASYM_CollectWidgets
  240. ASYM_WID_IsScored
  241. ASYM_WID_AnsArray
  242. f_responseText
  243. ASYM_CMS_CollectTotalScore
  244.  (Page 
  245. totalMax
  246. MASYM_IsScored
  247. TYPEIN
  248. 4ASYM_LibrarianUniqueName
  249. optList
  250. ASYM_WID_QType
  251. optNum
  252. bACIIsLogged
  253. MULTICHOICE
  254. ACIScoreQuestion
  255. responseID
  256. ACILogAnswer
  257. s__ASYM_TempTotalScore
  258. widList
  259. error
  260. ASYM_ItemOffset
  261. ASYM_WID_ResponseIDs
  262. tASYM_WID_Score
  263. 5ASYM_WID_TriesUsed
  264. sResponse
  265. ASYM_WID_MaxScore
  266. optsSelected
  267. iTryCount
  268. ASYM_CMS_CollectTotalScore
  269. .-+    +L
  270. .-+    +L
  271. ACIEndLessonAndLogout
  272. ASYM_CMS_CollectTotalScore
  273. giACIScore
  274. bInLesson
  275. ACIEndLesson
  276. error
  277. FALSE
  278. ASYM_ACIEndLesson
  279. ,logout,
  280. giACIMaxScore
  281. ASYM_ACIEndLesson
  282. ACIGetAccessRights
  283. ASYM_CMS_AccessRights
  284. ASYM_CMS_AccessRights
  285. ASYM_CMS_UserID
  286. ACIGetUserID
  287. ASYM_CMS_UserID
  288. ASYM_CMS_UserName
  289. iACIGetUserName
  290. ASYM_CMS_UserName
  291. ASYM_CMS_CourseID
  292. @hACIGetCourseID
  293. ASYM_CMS_CourseID
  294. RSASYM_CMS_CourseName
  295. ACIGetCourseName
  296. ASYM_CMS_CourseName
  297. ASYM_CMS_ModuleID
  298. ^ACIGetModuleID
  299. ASYM_CMS_ModuleID
  300. ASYM_FreeMemBlock
  301. pScore
  302. ASYM_GetMemBlock
  303. retVal
  304. pMaxScore
  305. bookRef
  306. ASYM_CMS_LessonScore
  307. info_Title
  308. ACIGetLessonScore
  309. ASYM_CMS_LessonScore
  310. ASYM_FreeMemBlock
  311. ASYM_GetMemBlock
  312. retVal
  313. info_Title
  314. bookRef
  315. ASYM_CMS_LessonStatus
  316. BACIGetLessonStatus
  317. Completed
  318. In progress
  319. Not started
  320. pStatus
  321. ASYM_CMS_LessonStatus
  322. Info_Title
  323. ASYM_CMS_BookName
  324. CACIGetModuleOrdinal
  325. ASYM_CMS_ModuleOrdinal
  326. ASYM_CMS_ModuleOrdinal
  327. ASYM_CMS_RuntimeLinked
  328. ASYM_CMS_CMSApplicationName
  329. FALSE
  330. ASYM_CMS_AskToContinue
  331. ASYM_CMS_BookmarkFileName
  332. ASYM_CMS_DataDir
  333. ASYM_CMS_dbError
  334. ASYM_CMS_dbErrorString
  335. ASYM_CMS_dbOK
  336. ASYM_CMS_EnterApplication
  337. ASYM_CMS_GetRecordedScore
  338. ASYM_ACIEndLesson
  339. ASYM_CMS_GoToModule
  340. ASYM_CMS_IniFile
  341. FALSE
  342. ASYM_CMS_IsCourseCompleted
  343. ASYM_CMS_LeaveApplication
  344. ASYM_CMS_LogDir
  345. ASYM_CMS_LogFileName
  346. ASYM_CMS_LogType
  347. ASYM_ACIEndLesson
  348. ASYM_CMS_MarkAsCompleted
  349. s_booktoload
  350. ASYM_CMS_ModuleFileName
  351. ASYM_CMS_RecordScore
  352. ASYM_ACIEndLesson
  353. ASYM_CMS_ReturnToCMS
  354. FALSE
  355. ASYM_CMS_SetBookmarkFileName
  356. ASYM_CMS_SetLogDir
  357. ASYM_CMS_SetLogFileName
  358. ASYM_CMS_SetLogType
  359. ASYM_CMS_SetNextModule
  360. asym_CMS_sysBookName
  361. 3'-- This 
  362. 8will be linked 
  363. Htb70r.sbk 
  364. exists 
  365. running under Neuron
  366. -- we'll try 
  367. initialize on 
  368. , but 
  369. Mwe can't, we'll 
  370. linkSysBook
  371. ASYM_OLX
  372.     --indicates presence 
  373. sysbook
  374. 4_s_ASYMOLX_InitDone
  375. linkSysbook
  376. D <> 
  377. 4bACIIsScored
  378.     ASYM_IsScored 
  379. 4bInLesson        -- Are we 
  380. a lesson?
  381. 4bACIIsLogged        -- Use our own logging 
  382.         -- Our 
  383. scoring 
  384. 4giACIScore        -- Global 
  385. ototal 
  386. 4giACIMaxScore    -- 
  387. 4DWORD hACI        -- 
  388. connection
  389. 4STRING s_ACI_UserName, s_ACI_UserID, s_ACI_Path -- These should be 
  390. Hwhoever links 
  391. unlinkSelf
  392.     -- ensure runtime 
  393. <DLLs are 
  394. ASYM_LinkDLLs 
  395. currentPage 
  396.     bookRef = 
  397.     -- Initialization
  398.  = FALSE        -- Start 
  399.     -- We 
  400. acifs dll 
  401. Librarian functions
  402.     LinkDLL32 "asymolx.
  403. ACIConnect ()
  404. ACIConnectServer (
  405.         LONG
  406. ACIClose (
  407. ACIStartLesson (
  408. ACIScoreQuestion (
  409. , FLOAT, 
  410. ACILogAnswer (
  411. ACIEndLesson (
  412. ACIEndLessonAndLogout (
  413. ACIGetLessonScore (
  414. , POINTER, 
  415. ACIGetLessonStatus (
  416. ACIGetAccessRights (
  417. ACIGetUserID (
  418. ACIGetCourseID (
  419. ACIGetModuleID (
  420. ACIGetModuleOrdinal (
  421. ACIGetRecorded (
  422. ACIGetLogged (
  423.         POINTER32 ACIGetUserName (
  424. CourseName (
  425.     -- Make 
  426. () replaces 
  427.     -- If 
  428.  fails, prompt user 
  429. details 
  430. . ACI_LogonPrompt()
  431. implemented 
  432. 8. It 
  433. jclicks OK.
  434.  = 0 
  435.  = NULL 
  436.             retVal = 
  437. msgTxt = ASYM_GetString ("CantConnectSoRetry", \
  438. "Unable 
  439. a course management 
  440. 4. " & \
  441. "Please confirm your 
  442. correct 
  443. msgCaption = 
  444. Error")
  445. ASYM_MessageBox (
  446. ., "Exclamation", "OK")
  447. ASYMI_AutoSecurity 
  448. ACI_ConfirmLogonCancel 
  449. -- TimB 4/28 - 
  450. code below 
  451. only 
  452.  doesn't 
  453. -- provided 
  454. %a catch 
  455. Mthat no
  456. ConfirmExit", \
  457. "You must logon 
  458. want 
  459. ", "YesNo") = "
  460. saveOnClose 
  461. P-- so 
  462. loop continues
  463.  <> 0
  464.     -- If 
  465. completely 
  466. 8requires a CMS. Otherwise just 
  467. oExit", \
  468. cannot 
  469. xproperly logged 
  470. " & \
  471. Click OK 
  472.     -- Get 
  473.     bookname = info_Title 
  474.      = 0
  475.     error = 
  476.     , 0, 
  477.     -- Now 
  478.  overrides 
  479.     ASYM_LogType 
  480.     nm = 
  481.     linkDLL "tbdlg.dll"
  482.         INT olx_itemOffset = 
  483.     -- see 
  484. - look 
  485. )full 
  486.     pos = 
  487. K(nm, 
  488. xfound 
  489. 's a 32-bit OS, 
  490. ]a short file 
  491. ASYM_Is32Bit()
  492. file32.
  493. getShortFileName32 (
  494.         shortNm = 
  495. + (nm, 1)
  496. still 
  497. removing 
  498. path 
  499. (nm) 
  500. nm = "\"
  501. (nm, 
  502.         ssm = sysSuspendMessages
  503. * = sSM
  504. sysOperatingSystem
  505. "DOS" 
  506. < 3.95 
  507. unlinkSysbook
  508. Mwhere 
  509. hasn't been called, we
  510. abort flag.
  511. ,3,0,0)
  512. a test (
  513. ) we 
  514.     -- assume we 
  515. going 
  516. another 
  517. same 
  518.     -- So, count up 
  519. score 
  520. ]ASYM_CMS_CollectTotalScore, 
  521. global totals (
  522.  includeSkip
  523. ZLOGICAL passSkip
  524. 4s__ASYM_TempTotalScore
  525. 4vRef
  526. ZansArray[][]
  527. "0,0"
  528.     totalScore = 0
  529.     totalMax = 0
  530.         pg = 
  531. skipNavigation 
  532.         widList = ASYM_CollectWidgets(pg)
  533. ASYM_WID_IsScored 
  534. s = ASYM_WID_Score 
  535. m = ASYM_WID_MaxScore 
  536. -- Send 
  537. sQID = ASYM_LibrarianUniqueName(
  538. ) & " (
  539. " & i & ")"
  540. sResponse = ""
  541. ss = 
  542. ; se = 
  543.  = ASYM_WID_AnsArray 
  544. hasAnsArray = (
  545. r= se
  546. -- Fill-
  547. -the-blank
  548. ASYM_WID_QType 
  549. c = "TYPEIN"
  550. _responseText 
  551. ~(",", 
  552. ~(",", 
  553. responseID = ASYM_WID_ResponseIDs 
  554. dimensions (
  555. ^][10] = 
  556. txt = 
  557. ~(",", 
  558. ~(",", 
  559. iQType = 2
  560. -- Multiple Choice
  561. obj = "MULTICHOICE" 
  562. TRUEFALSE"
  563. optList = 
  564. optsSelected = 
  565. optNum = 
  566.  [j][16]
  567. Z][10] = 
  568. ASYM_ItemOffset (
  569. ) > 0
  570. ][1] 
  571. -- Unknown question type
  572. * " & 
  573. iTryCount = ASYM_WID_TriesUsed 
  574. -- 4/16/98 1:53PM TAD
  575. , s, m, 0)
  576. , s, m, 0)
  577. isType(REAL,s) 
  578. "0,0"
  579. ASYM_ACIEndLesson status, options
  580.  = 0 
  581. ",logout," 
  582. "," & 
  583.  & ","
  584. handling CMS 
  585. CMSInfo array
  586. ASYM_CMS_AccessRights
  587. ASYM_CMS_UserID
  588. ASYM_CMS_UserName
  589. pointerString32 (0, 
  590. ASYM_CMS_CourseID
  591. ASYM_CMS_CourseName
  592. ACIGetCourseName(
  593. ASYM_CMS_ModuleID
  594. ASYM_CMS_LessonScore lessonID
  595.     -- Returns 
  596. a particular 
  597. form <
  598. >,<maximum 
  599.     -- If 
  600. occurs (
  601. possible 
  602. moment 
  603.     -- has no 
  604. recorded), 
  605. returns 
  606. (currently always -1)
  607.             bk = 
  608.         pScore = ASYM_GetMemBlock (4)
  609.         pMaxScore = 
  610. -(0, 
  611. -(0, 
  612. ASYM_FreeMemBlock (
  613. ASYM_CMS_LessonStatus 
  614. . Currently supported
  615. values 
  616. "Not started", "In progress", "Completed", 
  617. (which 
  618. be a negative integer).
  619.         ACI_NotStarted = 0x0000
  620.         ACI_InProgess = 0x0020
  621.         ACI_Completed = 0x0040
  622.             bk = 
  623.         pStatus = 
  624. .(0, 
  625. ASYM_CMS_BookName
  626. Info_Title 
  627. ASYM_CMS_ModuleOrdinal
  628. U  = 0
  629. ASYM_CMS_RuntimeLinked
  630. ASYM_CMS_CMSApplicationName
  631. ASYM_CMS_AskToContinue
  632. ASYM_CMS_BookmarkFileName
  633. ASYM_CMS_DataDir
  634. ASYM_CMS_dbError
  635. ASYM_CMS_dbErrorString
  636. ASYM_CMS_dbOK
  637. ASYM_CMS_EnterApplication
  638. ASYM_CMS_GetRecordedScore arg
  639.         -- FIXME: Should we 
  640. so far
  641. "0,0"
  642. ASYM_CMS_GoToModule
  643. ASYM_CMS_IniFile
  644. ASYM_CMS_IsCourseCompleted
  645. ASYM_CMS_LeaveApplication
  646. ASYM_CMS_LogDir
  647. ASYM_CMS_LogFileName
  648. ASYM_CMS_LogType
  649. ASYM_CMS_MarkAsCompleted
  650. ASYM_CMS_ModuleFileName
  651. 4s_booktoload
  652. ASYM_CMS_RecordScore
  653. ASYM_CMS_ReturnToCMS
  654. ASYM_CMS_SetBookmarkFileName
  655. ASYM_CMS_SetLogDir
  656. ASYM_CMS_SetLogFileName
  657. ASYM_CMS_SetLogType
  658. ASYM_CMS_SetNextModule
  659. asym_CMS_sysBookName
  660. default
  661. TSYS_HelpFileExists
  662. <BookPath>
  663. DMEDIAPATH
  664. Arial
  665. Arial
  666. Tim Barham
  667. Tim Barham
  668. Slade Mitchell
  669. LEARNER.HLP
  670. TSYS_HelpFile
  671. FALSE
  672. 08-Sep-98 1:00:50 PM
  673. tb50r.sbk
  674. s_booktoload
  675. enterPage
  676. cmdline
  677. 4s_booktoload
  678.     sysSuspendMessages = TRUE
  679. "tb50r.sbk" 
  680. K = FALSE
  681. enterApplication 
  682.     -- Other sends
  683. John Dietz
  684. fo_LastSavedBy
  685. John Dietz
  686. fo_LastSaved
  687. John Dietz
  688. John Dietz
  689. John Dietz
  690. Tim Barham
  691. 11/19/98 3:47:52 PM
  692. System
  693. Arial
  694. Arial
  695. MS Sans Serif
  696. tb50r.sbk
  697. s_booktoload
  698. enterPage
  699. cmdline
  700. 4s_booktoload
  701.     -- Get the 
  702.     -- that's 
  703. real 
  704.     -- Who knows who 
  705. may need 
  706. , probably no one
  707.     -- This will prevent ToolBook 
  708. sending startup
  709.     -- message 
  710. 4we are ready 
  711.     sysSuspendMessages = TRUE
  712.     -- Make sure 
  713. 8loads 
  714. "tb50r.sbk" 
  715.     -- Turn messages 
  716.  = FALSE
  717.     -- Now 
  718. enterApplication 
  719.     -- Other sends
  720.     -- We 
  721. link 
  722. acifs dll 
  723. Librarian functions
  724.     -- Lets 
  725. aourselves a systemBook 
  726. <BookPath>
  727. :HDMEDIAPATH
  728. Slade Mitchell
  729. info_LastSavedBy
  730. 11/19/98 3:47:52 PM
  731. info_LastSaved
  732. LEARNER.HLP
  733. CBTSYS_HelpFile
  734. CBTSYS_HelpFileExists
  735. Asymetrix Learning Systems
  736. 9 12:26:55 PM
  737. 8/10/99 11:06:00 AM
  738. ASYM_MultiLanguageSupport
  739. 8/10/99 11:05:56 AM
  740. 12/99 10:39:56 AM
  741. ASYMA_CustomColors
  742. 0,89,0
  743. 0,75.3125,0
  744. 180,25.125,100
  745. 120,50,100
  746. 132,67.25,50.875
  747. 125,50,45.875
  748. 129,67.0625,79.8125
  749. 240,75.125,100
  750. Progress
  751. page "Progress"
  752. Sending Results...
  753. OLX System Book
  754. minorVersion
  755. ASYM_CBTVersion
  756. BookTitleText
  757. Instructor
  758. productName
  759. ToolBook II %1 %2
  760. titleText
  761. Assistant
  762. ASYM_GetString
  763. s_ASYM_ProductName
  764. enterBook
  765. notifyBefore 
  766. 4s_ASYM_ProductName
  767.     titleText = ASYM_GetString("BookTitleText", \
  768.             "ToolBook II %1 %2")
  769. Z = "Assistant" 
  770.         productName = 
  771. kInstructor")
  772. expandString(
  773. @, ASYM_CBTVersion (
  774. P, "minorVersion"))
  775. enterBook
  776. terBook
  777. 960724113546154398857124292222
  778. ASYM_TpID
  779. Title
  780. ToolBook II Instructor 7.1
  781. Copyright 
  782.  Asymetrix Learning Systems Inc. 1990-1998tems Inc. 1990-1997
  783.