Getting information to load from database to listbox
Hello, I am trying to get info to load from one of the tables in database. I got names to load so I know that the database is attached and working . I think I need to create a for each loop but am not...
View ArticleCannot Understand how to do simple multi tread.
Hi, I need some help in solving this problem. I have a form (formMain) with two buttons, 'Start' and 'Stop'. The Start button start some calculations and file I/O. I need the Stop button to react...
View ArticleVS 2008 .NET Web Server Component Needed
Hello, I have been searching for a .net web http server component. I need one I can use in my app rather than a stand alone web server. And I need to be able to upload a file to it. I have only found...
View ArticleGetting an error while running my application
I was working on a visual basic homework and I keep getting this error " this is the assignment I was working on The local Registry of Motor Vehicles office has asked you to Create a software that...
View ArticleVS 2012 Managed Way to Pull Active Window Title To String?
The title says it. I'm looking for a way to pull the active (foreground) window's title to a string, and also detect when it's switched (I can check that on a Timer most likely if the former is...
View ArticleVS 2010 saving user values
Hi this is a little tricky to explain. What I want is a series of labels to be saved ( these labels make up 1 group) But, to make it a little more complex, I want the user to be able to save more than...
View ArticleDate Must Be Between 1900 and 2100
Okay so basically my program is a program that validates dates in this format: DD/MM/YYYY However, I need I guess some sort of statement (my brain is thinking an IF ELSE) to make sure that the user...
View ArticleDumb Time Question
I seem to be having a brain fart. How to I display Military time as standard time? IE 18:30:00 = 6:30 pm
View ArticleRemove Line Break
Hi, can anyone tell me how to remove the extra line break when using this code: Code: Dim str As String = SerialTextBox.Text.Replace(" ", vbCrLf).Replace(vbTab, vbCrLf) For Each s As...
View ArticleTransferring variable data
I want to transfer variable data (particularly integer variables) from one private sub in Form 1 to another private sub in Form 2, but haven't found a way how, any help?
View ArticleContext Menu Strip
Hello Trying to find a fairly quick way of programming a context menu strip. I have 50 buttons on my form. I'd like them all to have the same Context Menu Strip which when chosen, will give an option...
View ArticleWhat is the Best Way to Send Keys to Webbrowser?
I'm currently trying to get my vb.net program to send simulate text entry to fill out forms in the webbrowser. I would normally just set the value of the webbrowser elements, but unfortunately the...
View Articleneed help pls
Hello i need help this is my form1.vb Quote: Imports System.Net.Mail Public Class Form1 Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub...
View ArticleVS 2010 How could I make this code simpler?
Code: Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) If RadioButton1.Checked And RadioButton13.Checked And TextBox2.Text <> Nothing Then...
View ArticleStill stuck with added a record :(
Hi. i'm still stuck with a simple code :( I'm doing a college project..a basic payroll system.VERY basic (as many of you prob know if you have seen my other posts) After messing around with it i have...
View ArticleShared functions
A basic question, but for someone who does not know the answer, it's not that basic. Looking at Object orientated programming a function within a class can be defined as Public Shared function...
View ArticleVS 2008 Sql server update date with wrong value
hello all i have this code code that update insert record in the SQL Server database Code: Dim rs As New SqlCommand("INSERT INTO " & sTable & " (TireID,RFID,Model,[Tire...
View ArticleHow to change the connection string for a mdf file at runtime in VB 2010
I am using VB 2010 Express with a Sql Server 2008 Express local database for the first time (Just learning!) I would like to change the connection string at runtime to point to a different computer on...
View ArticleVS 2010 Enter key in Textbox and Calling another Sub
I almost feel stupid for asking this because it should be something to google, but I wasn't successful. I got pretty comfortable with VBA and I was able to do it there, but I'm writing my first code...
View ArticleVS 2012 getting specific tags/text with HtmlAgilityPack
Hello, i'd like to know how i could extract specific information from websites like Twitch using HtmlAgilityPack. For example lets use this random channel: http://www.twitch.tv/grossie_gore I would...
View Article