Results 1 to 12 of 12

Thread: geckofx - example uploaded - what am i doing wrong?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Smile geckofx - example uploaded - what am i doing wrong?

    Hey all, on my hunt to get firefox into my application, i found geckofx

    GeckoFX is an open-source component which makes it easy to embed Mozilla Gecko (Firefox) into any .NET Windows Forms application.
    http://geckofx.org/

    http://code.google.com/p/geckofx/

    im having real probloms working out how to get it into my application, could someone write me step by step steps on how to get the web browser control onto an aplication? ( VB2008 )

    also if poss, if you could post a basic form with it on, it would be realy great

    Thanks

    Paul
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: geckofx

    First result from a google search, not sure if it will help you but it looks like the same thing you have asked to me: http://geckofx.org/viewtopic.php?pid=2216
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx

    Quote Originally Posted by chris128 View Post
    First result from a google search, not sure if it will help you but it looks like the same thing you have asked to me: http://geckofx.org/viewtopic.php?pid=2216
    chears, when it asks me to add the code

    PHP Code:
        Skybound.Gecko.Xpcom.Initialize(xulrunnerPath); 
    how can i set xulrunnerPath to be the folder that my entire project is in?
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: geckofx

    If you just want to get the path to where your program is being run from you can use Application.StartupPath I think
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx

    still cant get it working, everything looks fine, just wont work.

    If anyone can upload an example project with it going to google for example ( in vb.net ) it would be much apreceated.
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: geckofx

    How about you upload your project and we see where you are going wrong? Or just copy and paste the relevant bits of code..
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: geckofx

    While I bet the file is in the location you think it is, it's not where the app thinks it SHOULD be... when running an app, remember it does NOT run in the project folder... it actually runs in the DEBUG subfolder.... so, if you are looking for a file that is in the same folder as the application, you need to make sure that it too gets copied into the sub folder. First, make sure you are showing all files in your solution explorer, then click the HTML file and look at it's properties. Make sure that the Copy Local setting is at least "Copy if Newer" if not "Copy Always".

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx

    ok here is an example project . .. whats going wrong?
    Attached Files Attached Files
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx

    anyone had any luck with this? would be a big help if i get this working.....

    Thanks

    Paul
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx - example uploaded - what am i doing wrong?

    is no1 able to see why this is not working?
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

  11. #11
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: geckofx - example uploaded - what am i doing wrong?

    Well you are not specifying a file, you are just specifying Application.StartupPath and nothing else so unless that Initialize method is looking for a directory rather than a file then its not going to work. I have no idea what that Initialize method wants you to pass in but I would assume its documented on their website
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    312

    Re: geckofx - example uploaded - what am i doing wrong?

    Thanks for your help, sort of got it working now i hav to refer to an actual folder.

    how can i add a folder to my project and include it? so that it automatical gets added to the debug folder etc, and gets included when i publish?


    Thanks
    Last edited by Paul_so40; Sep 17th, 2009 at 02:43 PM.
    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

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