I thought I had it fixed but alas I'm stuck.
Any ideas on how and where I can refresh the browser?
Wich Browser dll are you using?
I remember that Andrews dll did miss some basic methods and properties, that shouldn't be that hard to include in a modded version dll...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
Attached is version .23 of the slash parser. I am using the stringsEx library so this needs to be added to the project. Also need to add these controls:
strb - StringsBuilder
stre - StringsEx
I noticed that slash linking wasn't working since we changed to using a temp HTML file for display, so I fixed that as well.
Cableguy, we are using agraham's web browser library. I think Tony may be looking for a refresh method, which I don't see in that library or the dzHtmlView one. I haven't tested what he is experiencing but it sounds like he is looking to navigate to a temp html page, and then do a refresh so that section links will work
9/8/08 update: updated parser to handle http: links and better format tables
Last edited by digitaldon37 : 09-09-2008 at 10:50 AM.
This is Andrew's Browser dll with a few new props and methods...
Props
-ShowScrollBars set wether scroll bars are visible or not
-DocumentText now also retrives the current browser document
Methods
-BringToFront brings the control to the top most z-order
-Refresh reloads the current document and updates the display
Myclass.cs is the source file, and should be renamed as WikiBrowser in order to be merged in the exe..
Hope this will help...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
Last edited by Cableguy : 09-06-2008 at 07:14 PM.
Reason: Due to copyrighht issues, I decided to remove the files, as they were based on Agraham's work, who wasn't too happy about it...
The following considerations apply only to Windows Mobile 2003 for Pocket PC and Windows Mobile 2003 for Smartphone:
The Refresh method throws a NotSupportedException exception.
Refresh will only work on WM5.0 or later, I wanted to target older devices as well.
Quote:
The .NET Compact Framework does not support the Document property and its related properties and events, except for the DocumentText property. You can use DocumentText to present HTML to your users, such as to provide links and a simple HTML form, but the .NET Compact Framework does not support accessing the HTML content of a Web page with this property.
DocumentText is write only on a device. Only on the desktop is it readable.
Targeting device with Windows Mibile 2003SE and older is like targeting Windows95...
Quote:
DocumentText is write only on a device. Only on the desktop is it readable.
Yes, but the user may need some features diferently on the desktop...
For instance, I'm trying (Still) to get the WebBrowser to ZOOM, even thought I KNOW it only works with IE7, and only in the desktop...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
Targeting device with Windows Mibile 2003SE and older is like targeting Windows95...
Rubbish! - Basic4ppc still targets .NET 1.0/1.1 even though 3.5 is now available on the device. Stuff has to work on the installed user base not just the latest products.
I think you miss understood me....
I was not trying to say that we shouldn't target those older platforms....
However, making sure that our app is that much backward compatible, makes us unable of making the most of the newer platforms....There is now a flash reader for WM6, wich doesnt exist for WM2003SE, So WE SHOULDNT build flash enabled app's?????
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
Now that you have modified and reposted my code without consulting me I assume that you will now be providing the support for it in the future.
Assuming that you are NOT just being pedantic, I appologise for that...
I know in first hand how much effort goes into creating a custom lib.
I never in any point did put you off or suggested that this lib was my work.
As stated it is just a mod, so the basis are still yours....all the comments are still there, and not even the version number was altered...
No mention whatsoever in the files about me...
I did wrong, am I intented no harm, nor to get you mad...I guess I was just
too eagger to help, and jumped the gun...
I can take the atachment out if you whant me to, heck i can delete all my previous post in this thread, if that what it takes...
But being this such a popular thraed, in wich you have participated in various ocasions, I didnt thought you would be so sour...
AGAIN, I AM SORRY FOR POSTING AN MODDED AGRAHAM'S DLL WITHOUT CONSULTING HIM....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
I really appreciate any help anyone is willing to give.
That said please take this little dispute elsewhere, maybe PM each other and sort it out there.
Again I appreciate the help and effort from everyone. Without these library's that you people spend many hours on, then donate free of charge, I would not be able to create my application, so thank you ver much, but this dispute has the ability to takeaway from this discussion and may put of people who also want to help but become afraid of commenting.
Please if you can add constructive comments, suggestions or help then do so. I need help as I am only new to B4PPC and I am not a programmer by any measure.