SendRequest CAUSES threadStateException

Jan 25, 2008 at 10:14 AM
Edited Jan 25, 2008 at 10:17 AM
IFRAME application imagebutton onclick has row:

Me.FBService.SendRequest("test", "Invitation", "welcome", True)

This error occurs when clicked:

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.

PS: I would actually prefer to invite friends one by one from my application instead, is this any more possible? I have the friend faces as imagebuttons and by clicking a friend it would be nice to invite him.