PC Review


Reply
Thread Tools Rate Thread

Automating a dialog box via VB sendKeys and SetTimer

 
 
Bob Stark
Guest
Posts: n/a
 
      27th Jun 2004
I am building a command line VB application that automates the dialog boxes
displayed by the Secure Pack plug-in.

I used setTimer to create a function to be called after a short delay, where
I issue SendKeys. However, the timer does not go off. It looks like the
PowerPoint thread is in the middle of the plug-in, and the timer is blocked.
Once I manually work my way through SecurePack dialogs, my code resumes.

My code is patterned after code posted by Shyam Pillai to open password
protected PowerPoint presentations
(http://groups.google.com/groups?hl=e...Wi9DHA.3200%40
TK2MSFTNGP09.phx.gbl)

Researching, I have turned up an alternate technique, using an activeX
control, documented at http://support.microsoft.com/?kbid=259971 . It would
need some adaptation to run in my command-line environment. Has anyone used
this approach, and can comment on how it differs from setTimer?

--
Regards,

Bob Stark [ProTech]


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SendKeys + Dialog undrline via OfficeKB.com Microsoft Excel Programming 1 16th May 2007 06:27 PM
Automating key strokes to a dialog box Scott G Microsoft Excel Programming 2 6th Nov 2006 07:18 PM
SendKeys using Find dialog box... JonathanSLim@gmail.com Microsoft Powerpoint 2 27th Oct 2006 07:38 PM
Close Dialog Box with SendKeys Jim May Microsoft Excel Programming 3 4th Oct 2004 04:25 PM
Automating dialog with web server from VB.NET Mark Gross Microsoft VB .NET 16 5th May 2004 03:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:36 PM.