• Log in or sign up for an account here: https://www.sythe.org/login

A Couple questions i have.

Visual Basic Matt

Apprentice
Joined
Jan 29, 2008
Sythe Gold
56
Messages
647
Location
Evurar
Ive been working on this macro type program and have a few questions...

First of all, I was wondering how i would be able to additem to a textbox's line with a Vertical axis. So I was wondering how i would be able to add an item to a new line of code from a different form like this.
Code:
frmmain.text1.additem frmadd.text1.text

The other question was code lines. It will show the number of the line of code on the left of the text. How would that be done?

Thank you very much. :)
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
If I were you I'd store the lists into global variables, such as strings. It's always faulty when you start to depend on interface values to become important data. As for the vertical stuff, it's pretty straight-forward:

List1.Additem ("B")
List1.Additem ("L")
List1.Additem ("U")
List1.Additem ("P")
List1.Additem ("I")
List1.Additem ("G")
 
If I were you I'd store the lists into global variables, such as strings. It's always faulty when you start to depend on interface values to become important data. As for the vertical stuff, it's pretty straight-forward:

List1.Additem ("B")
List1.Additem ("L")
List1.Additem ("U")
List1.Additem ("P")
List1.Additem ("I")
List1.Additem ("G")

I wanted to use text boxes so the user will be able to edit the code. :p
 
Take a look at this old thing. Made by myself and a few other ages ago when I was still learning how to program VB6.

[download]http://jazz.cruels.net/~~~Crap/Private/Source/VB6/VBVOS.zip[/download]
 
Homosex
So, what you're trying to do is basically, let the user edit the source of the currently running program??? I'm not understanding this thread! HELP!....lol =\
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
So, what you're trying to do is basically, let the user edit the source of the currently running program??? I'm not understanding this thread! HELP!....lol =\

"Programming for 3 years" but can't understand a simple question.
He wants to add stuff into a textbox vertically, so that the user can edit it easily.
 
"Programming for 3 years" but can't understand a simple question.
He wants to add stuff into a textbox vertically, so that the user can edit it easily.

Considering most people here consider HTML a programming language, and that making fancy text using <b> and <blink> makes them a programmer...


Anyway, 'add stuff vertically' isn't really the best description I've heard. So I can understand some confusion. I had to read it several times to fully understand the question because of the language/grammar used, so don't get too picky.



@exapto
A programming fad ages ago on these forums (and its affiliates) was to make a scriptable macro program, similar to AutoIT or SCAR. VBMatt is wanting to learn a few things to do with making one.
 
Runescape Gamblingrunescape gambling
Back
Top