home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / checko1a / help.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-09-16  |  9.0 KB  |  131 lines

  1. VERSION 5.00
  2. Begin VB.Form frmHelp 
  3.    Caption         =   "Help"
  4.    ClientHeight    =   1995
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   4680
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   1995
  10.    ScaleWidth      =   4680
  11.    StartUpPosition =   3  'Windows Default
  12.    Begin VB.ComboBox cmbTopic 
  13.       Height          =   315
  14.       ItemData        =   "Help.frx":0000
  15.       Left            =   1200
  16.       List            =   "Help.frx":001F
  17.       Style           =   2  'Dropdown List
  18.       TabIndex        =   1
  19.       ToolTipText     =   "Topic choices"
  20.       Top             =   48
  21.       Width           =   3375
  22.    End
  23.    Begin VB.TextBox txtHelp 
  24.       BackColor       =   &H8000000B&
  25.       Height          =   1335
  26.       Left            =   120
  27.       Locked          =   -1  'True
  28.       MultiLine       =   -1  'True
  29.       ScrollBars      =   2  'Vertical
  30.       TabIndex        =   0
  31.       Top             =   480
  32.       Width           =   4455
  33.    End
  34.    Begin VB.Label Label1 
  35.       Caption         =   "Topic:"
  36.       Height          =   255
  37.       Left            =   120
  38.       TabIndex        =   2
  39.       Top             =   120
  40.       Width           =   1095
  41.    End
  42. Attribute VB_Name = "frmHelp"
  43. Attribute VB_GlobalNameSpace = False
  44. Attribute VB_Creatable = False
  45. Attribute VB_PredeclaredId = True
  46. Attribute VB_Exposed = False
  47. Option Explicit
  48. Private Sub cmbTopic_Click()
  49.     txtHelp = ""
  50.     If cmbTopic = "Why Use This Program?:" Or cmbTopic = "All Topics:" Then
  51.         txtHelp = txtHelp & "Why Use This Program?:" & vbCrLf
  52.         txtHelp = txtHelp & "This program helps prevent overwriting other people's code when programming in a multiple developer project.  "
  53.         txtHelp = txtHelp & "It is a passive protection and is not near as powerful as a program like source-safe.  "
  54.         txtHelp = txtHelp & "However, it also is less restrictive than a tool like that and is way better than trying to manually synchronize files." & vbCrLf & vbCrLf
  55.     End If
  56.     If cmbTopic = "Initial Configuration:" Or cmbTopic = "All Topics:" Then
  57.         txtHelp = txtHelp & "Initial Configuration:" & vbCrLf
  58.         txtHelp = txtHelp & "Copy all files to the network directory.  Select source code directories by clicking the "
  59.         txtHelp = txtHelp & "'Local Directory:' and 'Net Directory:' buttons.  Then click the 'Update Files' button." & vbCrLf & vbCrLf
  60.         txtHelp = txtHelp & "A file 'checkout_<user>.lst' will be stored one directory up from the network directory.  "
  61.         txtHelp = txtHelp & "(If you want the file stored elsewhere, you can change it in the options screen.)" & vbCrLf & vbCrLf
  62.         txtHelp = txtHelp & "The user name is taken from the current windows logon user." & vbCrLf & vbCrLf
  63.     End If
  64.     If cmbTopic = "Program Use:" Or cmbTopic = "All Topics:" Then
  65.         txtHelp = txtHelp & "Program Use:" & vbCrLf
  66.         txtHelp = txtHelp & "Click the 'Help' button to display this window.  Click the 'Check Files' button to see what files the program thinks need to be updated.  Click the 'Update Files' button to actually copy files that need to be updated.  "
  67.         txtHelp = txtHelp & "(It will show files that will be copied and allow you to cancel the action before proceeding.)" & vbCrLf & vbCrLf
  68.         
  69.         txtHelp = txtHelp & "If 'Automatically check for files changes' is checked, it will pop up a reminder window every [?] minutes (as specified) if any files need to be updated." & vbCrLf & vbCrLf
  70.         
  71.         txtHelp = txtHelp & "Clicking the Mail icon button allows you to send a message using the NT's DOS command 'net send'.  Windows users with a 'checkout_<user>.lst' file (in the same directory as you file) appear in the drop down." & vbCrLf & vbCrLf
  72.         
  73.         txtHelp = txtHelp & "Clicking the Hammer icon button brings up the options screen to set program configuration options." & vbCrLf & vbCrLf
  74.         
  75.         txtHelp = txtHelp & "In the Options screen, the 'Check files every [_] minutes' field sets how long before automatically checking for new files." & vbCrLf & vbCrLf
  76.         
  77.         txtHelp = txtHelp & "If 'Ignore Conflict files with extension(s)' is checked, the program won't try to updated files with that extension if they conflict.  To enter multiple extensions, seperate values with a comma.  "
  78.         txtHelp = txtHelp & "(In Visual Basic, the '.vbw' file is a good example.  It always changes and only has user settings.)" & vbCrLf & vbCrLf
  79.         
  80.         txtHelp = txtHelp & "The 'Location of Checkout List File:' radio buttons specify where the 'checkout_<user>.lst' file should be stored.  The default is 'Net Directory\..' "
  81.         txtHelp = txtHelp & "(which is the folder above the network source code directory).  Click 'App Directory' if you would rather have it stored in the directory with this utility.  "
  82.         txtHelp = txtHelp & "Click 'Custom [...]' to choose a different directory.  (Note:  The 'checkout_<user>.lst' should not be in the same directory as source code.  "
  83.         txtHelp = txtHelp & "If all users' files aren't in the same place, the 'Send Message' window won't automatically find the other developer names.)" & vbCrLf & vbCrLf
  84.         
  85.         txtHelp = txtHelp & "Clicking the Eye icon button brings up the Resolve Conflicts screen to compare/edit/delete files that conflict." & vbCrLf & vbCrLf
  86.         
  87.         txtHelp = txtHelp & "In the Resolve Conflicts screen, click the 'Compare' button to show differences in the files.  "
  88.         txtHelp = txtHelp & "(The 'Compare with' radio buttons determine which program to compare the files with, the DOS 'fc.exe' program or 'windiff.exe'.  "
  89.         txtHelp = txtHelp & "Click edit to open the source files in an editor.  Click delete to delete one of the files." & vbCrLf & vbCrLf
  90.     End If
  91.     If cmbTopic = "Program Logic:" Or cmbTopic = "All Topics:" Then
  92.         txtHelp = txtHelp & "Program Logic:" & vbCrLf
  93.         txtHelp = txtHelp & "File dates in your local directory are compared to the file date of the file you last copied.  "
  94.         txtHelp = txtHelp & "If the file date is the same, but the network file date is newer, it assumes you need the new file on the network.  "
  95.         txtHelp = txtHelp & "If the file date is newer, and the network file date is the same, it assumes you need to update the network file.  "
  96.         txtHelp = txtHelp & "If the file date is newer, but the network file date is also newer, it assumes that there is a conflict in changes.  " & vbCrLf & vbCrLf
  97.     End If
  98.     If cmbTopic = "Resolving Conflicts:" Or cmbTopic = "All Topics:" Then
  99.         txtHelp = txtHelp & "Resolving Conflicts:" & vbCrLf
  100.         txtHelp = txtHelp & "You can compare files to see if they are different by using the DOS command 'fc', a program like 'Windiff', or by manually viewing the souce code side by side.  "
  101.         txtHelp = txtHelp & "If you know the files are the same, you may delete the local or network file and then do an update.  "
  102.         txtHelp = txtHelp & "If the files are different, manually merge/fix one file and then delete the other file and then do an update." & vbCrLf & vbCrLf
  103.     End If
  104.     If cmbTopic = "Warnings:" Or cmbTopic = "All Topics:" Then
  105.         txtHelp = txtHelp & "Warnings:" & vbCrLf
  106.         txtHelp = txtHelp & "This program isn't 100% reliable.  Make backups often.  "
  107.         txtHelp = txtHelp & "The program doesn't copy files in sub-directories.  "
  108.         txtHelp = txtHelp & "The more often you 'Update' the less conflicts you will have.  "
  109.         txtHelp = txtHelp & "Don't have the files open when updating your local files or they may be written back from the 'cached' versions which would replace the new files.  "
  110.         txtHelp = txtHelp & "Don't modify the files directly from the Network directory.  If the file is open and someone updates the files, they may be write back from the 'cached' versions when it saves which would replace the new files.  "
  111.         txtHelp = txtHelp & "Copying and deleting files without using this program can obviously cause problems as the 'checkout_<user>.lst' file isn't updated." & vbCrLf & vbCrLf
  112.     End If
  113.     If cmbTopic = "Version:" Or cmbTopic = "All Topics:" Then
  114.         txtHelp = txtHelp & "Version:" & vbCrLf
  115.         txtHelp = txtHelp & "1.0.0 - Initial Release - Sept. 16, 1999" & vbCrLf & vbCrLf
  116.     End If
  117.     If cmbTopic = "Author:" Or cmbTopic = "All Topics:" Then
  118.         txtHelp = txtHelp & "Author:" & vbCrLf
  119.         txtHelp = txtHelp & "This program was created and designed by Andy Pearson (email: apearson@bigfoot.com).  The program and code is free for use (to change, modify, or copy).  I make no guarantees.  Use at your own risk.  If you have questions and I am not too busy, I may answer them.  "
  120.         txtHelp = txtHelp & "If you make changes to improve it, please let me know so I can also benefit.  Enjoy!"
  121.     End If
  122. End Sub
  123. Private Sub Form_Load()
  124.     If cmbTopic = "" Then
  125.         cmbTopic = "All Topics:"
  126.     End If
  127. End Sub
  128. Private Sub Form_Unload(Cancel As Integer)
  129.     frmCheckInOut.Show
  130. End Sub
  131.