Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Personal Pocket PC Wiki

Reply
 
LinkBack Thread Tools Display Modes
  #91 (permalink)  
Old 09-06-2008, 11:57 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by tsteward View Post
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!
Reply With Quote
  #92 (permalink)  
Old 09-06-2008, 02:32 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default slash parser (include file)

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.
Reply With Quote
  #93 (permalink)  
Old 09-06-2008, 03:54 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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...
Reply With Quote
  #94 (permalink)  
Old 09-06-2008, 04:22 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
This is Andrew's Browser dll with a few new props and methods
I deliberately retricted functionality to that available on the device. The desktop WebBrowser is far more capable than the device.

From How to: Use the WebBrowser Control in the .NET Compact Framework
Quote:
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.
Reply With Quote
  #95 (permalink)  
Old 09-06-2008, 04:47 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
I deliberately retricted functionality to that available on the device. The desktop WebBrowser is far more capable than the device.

From How to: Use the WebBrowser Control in the .NET Compact Framework
Refresh will only work on WM5.0 or later, I wanted to target older devices as well.
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!
Reply With Quote
  #96 (permalink)  
Old 09-06-2008, 04:59 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
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.
Reply With Quote
  #97 (permalink)  
Old 09-06-2008, 05:22 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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!
Reply With Quote
  #98 (permalink)  
Old 09-06-2008, 05:31 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
I think you miss understood me....
I was not trying to say that we shouldn't target those older platforms....
Certainly looked like it!

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.
Reply With Quote
  #99 (permalink)  
Old 09-06-2008, 07:11 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
Certainly looked like it!

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!
Reply With Quote
  #100 (permalink)  
Old 09-07-2008, 02:19 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default Wow Time Out

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.

Thanks
Tony
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Pocket Wiki digitaldon37 Open Source Projects 4 12-30-2009 02:12 AM
Written a Personal Wiki? tsteward Questions (Windows Mobile) 3 08-01-2008 04:34 AM
Pocket Chess Database JamesC Share Your Creations 3 07-27-2008 04:07 AM
B4P Wiki meinewelle Questions (Windows Mobile) 5 05-30-2008 06:55 AM
print class for pocket pc tanrikuluahmet Basic4ppc Wishlist 1 10-01-2007 09:10 AM


All times are GMT. The time now is 12:56 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0