Can't Get The Tabcontrol Working With Webkit?
Aug 31, 2010i have a problem i can't get the tabcontrol working with webkit i want webkit because it's faster.
View 1 Repliesi have a problem i can't get the tabcontrol working with webkit i want webkit because it's faster.
View 1 RepliesI'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 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 am not sure whether it is possible or not? need suggestion.I want to display filenames from 2 different folders into 2 different DataGridview controls that are placed in 2 tab pages of TabControl1. Here is the code that I have tried. By running this code, I can able to show the filenames from a folder onto DataGridView1 in Tabpage1 but not in DataGridView2 of tabpage2.
[Code]...
I fixed it, I the Event Handler got deleted somehow and that was causing the problem.
View 4 Repliesi'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.
[Code]...
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?
I can't seem to be able to find the editing functions for WebKit.NET (Cut/Copy/Paste)
Any of you know what we need for the code ?
A simple WebKitBrowser1.Navigate(localfilehere) doesn't work for some reason.
I tried adding "file://" to the URL but that didn't work either.
This seems ridiculous but is this functionality really not present?
I'm having trouble making an instance of the WebKit browser use a different IP. Is there a simple method that I'm missing?
View 12 RepliesI'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'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.
View 5 RepliesI'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.
[Code]...
I found on msdn samples and modified (add Thread.GetDomaind.UnhandledException)
<SecurityPermission(SecurityAction.Demand, Flags:=SecurityPermissionFlag.ControlAppDomain)> _
Public Sub Main()
' Add the event handler for handling UI thread exceptions to the event.[code].....
It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:
(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.
(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.
(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]
If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.
I'm working on a web browser with tabbed browsing, however..When a new tab is created, it creates a web browser in it - but I want a function called when the browser is finished loading. I can't create a private sub inside a function, So I am not sure what I should do.
My Code:
Function addtab()
Dim myTabPage As New TabPage()
Dim theweb As New WebBrowser
[code]....
I get an error when I try to add a tabpage to my tabcontrol.
View 6 Repliesi would like to add icons/images to my tab control tabs, kind of like a webrowser has the icons in the tabs. i know i need a image list, which i have added. i also added two images, 1.png and 2.png.. the rest, i'm lost.. couldn't find anything decent on the internet..so much work to do and so many choices to choose from...
View 2 RepliesI have a tab control with several pages. Within a page I have a panel. When I drag and drop a database to the panel the datagrid view is placed on the panel, but the bindingnavigator is placed outside the tabcontrol. Running the application shows only the bindingnavigator, which seems to have blocked the tabcontrol. If I cut and paste the bindingnavigator to the panel, and running the application shows the page with the bindingnavigator at the top and the datagrid below. However, the bindingnavigator no longer allows me to add and save entries to the database. I made sure all the properties were the same before and after i cut and pasted the binding navigator.As a test, I removed the tabcontrol, dragged and dropped the database to the empty form, and everything worked.
View 3 RepliesI was working with TabControl on a form.I wish to restrict the selection of the tabs on the form...For example, The user will start with the 0 index Tab selected by default.As he selects an option from that tab pane n confirms his selection, The next tab gets selected. I could develop a code for this like this tabcontrol1.selectedindex = 1 'Or 2 or 3 according to the need But Now I find that at runtime I can switch back to some other previous tabs or some forward tabs.... Which I do not want. I simply want the tabs to be activate in a flow...
View 5 Repliesi am using vb2008 express edition and i was just wondering if it was possible to put the tabs in the titlebar of your form like in google chrome?
View 6 RepliesAre there anyone know how to select a tab in tabcontrol using API?
View 2 RepliesI've Got an Tabbed advanced Webbrowser wich i want to release soon..But, I am just running against one problem.I want to create a Button wich popups a little form or messagebox with textfill oppertunity where an user can put the adress of the page he want to start with the first Tab.i know how to work with settings etc.just need to know how to make a button giving a textbox and if you click OK tthe filled in website is your new mainpage.
View 9 RepliesHow do I set it up so that when the user tabs through some controls inside a tab page, when they tab out of the last control on that page, it moves the tabControl to the next page, and focuses the first control in that page?
I do not see any tab order for each page...
I create a new custom control.I have a code like this
Public Class TabWritingPad
Public Sub AddPad(ByVal vsText As String)
Dim pnl As Windows.Forms.Panel
[code].....
I'm using Visual Basic 2008 and Microsoft Access 2003 database. And I use databind.I have some questions here: 1. When the Staff or Admin will log in(Form1) then in the Form2 there should be a name place in the top left of the form like "Welcome ([code]...
2. When i register products the product id should auto increment =how?and the masked textbox in the unit price should be 2 decimal place = how?i did'nt use textbox because masked textbox accepts only numbers and another is the quantity for example 1 bag, 2 sacks should be dropdown(combobox)=how? [code]...
3. And in my Inventory part. i will categorized each products so I'm planning to use tabcontrol(1st Tab(medicine) 2nd Tab(Insecticide) 3rd tab(Search). question is if i will drag the datagridview of the products table it should only show products that are in the catrgory of medicine in the 1st tab=how?
I'm trying to add a tabPage to an existing TabControl named TabControl4 I went all over it with the Debugger and everything is fine, but it won't show the TabPage in the TabControl. That's the code, Notice all the information being added to the TabPage is retrieved from a database so don't pay any attention to it, plus the software is in Hebrew so just ignore the Hebrew Strings.
[Code]...
Is there anyway to add custom styles to a tabcontrol? Like the tabs themselves I want to have a different background to the normal one. Just so I can style it to look nice
View 1 RepliesMy UI currently addsabPageGraphs to a TabControlMain dynamically. I now need to present 4 different views of the same data. I want to do something like the following code indicatesbut there is no 'Add()' method for TabPages by which I can add 4 Tabs to an existing TabPage.How would I accomplish this so that under a specific dynamically added TabPage, the User can select any of 4 new TabPages with a different graph to view.
if (!this.tabControlMain.Contains(this.tabPageGraphs))
{
this.tabControlMain.TabPages.Add(this.tabPageGraphs);
[code]....