Page 2 of 2 FirstFirst 12
Results 41 to 70 of 70

Thread: Mozilla / Firefox / Gecko in VB.NET

  1. #41
    Lively Member crazy1993's Avatar
    Join Date
    Sep 2010
    Location
    Rochester, NY
    Posts
    85

    Re: Mozilla / Firefox / Gecko in VB.NET

    Curious, what kinda errors are you getting? I do not get any errors nor does a friend when he has the project. I am bettin they are prob path errors that you need to change to match your system and where you saved the project. In either way, I will try removing as much as possible from the project and reimpose it. I do have some images and stuff that may be the root of the problem. I will also try creating a new project and trying the steps again. Thank you for your time.
    ~Dustin Schreiber
    Head Developer for TechJive Dev Team - Founder of http://www.thetechsphere.com
    Who *cares* if a laser guided 500 lb bomb is accurate to within 9 feet?
    Teamwork is essential. It gives the enemy someone else to shoot at.
    Retreating?! Hell no, we're just attacking the other direction!

    Please rate posts if you find them helpful
    <--- Over there genius

  2. #42
    Lively Member crazy1993's Avatar
    Join Date
    Sep 2010
    Location
    Rochester, NY
    Posts
    85

    Re: Mozilla / Firefox / Gecko in VB.NET

    I am not sure entirely what I did but i managed to get it to work. I think it may have been due to the reason that i forgot to copy to output dir. i copied it to the bin/debug folder by hand since their are so many files to go through and changer. it worked! This is a great tutorial too. Thanks for taking the time to try and help me. +Rep 4u
    ~Dustin Schreiber
    Head Developer for TechJive Dev Team - Founder of http://www.thetechsphere.com
    Who *cares* if a laser guided 500 lb bomb is accurate to within 9 feet?
    Teamwork is essential. It gives the enemy someone else to shoot at.
    Retreating?! Hell no, we're just attacking the other direction!

    Please rate posts if you find them helpful
    <--- Over there genius

  3. #43
    New Member
    Join Date
    Apr 2011
    Posts
    2

    Re: Mozilla / Firefox / Gecko in VB.NET

    Hello

    I would get the text (or source) of a website, but I can't.

    I use this in VB.Net 2008:

    Code:
    Dim x As String = GeckoWebBrowser1.Document.DocumentElement.InnerHtml
    (similar to WebBrowser1.DocumentText)

    But that doesn't work. x returns nothing (the site is fully charged in GeckoWebBrowser1)

    Any suggestions?

    Thanks and sorry for my English

  4. #44

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    If that doesn't work, then why didn't you search Google? http://forums.techarena.in/software-...nt/1157315.htm


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  5. #45
    New Member
    Join Date
    Apr 2011
    Posts
    2

    Re: Mozilla / Firefox / Gecko in VB.NET

    Thanks for your answer, Radjesh Klauke
    I've searched but I haven't found.
    I have no problem if I create a WebBrowser (Internet Explorer). I can use
    Code:
    WebBrowser1.DocumentText
    My problems are with GeckoWebBrowser (Mozilla Firefox) and in that site they don´t use GeckoWebBrowser
    Thanks anyway and I'm sorry for my English again

  6. #46

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    try asking on the original forum of the component
    http://www.geckofx.org/


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  7. #47
    New Member
    Join Date
    Apr 2011
    Posts
    2

    Re: Mozilla / Firefox / Gecko in VB.NET

    Hiii Radjesh Klauke,

    Hey, i m downloaded your application... and used it in new windows application in Visual studio 2010. but i m faced below error when i run this application..

    "Specified cast is not valid."

    can u please help me... ?

    - Hiren Lad

  8. #48

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    hmmm.... can you upload the project without the exe files?


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  9. #49
    New Member
    Join Date
    Jan 2012
    Posts
    9

    Re: Mozilla / Firefox / Gecko in VB.NET

    I want to use different proxies on gecko browser can any one told me its code or api???

  10. #50

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    Have a look at this: http://www.geckofx.org/viewtopic.php?id=1205
    Perhaps that's helpful.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  11. #51
    New Member
    Join Date
    Jul 2011
    Posts
    1

    Re: Mozilla / Firefox / Gecko in VB.NET

    Can any one tell me how to add a download manager to my tabbed gecko browser. Tried most of the options but still not able to get it work.

  12. #52
    New Member
    Join Date
    Apr 2012
    Posts
    5

    Re: Mozilla / Firefox / Gecko in VB.NET

    Is there any way to print from this? .Print and .ShowPrintDialog don't work.

  13. #53

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    Go to the forum of the creator(s). I'm only showing you how to implement it.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  14. #54
    Addicted Member jalexander's Avatar
    Join Date
    Jan 2011
    Location
    Memphis, TN
    Posts
    160

    Re: Mozilla / Firefox / Gecko in VB.NET

    Has anyone successfully implemented this in projects they had previously coded with IE web controls?
    And does anyone have/or know where to find the "DOM CLASSES" mentioned in the 2nd post within this thread http://www.geckofx.org/viewtopic.php?id=1378

    They are what's needed for a more IE style interface with the pages, i.e. setting forms etc. & all the basic things easy to do in the IE control.

    I would SERIOUSLY appreciate anyone that can help me find these. As the 'search feature' on geckofx.org is down & has been down for weeks now. Making it virtually impossible for me to put the time in to find the said files!

    Thanks
    - Jennifer Alexander <3
    Last edited by jalexander; Apr 26th, 2012 at 09:49 PM. Reason: Need to find: Gecko FX DOM Classes
    dim jenn as geek = true
    Learning ~ Visual Basic 2010 ~ in free time between college/work -
    currently looking for a 'programming buddy' / 'coder friend' / and or 'mentor'. p.m. me if you
    have ANY free time AT ALL I'm like 33% of a novice level ~ willing 2 listen/learn +
    i am totally super motivated & promise to make an effffin amazing protege!!! #swag

    | -_-_- -_-_- |
    ...W.T..F!?.....
    ||| Matter on the atomic/quantum level isn't solid or even matter at all. It can also exist in at least 2 places simultaneously (demonstrated in lab). It's position can only be established when it's actually observed. If we turn our back on it... it goes back to a wave form. History show's that every previous generation (since the beginning of time) got almost everything wrong. Then it might very well stand to reason that up is down & right can be wrong. Admit it.. our combined perception of reality is just that, we know absolutely nothing of actual reality & to think we do is simply subscribing to a "ignorance is bliss" mantra |||

  15. #55

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    You can use this besides the IE controls. Don't know where to find the DOM classes btw.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  16. #56
    New Member
    Join Date
    Jan 2012
    Posts
    9

    Re: Mozilla / Firefox / Gecko in VB.NET

    can any one guide me how to pass list of IP addresses to Gecko browser because i want to implement a boot by using Gecko browser kindly help we i shall be very thankfull to you.....!!!!

  17. #57

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    Ask on the forum of the .dll.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  18. #58
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    hi guys, Sorry to update an old thread, but this was the best thread I could find after search for 3 days of an error I "was" getting. But after following the short tutorial on this thread, I was able to get past the original error I was getting, but now I got a new one. which is the following:

    "System.InvalidCastException: Specified cast is not valid." Below that has
    Code:
       at Skybound.Gecko.nsIWebBrowser.GetContentDOMWindow()
       at Skybound.Gecko.GeckoWebBrowser.OnHandleCreated(EventArgs e)
       at System.Windows.Forms.Control.WmCreate(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Skybound.Gecko.GeckoWebBrowser.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    I have followed all the steps listed, including making all the files in the xulrunner folder "Copy if newer"

    So then what I tried was saving that, then closing the project, and created a new project, followed all the steps over again... and now I get this error when trying to publish:
    Code:
    Error	1	"xulrunner\chrome\classic.manifest;xulrunner\chrome\comm.manifest;xulrunner\chrome\en-US.manifest;xulrunner\chrome\pippki.manifest;xulrunner\chrome\toolkit.manifest" is an invalid value for the "InputManifest" parameter of the "GenerateApplicationManifest" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem".
    So either way, now im getting 2 separate errors on 2 different projects. can someone help me out a bit with this? Either Project will be fine, Once I get past the error, I can continue with my original project. I just need to find out why im getting either of those 2 errors. So im hoping the original poster here, still visits this forum.

  19. #59

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    This version is a bit deprecated. I will create a new thread as soon as I have some more time, 'cause the new and better dll is from another developer.
    But there is also the issue that you aren't telling what you did exactly.
    Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem"
    Why did you create multiple items? Perhaps you can upload your project?


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  20. #60
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    Im not exactly sure what multiple Items I created... The 2nd project with that error was a completely new project

    Here is a link to a zip file with Screen shots in it from each part.. ApplicationEvents, Form1, Form1.Design, and Solution Explorer. If you need the actual files themselves, I will upload those in a rar file, cause its actually a bit big.
    http://www.crossfire-radio.com/test/vb/Files.zip

    Oh and .. Thank you so much for replying.

  21. #61

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    Give me some time to create a new tutorial with Firefox/Gecko Engine 13.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  22. #62
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    Just a quick note... I am using the following:
    Skybound.Gecko.dll v1.9.1.0
    xulrunner v1.9.2

  23. #63
    Addicted Member jalexander's Avatar
    Join Date
    Jan 2011
    Location
    Memphis, TN
    Posts
    160

    Re: Mozilla / Firefox / Gecko in VB.NET

    Quote Originally Posted by Radjesh Klauke View Post
    Give me some time to create a new tutorial with Firefox/Gecko Engine 13.
    I think everyone will be looking forward to that! I for one canno't stand the IE webbrowser control....just not enough options to code things down to the smallest details ya know?
    Sure hope you get around to it :-) And thanks so much for your contribution to all of us forum peeps!
    dim jenn as geek = true
    Learning ~ Visual Basic 2010 ~ in free time between college/work -
    currently looking for a 'programming buddy' / 'coder friend' / and or 'mentor'. p.m. me if you
    have ANY free time AT ALL I'm like 33% of a novice level ~ willing 2 listen/learn +
    i am totally super motivated & promise to make an effffin amazing protege!!! #swag

    | -_-_- -_-_- |
    ...W.T..F!?.....
    ||| Matter on the atomic/quantum level isn't solid or even matter at all. It can also exist in at least 2 places simultaneously (demonstrated in lab). It's position can only be established when it's actually observed. If we turn our back on it... it goes back to a wave form. History show's that every previous generation (since the beginning of time) got almost everything wrong. Then it might very well stand to reason that up is down & right can be wrong. Admit it.. our combined perception of reality is just that, we know absolutely nothing of actual reality & to think we do is simply subscribing to a "ignorance is bliss" mantra |||

  24. #64
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    Quote Originally Posted by Radjesh Klauke View Post
    Give me some time to create a new tutorial with Firefox/Gecko Engine 13.
    hey there Radjesh, was just checking in to see how things were going.. im pretty sure you have a very active / busy life going on outside of here, but seeing if you were able to get anywhere yet

  25. #65

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Mozilla / Firefox / Gecko in VB.NET

    Nope, not yet, sorry. This week I have to do something for a good friend. Probably, next week


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  26. #66
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    So just to update here.. I was messin around a bit, and installed some updated stuff... GeckoComplete (Which I think is Geckofx 2.0) and xulrunner 16.0b3 and when I try to run a debug, I get the following:
    Code:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'Skybound.Gecko.nsInterfaces'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A88E5A60-205A-4BB1-94E1-2628DAF51EAE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Which it highlights the following line under ApplicationEvents
    Code:
    Skybound.Gecko.Xpcom.Initialize(xrPath)

  27. #67
    New Member DJFireCFR's Avatar
    Join Date
    Sep 2012
    Location
    In your monitor.
    Posts
    10

    Re: Mozilla / Firefox / Gecko in VB.NET

    Hey Guys, I know this is a really old topic, but, Since its on this subject, Why create something new, when its based on the same thing? (Zombie Apocalypse?)

    Im trying to take this code here:
    Code:
    Private Sub AxWebBrowser1_NewWindow2(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles AxWebBrowser1.NewWindow2
        ' Dim t As New TabPage
        'Dim newtab As New tab
        '   newtab.Show()
        '  newtab.Dock = DockStyle.Fill
        ' newtab.AxWebBrowser1.RegisterAsBrowser = True
        'e.ppDisp = newtab.AxWebBrowser1.Application
        ' newtab.Visible = True
        ' newtab.TopLevel = False
        ' t.Controls.Add(newtab)
        ' Form1.TabControl1.TabPages.Add(t)
        ' Form1.TabControl1.SelectedTab = t
        '  newtab.Focus()
        'End Sub
    And transform it to work with this:

    Code:
        Private Sub GeckoWebBrowser1_CreateWindow(ByVal sender As Object, ByVal e As Skybound.Gecko.GeckoCreateWindowEventArgs) Handles GeckoWebBrowser1.CreateWindow
            Dim t As New TabPage
            Dim newtab As New tab
            newtab.Show()
            newtab.Dock = DockStyle.Fill
            newtab.GeckoWebBrowser1.RegisterAsBrowser = True
            e.ppDisp = newtab.GeckoWebBrowser1.Application
            newtab.Visible = True
            newtab.TopLevel = False
            t.Controls.Add(newtab)
            Form1.TabControl1.TabPages.Add(t)
            Form1.TabControl1.SelectedTab = t
            newtab.Focus()
        End Sub
    The errors I am receiving are as follows:

    1. 'RegisterAsBrowser' is not a member of 'Skybound.Gecko.GeckoWebBrowser'.

    2. 'ppDisp' is not a member of 'Skybound.Gecko.GeckoCreateWindowEventArgs'.

    3. 'Application' is not a member of 'Skybound.Gecko.GeckoWebBrowser'.


    Would anyone know the "functions" of Skybound.Gecko, To get around those errors? or how I can fix that so it works with Gecko. Im trying to get out of using IE stuff for my browser, as its causing issues.. So I wanted to take another try using Gecko Engine. But stuck at that point.

    (again, I apologize for resurrecting an old thread)

  28. #68
    Lively Member Amerigo's Avatar
    Join Date
    Dec 2008
    Location
    PSR B1620-26 c-1
    Posts
    126

    Re: Mozilla / Firefox / Gecko in VB.NET

    Hello. I am creating a user control with a tabbed browser. I have followed the instructions in the original post exactly. I can add the geckobrowser to the control or to a test form without issue, but when trying to add my control to the test form, I get an error that xpcom can't be found. Then Visual Studio crashes. This happens with vs2010 or vs2013.
    Name:  scrnsht.jpg
Views: 3007
Size:  31.6 KB
    https://8fbb5527-a-62cb3a1a-s-sites....attredirects=0
    Anyone who does not wonder, is either omnipotent or a fool.
    Amerigoware <<<My Projects

  29. #69
    Junior Member
    Join Date
    Sep 2014
    Posts
    24

    Re: Mozilla / Firefox / Gecko in VB.NET

    Thanks alot Radjesh Klauke for your great thread .

    I need your help as I made Webbrowser control using GeckoFX by VB.NET2010 but how to create a custom button control for saving the current html page as the following code is not working like the normal webbrowser in Visual studio tools

    Geckowebbrwoser.show save as dialogue

    So. please it would be highly appreciated if you kindly provide us with the codes needed for adding this feature to my project.

    Thanks in advance.

  30. #70
    New Member
    Join Date
    Apr 2014
    Posts
    4

    Re: Mozilla / Firefox / Gecko in VB.NET

    Dear Radjesh,
    how we can active the download dialog box or only the file download on geckowebbrowser?
    I tried your e example, run good, but not start the file download.
    Thank's

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width