Quantcast
Channel: VBForums
Browsing all 42437 articles
Browse latest View live
↧

Do loop help

My homework assignment is to: Quote: Create a new application that lets the user enter a number from 1 to 1000. Then generate a list of random values and place these in a listbox. Stop adding numbers...

View Article


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


Excel VB Macro to copy data between tabs of workbooks

Hi, my problem might seem trivial, but its difficult for me as I'm very inexperienced in VB. I was wondering if someone could help me out with code. In excel I'm trying to make a macro that would copy...

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

Image may be NSFW.
Clik here to view.

p2p sharing need help and advice

i wish to make p2p similar to this and need a kick start not done this before and wish to make 1 with your help if u can help me thanks. :) please anyone if u can help me get started that will be great

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


MsOf10 (VBA) Color row if cell contains a number

Hi, Anyone with a code that colors the row where the cell in a specific column contains a number. The cell also contains text. example: Code: A1  - radjesh A2  - radjesh 2 A3  - apple A4  - yummy 5...

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

Update min max date with join

I have 2 tables CONT and CUMU, the two table have the same field named RAPP(txt property) In CONT have a filed named DATA (as date short) In CUMU have a field DAL (FROM in english) and a field AL (TO...

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


SQL command to display data from Access DB

Hey I have some data to display in listview from Access Database with two conditions. 1. For item selected in ListView1 and 2. If the selected item's has more than US $ 1 value in "IncreAmnt" field....

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
Browsing all 42437 articles
Browse latest View live


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