473,498 Members | 1,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send Groupwise Email in Access Problem

3 New Member
Hi
I've been happily using Dimitri Furman's email code to send messages but since upgrading to Groupwise 7 i've hit a slight problem. The code works great and sends the email as expected, however if you specify a proxy account to send the message from it does this, sends the email and then Access crashes (generic, Access has encountered and error message). I can't seem to find out where its crashing, no error messages etc, debugging doesn't show anything.
As everything still works great with older versions of Groupwise i'm guessing the problem is there, has anyone else had this problem? Or does anyone have any ideas how to find out either what is wrong or how to fix it?

Thanks
Mar 29 '07 #1
13 4391
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi
I've been happily using Dimitri Furman's email code to send messages but since upgrading to Groupwise 7 i've hit a slight problem. The code works great and sends the email as expected, however if you specify a proxy account to send the message from it does this, sends the email and then Access crashes (generic, Access has encountered and error message). I can't seem to find out where its crashing, no error messages etc, debugging doesn't show anything.
As everything still works great with older versions of Groupwise i'm guessing the problem is there, has anyone else had this problem? Or does anyone have any ideas how to find out either what is wrong or how to fix it?

Thanks
I'm afraid I haven't used this class so can't be of much help. Have you set breakpoints in the code to try to find out what statement is triggering the problem.
Mar 30 '07 #2
mcsheepie
3 New Member
I'm afraid I haven't used this class so can't be of much help. Have you set breakpoints in the code to try to find out what statement is triggering the problem.
I have tried that, but it hasn't helped much, there doesn't seem to be a statement causing it. Its a strange problem. The code works, sends everything as expected and then Access crashes. I've debugged through the code and it falls over when the class module is terminating but all i get is error number 0, no description, no source and i can't trap it or ignore or anything. (And, i was under the impression that 0 meant there was no error?)
I tried commenting out the bit where i set the class to nothing (bypassing the class termination bit) and it still crashes, doesn't go to any of the error trapping code.
And, I've also looked in the event viewer on my PC and it just says that Access faulted in an unknown module

I'm wondering if Groupwise is returning an error and Access can't cope but i don't know how to check for this (or is it possible?)
Mar 30 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
I'll ask some of the other experts to have a look. They may have some insight into this.

Mary
Mar 30 '07 #4
developing
110 New Member
what version of access
Mar 30 '07 #5
ADezii
8,834 Recognized Expert Expert
I have tried that, but it hasn't helped much, there doesn't seem to be a statement causing it. Its a strange problem. The code works, sends everything as expected and then Access crashes. I've debugged through the code and it falls over when the class module is terminating but all i get is error number 0, no description, no source and i can't trap it or ignore or anything. (And, i was under the impression that 0 meant there was no error?)
I tried commenting out the bit where i set the class to nothing (bypassing the class termination bit) and it still crashes, doesn't go to any of the error trapping code.
And, I've also looked in the event viewer on my PC and it just says that Access faulted in an unknown module

I'm wondering if Groupwise is returning an error and Access can't cope but i don't know how to check for this (or is it possible?)
This is a long shot but it is worth an attempt:

__1. Within the VBA IDE
__2. Tools ==> Options ==> General ==> Error Trapping
__3. Select Break on Unhandled Errors NOT Break in Class Module
__4. See what happens next

NOTE: You are correct about Error Number = 0, in that this usually indicates that an Error did not occur during a process, and is actually used within an expression (Err.Number <> 0) to indicate the existence of an Error Free state.
Mar 30 '07 #6
NeoPa
32,557 Recognized Expert Moderator MVP
I can't be much help, I'm afraid.
I have had some experience of Access crashing in a similar way (Spurious error message - No way I could find of determining where (if at all) there is any problem in my code), but eventually had to put it down to Access being poorly written as far as error handling and reporting goes.
Mar 30 '07 #7
Denburt
1,356 Recognized Expert Top Contributor
Not much help here either, I have limited experience with Groupwise, I have had sporadic crashes in the past in certain areas and the only way I found it was by importing everything into a new DB and found out a certain form had issues. I know this sucks as a solution. Hopefully Adezii's idea will work.
Mar 30 '07 #8
mcsheepie
3 New Member
Thanks for the replies, and here's the answers to your questions

This is happening in Access97, 2003 and a runtime 2003.
I've tried all 3 error handling options and the end result is always the same. When the class terminates so does Access, with no error present, its always 0.
Its also happening in different databases, with different forms etc. I tried copying it into a fresh database but it made no difference. (and it does work fine on pcs with earlier versions of groupwise so i didn't think this was the problem)

It's annoying because if you ignore the fact Access crashes it all works perfectly :)
Mar 30 '07 #9
NeoPa
32,557 Recognized Expert Moderator MVP
That has to be a problem with the new version of the GroupWise library then I would say. Possibly could be handled better by Access, but surely a problem with the lib fundamentally.
Mar 30 '07 #10
Denburt
1,356 Recognized Expert Top Contributor
There is always the decompile option but I would be very carefull and backup the db first. This has saved me a couple of times but I have heard that it can turn your BD into Swiss Cheese although I have not had it happen yet.

Create a shortcut and use the following as a command line (Target)

"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\MyDBFolder\MyDB.mdb" /decompile

The Start in would be the directory where MS access itself is located.
"C:\Program Files\Microsoft Office\Office11"

Or just use the run command and of it goes.
Mar 30 '07 #11
Royclay
1 New Member
Haveing this problem as well. Have you found any workarounds?

Hi
I've been happily using Dimitri Furman's email code to send messages but since upgrading to Groupwise 7 i've hit a slight problem. The code works great and sends the email as expected, however if you specify a proxy account to send the message from it does this, sends the email and then Access crashes (generic, Access has encountered and error message). I can't seem to find out where its crashing, no error messages etc, debugging doesn't show anything.
As everything still works great with older versions of Groupwise i'm guessing the problem is there, has anyone else had this problem? Or does anyone have any ideas how to find out either what is wrong or how to fix it?

Thanks
Sep 12 '07 #12
NeoPa
32,557 Recognized Expert Moderator MVP
Only what's in the thread Roy.
Sep 13 '07 #13
nicoleguay
4 New Member
Have you found the solution ? I have the same problem.
Nov 4 '14 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2933
by: Dennis Hartmann | last post by:
Has anyone found a "display" method for the GroupwareTypeLibrary.Message object, comparable to the Display method of the Outlook.MailItem object? I simply want end user or have the option of...
2
1996
by: Norman Fritag | last post by:
Hi there are there any issues with sending multiple emails via GroupWise ver. 6??? please comment. Regards Norman
1
1949
by: Molly J. Fagan | last post by:
Hello everyone-- I'm trying to develop a help desk system to replace Trak-It. We have a help desk e-mail address and want all messages sent to that e-mail address to go into an Access database...
5
2333
by: Laertes | last post by:
Hi, I know there is already a plethora of emails regarding Groupwise/Access problems but mine is slightly different to the ones I've read about. I'm trying to use the sendobject command to...
4
4264
by: Rvo | last post by:
Hi all, I need to use the Netware "send" function to send messages to some/all attached netware users on a server. However, I can't find any documentation on this topic on the Novell site or...
5
1677
by: amjad | last post by:
hi how to send email through groupwise not smtp with asp.net 1.1 lang=c sharp.. thanks
3
4297
by: Aaronindm | last post by:
I have used DoCmd.SendObject to send an e-mail through Access. Now I am looking for a way to attach a file (e.g. PDF file) to that document. I think this is possible using Outlook but cannot find...
5
2329
cori25
by: cori25 | last post by:
Hi, I have been trying to come up with a module in access using VB to allow email messages to be sent using GroupWise. I am having a hard time and was wondering if anyone has any experience with...
1
3405
by: ncsthbell | last post by:
I saw a thread from last October with 'Tara99' where she apparently was trying to do exactly what I need to do, send enails from access using Groupwise. However, I did not see in the end where or if...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.