Hi there,
First post and new purchaser of Basic4PPC, please forgive me if this question is answered in the WebBrowserEx help but I can't for the life of me open the included .cs file.
I've integrated the WebBrowserEx DLL into my program, using the DocumentText method to create a PayPal payment form, automatically submit the form and then connect to the PayPal site. This works fine.
Once the user has finished I simply close my form, job done.
The problem comes when I want to do another payment and re-open the webbrowser form - the browser is still stuck on the last page since my closing.
Flailing wildly I tried using the dispose method but this seems to get rid of the WebBrowserEX object itself and then you can't create another browser.
I've attached a simple program to demonstrate what I mean, you'll need the Browser.DLL (taken from this link here - http://www.b4x.com/forum/attachments/additional-libraries/3491d1235901910-webbrowserex-browser.zip)
On closing and re-opening the form the webbrowser ignores the DocumentText.
Thanks in advance for any help, loving Basic4PPC (even though I'm using to code cheaply for the desktop!)
Cheers,
Rich
First post and new purchaser of Basic4PPC, please forgive me if this question is answered in the WebBrowserEx help but I can't for the life of me open the included .cs file.
I've integrated the WebBrowserEx DLL into my program, using the DocumentText method to create a PayPal payment form, automatically submit the form and then connect to the PayPal site. This works fine.
Once the user has finished I simply close my form, job done.
The problem comes when I want to do another payment and re-open the webbrowser form - the browser is still stuck on the last page since my closing.
Flailing wildly I tried using the dispose method but this seems to get rid of the WebBrowserEX object itself and then you can't create another browser.
I've attached a simple program to demonstrate what I mean, you'll need the Browser.DLL (taken from this link here - http://www.b4x.com/forum/attachments/additional-libraries/3491d1235901910-webbrowserex-browser.zip)
On closing and re-opening the form the webbrowser ignores the DocumentText.
Thanks in advance for any help, loving Basic4PPC (even though I'm using to code cheaply for the desktop!)
Cheers,
Rich