Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix Outlook problem

Status
Not open for further replies.

danperfect

Programmer
Joined
Sep 6, 2004
Messages
6
Location
GB
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.
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.
 
Office installations on TS & Citrix often (by default) do not install some items that would be installed on a workstation installation.

I'd suggest running filemon by sysinternals to see what file is being called that might be missing. Also check the application event log on the terminal server for an associated error. This may identify your problem.

Also check the macro & VBA security levels so they allow your app to launch.

Patrick Rouse
Microsoft MVP - Terminal Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top