× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Vern (& others who may know),

Do you know if the VB (or whatever) app we're talking about would be a
short & simple 10-liner type app?  Would it be straight VB code or
would APIs (or whatever VB uses) be required?

- Dan

--- Vern Hamberg <vhamberg@centerfieldtechnology.com> wrote:
> Hi Dan
> 
> I think you need to use regular VB to create a stand-alone executable
> that 
> will find your active Word instance. That's how to execute a macro
> from 
> outside of Word itself. The section on creating an OLE client in VB
> should 
> help you here. You'll need to delve into the object structure of Word
> to 
> find how to call a macro.
> 
> Incoming Remote Command is the server. As far as the autostart, I
> guess 
> that depends. This sounds sort of productionish, so I guess I'd say
> yes; 
> you want to set up appropriate users on the PC.
> 
> Neat idea - I once did (with others) something with STRSCNCPY that
> put the 
> screen, with attributes, into a file, then I'd change those to
> various 
> attributes (bold, underline, etc.) in Word. At one place the
> STRSCNCPY was 
> triggered with the Attn key, too.
> 
> Good luck
> 
> Vern
> 
> At 10:48 AM 1/14/2003 -0800, you wrote:
> >Hi Vern
> 
> -snip-
> 
> >Is there a way to get a macro executed from a source outside the
> Word
> >application and getting it to run on an already opened Word app and
> an
> >already opened Word document?  I suppose if I can do this from the
> >Windows Run command line, I should be able to remotely call it from
> the
> >400.  Vern, you mention a VB client that the 400 could call via
> >RunRmtCmd; would this be something I could build from Word's VBA? 
> Or
> >will I need the VB development product?  I'm guessing that the
> client
> >would have to find & activate the already-opened Word application,
> then
> >execute the macro?  It's been awhile since I've done any VB, but I
> know
> >I've never written anything like that before.  I am looking at the
> MSDN
> >article you provided a link for, but am going to have to wait til
> some
> >after-hours free time to go through it.  Well, maybe not, says you
> need
> >VB 5.0 or 6.0, and I don't have access to that.
> >
> >I noticed in the "Opening PC docs thru AS/400" thread that you
> >mentioned CA's Incoming Remote Command; I have set that up.  Should
> the
> >"Automatically start IRC" box be checked?  This is the "server" you
> are
> >talking about?  How does one get it to "run on the PC"?
> 
> -snip-

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.