Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename VCX. Any problems doing this?
Message
De
12/02/1999 13:41:16
 
 
À
12/02/1999 12:15:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00186661
Message ID:
00187105
Vues:
32
>>>I would like to rename a VCX in one of my projects in VFP6. Can I just rename the file and all references to it (in forms etc..) will be updated? Anything to watch out for?
>>

>>
>>You can do it only you HACK everything involve on that VCX...
>>
>>* After Rename
>>Use myNewVcx.vcx
>>Replace All ClassLoc with STRTRAN(ClassLoc, "myOldVcx", "myNewVcx")
>>use
>>Use myForm.scx && For All Forms reference that vcx class..
>>Replace All ClassLoc with STRTRAN(ClassLoc, "myOldVcx", "myNewVcx")
>>use
>>
>>

>>
>>Reason: there will be a Class, ClassLoc to carry the information of "Class Definition", once you create an instance of vcx class, you can see "Class", "ClassLoc" value will be the location with path on VCX location!
>>
>>So, take care all ClassLoc involved will do~~ ^_^;
>
>Justok,
>
>Your tagline says "Five bytes can reboot computer"... which is precisely something I need to do... could you give me more details on how to do this? How do you "send" the five bytes? In a .prg? In a .bat?
>
>Thanks

I have no idea if Justok's reboot command works, but if it does it probably needs to be placed in a exe or com file with a hex editor.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform