Solved

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

Posted on 2004-10-08
5
786 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Re-indent word doc 5 50
Changing Comments author in Word 2010 10 33
Selecting a Table in Word VBA then applying a Style to the entire area 9 36
Paragraph formating? 2 24
Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

828 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