Variable uses Automation type not supported in Visual Basic 
Author Message
 Variable uses Automation type not supported in Visual Basic

Hi,

I'm trying to include a third-party OCX control in my VB6 project.

(I think) It was written in C/C++ making use of COM programming and compiled with the MIDL compiler.

From inside VB6 design environment, opening the object browser, same properties show an "unsupported variant type" and, most of all, when I run my program and try to set the value of the OCX object properties, I encounter a "Variable uses Automation type non supported in Visual Basic" error.

This problem seems to be related to data type compatibility between the MIDL compiler and VB: I have found several references to this MS document "PRB: Visual Basic and Visual Basic for Applications Do Not Understand IUnknown** Data Type in MIDL Type Library (Q194913)"

As I can't modify the OCX component, I'm looking for something that lets me use the unsupported data types from VB6.

Any help will be apreciated.

Alberto Mensi



Sun, 12 Dec 2004 15:56:12 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Variable uses Automation Type not supported in Visual Basic

2. Variable uses an Automation type not supported in Visual Basic

3. Error 458: Variable uses an Automation type not supported in Visual Basic

4. variable uses an automation type not supported in visual basic

5. variable uses an automation type not supported in visual basic

6. variable uses an automation type not supported in visual basic

7. Variable uses an Automation type not supported in Visual Basic

8. Error when creating dll: variable uses an automation type not supported in visual basic

9. ErrMsg: Variable uses an Automation type not supported in Visual Basic

10. Variable uses an Automation type not supported in Visual Basic

11. Variable uses an Automation type not supported in Visual Basic for ADO recordset

12. ADODB Error: Variable uses an Automation type not supported in Visual Basic

 

 
Powered by phpBB® Forum Software