Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
| Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 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
  #1 (permalink)  
Old July 18th, 2006, 10:33 AM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Cannot create ActiveX Component

I am running into a strange problem in a VB 2003 application. This simple line throws a "Cannot Create ActiveX Component" error:

dim cnn as object = CreateObject("ADODB.Connection")

The same line in a VS 2005 program on the same computer works fine. Why can I not create an ActiveX object in 2003? Could it be related to running both VS 2003 and 2005 on the same system?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot create ActiveX component problem cdukes77@bellsouth.net VS.NET 2002/2003 27 February 27th, 2008 07:09 PM
ActiveX Component cannot create Object Madhivanan VB How-To 5 December 23rd, 2006 02:33 AM
ActiveX Component can't create an object lihar Access VBA 1 December 20th, 2006 07:52 AM
cannot create activex component - help please cobweb Classic ASP Components 1 September 14th, 2006 08:40 PM
ActiveX component can't create object lameneural Classic ASP Components 0 July 4th, 2006 12:14 AM





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