Zur Startseite

JRSpellChecker

Zur Homepage

WordBookPath () As String

Funktion:

Legt den Pfad des lokalen Wörterbuches fest. Wird kein Pfad angegeben, dann wird der Pfad von jrspell.ocx verwendet.
Siehe hierzu
LoadWordbook.

       

ico_syntax   Syntax:

JRSpell1.WordBookPath = mypath

         

ico_weitere Rückgabewert:


keiner

löst kein Event aus.

Beispiel:

    Private Sub Form_Load()
      'Set the Language for User-Interface
      JRSpell1.UILanguage = german
      JRSpell1.SelectionColor =
    vbred
      'set a path for lokal wordbook if needed otherwise the current path will be used
      JRSpell1.WordBookPath = ""
      JRSpell1.WordBookName = "" '"Benutzer.dic"
      If JRSpell1.LoadWordbook(1) = False
    Then
        JRSpell1.WordBookName = "de_de.jsp"
        If JRSpell1.LoadWordbook(0) = False Then
            MsgBox "Kein Wörterbuch geladen"
        End If
      End If
    End Sub