home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 22 / CD_ASCQ_22_0695.iso / win / prg / psmmm11.exe / SAMPLE.DEU / SAMPLE1 / BASIC / FRMABOUT.FRM next >
Text File  |  1995-04-08  |  8KB  |  230 lines

  1. VERSION 2.00
  2. Begin Form frmAbout 
  3.    BackColor       =   &H00FFFFFF&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "▄ber das Multi language Tool"
  6.    ClientHeight    =   4410
  7.    ClientLeft      =   1515
  8.    ClientTop       =   2310
  9.    ClientWidth     =   5595
  10.    Height          =   4815
  11.    Left            =   1455
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   4410
  16.    ScaleWidth      =   5595
  17.    Top             =   1965
  18.    Width           =   5715
  19.    Begin CommandButton Command1 
  20.       Caption         =   "Registrieren der PSMMM.VBX"
  21.       FontBold        =   -1  'True
  22.       FontItalic      =   0   'False
  23.       FontName        =   "System"
  24.       FontSize        =   9.75
  25.       FontStrikethru  =   0   'False
  26.       FontUnderline   =   0   'False
  27.       Height          =   330
  28.       Left            =   2280
  29.       TabIndex        =   8
  30.       Top             =   3885
  31.       Width           =   3120
  32.    End
  33.    Begin CommandButton cmdOK 
  34.       Caption         =   "Ok"
  35.       FontBold        =   -1  'True
  36.       FontItalic      =   0   'False
  37.       FontName        =   "System"
  38.       FontSize        =   9.75
  39.       FontStrikethru  =   0   'False
  40.       FontUnderline   =   0   'False
  41.       Height          =   330
  42.       Left            =   135
  43.       TabIndex        =   1
  44.       Top             =   3885
  45.       Width           =   2010
  46.    End
  47.    Begin Label txtPTAHSoftInfo 
  48.       AutoSize        =   -1  'True
  49.       BackColor       =   &H00C0C0C0&
  50.       BackStyle       =   0  'Transparent
  51.       Caption         =   "Das Prinzip:"
  52.       Height          =   195
  53.       Index           =   6
  54.       Left            =   120
  55.       TabIndex        =   7
  56.       Top             =   2220
  57.       Width           =   1035
  58.    End
  59.    Begin Label txtPTAHSoftInfo 
  60.       AutoSize        =   -1  'True
  61.       BackColor       =   &H00C0C0C0&
  62.       BackStyle       =   0  'Transparent
  63.       Caption         =   "Die Vorteile:"
  64.       Height          =   195
  65.       Index           =   5
  66.       Left            =   120
  67.       TabIndex        =   6
  68.       Top             =   2850
  69.       Width           =   1065
  70.    End
  71.    Begin Label txtPTAHSoftInfo 
  72.       BackColor       =   &H00C0C0C0&
  73.       BackStyle       =   0  'Transparent
  74.       Caption         =   "                        Die Applikation kann X sprachig sein. Sie sprechen die Kommentare ⁿber Konstanten an. Die Kommentare werden alle gemeinsam an einem Ort eingegeben (PSMLEDIT: Editor der das Erstellen der Resource Dateien *.LRS erlaubt. FREEWARE)"
  75.       FontBold        =   0   'False
  76.       FontItalic      =   0   'False
  77.       FontName        =   "MS Sans Serif"
  78.       FontSize        =   8.25
  79.       FontStrikethru  =   0   'False
  80.       FontUnderline   =   0   'False
  81.       Height          =   810
  82.       Index           =   4
  83.       Left            =   120
  84.       TabIndex        =   5
  85.       Top             =   2850
  86.       Width           =   5235
  87.    End
  88.    Begin Label txtPTAHSoftInfo 
  89.       BackColor       =   &H00C0C0C0&
  90.       BackStyle       =   0  'Transparent
  91.       Caption         =   "                        Die Kommentare, Menus, Texte usw befinden sich nicht mehr statisch in der VB Applikation, sondern EXTERN in einer Resource Datei."
  92.       FontBold        =   0   'False
  93.       FontItalic      =   0   'False
  94.       FontName        =   "MS Sans Serif"
  95.       FontSize        =   8.25
  96.       FontStrikethru  =   0   'False
  97.       FontUnderline   =   0   'False
  98.       Height          =   585
  99.       Index           =   3
  100.       Left            =   120
  101.       TabIndex        =   4
  102.       Top             =   2220
  103.       Width           =   5235
  104.    End
  105.    Begin Label txtPTAHSoftInfo 
  106.       BackColor       =   &H008080FF&
  107.       BackStyle       =   0  'Transparent
  108.       Caption         =   "Multi-Language Tool fⁿr Visual Basic"
  109.       Height          =   240
  110.       Index           =   2
  111.       Left            =   120
  112.       TabIndex        =   3
  113.       Top             =   1995
  114.       Width           =   5235
  115.    End
  116.    Begin Label txtPTAHSoftInfo 
  117.       BackColor       =   &H008080FF&
  118.       BackStyle       =   0  'Transparent
  119.       Caption         =   "Die Schweiz besitzt 4 Landessprachen (Deutsch, Franτais, Italiano und Romansch). Aus diesem Grund sind wir gezwungen mehrsprachige Programme herzustellen. Die L÷sung ist unser firmeneigenes Hilfsmittel :"
  120.       FontBold        =   0   'False
  121.       FontItalic      =   0   'False
  122.       FontName        =   "MS Sans Serif"
  123.       FontSize        =   8.25
  124.       FontStrikethru  =   0   'False
  125.       FontUnderline   =   0   'False
  126.       Height          =   615
  127.       Index           =   1
  128.       Left            =   120
  129.       TabIndex        =   2
  130.       Top             =   1260
  131.       Width           =   5235
  132.    End
  133.    Begin Image Image1 
  134.       Height          =   1080
  135.       Left            =   105
  136.       Picture         =   FRMABOUT.FRX:0000
  137.       Top             =   105
  138.       Width           =   1035
  139.    End
  140.    Begin Label txtPTAHSoftInfo 
  141.       BackColor       =   &H008080FF&
  142.       BackStyle       =   0  'Transparent
  143.       Caption         =   "Die Firma PTAHSoft ist eine junge schweizer Software Firma. Unser TΣtigkeitsbereiche sind die Entwickelung von kommerziellen Programmen und die Installation und der Unterhalt von Firmen-Netzwerk."
  144.       FontBold        =   0   'False
  145.       FontItalic      =   0   'False
  146.       FontName        =   "MS Sans Serif"
  147.       FontSize        =   8.25
  148.       FontStrikethru  =   0   'False
  149.       FontUnderline   =   0   'False
  150.       Height          =   855
  151.       Index           =   0
  152.       Left            =   1230
  153.       TabIndex        =   0
  154.       Top             =   240
  155.       Width           =   4140
  156.    End
  157. End
  158. Option Explicit
  159.  
  160.  
  161. Declare Function WinHelp Lib "User" (ByVal hWnd As Integer, ByVal lpHelpFile As String, ByVal wCommand As Integer, dwData As Any) As Integer
  162.  
  163. Sub cmdOK_Click ()
  164.     Unload frmAbout
  165. End Sub
  166.  
  167. Sub Command1_Click ()
  168. Dim nTmp As Integer
  169. Const HELP_CONTEXT = &H1
  170. Const HELP_KEY = &H101
  171. Const HELP_PARTIALKEY = &H105
  172.   
  173.   nTmp = WinHelp((Me.hWnd), (App.HelpFile), 3, 0&)
  174.  
  175. End Sub
  176.  
  177. Sub Form_Load ()
  178.   
  179.   Call PRVSetHelpFilePath
  180.  
  181. End Sub
  182.  
  183. Function GLBGetItemFromString (sText As String, sSeperator As String) As String
  184. Dim nLenItem As Integer
  185.  
  186.     nLenItem = InStr(sText, sSeperator)
  187.     If nLenItem > 0 Then
  188.   GLBGetItemFromString = Left$(sText, nLenItem - 1)
  189.   sText = Right$(sText, Len(sText) - nLenItem)
  190.     Else
  191.   GLBGetItemFromString = sText
  192.   sText = ""
  193.     End If
  194.  
  195. End Function
  196.  
  197. Sub PRVSetHelpFilePath ()
  198. Dim sHelpFileName As String
  199. Dim sCompletPath  As String
  200. Dim sPath         As String
  201. Dim sFile         As String
  202.  
  203.     If Right$(App.Path, 1) <> "\" Then
  204.     sHelpFileName = App.Path + "\PSMLedit.HLP"
  205.     Else
  206.     sHelpFileName = App.Path + "PSMLedit.HLP"
  207.     End If
  208.     
  209. On Error Resume Next
  210.     If Dir$(sHelpFileName) <> "" Then
  211.     App.HelpFile = sHelpFileName
  212.     Exit Sub
  213.     End If
  214.     
  215.     sCompletPath = Environ$("PATH")
  216.     Do
  217.     sPath = GLBGetItemFromString(sCompletPath, ";")
  218.     If sPath <> "" Then
  219.         If Right$(sPath, 1) <> "\" Then sPath = sPath + "\"
  220.         sFile = Dir$(sPath + "PSMLedit.HLP")
  221.         If sFile <> "" Then
  222.         App.HelpFile = sPath + "PSMLedit.HLP"
  223.         Exit Sub
  224.         End If
  225.     End If
  226.     Loop Until sPath = ""
  227.  
  228. End Sub
  229.  
  230.