Loading .txt file into multiple ListBoxes
Hi there, Just a quick question...having some trouble getting my current assignment started. I need to be able to load a .txt file into multiple List Boxes on startup of the application. The text file...
View Articleprogrammatically select one element in html-page
How programmatically select one element in html-page in WebBrowser, for example Table with id="Table1", and copy to clipboard?
View ArticleVB.net 10 - Modules
I am trying to create a module that I can use on multiple forms to carry out the same action. I want it to close the current form it is on (no matter which one it is on) and open the specified form....
View ArticleVS 2010 Listview not displaying all data
I seem to have a strange problem where Listview is not displaying all of the data from the db. It displays the first field but everything after that is blank. I think it has something to do with NULL...
View ArticleVS 2012 Drag and Drop Images from web browser into a PictureBox?
Hi guys, I'm making an app that needs to drag images from the browser into a picturebox inside my app, from which I will later save the image when needed. The problem is that, with the code I've got,...
View ArticleVS 2013 Finding Position of object in list
Hi, I am trying to get the value of a position of an object in a list, however I cant seem to find a way to do so. Any ideas? Thanks
View Article[RESOLVED] I would like to make the area of a polygon selectable instead of...
I have the following code. The problem is, if i move the mouse in the picturebox, only the exact points of the polygon execute the me.text code. Otherwise, the contains method does not recognize the...
View ArticleVS 2010 Spelling program with linking back to the database. (VB.NET 2010 &...
First of all, I just want to say that I'm new to VB and if some of those things are easy to do and I'm asking for help with them, then now you know why. Anyway, my task is to create a program that will...
View ArticleI need to add lines that connect these rectangles
Here is the code that I'm using. The problem is, that every way that I tried to add lines between the rectangles, it always connected from each point to the mouse position. That's not what I want. What...
View ArticleGraphical Analog gauge?
I am looking to design a custom analog gauge and need a bit of help since I am quite a bit rusty in VB since the last time I used VB was when VB6 was new :) To make things as simple as possible, I...
View ArticleVS 2013 For each loop with every item in list box?
Hey guys, So I have a simple listbox with an add and remove button. After the listbox is populated(maximum of 6 items), I need to do something with each item, but can't seem to get there. Code:...
View ArticleHow can I work a collection based off of more than 1 member of a class?
I have a question! I have a custom class - Code: Public Class Location Private m_Id As Integer Private m_Name As String Public Property Id As Integer Get Return m_Id...
View ArticleVS 2012 how to repeat routine
I have a small piece of code I've been working on that should do the following: Upon entering certain information, it will display a visual representation of a column layout like this This works fine...
View ArticleVS 2010 Only show certain items on LV based on category text in file?
hi i want to show only LV items if the category text in file matches nscombobox1.text..... here's my code: Code: Imports System, System.Xml, System.Collections.Generic Imports System.ComponentModel,...
View ArticleVS 2013 Easy way to mask a menu strip to other forms?
I have multiple form controls in the menu strip that do things such as keep a secondary form open and hide the main form, clear all inputs on the main form and set focus, etc. What is an easy way to...
View ArticleVS 2012 Error calling modules
I am getting a weird error when attempting to call various modules in my application. I desperatly need help with this as I am unsure how to fix it. The following is the code I am using to call these...
View ArticleHow to copy data from a DataGridView to Excel Spreadsheet?
I have an application that requires the User to be able to select and copy data in a DataGridView over to Excel. Does anyone have any coding examples on this using VB.Net? Thanks!
View ArticleVS 2012 Transparent picturebox in front of textbox??
Hi Again How do I get a transparent picturebox to show up in front of some textboxes?? I've tried to bring it in front in the designer and there it shows in front of the textboxes but when I run the...
View Article[RESOLVED] Problem with a Combo Loop in VB 2010 Express
I have a Windows form with 50 ComboBox controls. Is there any way to put the code below in a loop so I don't have to have 50 such Subs? Problem Code: Private Sub ComboLine1_Keypress(sender As...
View ArticleVending Machine
I'm creating a vending machine App to vend chips. I've used 3 labels, 2 buttons, and 2 text boxes however I can't get the app to work correctly or do anything for that matter. I don't see where I've...
View Article