Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27474 articles
Browse latest View live

listbox posting "argument exception..."

This may seem like a simple or dum questions but in my list box, I want it to always display a couple messages. Under those, I want it to diplay results from a datasource. My code is: Dim invquery =...

View Article


DateTimePicker BackColor help?

I'm trying to make a form that changes the background color of controls when they have focus to help users identify where they are on the form. I'd like to use a DatePicker for date fields. But found...

View Article


VS 2010 [RESOLVED] how to access form properties beneath other components?

Hi folks. I have a form, with a panel that fills the form, and in the panel is a picturebox that fills the panel. In order for me to access the form's properties, I have to undock the picturebox, then...

View Article

Image may be NSFW.
Clik here to view.

'Public' seems not to work from a module.

Quote: Originally Posted by Niya You know you can simply use File.AppendAllText to append text to an already existing file. Thanks Niya, With any luck 'Visual Basic .NET for complete beginners' from...

View Article

VS 2005 VB.net More than one upload at one time

Hi, I'm trying to upload inventory data from .csv file (10 columns). Some users are complaining that records are uploaded without complete data update. But, when I ask them to re-upload after deleting...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Anyone want a challenge?

In VB 2010 i have an extensive project im working on and cannot seem to figure it out anymore. I have the interface ready but can't get the buttons to sort correctly. What i'm trying to get now is the...

View Article

Remove 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 Article

Transferring 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 Article


Context 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 Article


What 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 Article

need 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 Article

VS 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 Article

Still 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 Article


Shared 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 Article

VS 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 Article


How 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 Article

VS 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 Article


VS 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

VS 2010 Ready to give up :( ! Radio button...

Simple question, I hope: How do I "click" a radio button from a currently open browser, not WebBrowser1? Sample Code: Code: Dim btnClick As HtmlElement =...

View Article

VS 2008 does ACR120U work in win 8?

I use acr120u 64x Bit driver. but when i read SN card i only get 1 SN(exp: 8f 0 0 0), if i skip to get ID card when login i got error -3030. what the solution for this? Thanks

View Article
Browsing all 27474 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>