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 ArticleVS 2012 Having trouble grabbing certain text from string
------------------------------Main Problem------------------------------ So I am making a game and within the game is a pretend terminal and lots of programs. A certain goal I wish to achieve to allow...
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 Article[RESOLVED] Problem with selecting a menustrip using ALT key
Hello, I have this form with a menustrip, a combobox and a textbox. I want to use the combination of keys ALT+D in both the combobox and the textbox to insert a special character when typing. This...
View ArticleConvert TImeSpan (DB Datatype) to VB.Net format
Hi! I have a table that has StartTime and EndTime columns both assigned with Time datatype (im not sure if this is right) I am pulling the records up to be displayed in a ListView Control in my VB.NET...
View ArticleAddhandler for custon event with MouseEventArgs
I managed to to raise an event from a UserControl which is then handled in the MainForm (See this Thread) I've done In UserControl: Declaring Public Event by Code: Public Event PublicEventUserGram As...
View ArticleHow can I skip the alert sound when hitting enter
I have a modal form with a text box and a enter button. After typing in the textbox, I hit enter and there is a alert or bell sound and it does not press the button. My tab order is textbox then button...
View ArticleVS 2012 Setting up StreamReader to use 3 different text files
I need advice setting up StreamReader. This is for a game. 3 radio buttons are supposed to control access to 3 text files (difficulty level). I can get it to work for one. I declare (Dim) a new...
View ArticleVS 2012 How can i get this accomplished
Hey Experts, im trying to make a simple proxy checker, where it checks if a proxy is alive or not... im doing this in as follows i dowload my Proxylist into a listview called ProxyList then i use a...
View ArticleVS 2010 SendKeys brings up Cannot Hook Error
Hello. I've been tralling the interwebs for a few hours now, and there is this one piece of code that is preventing my entire application from being complete! Essentially, my application waits until a...
View Article