Error: the object invoked has disconnected from its clients
Yes, I thought it would be the Winsock control but you never mentioned you
used it. Try not to use controls like that inn the Form_Load event. As I
mentioned the events do not always happen in the order you expect. If you
used the app I mentioned you would see exactly the order the events happen
and you might be surprised what is happening leading to a correction.
The Top Inno Setup Script Generator
> Hello, thank you for the answers.
> As i told you the only think the program does its when opening to call the
> function GetUserName.
> It uses the function gust to fill a textbox with the current user name.
> The only control that we are using is the winsock control.
> And yes its an Automation error.
> I tried both run as administrator and not
> I also tried to disable user account control and install it again but with
> no luck.
> Tha strange thing is that the program works fine in other pc's with every
>> > We try our app in about 200 PC with XP or Vista and its working fine.
>> > we installed the app in a laptop with Vista and we are getting the
>> > error:
>> > object invoked has disconnected from its clients.
>> > I tryied a search in web but everyone talking about databases. The only
>> > thing the program does at load_form is to call the fuction GetUserName
>> > Any ideas?
>> As Randem said, you need to provide more
>> details. That error sounds like it's coming from
>> an ActiveX EXE, but you didn't mention that.