Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / August 2005



Tip: Looking for answers? Try searching our database.

Export IDL from Visual Basic

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bandit - 26 Aug 2005 14:24 GMT
Hello all,

I have a client that provides me with an ActiveX written in Visual Basic. I
would very much like an IDL file with this ActiveX, but the programmer that
made it is not sure if this is possible with Visual Basic. (I need the IDL
file as a sceleton for building a simulator for this ActiveX)

Does anyone know if it is possible to export IDL files from Visual Basic?

Bandit
Ralph - 26 Aug 2005 16:50 GMT
> Hello all,
>
[quoted text clipped - 6 lines]
>
> Bandit

Well yes and no.
You can use OLE Viewer to capture the 'typelib', the result of the 'idl' and
use that to recreate your own with only minor adjustments. Here is an
interesting source:
http://brucem.mystarband.net/mckinney2a.htm
Download the win typlib for examples of how to create your own idl, register
it, data types, etc. It also provides a very useful tool for all your
windows develoment.

There are others.
http://www.devx.com/vb2themax/Article/19830/0/page/2

As for the programmer of the component, it should be easier for him to
provide the idl for you, than for you to rebuild it. What is it built with
it? Please don't say ATL or VC++, because if that is the case then he is
just blowing smoke, as both of those enviroments build an IDL and typelib by
default. <g>

hth
-ralph
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.