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

How to make a new control and move in runtime.

Hello, I am a recent convert from VB6 to 2010VB express. In .net, how would I add a control (lets say a panel), and move it down the screen based on the ticks of a timer. In VB6 I would use a timer...

View Article


VS 2010 updating new values.

Here is the state problem : 6. Display the average GPA for all the students, the average GPA for the male students and the average GPA for the female students. Your application must update these three...

View Article


Help Object reference not set to an instance of an object.

/ using vb.net 2010 /using m.s access database i already finish my program and the program works perfectly by using a single table in Microsoft Access. but when i tried to add a new table and set a...

View Article

VS 2010 Creating New Objects

I have a Class called Test. In this class, I have a List of Type Class1. When I create a New Test Object, I am wanting to setup the List of Type Class1. Should this be done in the New method of class...

View Article

Dimension and Input a 3x3 Array

How do you dimension and input a 3x3 array? This is my wrong attempt: Dim arr As Double(3,3) arr={1, 2, 3;4,5,6;7,8,9;} Please give other ways or methods of doing the same thing! Also ways of printing...

View Article


VS 2005 How To Make The Progress Bar A Shot-Power Bar?

I'd like to know how to make the Progress Bar a shot-power gauge/bar. In example, if the Minimum = 0, and Maximum = 100, when the Progress Bar's value comes to 100, it will decrease again to 0, the...

View Article

VS 2010 Trouble with dates

Hello, I am having some troubles with dates. I have a piece of code that queries and fills a datagridview. On the form I have a textbox where I fill in the date of birth in dutch format (dd-mm-yyyy)....

View Article

VS 2008 Datagridview combo column error

Hi Guys, I have a datagridview control in my form. It has a few combo box type columns. What I want is to dynamically populate them ? No databases. I am getting error "DataGridViewComboBoxCell value is...

View Article


VS 2010 DataGridView Row Deletion

Hello. What code do i use to delete a row in a data grid view? I also have one more question regarding datagridview, however ill start a new thread to that. Thanks

View Article


VS 2010 Add items from a listbox to a DataGridView column

Hello hope all is well, re my last message How do i add items from a listbox into a datagridview column box? Ive used this code, but it doesntadd the items in:...

View Article

How to Ignore a Value after comma using the IF Statement? A Bit Hard to Explain!

Hello, here the last couple of days I am trying to get an exact "User Profile" pages from a website with Star Counts and Names, etc... I am right now working on a profile and the Star Count HTML Source...

View Article

SendKeys help

Im trying to make a spambot but the game requires that you press a button on your keyboard to open up the chat menu, which is the divide "/" I made this code but it doesn't work. I want to make it so...

View Article

VS 2005 Rnd() Function - Only Randomizes 1 Number - Help

I have a game that is called a Penalty Shootout, I'm having trouble of Randomizing the Goalkeeper's Position after the shot, this is my code, Dim Goalkeeper As Integer Randomize() Goalkeeper =...

View Article


VS 2008 ListView.Items Not Refreshing

Well, I have been working in a Folder Explorer using (Treeview,Listview w/ imageList And Menustrip.Items). So far it has been working all the code a put, but when I select a new type of file (ex: .jpg)...

View Article

VS 2010 Phone Number Format Need Code for Errors

I have written a function that will take a phone number and format it to (xxx)-xxx-xxxx. Everything works however I need it to only run if the number is 10 digits long and as long as there are no...

View Article


Image may be NSFW.
Clik here to view.

VS 2005 Moving A PictureBox To A Certain Location - Help

Attachment 97525 The PictureBox I'm talking about is the Ball, And There Is A Horizontal PowerPack Line Moving Down From The Top of the Goal, and A Vertical PowerPack Line Moving To The Right From The...

View Article

Try...Catch Exception for connectionstrings

I am using a simple try..catch on my connectionstring in ado sql. I wonder if there is an exception better adapted to find an error to see if the connection is open or closed.

View Article


How to calculate without using a calculation or a function within an event...

Hi everyone, I am writing a code for an order status problem. The user enters the number of spools ordered within a text box, and also has a check box to display a Rush Delivery option. The price per...

View Article

VS 2010 Login + Register Php mysql

Hey, Guys i need help im making a program its going to be a Netflix type application i wanna add a Login + Register php i don't wanna do hwid But the fields i have on the register is Name: Email:...

View Article

VS 2010 Adding several new listbox.items.add("statement")s by clicking on...

I have looked at the 8th edition of "An Introduction to Programming Using Visual Basic 2010" by David L. Schneider. My desired result: I was wanting to use my button1.click to sequentially add a series...

View Article
Browsing all 27329 articles
Browse latest View live


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