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 December 16th, 2004, 01:05 AM
Authorized User
 
Join Date: Dec 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sush_blr
Default Automation file not supported in visual basic


Hi,

I have 2 class files in my VB application
cls1.cls
cls2.cls

in cls2.cls class file .. if i define like

Private m_cls As cls1

at the time of making dll .. i get this error ..

"complie error:
Automation file not supported in visual basic."

what might be the prob?

Thanks in advance for any help
Sush



 
Old December 16th, 2004, 02:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is you app an ActiveX dll?
How are the two classes instanciated (private, public etc)?
Does the compiler stop in cls2 at the line that declares m_cls?
Marco
 
Old December 28th, 2004, 02:42 AM
Authorized User
 
Join Date: Dec 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sush_blr
Default

Quote:
quote:Originally posted by marcostraf
 Is you app an ActiveX dll?
How are the two classes instanciated (private, public etc)?
Does the compiler stop in cls2 at the line that declares m_cls?
Marco

yes ... it is an activex dll..
its instanciated like this..

in class 2
----------
Private m_cls As class1

yes it stop in cls2 at above code....
and gives error like "automation type not supported in Visual Basic"

(all function are public defined in class1)

Thanks in advance
tdh












Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on Visual Basic 6 Install File with CR XI R2 jmss66 Crystal Reports 0 August 25th, 2008 10:41 AM
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
error 'File format no longer supported' Kris DExelle VB Components 2 May 15th, 2006 05:10 PM
Save DTS Package as Visual Basic File vishpala_kadam SQL Server DTS 1 January 10th, 2006 12:34 PM
Can i run A VB Script File From Visual Basic VB GURU VBScript 1 May 21st, 2004 01:42 PM





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