Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
help file said:specifies whether the type can be used by an interface that has its Automation or Dispinterface flag checked. These are the types that COM can marshal via the type library automatically.
procedure AddNotes(NoteString : string);
var
NotesList : TStringList;
position, j : integer;
Result : PWideChar;
begin
NotesList := TStringList.Create;
while length(NoteString) > 0 do
begin
position := pos(';', NoteString);
NotesList.Add(LeftStr(NoteString, position - 1));
NoteString := copy(NoteString, position + 1, length(NoteString));
end;
for j := 0 to NotesList.Count - 1 do
begin
Result := Result + NotesList.Strings[j] + Chr(11)
end;
MergeData(WordApp, 'bmNotes', Result);
end;
procedure MergeData(varWord: variant; strBookMark: string; strData: string);
begin
// if the Bookmark is defined in the document then add the string at that
// location.
if varWord.ActiveDocument.Bookmarks.Exists(strBookMark) = True then
varWord.ActiveDocument.FormFields.Item(strBookMark).Result:= strData;
end;
// if the Bookmark is defined in the document then
// add the string at that location.
If varWord.ActiveDocument.Bookmarks.Exists(strBookMark) := True Then <- this line is fine, it's the ones below!
With varWord.Selection
.GoTo what:=wdGoToBookmark, Name:= strBookmark
.Collapse
.MoveRight wdCharacter, 1
.TypeText Text:=strData
End With
End If