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
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.
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?)
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
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.
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.
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.
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 :)
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.
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.
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
NeoPa 32,557
Recognized Expert Moderator MVP
Only what's in the thread Roy.
Have you found the solution ? I have the same problem.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
by: Norman Fritag |
last post by:
Hi there
are there any issues with sending multiple emails via GroupWise ver. 6???
please comment.
Regards
Norman
|
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...
|
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...
|
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...
| |
by: amjad |
last post by:
hi how to send email through groupwise not smtp with asp.net 1.1 lang=c sharp..
thanks
|
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...
|
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...
|
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...
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |