15. maj 2002 - 22:54Der er
27 kommentarer og 1 løsning
Spørgsmål skal være besvaret inden 1 time!
Jeg har et VBprogram. Det virker på min maskine, winXP.. med VB 6.0., når jeg har lavet mit projekt om til en installationsfil, og flyttet den ned til en 98 maskine, uden VB, siger den følgende:
An error accured while trying to register ... og så 2 navne:
Wshom.ocx Msado25.tlb
Fejlen kommer 2 gange. Med hver sit navn.
Når man så siger ignorer til dette, og programmet så installeres, og man åbner, siger den noget med ActiveX...
er du sikker på at du har filen wshom.ocx med i din installation?
fejlen med msado25.tlb, har jeg også set et par gange men det er ikke noget der gør noget, andet end ved installationen...:)
Synes godt om
Slettet bruger
15. maj 2002 - 23:03#3
Her er lidt info fra MSDN
MsAdo25.tlb: --------------------------------- Referencing the ADO Libraries As with any library that provides a type library, you must set a reference to the ADO library you want to use in your Visual Basic project. The type library for the current version of ADO is contained within the ADO DLL, msado15.dll. (To meet the needs of certain applications written with older versions, older versions of the type library can be referenced as well through the provided msado20.tlb, msado21.tlb, and msado25.tlb files.)
To reference the ADO library in your Visual Basic project, open the Project menu and click References. Scroll down and select Microsoft ActiveX Data Objects 2.7 Library. If an application compiled on a system with ADO 2.7 must run on a computer with a previous version of ADO installed, it needs to use one of the backwards compatibility type libraries. Add a reference to the appropriate .tlb file instead of to msado15.dll.
You must also ensure that the following components are installed on the target environment, whether it is an Exchange 2000 server or client computer: --- Windows Script Host (WSH) Object Model Version 1.0 (wshom.ocx) ---
Windows 2000 Server with Service Pack 1 (SP1) or later Includes: activeds.tlb, msado15.dll, wbemdisp.tlb, wshom.ocx, msvcrtd.dll
hvis du bruger database skal du også være sikker på at clienten har installeret den database driver version du bruger i din vb ting (project -> references)
You have included mdac_typ.exe in your installation package. If you will be installing this package on a Windows 95/98 system, it will require DCOM98 to install properly.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.