danperfect
Programmer
I have tried finding help for this everywhere. I really hope someone here can help.
I am running an Access database, with a command button designed to set up and display an outlook e-mail. It has worked fine on two regular local PCs but on two different Citrix machines, it is generating an internal application error at the line enclosed by asterisks.
Any ideas? I'm desperate. Please help.
I am running an Access database, with a command button designed to set up and display an outlook e-mail. It has worked fine on two regular local PCs but on two different Citrix machines, it is generating an internal application error at the line enclosed by asterisks.
Code:
Private Sub Command92_Click()
Dim olapp As Outlook.Application
Dim olmail As Outlook.MailItem
Dim storeref As String
Dim name As String
Dim incdate As String
Dim info As String
Dim yref As String
Dim ref As String
Set olapp = CreateObject("Outlook.Application")
*Set olmail = olapp.CreateItem(olMailItem)*
.......
Any ideas? I'm desperate. Please help.