Hi
I posted before about the CABuilder tool asking for the original disk then failing to find anything.
I traced the code and found the last line "Do (_browser) with (lcClassList)" was causing the error and commenting this line allowed the code to complete correctly. I have no idea what dependencies this needs and why it would fail.
I hope this helps someone.
Graham
Knowing nothing about CABuilder:
I would just trace variables _browser and lcClassList in the source codes and hopefully something could be found .... it looked like it's trying to bring up the web browser? Or was _browser a form? Well.... :)
On Sun, Jan 16, 2022 at 12:29 AM Graham Brown gbrown@compsys.co.uk wrote:
I posted before about the CABuilder tool asking for the original disk then failing to find anything. I traced the code and found the last line "Do (_browser) with (lcClassList)" was causing the error and commenting this line allowed the code to complete correctly. I have no idea what dependencies this needs and why it would fail.
The _browser variable is a VFP variable pointing to the Class Browser. If you are using VFP Advanced, the Windows file virtualization is turned off. By default this will attempt to access and write a file in the Program Files directory. This will only work if you are running VFP in administrative mode.
If you are using VFP 9 SP 2, the browser.dbf will be virtualized and all should still work.
Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Man-wai Chang Sent: Sunday, January 16, 2022 9:27 AM To: profoxtech@leafe.com Subject: Re: CABuilder Revisited
Knowing nothing about CABuilder:
I would just trace variables _browser and lcClassList in the source codes and hopefully something could be found .... it looked like it's trying to bring up the web browser? Or was _browser a form? Well.... :)
On Sun, Jan 16, 2022 at 12:29 AM Graham Brown gbrown@compsys.co.uk wrote:
I posted before about the CABuilder tool asking for the original disk then failing to find anything. I traced the code and found the last line "Do (_browser) with
(lcClassList)"
was causing the error and commenting this line allowed the code to
complete
correctly. I have no idea what dependencies this needs and why it would fail.
[excessive quoting removed by server]
IIRC _browser is a VFP system variable which points to the class browser.
?(_browser)
On my system that resolves to c:\vfp9\browser.app.
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Graham Brown Sent: Saturday, January 15, 2022 11:29 AM To: profoxtech@leafe.com Subject: CABuilder Revisited
Hi
I posted before about the CABuilder tool asking for the original disk then failing to find anything.
I traced the code and found the last line "Do (_browser) with (lcClassList)" was causing the error and commenting this line allowed the code to complete correctly. I have no idea what dependencies this needs and why it would fail.
I hope this helps someone.
Graham
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirushttps://protect-us.mimecast.com/s/3Tb6CyP6D9TyyJ0cPXUhQ?domain=avast.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
If the builder is running the Class Browser and it is prompting you to input the install disk, there likely is a problem with the treeview control and it not being installed or registered properly on the computer. I believe VFP Advanced 64-bit is also a problem since it cannot use the 32-bit ActiveX controls, like the standard treeview.
You can also make sure everything is registered properly with VFP 9:
Vfp9.exe /regserver
Rick White Light Computing, Inc.
www.whitelightcomputing.com
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Richard Kaye Sent: January 17, 2022 09:23 AM To: profoxtech@leafe.com Subject: RE: CABuilder Revisited
IIRC _browser is a VFP system variable which points to the class browser.
?(_browser)
On my system that resolves to c:\vfp9\browser.app.
--
rk
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Graham Brown Sent: Saturday, January 15, 2022 11:29 AM To: profoxtech@leafe.com Subject: CABuilder Revisited
Hi
I posted before about the CABuilder tool asking for the original disk then failing to find anything.
I traced the code and found the last line "Do (_browser) with (lcClassList)" was causing the error and commenting this line allowed the code to complete correctly. I have no idea what dependencies this needs and why it would fail.
I hope this helps someone.
Graham
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirushttps://protect-us.mimecast.com/s/3Tb6CyP6D9TyyJ0cPXUhQ?domain=avast.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]