Adblock breaks this site

A Couple questions i have.

Discussion in 'Programming General' started by Visual Basic Matt, Oct 12, 2008.

  1. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    A Couple questions i have.

    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. :)
     
  2. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    A Couple questions i have.

    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")
     
  3. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    A Couple questions i have.

    I wanted to use text boxes so the user will be able to edit the code. :p
     
  4. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    A Couple questions i have.

    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]
     
  5. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    A Couple questions i have.

    I'll just study this a little bit. Anything from here, ill give you credit. :p
     
  6. exapto

    exapto #1 OSRS Magic Training Service
    $50 USD Donor New

    Joined:
    Oct 10, 2008
    Posts:
    645
    Referrals:
    0
    Sythe Gold:
    123
    Vouch Thread:
    Click Here
    Discord Unique ID:
    716746285151027321
    Discord Username:
    exapto#2360
    Homosex
    A Couple questions i have.

    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 =\
     
  7. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    A Couple questions i have.

    "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.
     
  8. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    A Couple questions i have.

    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.
     
  9. Visual Basic Matt

    Visual Basic Matt Apprentice

    Joined:
    Jan 29, 2008
    Posts:
    647
    Referrals:
    2
    Sythe Gold:
    56
    Discord Unique ID:
    223154494878253056
    A Couple questions i have.

    Thank you, Topic Solved.
     
< Make your own auto talker | Java scripting >


 
 
Adblock breaks this site