Commands executing in wrong order?
For the below code, the program starts copying file in the CopyFiles() Function before it does Label11.Visible = True or Button1.Enabled = False. Anyone know why? I did try putting in a...
View ArticleVS 2010 Help please! Stuck on .ini files
Hello there. Basically i have been coding a program and i've got to a part where now i need to have a windows form that has 11 text boxes, each text box reading a corresponding line from a config.ini...
View ArticleVS 2010 Progress bar for a web browser
Second post for the win ^_^ Hello all! I have a web browser in Visual Basic 2010 Express, and I have tried numerous codes trying to get it to work with my web browser. The web browser i'm using is...
View ArticleVB2010: Calling another sub procedure
Hi guys! The code below actually works but I have a question about if there's another possible way to do this. Code: Imports System.Data.SqlClient Imports Microsoft.Office.Interop Public Class clsPrint...
View ArticleVS 2010 [RESOLVED] Search for a folder path and save it as a variable.
I wrote a program that consolidates my departments everyday work duties. I work for a duplication company that burns digital media for libraries. Right now the program I made is "hard coded" to display...
View ArticleVS 2012 Receive serial and save to text file with time+date
I have a PICAXE sending serial text and I need to save the data received in a new line on a text file with the time and date next to it, I know the data can be received because I have seen it showing...
View ArticleSelect specific item from a DataGridViewComboBox for multi selected rows
Ok. I'm having trouble in something that seems simple but got me struggling for several hours. I just need to programmatically assign an index to a DataGridViewComboBox for a set of highlighted rows...
View ArticleVS 2010 Calculating the grand total income for an evening
Hi everyone, sorry this is my first post so I don't really know my way around here... Basically I have been assigned to create a theater booking program, and I need to be able to generate a grand total...
View ArticleToolTip Stutter
I have a program where it would be ideal to have the tooltip show the value under the mouse pointer as it moves around a panel. This value is not going to change often, but it does change. My initial...
View ArticleVS 2010 [RESOLVED] Two simple questions...
1st Q: I have a button made and I want to know how to make it so that when I click it, it opens a new window with text in it. 2nd Q: I have another button (it is a cancel button) and I need to know the...
View ArticleVS 2010 Bubble machine
Hello! I am making a program that when I press the start button on the form, objects start at the bottom of the panel and float up to the top. When the objects reach the top then they are supposed to...
View ArticleI need talented VB users.. HELP
Hello there, basically i want to create a windows form that will have 25 combo boxes on it all representing a different part of a config file that will be changed. The thing is the combobox list has to...
View ArticleVS 2010 [RESOLVED] a tale of two timers
Hi folks. I have a form with a label. I want the form to display a message every 5 seconds, and the message to display for 700ms before closing. So I used timer1 with an interval of 5000ms, and timer2...
View ArticleVS 2012 Online Licensing
I have developed a Visual Basic.net application and have a question about licensing. Is there software on the WWW that does the following: 1. Lets a user click on a link in my application that lets...
View ArticleBlocking Websites Without Using Host File?
I'm currently working on a program which will block the users computer from viewing websites that contain Malware, Spyware, etc. on them. I do have a VBScript code that does overwrite the windows host...
View ArticleDisplay error if listbox empty.
I have a button in my program called 'Submit'. So when i click on this button i want it to display an error message if the listbox is empty. Please Help Me.
View Articlethe write timed out
hey guys i need some help. how to fix "the write timed out" in vb 2010? here is the code: Imports System.IO.Ports Imports System Imports System.Threading Public Class Form2 Private Sub Form2_Load(ByVal...
View ArticleVS 2008 How do i paint a rectangle onto a panel when a button is clicked?
I know how to paint a rectangle i.e. Private Sub Panel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint Dim R As New Rectangle(120, 142, 440,...
View ArticlePlease HELP I have aged in a week trying to figure this out have no slept in...
I have a data file and i would like to search it for the matching zip code entered onto my form and auto fill in the city and state form the same line as the zip code. I can match the zip code but I...
View ArticleVS 2008 "Bind" DataGrid to ComboBox - bound in wrong direction
Hello to everybody! I have a DataGrid - populated by DataSource property - set to a TableBindingSource. (When the form loads all records in the table are displayed) I have a ComboBox - populated by...
View Article