Solved

need to learn wordBasic commands so i can use DDE to talk to Word

Posted on 2004-10-08
5
769 Views
Last Modified: 2008-02-01
Hey experts!
Now they want me to run Word remotely from a mainframe application using DDE an interface, which seems to only reconize wordBasic commands, not VisualBasic commands :(
For Example: if i want to close the acitveDocument without saving changes I use this command:
    [DocClose 2]
instead of
  [ActiveDocument.Close savechanges:=wdDoNotSaveChanges]
which doesn't work :(

So...
What i want to know is:
Does anyone know where I can find a list of wordBasic commands?  if I ask the help cat, he just gives me ' Visual Basic Equivalents for WordBasic Commands' which assumes that I Already know the wordBasic command, which I don't! So far I know:

DocClose
AppClose
FileOpen .Name =
 and
ToolsMacro .Name =

which i recovered from what the person before me had written. ANY other commands would be useful, a complete list/text book/etc would be heaven!
0
Comment
Question by:gilbar
  • 4
5 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 12258838
I suggest that you buy Word 6 or a book on it. There are several on ebay at the moment. This is going for £5 (Five GBP)
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=183&item=5128403787&rd=1&ssPageName=WDVW
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 12258900
I have a Microsoft book : Word Developer's Kit  published 1994 that deals in WordBasic

This might be one (currently $1, buy-it-now for $10).
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 12258934
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 12259307
Also, of course there is Word 7, aka Word 95. That was the last version before VBA and wasn't around for very long. There are a couple of those on ebay as well.

This one stands at GBP 7 (no bids yet, but 4 days to go)

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=80007&item=7106224768&rd=1&ssPageName=WDVW
0
 
LVL 9

Author Comment

by:gilbar
ID: 12259614
hmm, word6 huh?  i wonder if i still have my disks at home for that? Otherwise thanx for info.  I 'll leave this open for awhile just in case joanne decides to just come over and write my code for me :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now