← Foro de Visual Basic

ERRORES CON OCX Y EL REGISTRO

Hilo en el foro de Visual Basic · 04 de Marzo del 2005 · 1 respuestas
EVERGARA04 de Marzo del 2005
Pregunta
Saludos a todo, tengo dos problemas con Visual

La primera: es que cuando instalo en sistema (el paquetede instalación), me sale un error al terminar de instalarlo en cualquier máquina y en cualquier plataforma, el error que marca es el siguiente

No se pudo registrar el archivo 'C:DOCUME~1evergaraCONFIG~1Tempmsftqws.pdw$(DLLSelfRegisterEx)' porque no se encontró.

El segundo: al cambiar de formulario de un datagrid a un text me dice que existe un error con el MSDATGRD.OCX, ya lo bajé de internet ya lo registre manualmente, sin embargo me sigue saliendo error y obviamente del sistema, esto sucede en Windows XP

Alguin sabe como puedo solucionar los dos error por favor

Gracias

Respuestas 1

Gabriel Magallon Sanchez04 de Marzo del 2005
Saludos esti te corrige el error



PRB: Error "$(DllSelfRegisterEx) Could Not Be Registered"=20
Q208699

SYMPTOMS
When you run a Setup program created with the Visual Basic 5.0 =
Application
Setup Wizard, the following error message appears:=20


The file '<Windows System Folder>$(DLLSelfRegisterEx)' could not be
registered because it was not found.=20
where <Windows System Folder> is the path of the WindowsSystem or
WinntSystem32 folder.=20

When you run a Setup program created with the Visual Basic 6.0 Package =
and
Deployment Wizard (PDW), the following error message appears:=20


The file '<TEMP Folder>Msftqws.pdw$(DllSelfRegisterEx)' could not be
registered because it was not found.=20
where <TEMP Folder> is the WindowsTemp folder on Windows 95, Windows =
98,
and Windows Me or the path to the folder specified by the TEMP =
environment
variable on Windows NT or Windows 2000.=20



CAUSE
This problem occurs when distributing the Microsoft Calendar control
(MSCal.ocx). The "Register=3D" line in the dependency file (MSCal.dep) =
is
incorrectly set to $(DLLSelfRegisterEx).=20



RESOLUTION
To fix the problem, do the following:=20



Open the Setup.lst file in a text editor, such as Notepad. Setup.lst is =
one
of the files created for your application setup by the Setup Wizard or =
PDW.


Find $(DLLSelfRegisterEx). You should see $(DLLSelfRegisterEx) =
highlighted
in the entry for MSCal.ocx.=20


Change $(DLLSelfRegisterEx) to $(DLLSelfRegister).=20


Save your changes and close Notepad.=20


Run the application Setup.exe.=20


To fix the problem for all setup.exes created with the Setup Wizard and =
PDW,
follow these steps:=20


Open the MSCal.dep file in a text editor, such as Notepad. You should =
find
MSCal.dep in the same folder as MSCal.ocx, which is normally located in =
the
WindowsSystem folder on Windows Windows 95, Windows 98, or Windows Me =
and
the WinntSystem32 folder on Windows NT or Windows 2000.=20


Find $(DLLSelfRegisterEx). You should see $(DLLSelfRegisterEx) =
highlighted
in the entry for "Register=3D".=20


Change $(DLLSelfRegisterEx) to $(DLLSelfRegister).=20


Save your changes and close Notepad
¿Buscas más hilos como este? Mira el foro de Visual Basic o usa el buscador.