Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hacking scx/vcx, is it safe? 1

Status
Not open for further replies.

Stefan5627

Programmer
Jul 23, 2002
71
NL
In my project I have subclassed all my baseclasses and used those controls in my forms.
However in some older forms I use the vfp baseclasses. I want to change them in the subclassed equivalents by hacking the scx/vcx.
I have made a copy of my project and changed the class and classloc fields of every scx/vcx in the appropriate values.
Everything seems to work fine after the changes, but is it safe to hack a scx/vcx like this?

Any comments would be appreciated,

Stefan
 
Hi!

Have a look at faq184-2849 it may save you some time!

Neil

I like work. It fascinates me. I can sit and look at it for hours...
 
Neil,

Thank you for your quick response, I did check the FAQ's first but somehow I missed this one.
I just needed some reassurance that what I was doing is safe and according to this FAQ it is.

Stefan
 
Stefan,

If you are likely to be doing this sort of thing often, you should consider investing in Rick Schummer's HackCX tool, which does exactly what you want in a very safe and robust way. See Rick's site, at
It might be overkill for your needs. But I have had a copy for some months now, and am always finding uses for it.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Hello Mike,

Thank you for your reply. I became familiar with the HackCX tool when I did a google search on the subject.
It did seem overkill as you stated, I have already made a small prg that make's the necessary changes all my scx/vcx files.
I will keep the hacCx tool in mind for possible future needs however.

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top