Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 16th, 2004, 12:05 AM
Authorized User
 
Join Date: Dec 2004
Location: bangalore, karnataka, India.
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



Reply With Quote
  #2 (permalink)  
Old December 16th, 2004, 01:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
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
Reply With Quote
  #3 (permalink)  
Old December 28th, 2004, 01:42 AM
Authorized User
 
Join Date: Dec 2004
Location: bangalore, karnataka, India.
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







Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11:34 AM
Can i run A VB Script File From Visual Basic VB GURU VBScript 1 May 21st, 2004 01:42 PM



All times are GMT -4. The time now is 12:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.