Re: Register TLB
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Mon, 7 Aug 2006 11:07:49 -0500
"Jojo" <Jojo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:68E12D29-25E5-4A0F-AA3F-6C6C2B8BC9F2@xxxxxxxxxxxxxxxx
I also have a similar problem, where I have created a VB.net .dll andthe
associatred .tlb files to be used by a vb6 application. I can reference
.tlb file in the vb6 application and all works well on the development..dll
machine. But I get the error 429 on the deployed machines.
Looking at the set-up files, the .tlb file is self-registered, but I guess
the problem might in its inability to find the associated .dll file. The
file was originally missing from the set-up list and I have now includedit
into the apps directory. This should have been done automatically by thedependencies
PackageDeploymentWizard in vb6, if only it could understand the
of the .tlb file.nor
There didn't seem an option for generating a dependency file in vb.net ,
a way to inform vb6's PDW to make use of it. Any clues?<snipped>
Is there a way of forcing PDW to incorporate the .dll in such a way as to
sort out this deployment problem on other machines ?
Many Thanks
Jojo
From VB6's view a typelib is only used by the development environment itshould never be distributed with a compiled application. When you create a
Dll in VB6 the typelib, for that Dll, is included within the Dll. You can do
the same in .net.
(Still not too clear what the problem is here. Are you attempting to include
dotNet components with in a P&D package?)
As for the P&D Wizard.
1) You can use it to create .def files for components.
P&D "Package Type" dialog.
(.def files are simple text file so you can also create your own. Locate
one or two on your development box and open it up.)
2) If there are .def files associated with your components P&D will pick
them up. If not then it makes a good guess...
3) The P&D Wizard will pick up immediate dependancy (as shown with dumpbin)
buts doesn't always "walk" the library list. (A.dll uses B.dll which uses
C.dll, ...). If you have such a component it is usually best to have the P&D
create a dependancy file and then check it for included components.
4) When using the P&D Wizard you are presented with the "Included Files"
files dialog. You should check this to make sure it picked up all the
components and add and remove as appropriate. Add other files here.
hth
-ralph
.
- Follow-Ups:
- Re: Register TLB
- From: Jojo
- Re: Register TLB
- References:
- Re: Register TLB
- From: Jojo
- Re: Register TLB
- Prev by Date: Re: Speed up the loading time of a GUI
- Next by Date: Re: Help with first VB application - Data Entry form
- Previous by thread: Re: Register TLB
- Next by thread: Re: Register TLB
- Index(es):
Relevant Pages
|