I'm currently trying to make a web browser from the webkit package from http://webkitdotnet.sourceforge.net/ on a 64-bit system
I loaded the webkitbrowser.dll to the toolbox and made sure it was loaded in the references and add just the webkitbrowser to the form, but when I debug it I get an error that reads
An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'WebKitBrowser, Version=0.5.0.0, Culture=neutral, PublicKeyToken=b967213f6d29a3be' or one of its dependencies. An attempt was made to load a program with an incorrect format.
under the troubleshooting tips, all the tip have the same "community content"
"32-bit DLLs on a 64-bit OS
Please Wait
This exception can occur when a .NET application running on a 64-bit platform attempts to load a DLL that does not support native 64-bit execution. If the application is built in platform-agnostic (i.e. "Any CPU") mode, it will launch in 64-bit mode on the host operating system, leading to this problem. To fix this, you can force the application to run in 32-bit mode by compiling for x86 architecture explicitly, forcing the program to launch in WoW64 mode on the 64-bit system, and allowing the 32-bit DLL to be accessed. -Mayank H Parmar"
So I figured the dll is 32-bit, but I don't know how to make the program debug in windows Wow64 so it can run the 32-bit dll.
Not wanting to put this much time in to one engine when I have other options, I decided to try the Gecko engine from http://code.google.c...in.v1.9.1.0.zip
But when I loaded the dll, check the reference, added the browser to the form and try to debug I got almost the same error as the first browser, only this time with gecko
An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Skybound.Gecko, Version=1.9.1.0, Culture=neutral, PublicKeyToken=3209ac31600d1857' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've also tried moving the files from the webkit folder to the project's bin folder like a forum here suggested as a solution http://www.dreaminco...itnet-in-vbnet/
Any help and/or suggestions would be greatly appreciated.
Visual Basic 2008 Express
4gb ddr2, Intel duo 2.13 ghz, windows vista X64 basic
-Jarod
This post has been edited by red1337: 10 February 2011 - 04:49 AM

New Topic/Question
Reply




MultiQuote





|