Groupwise Classname?

D

DBS

Anybody know the classname for Groupwise? (version 6.5.4, if that make a
difference.)

Here's the context of my problem:

I'm modified Dimitri's sample code to send emails via Groupwise without user
intervention.

http://www.mvps.org/access/modules/mdl0059.htm
Class for sending emails through GroupWise

Works great, but now I'd like to be able to check to see if GroupWise is
already running before attempting to send the emails. I've made use of Dev's
sample code in the past to check for running instances of Excel, Word, etc.

Find out if an application is currently running
http://www.mvps.org/access/api/api0007.htm

In the past, I've even been able to expand it to detect Lotus Notes. But for
the life of me, I can't figure out how to add a line to the Select Case for
Groupwise.

Select Case LCase$(strAppName)
Case "excel": strClassName = "XLMain"
Case "word": strClassName = "OpusApp"
Case "access": strClassName = "OMain"
Case "powerpoint95": strClassName = "PP7FrameClass"
Case "powerpoint97": strClassName = "PP97FrameClass"
Case "notepad": strClassName = "NOTEPAD"
Case "paintbrush": strClassName = "pbParent"
Case "wordpad": strClassName = "WordPadClass"
Case Else: strClassName = vbNullString
End Select

I've tried to set strClassName to every variation of "groupwise" "grpwise",
"gw", "ngw", etc. but nothing works. I'm sure it's something completely
counter-intuitive. Anybody know the right classname to use?

Any help would be greatly appreciated!!!

David
 
T

Tony Toews

DBS said:
Anybody know the classname for Groupwise? (version 6.5.4, if that make a
difference.)

No.

1) You could do a search at groups.google.com to see if this question
has been asked and answered previously.

Click on the Advanced Search link and limiting your search to the
comp.databases.ms-access newsgroup and the microsoft.public.access.*
newsgroups.

2) See the following VB code which can display all classnames
currently running on your system.
http://vbnet.mvps.org/index.html?code/system/winclasstitle.htm

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
D

DBS

Tony,

GREAT!

I did what I thought was a pretty extensive search, but didn't find anything
on Google, or anywhere else that did the job. But I was able to build a
project in VB6 based on this sample code, and it ran like a champion!

For anyone else that needs to know, the answer I found was "OFCalView".

Gee, why didn't I think of that?

Thanks!!!!

David
 
T

Tony Toews

DBS said:
Tony,

GREAT!

I did what I thought was a pretty extensive search, but didn't find anything
on Google, or anywhere else that did the job. But I was able to build a
project in VB6 based on this sample code, and it ran like a champion!

You're quite welcome.
For anyone else that needs to know, the answer I found was "OFCalView".

Good. Now your answer is archived for others. And I added it to my
Novell Group Wise page at
http://www.granite.ab.ca/access/email/novellgroupwise.htm along with
your initials DBS. If you'd prefer something else or not to be
mentioned please let me know.
Gee, why didn't I think of that?

<chuckle> Hey, that was obvious. *NOT*

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top