Solved

Type libraries, need to be incl in setup?

Posted on 1999-01-15
6
133 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now