Ok i am on my webbrowsers favourites, and im looking to use a listbox so the user can have as many as they want. Also i want the listbox to show the Site Title, like so it just shows the title of that website. But then i wouldn't know how to navigate to that website if just the title is in the listbox How would i do this?
am trying to add a favourites option to my web browser, but I am unsure how to add them.I'm just looking for a simple option which will display the favourites on a single button click, and then be able to add the current page to the favourites menu.
Although there is topics and questions already on this but its not helping me at all I need an idea on what to change as I am new to this and just adding the code then editing it to suit my document is not helping I just cant implement this.
I'm creating a web browser but i can't seem to add the Favorites function to it.can someone help me, like tell me what Functions i can use or any suggestions?I don't have any code though, because i am clueless about how to add the favorites function to the my web browser.
I am developing with a friend a webbrowser just for fun and to learn more..But we are stuck on how to do favourites and historial.Because we had put tabcontrol and when i tried saving the page on a stringcollection called favlist it gives me an error.It is the same with history. What i want to do it save favourites and history on a text file so then when i open the browser again you have them there.
What i want: i want to know where i can find a noob friendly detailed guide on how to add a history box/favourites box and an options windows. so the user browsing my webbrowser can check the history just like IE's or Firefox's. same with the favourites.. and with the options they can clear all their cookies and history, aswell as changing the homepage i know the fucntion to change the homepage via a menu strip so yehh..
I have this code which lets you choose a class, then enter 3 names into the roster listbox...the problem im having is with the btn grades...im using a nested loop but cant figure out how to get all 3 names into 3 seperate inputbox prompts to input the grades...right now its only showing the first name entered...how do you get the code to loop and go through whatever amount of students entered in the roster listbox into the grade listbox.
I have a list of all the fonts on a users system under a Font menu item. I would like to be able to use the scroll wheel to be able to scroll through these items like you can with a combo box.
I have written a dynamic database driven, object oriented website with an administration frontend etc etc. I would like to add a feature where customers can save items as "favourites", without having to create an account and login, to come back to them later, but I dont know how exactly to go about doing this... I see three options:
Log favourites based on IP address and then change these to be logged against an account if the customer then creates an account;
Force customers to create an account to be able to use this functionality;
Log favourites based on IP address but give users the option to save their favourites under a name they specify.
The problem with option 1 is that I dont know much about IP addresses - my Dad thinks they are unique, but I know people have had problems with systems like this.
The problem with 1 and 2 is that accounts have not been opened up to customers yet - only administrators can log in at the moment. It should be easy to alter this (no more than a morning or afternoons work) but I would also have to implement usergroups too.
The problem with option 3 is that if user A saves a favourites list called "My Favourites", and then user B tries to save a list under this name and it is refused, user B will then be able to access the list saved by user A because they now know it already exists. A solution to this is to password protect lists, but to go to all this effort I may as well implement option 2.
If I set a ListBox.Height = ListBox.PreferredHeight when the control is hidden and IntegralHeight = True, then set it visible:
a) Actual Height reduces by typically 3-5 pixels after redraw (but not 1 pixel per item).
b) PreferredHeight does not not appear to give the correct integral of item heights.
Is there a way to make ListBox calculate the correct integral Height before the ListBox is made visible, so it can be correctly pre-positioned from bottom edge?
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
I'm trying to implement a way for users to specify which files they want to backup by typing in file extension into a listbox.But I'm a but iffy on how exactly to do this.
This is what I have so far:
Dim n as integer Dim extensions(n) as string for each fe as string in listbox1.items
Here I want to add *.txt or *.docx from the listbox as a string in the array above whilst incrementing n by 1 for each new string next How exactly do I do this?
Db 1 & Db 2, On the form is a list box which is data bound to DB1 'MainName', and a bunch of textboxs which populate from the record selected from db1 in the listbox.
In DB1 the 1st column is called 'MainName' and in DB2 the 1st column is also called 'MainName'
Now what im looking at is when the item in the listbox is changed, the record in the second database which has the same String in the 'MainName' column is also selected.
The route to take that i can see is having both databases added to the project , and have the listbox apply a filter on database 2 based on the selected item. (im using 2 separate databases as when my project updates the DB1 also updates, but DB2 contains the users own strings so i don't want that to update as it would lose all there saved strings.I dont know much about lookup tables etc but they must all be in the same database right? so that rules them out, due to the update issue.)
I have the code which gets HTML code and puts it in a richtextbox with seperate lines.I would like the richtextbox to delete each line which doesnt contain a url in it.
I have this form and I want when any of the RadioButtons is checked, then some items appear in the list.
in the group box1 : I used this code Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged, RadioButton2.CheckedChanged
Each time when a user clicks on an item in the listbox (items are integers only), this item should be added in an array . Array should be sorted at each click from smallest to largest values and must be shown somehow .
How to compare two listbox? I have two listbox one has a list of names and the other has a list of names too but I need compare the listbox1 with the listbox2 for delete from listbox2 all items existing in the listbox1 for example:
HTML listbox1 Listbox2 Listbox2 after press a button joel joel John
I have a custom control type that inherits from ListBox. It is a list box where you can assign a ContextMenuStrip to each individual item, stored in a Dictionary object. To do this I also had to create a helper class that inherits from ObjectCollection to make sure the owning ListBox gets notified whenever an item is added or removed from the collection, so the corresponding entry in the dictionary can be removed.Now I have a problem that baffles me: Whenever I right click an entry in my EnhancedListBox, I get the following error on the line that has been marked red in the "InvalidArgument=Value of '1' is not valid for 'SelectedIndex'."(Of course, the value can be 0 or 2 as well, depending on which item in the list I click.)
I have checked, and there are 3 objects in the collection, in fact the current value of SelectedIndex was 1. The quotes are also misleading, the value I am trying to assign if of type integer, as is the current value of SelectedIndex.
I've being trying to work out a problem i've being having for a while now and i'm not sure if i'm over complicating it.When a form loads, it uses a for next loop to load an array of peoples names into a list box. However i want to extract the persons ID once their name has being clicked. I can make this work by using another for next loop until the selected name matches the an array number. However it fails if there are two people of the same name.Is there a command or piece of code that can extract the row number of the item selected?
I am the kind of person who learns as they need it and this time I cannot figure this one out :SI have a listbox with n amount of items.I am trying to add n amount of items to an array and then save the entire array to a textfile.How should I go about this? I have Google'd around and code I have adapted or straight out copy-pasted (sad I know) is throwing all kinds of errors :S
I have two listboxes and one text box. lbxData is already populated with strings (ex; car, boat, motorcycle) I have a text box (tbxRandom) for user input to choose the number of random strings they want generated and placed in the other listbox (lbxRandom) when clicking btnRandom. Here is what I have but keep getting an error. mylist.addrange(str) "value cannot be null. parameter name: collection
Dim Str As String 'Declare a List Dim myList As New List(Of String)
The app I'm creating is about ordering pizza, this is a screen shot of the form.At the moment, I have only set up customer 1, when i enter in all the information and click total at the bottom it is supposed to then display all of this information in the listbox at the bottom. But when I click total nothing happens I have looked at this over and over and can not understand why. Here is the code that I am using.
Quote: The Sopranos (Season 5) Boxset (DVD) Braveheart (DVD) MTV The City - Complete Second Season 2 (DVD)
I have a TextBox where a user enters a search:
The Sopranos Season 5 Since ListBox.FindString() wants a String and not a RegEx, I can't use a Regular Expression. (right?) So, if TextBox.Text = "The Sopranos Season 5", then ListBox.FindString(TextBox.Text) will not find my entry with "The Sopranos (Season 5) Boxset (DVD)".
I am trying to make a host so that as clients connect they will appear in a list box. I can get multiple connections going, but the list box remains empty.