Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus NotesSession -- Possible to test for an open sessi
Message
From
22/01/2003 07:58:06
 
 
To
20/01/2003 15:07:11
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00743545
Message ID:
00744183
Views:
17
Margaret,

Perhaps you can use the FindWindow API function to see if Notes is already running. For an example of this function you can look at:

How to switch between applications from Visual FoxPro? FAQ #7667


also this thread has several solutions:

Is the application already running Thread #709151 Message #709151


and you can also check out this site for other possible API solutions

http://www.news2news.com/vfp


>Hi Larry (or any other NOTES gurus),
>
>I have already used some code from other threads to automatic using Lotus to send email. My snag comes in that I don't want to hard code a password into the program I'm running which is creating a spreadsheet and then using Notes to distribute it. The report should be distributed by the user that's creating it. I don't want the program to hang if the Notes isn't open and it opens for the first time and waits for password entry. It would be better if the program could test for an open session and then branch based on whether it could use Notes to distribute the file.
>
>Is there any way to test for a session already being open? Is there another way around this problem?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform