VBScript-Code wird einem Outlook-Formular hinzugefügt, um auf Click -Ereignisse zu reagieren, die von Steuerelementen auf dem Formular ausgelöst werden, oder um auf Ereignisse zu reagieren, die von Elementen mit der gleichen Nachrichtenklasse wie derjenigen des Formulars ausgelöst werden.
You add VBScript code to an Outlook form to respond to Click events that are fired by controls on the form, or to respond to events fired by the items that have the same message class as the form.
VBScript ist ein Subset von Microsoft Visual Basic. Es handelt sich dabei um eine Scriptsprache zum Hinzufügen von interaktiven Elementen zu Webseiten; VBScript-Code wird in HTML-Dokumente eingebettet.
A subset of Microsoft's Visual Basic, VBScript is a scripting language for adding interactive elements to Web pages; VBScript code is embedded in HTML documents.
Im folgenden Beispiel für VBScript-Code wird der Satz This is from VBScript! in das eingebettete Microsoft Word-Dokument eines Microsoft Word Office-Formulars eingefügt.
The following sample VBScript code inserts This is from VBScript! into the embedded Microsoft Word document in a Microsoft Word Office form.
Other results
Der VBScript-Code im Formular wird nicht ausgeführt.
Das folgende Beispiel zeigt, wie die Connect -Eigenschaft zur Laufzeit im VBScript-Code festgelegt wird.
The following example shows how to set the Connect property at run time in VBScript code.
Sie können jedoch Flash oder Director auswählen, damit der Seite VBScript-Code hinzugefügt wird, mit dem diese Plug-Ins in Internet Explorer unter Windows ermittelt werden können.
However, selecting Flash or Director will add the appropriate VBScript code to your page to detect those plug-ins in Internet Explorer on Windows.
VBScript-Code im Formular wird nicht ausgeführt, oder es wird eine unerwartete Makrovirus-Warnung angezeigt, die darauf hinweist, dass innerhalb des Elements selbst, und nicht nur in einem veröffentlichten Formular, VBScript-Code enthalten ist.
VBScript code in the form does not run, or a macro virus warning unexpectedly appears, indicating that the item itself, and not just a published form, contains VBScript code.
Das folgende Beispiel zeigt, wie die ReadyState -Eigenschaft des RDS.DataControl -Objekts zur Laufzeit in VBScript-Code gelesen wird. ReadyState ist eine schreibgeschützte Eigenschaft.
The following example shows how to read the ReadyState property of the RDS.DataControl object at run time in VBScript code. ReadyState is a read-only property.
Wenn Sie Microsoft Visual Basic Scripting Edition (VBScript) in einem Outlook-Formular verwenden, wird das Application -Objekt nicht erstellt, und Sie können keine benannten Konstanten verwenden. In diesem Beispiel wird gezeigt, wie das aktuelle Element mithilfe von VBScript-Code gespeichert wird.
If you use Microsoft Visual Basic Scripting Edition (VBScript) in an Outlook form, you do not create the Application object, and you cannot use named constants. This example shows how to save the current item using VBScript code.
Wenn Sie verhindern möchten, dass mit VBScript erstellter Code ausgeführt wird, halten Sie die UMSCHALTTASTE gedrückt. Halten Sie beispielsweise beim Öffnen eines Elements die UMSCHALTTASTE gedrückt, um zu verhindern, dass der VBScript-Code für das Open -Ereignis ausgeführt wird.
To prevent any VBScript code from running, hold down the SHIFT key. For example, hold down SHIFT while you open an item to prevent the VBScript code for the Open event from running.
Wenn Sie verhindern möchten, dass mit VBScript erstellter Code ausgeführt wird, halten Sie die UMSCHALTTASTE gedrückt.
To prevent any VBScript code from running, hold down the SHIFT key.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.