Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoFish doesn't scroll to matching line
Message
From
01/02/2023 11:45:03
 
 
To
01/02/2023 09:27:29
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01685788
Message ID:
01686061
Views:
36
>>>Hi Thomas,
>>>I fear this Western-German - English - Eastern-German translation will loose a lot of information. :)

We can either drink to that or if there is a real need for a quick East/West dialogue:
my allergy to phones is linked to getting cold sale calls. Just send # and best times as private msg ;-)

>>>Me thinks that browser-in-app is to be avoided - it's just a big security hole and you see how it works. Not reliable. Only that GoFish has implemented it and we must deal with it. So I'm not very happy to learn all this useless crap for something I'm reluctant to use for that what I do to earn money.

Weeeellll,
yupp browser in app can open security holes - but automating / roboting frequently changing URI is much easier to handle if such tools give you legs and a hip up. As I had not Googles start up resources, I went with it solo and in the late 90ies had a good thing going.

Design today would always leave it as foreign process and in need control display inside linked form from other process - did so in my W2K iterations via InternetExplorer.Automation and minimal screen control, as limiting factor still was internet speed. Giving external access to a browser is not ALWAYS a bad idea, but in-thread is IMO. Of course today the engine is... not really up to date.

>>>¯\_(ツ)_/¯
>>>
>>>Let see if we find a solution.

No idea how fine grained the versions in Source Control are - I'd probably get an older one, verify it is working.
Build once for IE6, roll up to 7, 9 and 11 and check if the old stuff still works with appropriate registry settings. Build Exe or App with names signifying to use with what version of IE - then offer those 4 as "Won't maintain" to download for old OS / VM / TRident combos.

For new stuff I'd probably generate a HTML page including Javascript to position and perhaps do small stuff like changing the color of target line or phrase - this should work on all new Chromium based browsers (meaning test once, wait for cries) and Firefox (don't put all eggs into same nest) and call that HTML page up via ShellExecute from current GoFish sources.
Wait for cries for more functionality,
offer to include anything working coded elsewhere
(replacing/enhancing the "standard Javascript" ) to ensure staying lean or
offer a hook in Javascript to self written code in well defined developer accessible File position)
Yes, last not secure at ALL, so guard with stumbling block screens

>>What bad karma has accumulated that we are the last people on Earth who still have to suffer the consequences of the couple of decades of M$'s misbehavior with its aborted attempt to create a browser in their style?

For controlling/automating browser there are some offerings, but I'd not go thattaway for new code -
I'd probably either jump into enhancing Selenium interfaces for my needs or try to bribe Rick to take a look at the effort he put into furthering Webview2 (the C++ interface into Chromium, automation via async Javascript bridge if I visualize his descriptions correctly). Christoph wrote about accessing it from vfp as well, but having big stumbling blocks cleared and tested by more than a dozen users of Ricks tool has definite worth. Rick had reason to hide his code as clones of his editor "appeared", but if you can define a separate subset excluding his Markdown code it might be a reasonable compromise to have a separate, but controlled browser process. Just thinking through my fingers...

>Mankind decided to use stolen MS DOS and MS Windows, because it was simple enough for any noob to get and run. Long term MS policy.

I preferred GEM-Dos over MS Windows up to - 3.11 on DOS, command based early OS/2 over MS-Dos and the non GUI NTs, but NT4, W2K and XP were best of breed in their times IMO. IE4, IE5 and early IE6 ran circles around Netscape and Java based contemporary browsers.

>And the Fox was all the time MS forgotten stepchild. End of the '90 MS Germany simply denied the existence of VFP and was unable to sell it, even why at this tíme there was a German version.

and still has some of the best integration of local DB, code and object orientation

>>> Надежда умирает последней.
never met a woman with that name - perhaps for the better

>A more general advice.
McCoy voice: "I'm a coder, not an armchair General!"
Previous
Reply
Map
View

Click here to load this message in the networking platform