borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (passing objects in ocx control)Next Topic (ActiveX) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : Component Request Pending
Poster Message
McKay Lee
Level: Graduate

Registered: 27-03-2005
Posts: 9

icon Component Request Pending

hi

when i call an activex exe project
using this syntac :

Dim obj As Object

Set obj = CreateObject("Activex_exe.clsActivex_exe")
obj.show
    
is often to show err message:

Component Request Pending

An action cannot be completed because a
component(<activex exe name>) is not responding.
Choose "Switch To" to activate the component and correct
the problem.

i must click the "Switch To" button first to make activex exe form show up

how come??
and how to repair it?

thanks

regards

28-09-2005 at 06:07 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 1052
icon Re: Component Request Pending

Hi,
Can you post up your code?
It looks like something in your activex EXE is taking a long time, or waiting for human interaction (ie. form_activate?).
If not, can you describe exactly what your EXE is doing.

Regards,
Kieron

____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

28-09-2005 at 03:07 PM
View Profile Send Email to User Show All Posts | Quote Reply
McKay Lee
Level: Graduate

Registered: 27-03-2005
Posts: 9
icon Re: Component Request Pending

my activex exe is just for browsing data from database

hmm, when i call the activex exe with :
obj.show

the activex exe then run code in classmodule :
Public Sub show()
    frmSubMain.show 1
End Sub

and the form is should be shown.
in the activex exe form_load there is some code to connect to database

that all

29-09-2005 at 04:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : Component Request Pending
Previous Topic (passing objects in ocx control)Next Topic (ActiveX) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder