Solved

Type libraries, need to be incl in setup?

Posted on 1999-01-15
6
134 Views
Last Modified: 2010-05-03
I'm using some type libs specifically win32.tlb(really cool too, everyone should use this for the win32 api).  I need to know if this needs to be installed on the users' machine.  My understanding was that the type lib stuff you used was automatically built into the source.  What is it?

PS  I'm running out of points so I can't give much sorry.
PPS  How do I get more points? $$?
0
Comment
Question by:Johnn
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:mtoft
ID: 1456727
The type library win32.tlb must be distributed with your application, and must be registered as any other ActiveX object.

0
 
LVL 1

Author Comment

by:Johnn
ID: 1456728
If this is so, why is it when I use a function of it, the compilied source seems to grow(more than the code i used)
0
 
LVL 2

Expert Comment

by:mtoft
ID: 1456729
Sorry, your right - You do not need to distribute the tlb.

This is text is from Bruce McKinneys "Hardcore Visual Basic":

"Your customers don't need the type library to run programs you develop using the type library. The exception to this rule is if you sell programming tools containing Visual Basic source code that uses the type library"

0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 1

Author Comment

by:Johnn
ID: 1456730
mtoft corrected his response.

Thanks

This is what I thought, just wanted to confirm this
0
 
LVL 1

Accepted Solution

by:
ikxsoft earned 50 total points
ID: 1456731
the type libs do not have to be distributed because they are as you said compiled into the program, but if for any reason your application needs them, i am sure that windows98 installs win32.tlb in it's directory.

to get more points you have to re-register as an expert and keep answering questions.
0
 
LVL 1

Author Comment

by:Johnn
ID: 1456732
I am an expert:), it says I have my expert score is 400 points but my points is only 50 and it doesn't go up when I get approved answers(only expert score)

John
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question