PDA

View Full Version : help on visual basic


osmoses-jones
2004-12-07, 10:22 AM
how do you calculate commands e.g. the print command

osmoses-jones
2004-12-07, 06:16 PM
No one know

BlueCube
2004-12-07, 07:38 PM
I don't have a clue what you're trying to do here, and I don't think anyone else does either

---

You seem to asking to calculate the method itself, like this:

picWhat.("pr" + "int") "what"

But that makes absolutely no sense at all, so you'll have to actually say what you need help on.

Draco2003
2004-12-07, 07:42 PM
Dunno if visual basic is the same as Darkbasic (it might be the company's name for it) but i believe you just put

PRINT "text/message"

and your done

or if you want to input something its

INPUT "text/message";(variable)

the variable is used to store whatever was input by the user.
If this ain't it, then i dunno what you mean by "calculate".

BlueCube
2004-12-07, 07:50 PM
You might be on the right track with that translation of the problem - though VB is more like:

picRandomOutputBox.print "Number -> " + strVariable

Maybe a calculation WITHIN the command?

picRandomOutputBox.print "Number -> " + CStr(intA + intB)

But that would probably be better to calculate beforehand anyway..

----

I really miss DarkBasic, actually. It was really easy to learn since I loved QBASIC so much, though they have an odd if/then structure if I remember correctly...

Hades-Knight
2004-12-24, 08:35 PM
Ask mantralord.....he is a god when it comes to programming

nddwind
2004-12-26, 09:37 PM
I know a lot about visual basic but I'm not sure exactly what you mean.

Also if you wanted to add text to like a textbox it would be

txtName.text = "String" or just number