COM+ object calling

  • Thread starter Bruce Whitehouse
  • Start date
B

Bruce Whitehouse

Is it possible to call a VB6 object, thats configured in COM from a VB class
file?

If so, how?

I keep getting errors.

regards,
Bruce Whitehouse
 
B

Bruce Whitehouse

Yes I have.

It's set to true!

this only sets the compatability for the aspx page. I've a separate class
that calls the COM+ object.

Regards,
Bruce
 
C

Chris S

Actually the "AspCompat" attribute causes the thread to execute in a STA
rather than a MTA, and somewhere in the code of the page you create the
class which calls the COM obj, still in the same thread, so you must use the
"AspCompat" attribute.

It may be a security issue then, specially if the COM obj is an out of
process exe.
To test it, switch anonymous access off to the virtual directory and use
impersonation,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconimpersonation.asp
 

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top