Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the Gecko Web Browser control
#1
Hi all!
Does anyone know how to show a web document in the Gecko Web Browser? Here is the code I have:
Code:
Private Sub RichTextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Mkc_CodeBox1.KeyPress

        GeckoWebBrowser1.Text = RichTextBox1.Text
    End Sub
I had DocumentText before, but it would not permit me to use that.
Any and all help is greatly appreciated.
UtilityBuilder <!-- sWink --><img src="{SMILIES_PATH}/icon_e_wink.gif" alt="Wink" title="Wink" /><!-- sWink -->
P.S- Can you upload the source for the latest HTML-IDEx? What did you use to create the fourth caption button of double arrows?
#2
You can try using the following, not sure if it will work
Code:
GeckoWebbrowser1.Document.Text
However, I have no idea. I had difficulties setting the Gecko's text property as well!

And once all the bugs are worked out, HTML-IDEx will be uploaded. What do you mean by the fourth caption button?
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Would you mind uploading the existing source to codeplex? I've been doing some work on it myself. The fourth caption button is the double arrows in the nonclient area.
Thanks!
#4
Sorry to say the aforementioned code did not work.
#5
I will upload it in just a few moments!

And try this:
Code:
GeckoWebbrowser1.Document.Body.InnerHtml = "....."
My Blog | My Setup | My Videos | Have a wonderful day.
#6
Thanks a lot!
Have you noticed any problems when typing double quotes into the codebox?
EDIT:
How did you manage to stop it from throwing an exception when double quotes were typed?
#7
No problem! And this has never given me an error.. It just works!
My Blog | My Setup | My Videos | Have a wonderful day.
#8
Hey that's great! I hope I don't make you feel bad seeing this. I coded it from scratch, but I referenced a lot of your concepts. It's called open eXpressions If you would like me to implement this stuff into HTML-IDEx, I'd be glad to.
<!-- m --><a class="postlink" href="https://sourceforge.net/projects/openexpressions/">https://sourceforge.net/projects/openexpressions/</a><!-- m -->
I changed a lot of things especially the UI. I made sure to include you in the credits box. Would you mind giving me some feedback on it? Thanks!
P.S.- I don't want you to feel that I am undercutting you. If you feel I did something wrong, please say so!
#9
That is very nice!! I will personally store this into a folder called "mods" within the HTML-IDEx folder. Although I like some features in the standard HTML-IDEx (Tabs, ability to switch view modes) Yours still looks very nice!
My Blog | My Setup | My Videos | Have a wonderful day.
#10
If you want to do that, it's alright, but I wouldn't want my mod stealing people who would have gone with yours. I don't want to be undercutting you in any way. Do you have any ideas of how to make the QColorPicker work? Someone asked about that here: <!-- m --><a class="postlink" href="http://www.qios.eu/community/viewtopic.php?f=56&t=207&start=10">http://www.qios.eu/community/viewtopic. ... 7&start=10</a><!-- m -->
but I couldn't make out how it works. Any ideas?
#11
Oh you're fine! This application was meant to be built upon by other people! As long as you retain the information in the about page, it works for me. And I have never worked with the QColorPicker, So I have no idea how I could make it work.
My Blog | My Setup | My Videos | Have a wonderful day.
#12
Would you mind taking a look at it for me? If it's not an inconvenience to you. The QIOS DevSuite has plenty of awesome controls. That thread I linked to more or less said that the person ought to be able to figure it out with the code they provided. I looked at it myself and couldn't figure it out either. If you don't mind, I'd love to have you take a look at it.
#13
<!-- m --><a class="postlink" href="http://www.pfgrid.com/HtmlPanel_Dotnet.aspx">http://www.pfgrid.com/HtmlPanel_Dotnet.aspx</a><!-- m -->
This might be really helpful in HTML-IDEx. It looks really awesome.
#14
This almost looks exactly like what HTML-IDEx is, minus the more advanced features such as syntax highlighting. I'd much rather make my own <!-- sTongue --><img src="{SMILIES_PATH}/icon_razz.gif" alt="Tongue" title="Razz" /><!-- sTongue -->
My Blog | My Setup | My Videos | Have a wonderful day.
#15
I still can't get the Gecko code to work. <!-- sCry --><img src="{SMILIES_PATH}/icon_cry.gif" alt="Cry" title="Crying or Very Sad" /><!-- sCry -->
Any more ideas?
P.S- Thanks for all the help you've been so far! I've learned a lot from being here.
#16
Hm, what exactly is the problem you are having with it?
My Blog | My Setup | My Videos | Have a wonderful day.
#17
AH, nevermind. I got it working. Now my biggest concern is autocomplete. BTW, you might want to use opengeckosharp for HTML-IDEx.
#18
Nick Wrote:BTW, you might want to use opengeckosharp for HTML-IDEx.
Thanks for the tip! I'll check it out when I get time!
My Blog | My Setup | My Videos | Have a wonderful day.
#19
You might also like OpenWebkitSHarp. I'm going to give it a shot.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help with web browser please... PNG 1 1,159 08-14-2012, 02:11 AM
Last Post: Vinwarez
  Web Browser History Help Vinwarez 4 2,253 04-07-2012, 03:57 PM
Last Post: Vinwarez
  Awesome control and some help and ideas needed. openeXpressions 5 2,328 12-02-2011, 12:35 PM
Last Post: openeXpressions

Forum Jump:


Users browsing this thread: 1 Guest(s)