Microsoft KB Archive/101087: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 24: | Line 24: | ||
<li>Start Microsoft Word for Windows. Word for Windows will open with an empty document named Document1.</li> | <li>Start Microsoft Word for Windows. Word for Windows will open with an empty document named Document1.</li> | ||
<li>From the File menu, choose Save As, and then enter DOC1 as the file name.</li> | <li>From the File menu, choose Save As, and then enter DOC1 as the file name.</li> | ||
<li>From the Insert menu, choose Bookmark, and type | <li>From the Insert menu, choose Bookmark, and type "test" (without the quotation marks) in the Bookmark Name box.</li> | ||
<li>Start Microsoft Access, leaving Word for Windows running, and create a blank, unbound form with a text box.</li> | <li>Start Microsoft Access, leaving Word for Windows running, and create a blank, unbound form with a text box.</li> | ||
<li><p>Type the following expression in the text box ControlSource property:</p> | <li><p>Type the following expression in the text box ControlSource property:</p> | ||
<p>NOTE: In the following sample code, an underscore (_) is used as a line-continuation character. Remove the underscore when re-creating this code in Access Basic.</p> | <p>NOTE: In the following sample code, an underscore (_) is used as a line-continuation character. Remove the underscore when re-creating this code in Access Basic.</p> | ||
<blockquote><pre> =DDESend( | <blockquote><pre> =DDESend("winword","doc1","test",String$(255,"*") &_ | ||
String$(100, | String$(100,"@"))</pre></blockquote></li> | ||
<li>View the form. If you switch back to Word for Windows you will see 255 asterisk (*) characters, followed by 100 at sign (@) characters.</li></ol> | <li>View the form. If you switch back to Word for Windows you will see 255 asterisk (*) characters, followed by 100 at sign (@) characters.</li></ol> | ||
Line 45: | Line 45: | ||
<li>Start Microsoft Word for Windows 2.0. Word for Windows will open with an empty document named Document1.</li> | <li>Start Microsoft Word for Windows 2.0. Word for Windows will open with an empty document named Document1.</li> | ||
<li>From the File menu, choose Save As, and then enter DOC1 as the file name.</li> | <li>From the File menu, choose Save As, and then enter DOC1 as the file name.</li> | ||
<li>From the Insert menu, choose Bookmark, and type | <li>From the Insert menu, choose Bookmark, and type "test" (without the quotation marks) in the Bookmark Name box.</li> | ||
<li>Start Microsoft Access, leaving Word for Windows running.</li> | <li>Start Microsoft Access, leaving Word for Windows running.</li> | ||
<li>Create a new database, and create a new Access module.</li> | <li>Create a new database, and create a new Access module.</li> | ||
Line 52: | Line 52: | ||
<blockquote><pre> Function DDEPokeTest () | <blockquote><pre> Function DDEPokeTest () | ||
Dim chan | Dim chan | ||
chan = DDEInitiate( | chan = DDEInitiate("winword", "doc1") | ||
DDEPoke chan, | DDEPoke chan, "test", String$(255, "*") & String$(100, "@") | ||
DDETerminate chan | DDETerminate chan | ||
End Function</pre></blockquote></li> | End Function</pre></blockquote></li> | ||
Line 65: | Line 65: | ||
----- | ----- | ||
<blockquote>THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED | <blockquote>THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.</blockquote> | ||
''<span>©1997 Microsoft Corporation. All rights reserved.</span> <span>Legal Notices</span>.<br /> | ''<span>©1997 Microsoft Corporation. All rights reserved.</span> <span>Legal Notices</span>.<br /> | ||
'' | '' |
Revision as of 09:23, 20 July 2020
PRB: Cannot DDEPoke More Than 255 Characters of TextArticle ID: Q101087
SYMPTOMS
RESOLUTION
STATUS Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0. MORE INFORMATION
|
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.
Additional reference words: 1.00 1.10
KBCategory: kbinterop
KBSubcategory: IntpOthr