General discussion

Locked

citrix and the createobject() function

By wj.van_bergen ·
I want to use the following VB5 statement in a little programme:
set objSession = createobject("MAPI.Session")

If I use the programme on a WIN95 system, or a WINNT 4 system, it works fine; if I use it on a citrix system, I get an error, althoughthere is an Exchange client that works fine.

How can I solve this problem ?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

citrix and the createobject() function

by Limbo In reply to citrix and the createobje ...

It's not a problem specific to Citrix, but an incompatibility issue between the VB library used in your development environment and the one used by NT Terminal Service.

The libraries used, either msvbvm50.dll or MSVBVB60.dll (depends if you run VB 5 or 6), need to be verified on both environments before all incompatibility issues are removed.

Collapse -

citrix and the createobject() function

by wj.van_bergen In reply to citrix and the createobje ...

The question was auto-closed by TechRepublic

Collapse -

citrix and the createobject() function

by AndrewF In reply to citrix and the createobje ...

It depends on the error you are getting...

If any VBA product (eg Excel 97) is installed on the citrix machine then try adding the reference to the dll you are calling and write a test sub with the same line to see if this works under VBA without errors. If there are none then it's not the dll that has the problems on the citrix machine.

It is possible as stated before that something may not be registering correctly. Make sure you are using 'change user /install' before you begin installing your app as well.

I have had similar problems with Citrix, and had to physically go to the machine's console to do the install. Certain DLL's were not registering when I logged in via the terminal ...

Regards

Andrew Fraser
~~~~~~~~~~~Analyst/Programmer
Sealord Group LTD

Collapse -

citrix and the createobject() function

by wj.van_bergen In reply to citrix and the createobje ...

The question was auto-closed by TechRepublic

Collapse -

citrix and the createobject() function

by wj.van_bergen In reply to citrix and the createobje ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums