I've embedded the WebKit browser in my program to use as a replacement for Internet Explorer. Well, it seems a few methods did not carry over. These are the methods I'm speaking of:
WebBrowser.Document.element.InvokeMember("click")This is not supported in the webkit engine. Is there another way I could invoke a click on an element? It has a .Focus method, maybe I could use that?
WebBrowser.Document.element.InnerText = xxx Setting a text box's text is also no longer supported. It would be nice if there was some way to set a text box's text with the web kit browser.WebBrowser.Document.element.setAttribute("theAttribute", "theValue")Same deal here. This code does not work with the web kit browser.
I'd like to integrate Webkit.NET into a VB project, but I'm not having any luck so far. The Webkit.NET tutorial page gives a demonstration in C#, so I assume that it's possible to use this in VB.NET as well? [URL]
I added the control to the project successfully, but since I'm not familiar with C#, I haven't been able to convert the code successfully (even after running the code through a few different online C# to VB.NET converters). So... has anyone gotten Webkit.NET (or any Webkit-based browser) to work in VB.NET? Or am I just dreaming? I would love to be able to use the default .NET WebBrowser control for this project, but this project requires doing a few things that the IE browser is not capable of (but Webkit can do it easily).
I'm trying to create a windows service that loads a website, navigates it, and pulls some information using javascript. This is all very easy to do in a windows forms application, but isn't working in a webservice (apparently because services can't access the registry WinInet Not Supported for Use in Services). Any ideas how to get it to work? Here's my code that outputs nothing:
[Code]...
EDIT: I need a WebBrowser or WebKit.Net object because I need to execute javascript on the page, and I need to maintain a login (using cookies and post data). If there's another method to do this please let me know.
I'm working on a project just for fun that is a fixed browser that load one site. However, the site doesn't work in Internet Explorer so I'm using the webkit core. I've added the webkit browsing area that's named "ACB" and set the URL. I then added the only button neeed, a button to use as refresh, and set the code for that button to "ACB.Refresh()", however if I click that after running it nothing happens. If I set the page it loads to Google it loads but you can't hit search.
I am trying to capture the content of the WebBrowser control. DrawToBitmap() would work perfectly, but it is not supported in documentation for the WebBrowser control. I have been trying to find another way to capture the contents of the WebBrowser control and save them to a local image file.
Does anyone have any workarounds or other methods to save the contents of the WebBrowser control to a local image file?
i've been trying to make a simple web browser, but i've been trying to have it run on WebKit because IE sucks. The first form is where the user enters in a product key, and after they enter in the correct key, it's supposed to open up the next form containing the actual web browser, except this is where i'm getting errors.
I am new to VB. I got interested in VB because it supposed to be easy to work with without learning a lot of complicated code. I want to design a web browser in VB 2008 or VB 2010 and instead of it just being a shell for Internet Exploerer, I want to use Webkit as its engine.
Is this possible? Otherwise, if I made a browser with VB what would it use.. IE's engine?.. and it would not really be a web browser but Only a shell for IE.. isn't this correct?I want a standalone app that I can distribute.
Also, whats the difference between the free VB express and the paid for Full versions of VB?
public class CategoryRepository: RepositoryBase<Category>, ICategoryRepository { public CategoryRepository(IDatabaseFactory databaseFactory) : base(databaseFactory)
[Code]...
Does anyone has an idea what i should change to let it work and let my UserRepository use the methods in RepositoryBase while implementing the IUserRepository?
I want to make a webbrowser, but only have it show one specific thing and not the whole page. The thing I want it to show and only show is in about the middle. How would I frame the page, and put it on the webbrowser?
I've read jmcilhinney's code bank submission on retrieving and saving database data and have been using this a lot.
What i would like to know now is how/if i should be using the built in VS method of databinding with bindingsource, bindingnavigator and dataset controls etc for anything?
What can i do better with this method and what are the limitations?
Also, i'm using a function that reads an ini file to set the path in the connection string, can i still do this using the data binding method?
I've read a fair bit on using databases with VB but the above is still a bit confusing to me.
im trying somethign strange with the datarepeater, perhaps im overcomplicating it, but currently i have a database filled with names and numerical values in the first column of the datarepeater is the textbox for the name, however the rest of the row is simply a series of rectangular shapes where the backcolor is set to red. for each of the values in the database there is suppose to be a mathematical check where the result of the check will determine the color of the box of that values respective row.so as an easy example imagine a single row in the database is as such
I am working with a vb program, but there is something strange on one of my .vb code pagewhen i put the "dot" afther the object name its dont show the methods availables for this objectbut on other vb code pages i can see it. but in this one no.for exmaplethis is a piece of code: Dim sb As New StringBuilder()
I am not sure how clear my question is by the title, but I am trying to make Class methods instead of Instance methods in Visual Basic that way I don't have to waste memory and code creating temporary objects to execute methods that don't need instance variables.
I am not sure if you can do that in VB but I know you can in Objective-C by using either a "+" or "-" sign in front of the method declaration. And in C++ (at least I think, I can't remember) you put the static keyword or const keyword in front of the function.How would I do this in VB if it is possible? Or should I just make a separate set of functions that are not members of a class?
I've got grid data and I want to allow the user to filter it.I'm curious what controls or methods you all have used successfully to ask the user for this type of information.I see EXCEL allows you to click a header - ask for a filter - and get arrows in the heading to allow you to see a DISTINCT list with CHECK BOXES.Google Docs spreadsheet does almost the exact same thing.
Is there a way to disable the default members and methods inherited from the base class?
I made some classes in which elements like "Equals" and "ReferenceEquals" are confusing or I don't want them to show, or I have other methods providing similar functionality with different names and I don't want to override and use the default name.
I really need to get this autologin script working with Webkit 0.5 in Visual Basic: It is intended to run on [URL] Somehow it doesn't seem to work as I cannot
[Code]...
Any solutions? It worked quite similar with the usual Webbrowser, hence I hoped one of you might be able to edit the code or even create a new one!
I'm trying to use the WebKit-component ([URL]) in VB with the help of Visual Studio 2008. This is running without problems, except for two following two issues:
1. Hints/Tooltips are not shown (e.g. as there usually will appear one if you stay with the mouse over the Google-logo)
2. If there's a popup-window, I don't know how to get the new desired URL.
I've been looking around for a better WebBrowser object, because Internet Explorer won't load half of the pages I need it to. I've found a Firefox OCX control, however I can't figure out how to use it correctly. Is there any way I can embed a Chrome, Opera, or FireFox object in my program instead of using the default Internet Explorer?
Im trying to make a web browser in VB 2010 well i tried the simpleWebBrowser1.Navigate(ToolStripTextBox1.Text)For the search button but it doesent go anywhere but the name of that form in a random search engine everytime how would i code this with Back Forward and refresh button als
I am trying to trap HTTP Response Codes returned from a web server when errors are encountered such as the 404 error - page not found.From what I have been able to find out on the net, I need to use the NavigateError event status codes.However, I cannot find any examples of how to do this that work with Visual Basic 2010.
I have the problem that alot of people have when using a webbrowser control, where it will no release memory...How do i communicate with IE window that is already open outside of my app?
I have the HTML like below in a webbrowsercontrol, and im trying to get all the email address out of it, so anything with a @ in it.
<head</head> <body> Here is some test testing@myspace.com here is more text email@email.com. </body>
There could be tables etc in the html, but it shouldnt matter. i was wondering if there is a way to check if there is an @ if there is get all text to right and left until space, or any letter or number...?
I had this but wanted to see if there is a better way.I have a problem with the below also, it dosent seem to bring back anything even though i know there are emails on the page