79 Answered Questions for the topic Visual Basic
How to declare a constant in BASIC?
Unfortunately, I’m having trouble figuring out how to do some things, because Google is clogged with tutorials of “programming basics” and Visual Basic.
So I have to ask: in old-skool BASIC, I...
more
07/11/19
Are Fortran, Cobol, Basic and Forth high level programming languages?
Are Fortran, Cobol, Basic and Forth high level programming languages?
And if not, what where the first high level programming languages?
Which were the first object-oriented languages?
07/11/19
Casio Calculator Programming?
I am planning to buy a CASIO FX-9860GII for school, but I am really interested in programming for it.
I looked everywhere on the internet but could not find anything.
Is it possible to create...
more
07/11/19
How Could One Write This Basic PAINT Statement in JavaScript?
In BASIC there is a command called PAINT that looks like this:
PAINT (column, row), color, color-stop
It takes x/y coordinates as a starting place and begins filling it and the surrounding...
more
Syntax error message with GW-BASIC?
I am currently stymied by the following error message from GW-BASIC:
Syntax error in 450
Ok
450 STEP=0
Here is the context:
400 ON KEY(13) GOSUB 590 ' right arrow key makes direction...
more
Visual Basic
06/22/19
Luis has $75,jim has $18,and marie has $12 more than luis and jim together.find the total amount of money the three have together
mary has $34, jane has $15, and helen has $27 more than mary and jane together.find the total amount of money the three girls have together
How to use .c file in Visual Basic project?
I need to convert C code to Visual Basic.
I have **.c** and **.h** files.
Are there some ways to use my **.c** file in Visual Basic Application? Application was created in Visual Basic 6.0.
Now...
more
Trying to fill textbox value with today's date only on visual basics?
I am trying to fill a textbox value with the current date and I do not want the user to be able to change the date. I want to use a textbox and not a datepicker. I would like the form to load with...
more
Visual Basic
05/29/19
Please kindly help for this problem
In a mathematics test, there were 20 problems.Each correct answer earned 5 points, and 2 points were deducted for each incorrect answer. No points were added or deducted if a problem was not...
more
05/03/19
Can I use the OR operator or AND operator between two if..else statement?
Can/Should I use the OR operator or AND operator between two if..else statement?
If [statement]
end if
OR
If [statement]
end if
Mixing numbered and unnumbered lines in VB6?
I remember being a kid in the 1980s and numbering lines in BASIC because you had to. Nowadays, as far as I knew, numbered lines were 100% out; no one wants or needs to use them. That's until I...
more
05/03/19
BASIC, how lines were stored in memory?
As I understand BASIC had line numbers because at the time you had to use a line editor to input your program. It allowed you to do something like this:
20 END
10 PRINT "HELLO WORLD"
This...
more
05/03/19
Why do we use "End If" statement?
Why do we write `END IF` statement in this program? Without writing it, we can easily get our result. Is there any example through which you can explain me the use of `END IF` statement?
I have...
more
05/03/19
Click a button and the button would be unable to be clicked until reset?
Is there a way I could be able to click a Button and then once the button has been clicked it would be Unable to be clicked until the Form reset itself.
Say... Enabling Auto-Save and can't be...
more
05/03/19
What does DIM stand for in Visual Basic and BASIC?
What does DIM stand for in Visual Basic?
04/24/19
What am I doing wrong so confused?
I am making a program in BASIC and I know its really bad and I can fix a lot of things but all I was wondering is why I am getting errors for ending subs?
' simple calculator
declare sub...
more
04/24/19
Assigning CSV values to structure?
I'm creating what should be a simple program but I'm having some difficulty assigning values from a file into a structure and it's variables. Visual Basic.
Structure:
Public Structure Teams
...
more
Visual Basic
04/24/19
How to use Randomize to choose from array list?
I am trying to randomly generate, based off of the 3 array list, 3 different positions the picturebox (stickimage) will appear.
My code so far:
Private Sub GenerateObjects()
Dim...
more
Visual Basic
04/24/19
What are the difference between a BASIC GOTO and GOSUB statement?
What are the difference between a GOTO and a GOSUB statements in BASIC programming language?
Why does "Conversion from string "ID" to type integer is not valid" show on my program?
I'm trying to display my database on textboxes, with the help of the combobox for the ID. However, whenever I run my program, the error **"Conversion from string "ID" to type integer is not...
more
Visual Basic
04/23/19
Change output of textbox based on button clicked Visual Basic?
Hi everyone I am new to visual basic and am making my first program from a book I just bought and would like to change the output of my textbox based on the button I click for example if button1 is...
more
03/18/19
Transform linked images to embedded images?
I have imported a HTML report into word by opening it (open `index.html` in Word) and copy / paste the result as an annex into my Doc.It worked fine, except that all the images (200 of them) are...
more
12/22/16
If Statements (CS) Visual Basic
1.
intX = 129
intY = 200
intCount = 1
If (intX > 120 And intY < 30) Then
intCount = intCount + 1
Else
intCount = -1
End If
intCount = ?????
Can someone please explain this...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.