home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / sys_util / moduleap / form1.frm (.txt) next >
Encoding:
Visual Basic Form  |  1991-07-13  |  3.0 KB  |  71 lines

  1. Form1
  2. Form1
  3. Form1
  4. Form_Click
  5. CurrentX
  6. CurrentY
  7. FileNamem
  8. GetFileName
  9. GetInstanceCount
  10. NextInstance
  11. FindSecondInstance
  12. SetActiveWindow
  13. ActivateNextWindow
  14. Owner
  15.     GetWindow
  16. GW_OWNER
  17. GetClassWord
  18. GCW_HMODULE
  19. Start
  20. OtherK
  21. GetModuleFileName
  22. GW_HWNDNEXT
  23. GW_HWNDFIRST
  24. Handle
  25. WindowHandle
  26. ModuleHandle
  27. FileNameLengthY
  28. InstanceCount
  29. GetModuleUsage
  30. WhoAreWe
  31. HowManyAreWeh
  32.     OurModule=
  33. WhoAreWeAt
  34. SomeWindow
  35. SomeModule
  36. SendMessagev
  37. WM_RESTORE
  38. WM_SIZE
  39. ChangeTaskName
  40. NewTaskName
  41. OldTaskName
  42. GetWindowText
  43. OwnersHandle
  44. GetWindowTextLength
  45. TextLength
  46. SetWindowText
  47. parenttext
  48. Form_Click
  49. File Name"t
  50. Module Handle"t
  51. Instance Countt
  52. Second Instance hWndt
  53. Old Task Captiont
  54. Hello World!
  55. New Task Captiont
  56. GetFileName
  57. | If the WindowHandle is not valid (IE:0) then wee
  58. | assume the ModuleHandle has been already set and
  59. | we will use it.e
  60. GetInstanceCount
  61. | With the Module handle we can get the hInstance countc
  62. | for the application.
  63. FindSecondInstance
  64. | We need to find the module name so we can checkc
  65. | it against all the module names of every other
  66. | running task.t
  67. | We loop through all the running task and we stop ono
  68. | the first module name that matches ours, since wec
  69. | know there is atleast one more duplicate module name.n
  70. ChangeTaskName
  71.