Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Components
|
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2005, 12:59 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automation Error in Activex Exe

   Hi, I have created an Activex Exe and called through my project. Purpose of my Activex Exe is to show search scree browser for a calling program. After clicking on Select button of Activex Exe it will return selected Id.
   When i have shown Activex Exe with VBModel then it is showing message "440Automation error Query Field". but if i show the Actix Exe in a VbModelless mode then it is not showing any error.
   Can you help me out.


 
Old June 13th, 2005, 01:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in which line are you getting this error?
BTW why are you using a Activex exe? isn't a ActiveX dll enough?
Marco
 
Old June 14th, 2005, 04:40 AM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by marcostraf
 in which line are you getting this error?
BTW why are you using a Activex exe? isn't a ActiveX dll enough?
Marco
   Actually i Have created one Activex Exe for Searching a record. the purpose of this Activex Exe is gets the vwName as an input and show the fields of the view in a list view. In that list view there is facility of searching and sorting of records. After user selects any Record the Activex Exe will raise an even to calling program and then calling program gets the selected value from the listview of Activex Exe. After raising an event Activex Exe gets unload.
   When Activex Exe gets unload i get the error of "440 Automation Error" (Note: when i open the Activex Exe in a vbmodeless mode it works fine).
   waiting for your urgent reply.






Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX.exe to standard exe Kaustav VB How-To 6 February 24th, 2006 12:10 AM
Calling an ActiveX.EXE in C++ xgbnow Visual C++ 4 March 31st, 2004 08:12 AM
Calling an ActiveX.EXE in C++ xgbnow Pro VB 6 13 February 20th, 2004 12:31 PM
unregister activeX exe gbianchi Pro VB 6 2 February 10th, 2004 03:17 PM
ActiveX Exe and Dll Vasudevan VB How-To 1 September 26th, 2003 07:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.