English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

As this is a homework, so anyone who know the answer to my question, mind tell asap, thanks a lotsa!!

2007-04-21 16:48:03 · 4 answers · asked by Imaginarist... 1 in Computers & Internet Programming & Design

4 answers

You declare variables in Visual Basic using Dim and setting a type:

Dim myString As String
Dim someInt As Int16
Dim yourConn As New SqlConnection("connection string")

You can optionally assign a value at declaration:

Dim theFloat As Double = 19.95

I have no idea what you mean by "is there any button to press in the function." Generally speaking, a button's OnClick event is handled by a subroutine.

2007-04-21 17:42:47 · answer #1 · answered by Anonymous · 0 0

Are you SURE you're in the class or reading the textbook?

This is the most basic of all stuff and if you don't know what that means either the teacher is incompetent, or, you're skipping class.

In any case, declaring a variable in BASIC is almost always DIM

But declaring it in the wrong place will cause you problems.

And we can't help you if you haven't been keeping up in class. As programming assumes you actually understand what we're talking about. Knowing what buttons to push won't help you.

2007-04-21 18:00:04 · answer #2 · answered by Kasey C 7 · 0 0

most VB you can declair with a DIM statement, don't know about 2005, i'm VB4, it should work on versions above...


to the comments above...

have you been reading these questions? most of them are from last minuet homework sheets, of clueless people who don't even know what their major is about! it's getting kinda sad... at the end of all the question I poke at , that are obviously from somebody, whose textbook is still in the plastic, i work this in...

DO YOUR HOMEWORK!

2007-04-21 18:39:18 · answer #3 · answered by shamus_jack 3 · 0 0

check with your teacher.

2007-04-21 17:32:02 · answer #4 · answered by Richard H 7 · 0 3

fedest.com, questions and answers