"SendObject" isn't available now. Also a reference problem

L

larry

I have an application that uses
DoCmd.SendObject to open an OutlookExpress email message which is then sent.
This recently stopped working. I don't know why and I don't know what I
could possibly have done to cause this.

The "Send To" option in the "File" menu and on the shortcut menus are also
dimmed. I created a small test DB and tried the macro, which also failed.

I am using:
Windows 98SE
Office 97 but with
Access 2002.

I reinstalled windows (in place, not a fresh install) and uninstalled then
reinstalled Access 2002. No effect.

I am working on this at home and took it to work where I am using Windows 98
(not SE) but also Office 97 and Access 2002.

There, when I open the form that does this thing, I get an error message (I
forget the exact wording but it goes something like) that the OnLoad event
procedure cannot be found. Click the button on teh message and the form
loads. It contains a calendar control but it is not properly intitialized.
It also contains a common dialog control. Clicking my Cancel button givce
the message that the OnClick event procedure cannot be found. The "X" close
button on the window does work.

There are no MISSING references in the Reference box. The nature of the
messages suggest that this form cannot find parts of itself that is in the
same file. Forcing re-registration by selecting then deselecting some other
reference clears this error but I want to give this application to someone
else and that procedure is not acceptable.

This error is also new; the form used to work fine before. No other forms
give that error,though this is the only one that uses the common dialog
control.

After that error is solved I can test the first SendObject problem and it is
not a problem on this work computer.

Thanks for any help.

Note: email address is munged.

larry
 
L

larry

larry said:
I have an application that uses
DoCmd.SendObject to open an OutlookExpress email message which is then sent.
This recently stopped working. I don't know why and I don't know what I
could possibly have done to cause this.

The "Send To" option in the "File" menu and on the shortcut menus are also
dimmed. I created a small test DB and tried the macro, which also failed.

I am using:
Windows 98SE
Office 97 but with
Access 2002.

I reinstalled windows (in place, not a fresh install) and uninstalled then
reinstalled Access 2002. No effect.

I am working on this at home and took it to work where I am using Windows 98
(not SE) but also Office 97 and Access 2002.

There, when I open the form that does this thing, I get an error message (I
forget the exact wording but it goes something like) that the OnLoad event
procedure cannot be found. Click the button on teh message and the form
loads. It contains a calendar control but it is not properly intitialized.
It also contains a common dialog control. Clicking my Cancel button givce
the message that the OnClick event procedure cannot be found. The "X" close
button on the window does work.

There are no MISSING references in the Reference box. The nature of the
messages suggest that this form cannot find parts of itself that is in the
same file. Forcing re-registration by selecting then deselecting some other
reference clears this error but I want to give this application to someone
else and that procedure is not acceptable.

This error is also new; the form used to work fine before. No other forms
give that error,though this is the only one that uses the common dialog
control.

After that error is solved I can test the first SendObject problem and it is
not a problem on this work computer.

Thanks for any help.

Note: email address is munged.

larry

The reference problem goes away if I don't use the common dialog control but
the api to Comdlg32.dll a la the startup code in the access example db.

But I still get the SendObject not available now message on my home machine,
but not the work machine.

larry
 

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