Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i register a class
Message
De
23/11/1999 18:32:42
 
 
À
23/11/1999 17:49:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00294684
Message ID:
00294700
Vues:
24
>Hi all
>
>I had a Calendar activeX control in one of my form.but today i deleted some of the files from my harddisk,now when i run the form i'm getting a error message Class not registered.
>
>how do i locate the Calendar Control and register it.
>

Without knowing which of many possible Calendar controls it might have been, I can't give you an exact formula. The basics are:

(1) Locate the original distribution that provided the Calendar COntrol. If it doesn't screw things up completely, reinstall using its installation software.

(2) If (1) is not feasible, at leat locate the Calendar Control (it'll have a file extension of .OCX, again, without knowing which control and which version, it's impossible to give a precise file name.) Pray lots. Copy the control to a local hard drive, and issue the command

REGSVR32 full file and path name of the .OCX file on your system

(3) If (2) fails, the likelihood is that the .OCX has dependencies on other files (most likely .DLLs or other .OCX files, but not limited to these.) You'll need to determine the dependencies - Visual Studio ships with a tool DEPENDS.EXE, whcih can check for file dependencies - it is not present on your system unless you've got Visual Studio (IOW, not just VFP) and you've installed the Common Tools. Once the necessary files are in place on your system, try (2) again. You may need to register the other files again before you can register the control.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform