Discussion:
How to block internet access from within a VFP executable
Paul Newton
2018-03-12 09:56:24 UTC
Permalink
Hi all

I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.

Any ideas?

Many thanks

Paul Newton

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave Crozier
2018-03-12 10:23:54 UTC
Permalink
Paul,

How about setting the OLE control "Addressbar" property to be .F.

That way they won't be able to key in any web addresses.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any
attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 09:56
To: ***@leafe.com
Subject: How to block internet access from within a VFP executable

Hi all

I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.

Any ideas?

Many thanks

Paul Newton

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2018-03-12 10:35:59 UTC
Permalink
Hi Dave

Thanks for your reply. The addessbar property is already .F. Basically this form is designed to show, by default a company home page. However if (a) there is no physical connection to the internet or (b) if an admin has blocked internet access from MyExecutable.EXE then we want to display the contents of a README.HTML which resides on the client machine instead. It is the second part that I am working on but I cannot seem to get the Windows Firewall to prevent access to the internet from within MyExecutable.EXE

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Dave Crozier
Sent: 12 March 2018 10:24
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Paul,

How about setting the OLE control "Addressbar" property to be .F.

That way they won't be able to key in any web addresses.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 09:56
To: ***@leafe.com
Subject: How to block internet access from within a VFP executable

Hi all

I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.

Any ideas?

Many thanks

Paul Newton

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave Crozier
2018-03-12 10:49:51 UTC
Permalink
* This may help in that case:

#DEFINE FLAG_ICC_FORCE_CONNECTION 1

DECLARE Long InternetCheckConnection IN Wininet.dll String Url, Long dwFlags, Long Reserved

* Fast and reliable web site
lcUrl = "http://Google.com"
IF InternetCheckConnection(lcUrl, FLAG_ICC_FORCE_CONNECTION, 0) <> 0
? "Connection is available"
ELSE
? "No Connection"
Endif

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any
attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 10:36
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Hi Dave

Thanks for your reply. The addessbar property is already .F. Basically this form is designed to show, by default a company home page. However if (a) there is no physical connection to the internet or (b) if an admin has blocked internet access from MyExecutable.EXE then we want to display the contents of a README.HTML which resides on the client machine instead. It is the second part that I am working on but I cannot seem to get the Windows Firewall to prevent access to the internet from within MyExecutable.EXE

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Dave Crozier
Sent: 12 March 2018 10:24
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Paul,

How about setting the OLE control "Addressbar" property to be .F.

That way they won't be able to key in any web addresses.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 09:56
To: ***@leafe.com
Subject: How to block internet access from within a VFP executable

Hi all

I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.

Any ideas?

Many thanks

Paul Newton

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2018-03-12 10:57:02 UTC
Permalink
Thanks Dave - I have been using InternetGetConnectedSate which seems to work.

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Dave Crozier
Sent: 12 March 2018 10:50
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

* This may help in that case:

#DEFINE FLAG_ICC_FORCE_CONNECTION 1

DECLARE Long InternetCheckConnection IN Wininet.dll String Url, Long dwFlags, Long Reserved

* Fast and reliable web site
lcUrl = "http://Google.com"
IF InternetCheckConnection(lcUrl, FLAG_ICC_FORCE_CONNECTION, 0) <> 0
? "Connection is available"
ELSE
? "No Connection"
Endif

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 10:36
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Hi Dave

Thanks for your reply. The addessbar property is already .F. Basically this form is designed to show, by default a company home page. However if (a) there is no physical connection to the internet or (b) if an admin has blocked internet access from MyExecutable.EXE then we want to display the contents of a README.HTML which resides on the client machine instead. It is the second part that I am working on but I cannot seem to get the Windows Firewall to prevent access to the internet from within MyExecutable.EXE

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Dave Crozier
Sent: 12 March 2018 10:24
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Paul,

How about setting the OLE control "Addressbar" property to be .F.

That way they won't be able to key in any web addresses.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 09:56
To: ***@leafe.com
Subject: How to block internet access from within a VFP executable

Hi all

I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.

Any ideas?

Many thanks

Paul Newton

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2018-03-12 10:50:52 UTC
Permalink
I think you have a misunderstanding. The VFP MyExecutable.EXE is not
loading a web page. The MyExecutable is using OLE/COM interprocess
communications to communicate with a *different* EXE -- the web
browser -- and this is what it accessing the internet. The
MyExecutable is just providing the UI window through which you see the
browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any
attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4v=c6z6Tt-uMFb3Oj3v6KBOU_LAOvHbDS+***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2018-03-12 10:58:41 UTC
Permalink
Thanks Ted - Most helpful. So would there be any way for an admin to use Windows Firewall to prevent the browser control from accessing the internet? That is really what I need to find out.

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Ted Roche
Sent: 12 March 2018 10:51
To: ***@leafe.com
Subject: Re: How to block internet access from within a VFP executable

I think you have a misunderstanding. The VFP MyExecutable.EXE is not loading a web page. The MyExecutable is using OLE/COM interprocess communications to communicate with a *different* EXE -- the web browser -- and this is what it accessing the internet. The MyExecutable is just providing the UI window through which you see the browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell or
use the goods in the ordinary course of its business. Until such time
as the property in the goods passes to the buyer the seller shall be
entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave Crozier
2018-03-12 11:01:40 UTC
Permalink
Paul,
Rick at West-Wind may be your best resource.

https://west-wind.com/presentations/internetenabling/InternetEnabling.htm

He doesn't say anything about disabling but I guess he may be able to help.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any
attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 10:59
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Thanks Ted - Most helpful. So would there be any way for an admin to use Windows Firewall to prevent the browser control from accessing the internet? That is really what I need to find out.

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Ted Roche
Sent: 12 March 2018 10:51
To: ***@leafe.com
Subject: Re: How to block internet access from within a VFP executable

I think you have a misunderstanding. The VFP MyExecutable.EXE is not loading a web page. The MyExecutable is using OLE/COM interprocess communications to communicate with a *different* EXE -- the web browser -- and this is what it accessing the internet. The MyExecutable is just providing the UI window through which you see the browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell or
use the goods in the ordinary course of its business. Until such time
as the property in the goods passes to the buyer the seller shall be
entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2018-03-12 11:02:46 UTC
Permalink
I'll check it out - Thanks Dave

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Dave Crozier
Sent: 12 March 2018 11:02
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Paul,
Rick at West-Wind may be your best resource.

https://west-wind.com/presentations/internetenabling/InternetEnabling.htm

He doesn't say anything about disabling but I guess he may be able to help.

Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.



---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH

Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------

Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----
From: ProFox <profox-***@leafe.com> On Behalf Of Paul Newton
Sent: 12 March 2018 10:59
To: ***@leafe.com
Subject: RE: How to block internet access from within a VFP executable

Thanks Ted - Most helpful. So would there be any way for an admin to use Windows Firewall to prevent the browser control from accessing the internet? That is really what I need to find out.

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Ted Roche
Sent: 12 March 2018 10:51
To: ***@leafe.com
Subject: Re: How to block internet access from within a VFP executable

I think you have a misunderstanding. The VFP MyExecutable.EXE is not loading a web page. The MyExecutable is using OLE/COM interprocess communications to communicate with a *different* EXE -- the web browser -- and this is what it accessing the internet. The MyExecutable is just providing the UI window through which you see the browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell or
use the goods in the ordinary course of its business. Until such time
as the property in the goods passes to the buyer the seller shall be
entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ted Roche
2018-03-12 11:38:09 UTC
Permalink
Paul:

I'm not seeing your messages in my email list, only Dave's responses.
If others are seeing this, too: All are visible in the email archive
thread at https://leafe.com/archives/full_thread/510558

If I understand correctly, you want to open a local home page if the
local workstation has internet access blocked. It's not clear to me
why the admin is blocking this EXE, or if users are blocked from using
the internet (an excellent idea, but perhaps a decade or two too
late!)

I'd set the browser to navigate2 the company home page, and if you get
an error, navigate2 the local HTML page.

Or am I misunderstanding what you are asking?
Post by Dave Crozier
Paul,
Rick at West-Wind may be your best resource.
https://west-wind.com/presentations/internetenabling/InternetEnabling.htm
He doesn't say anything about disabling but I guess he may be able to help.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any
attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
-----Original Message-----
Sent: 12 March 2018 10:59
Subject: RE: How to block internet access from within a VFP executable
Thanks Ted - Most helpful. So would there be any way for an admin to use Windows Firewall to prevent the browser control from accessing the internet? That is really what I need to find out.
Paul
-----Original Message-----
Sent: 12 March 2018 10:51
Subject: Re: How to block internet access from within a VFP executable
I think you have a misunderstanding. The VFP MyExecutable.EXE is not loading a web page. The MyExecutable is using OLE/COM interprocess communications to communicate with a *different* EXE -- the web browser -- and this is what it accessing the internet. The MyExecutable is just providing the UI window through which you see the browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell or
use the goods in the ordinary course of its business. Until such time
as the property in the goods passes to the buyer the seller shall be
entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4sqXk=P8FruDR=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Paul Newton
2018-03-12 11:50:39 UTC
Permalink
Ted

Strange that you are not seeing my messages. Anyway one of our testers _thought_ that blocking MyExecutable.EXE in Windows Firewall would/should prevent the browser form from displaying an internet web page. On the basis of your previous reply and explanation regarding OLE/COM interprocess communications I can now explain to him that that is simply not the case. And that _should_ be the end of the matter.

Many thanks for your help

Paul

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-***@leafe.com] On Behalf Of Ted Roche
Sent: 12 March 2018 11:38
To: ***@leafe.com
Subject: Re: How to block internet access from within a VFP executable

Paul:

I'm not seeing your messages in my email list, only Dave's responses.
If others are seeing this, too: All are visible in the email archive thread at https://leafe.com/archives/full_thread/510558

If I understand correctly, you want to open a local home page if the local workstation has internet access blocked. It's not clear to me why the admin is blocking this EXE, or if users are blocked from using the internet (an excellent idea, but perhaps a decade or two too
late!)

I'd set the browser to navigate2 the company home page, and if you get an error, navigate2 the local HTML page.

Or am I misunderstanding what you are asking?
Post by Dave Crozier
Paul,
Rick at West-Wind may be your best resource.
https://west-wind.com/presentations/internetenabling/InternetEnabling.
htm
He doesn't say anything about disabling but I guess he may be able to help.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell or
use the goods in the ordinary course of its business. Until such time
as the property in the goods passes to the buyer the seller shall be
entitled at any time
-----Original Message-----
Sent: 12 March 2018 10:59
Subject: RE: How to block internet access from within a VFP executable
Thanks Ted - Most helpful. So would there be any way for an admin to use Windows Firewall to prevent the browser control from accessing the internet? That is really what I need to find out.
Paul
-----Original Message-----
Sent: 12 March 2018 10:51
Subject: Re: How to block internet access from within a VFP executable
I think you have a misunderstanding. The VFP MyExecutable.EXE is not loading a web page. The MyExecutable is using OLE/COM interprocess communications to communicate with a *different* EXE -- the web browser -- and this is what it accessing the internet. The MyExecutable is just providing the UI window through which you see the browser control.
Post by Dave Crozier
Paul,
How about setting the OLE control "Addressbar" property to be .F.
That way they won't be able to key in any web addresses.
Dave Crozier
Software Development Manager
Flexipol Packaging Ltd.
---------------------------------------------------------------
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to
minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd.
Unit 14 Bentwood Road
Carrs
Industrial Estate
Haslingden
Rossendale
Lancashire
BB4 5HH
Tel:01706-222792
Fax: 01706-224683
www.Flexipol.co.uk
---------------------------------------------------------------
Notwithstanding delivery and the passing of risk in the goods, the
property in the goods shall not pass to the buyer until the seller
Flexipol Packaging Ltd. ("The Company") has received in cash or
cleared funds payment in full of the price of the goods and all other
goods agreed to be sold by the seller to the buyer for which payment
is then due. Until such time as the property in the goods passes to
the buyer, the buyer shall hold the goods as the seller's fiduciary
agent and bailee and keep the goods separate from those of the buyer
and third parties and properly stored protected and insured and
identified as the seller's property but shall be entitled to resell
or use the goods in the ordinary course of its business. Until such
time as the property in the goods passes to the buyer the seller
shall be entitled at any time
-----Original Message-----
Sent: 12 March 2018 09:56
Subject: How to block internet access from within a VFP executable
Hi all
I have a VFP executable (MyExecutable.EXE) which has a form containing an OLEBrowser control. I want to temporarily block internet access from this form using the Windows (7) firewall. I have created a new Outbound Rule pointing to MyExecutable.EXE but the form still loads and displays a web page.
Any ideas?
Many thanks
Paul Newton
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@BY2PR0201MB1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
AndyHC
2018-03-12 13:21:46 UTC
Permalink
Post by Paul Newton
Ted
Strange that you are not seeing my messages.
...
same here - all *your* messages are being dumped in the spam folder by
gmail.

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/548dd915-058f-2d2c-9b2c-***@hawthorncottage.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Frank Cazabon
2018-03-12 14:55:03 UTC
Permalink
Me too. I never see Paul's messages. They don't even end up in my gmail
spam.

Frank.

Frank Cazabon
Post by AndyHC
Post by Paul Newton
Ted
Strange that you are not seeing my messages.
...
same here - all *your* messages are being dumped in the spam folder by
gmail.
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/d735aa26-f186-3f44-b9cb-***@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
AndyHC
2018-03-12 13:19:42 UTC
Permalink
Does your customer route external ip addresses through a proxy? If so
there will be a way to put rules on the proxy server - if not, maybe
they should <g>.

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/5738f744-ca09-96f4-6aa2-***@hawthorncottage.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Loading...