Solved

Type libraries, need to be incl in setup?

Posted on 1999-01-15
6
132 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

21 Experts available now in Live!

Get 1:1 Help Now