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

Designing a program to check whether n is prime or not

Hey, i'm trying to create a working algorithm to check a number (n) input into the system. The problem i'm facing is the break and continue function which i need to work to get my flag up and running...

View Article


VS 2010 [Question] How to change listbox item value from textbox !

will i tried many codes , and nothing works Quote: ListBox1.SelectedIndex.ToString(TextBox2.Text) Quote: ListBox1.SelectedValue = (TextBox2.Text) and many many others i don't remember ! so , may i get...

View Article


VS 2010 WebBrowser1 Problem.

Good day. I'm having problem with webBrowser1 in VB win forms application. My problem is when i'm try to open external links inside the VB webBrowser1 IE will pop up in newtab by default. All i want is...

View Article

VS 2008 Avoid Form Goes Blurr or blank while loading

i am having 2 datagridview controls which are gets populated with data from database on form load event during the course the form goes for 1 or 3 seconds blank or blurr & then creates the controls...

View Article

Binary Access Read Write Lock Read Write in vb.net?

Hello, I am looking for Binary File read Write Lock access in vb.net. In VB6 we can lock any file with the following code: Code: Open filename For Binary Access Read Write Lock Read Write As #1 How to...

View Article


How to fix Null error

Value cannot be null. Parameter name: objectType Is the message that I get as soon as I load my application. I have tried to go edit the program but cannot get it to allow me to edit anything. The...

View Article

VS 2010 txtboxes into ActiveCells (Excel)

Hi First time poster here I have a problem cant seem to figure out. I have three text boxes, i need to copy into three active cells excel on a workbook i already have open First problem I cant get it...

View Article

Form Load, Focus on multiple textboxes.

Well I have a formatted some textboxes to accept currency which is; Try 'if theres nothing entered default it to 0.00 If txtTotalGPMA.Text.Length = 0 Then txtTotalGPMA.Text = "$0" 'convert the text to...

View Article


[VB2010] Get the REAL OS datetime format

How to get the datetime format set in the OS control panel for every single user? System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern gets the CURRENT THREAD DateTime...

View Article


School project, URGENT HELP NEEDED!!!

this will be simple for anyone here im sure. making a fake bank website for a school film. need to have a progress bar that fills up whilst saying "transferring X of $8,000,000" and for the bar(full)...

View Article

VS 2012 MainForm instance being erased/misplaced/lost?

On occasion I will be debugging my programs and will run across the following problem. My form will not show because it says I no longer have reference to that object (the form). However, as I look at...

View Article

Create a List property which cannot be changed externally

I'm creating RecentFiles class contains Code:     Private mstrItems As List(Of String)     Public Property Items() As List(Of String)         Get             Return mstrItems         End Get...

View Article

VS 2010 [RESOLVED] Populating textbox , please help

I have multiples textboxes . I want to populate TextBox11 (multiline) with the value of TextBox1,TextBox2,TextBox3,TextBox4,TextBox5,TextBox6,TextBox7,TextBox8,TextBox9 and TextBox10. Each value in a...

View Article


VB.NEt 2010 simple code for which when a textbox gets filled

simple code for which when a textbox gets filled by 1 to 10+ numbers the logic is like, if textbox.text = 1 or 2 or 3 or 4 ( the numbers are the number characters typed ) then ... ex. msgbox("hello")...

View Article

VS 2010 datetimepicker info

I have a form with a button, textbox and a datetimepicker. I want to click on datetimepicker and choose a date, then click on button, then the date should show in the textbox. After I have click on...

View Article


VS 2008 SQL Connection issues with sleep/power saving mode

Hi All, I have the following error occur for some users occasionally, most often it seems when the computer enters sleep mode. (The front end has background threads which periodically check certain...

View Article

VS 2010 Emergency Help

Hello all. This is a first post, I have no idea whether it is in the right place or not, and I am sorry if it is not, but I just need help with a bad error. When I go onto VB, if I load an existing...

View Article


The Controls Went in One by One, But Backwards!!!

Hi, I have a form with many labels, I want to be able to access some of them like in older versions with a control array. My code is: Public structure myInfo Public Position as label End structure...

View Article

VS 2012 problem with btnadd to access 2013

hello iam using visual basic 2012 i want to add into access 2013 DB what the error in the code ?? Code: Private Sub btnadd_Click(sender As Object, e As EventArgs) Handles btnadd.Click         If...

View Article

Why does my program simply hang?

Hey Guys Im trying to write a little DB with a txt file using ; and , as sorting chars. The problem is I get the first guys info but then it freezes and doesnt display anything further it just freezes....

View Article
Browsing all 27372 articles
Browse latest View live


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