Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 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 29th, 2004, 11:28 PM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling COM+ component inside another COM+ comp

I am calling a COM+ component inside another COM+ component. It is working well with XP operating system. But gives the error message as "can't create ActiveX component" with windows 2000 operating system. If anyone of you know the solution please let me know.
 
Old June 30th, 2004, 02:23 AM
Authorized User
 
Join Date: Aug 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is the ActiveX installed on the Window 2000 PC?

If not you can try and use the packaging tool that comes with vb6 to create a simple installer with all the components.

Greetz

Tom.
 
Old June 30th, 2004, 07:43 AM
Registered User
 
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes ActiveX is installed properly. If inner dll is called directly from asp, it is woking fine. If called from another dll I am getting this error.

 
Old July 7th, 2004, 10:34 PM
Authorized User
 
Join Date: Jul 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

normally when you create component in XP it will also run on Windows 2000.

the message u got occurs when the calling dll has no reference to the called dll. actually this is impossible to happen since you can't compile the dll without the reference component.

but this will surely happen when the called dll is not within the same pc.

why don't you first check if the called dll really exist. then as an option, try to compile your component on a Win2K.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling ActiveX component method from JavaScript Pera Pisar Javascript 3 September 7th, 2007 07:58 AM
Calling a C# component from C++ mbc280 Visual C++ 0 July 25th, 2007 02:09 PM
Calling a method defined inside a .NET dll rajen C# 2005 0 September 19th, 2006 12:58 AM
Calling com component from Asp.net 1.1 Salma Hanif Shaikh ASP.NET 1.0 and 1.1 Basics 0 June 9th, 2006 07:20 AM
Calling COM+ component from webservice yossarian .NET Web Services 0 January 17th, 2005 02:29 PM





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