VB and WB API problem 
Author Message
 VB and WB API problem

How can a VB program check an instance of Word to see
if it is running in FullScreen or not, using WordBasic (or anything
else)?  The 'ToggleFull' turns in off and on, but I need to know
if it's off or on when I'm first starting (creating the instance
of) Word.

It's easy to tell Word what to do, but difficult to see what it's
already doing.

I appreciate any and all help.

Mark



Sat, 23 Jan 1999 03:00:00 GMT  
 VB and WB API problem

Hi Mark,

Try this one:

IF WORDOBJ.APPMINIMISE = FALSE THEN
WORDOBJ.APPMINIMISE
END IF

If you use WORDOBJ.APPMINIMISE on its own it will put back to full size
if word is already minimised.

You Can Also check if active with:
IF APPACTIVE"MICROSOFT WORD -  " & doc name then
do whatever

Hope this is helpfull, if you need more help then e-mail me

PAUL



Wed, 27 Jan 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error in macro email wb to distribution list in PAB

2. A Willing Volunteer to translate WB to VBA

3. A willing person to convert WB to VBA

4. Q: How To Make Your Apps Like Windows Blinds W/o WB

5. How to access HW from WB

6. Launch Excel & open existing WB

7. Prevent WB altering my HTML?

8. Crash at exit in WB on IE 5.5 SP2

9. detecting file download from WB control

10. using wb with frames

11. Enumerating Elements in WB document

12. printing contents of WB control

 

 
Powered by phpBB® Forum Software