Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2008

Tip: Looking for answers? Try searching our database.

AppActivate

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnTheTemp - 28 Mar 2008 00:32 GMT
Over the years, I've found AppActivate to be very flaky. Sometimes it works
as described. Other times it doesn't.

Currently, I'm running Word 2003.

I have a Microsoft Office Document Imaging instance open. The document's
name is "DIV 1 xxxx.TIFF" (I plan to OCR and save the result).

My code:

AppActivate "DIV"

I get an "invalid procedure" message.

I tried appactivating "Microsoft Office Document Imaging" -- or various
permutations -- and it still doesn't work.

What am I doing wrong?

Signature

JohnTheTemp

Karl E. Peterson - 31 Mar 2008 23:55 GMT
> Over the years, I've found AppActivate to be very flaky. Sometimes it works
> as described. Other times it doesn't.
[quoted text clipped - 9 lines]
>
> I get an "invalid procedure" message.

My experience with AppActivate, admittedly in VB proper not VBA, was that it
required a complete window title to work and would return that error if it was only
given a partial window title.

You can work around that limitation in a number of ways.  One of which, I've code up
here:

  http://vb.mvps.org/samples/FindPart

Signature

.NET: It's About Trust!
http://vfred.mvps.org


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.