Thread: Visual Output.

Results 1 to 4 of 4
  1. #1
    Renamon Toast Crunch's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    458
    My Mood
    Lurking

    Visual Output.

    Im trying to figure out how to make a visual output (i dont know what to call it) so like instead of a progress bar you see a text box that is populated with each step the program is doing and the completion rate. So like when you click on more info when your installing something and it shows you the output, line by line. What is this called?
    There is no right and wrong. There's only fun and boring.
    Click HERE to join the official MPGH TS3 Server


    Currently learning: Lua, C++ and BASH scripting.



     

    I made a group, Join Linux Users if your on Linux!

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Define a string variable and modify it after certain code being executed?



  3. #3
    Renamon Toast Crunch's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    458
    My Mood
    Lurking
    Quote Originally Posted by Blubb1337 View Post
    Define a string variable and modify it after certain code being executed?
    No, like in this video when he clicks on show Details. It visually shows you what is happening. At the 1 Min 47 Second Mark.
    Last edited by Renamon Toast Crunch; 06-10-2013 at 05:28 PM.
    There is no right and wrong. There's only fun and boring.
    Click HERE to join the official MPGH TS3 Server


    Currently learning: Lua, C++ and BASH scripting.



     

    I made a group, Join Linux Users if your on Linux!

  4. #4
    swiftyspiffy's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    3
    Alright, I see what you want to achieve. So given you already have a textbox (or richtextbox, probably better as far as formatting goes), you will probably want to write a method you can call whenever you want to append the rich/textbox.

    To do this, a simple method could be:

    Code:
    Private Sub Report(ByVal data As String)
            RichTextBox1.AppendText(String.Format("{0}{1}", vbNewLine, data))
    End Sub
    Then whenever you want to add a line to your "visual output", or log, simply call the function with the appropriate data as the parameter or argument, like so:

    Code:
    Report("Loading has begun, 0%")

  5. The Following User Says Thank You to swiftyspiffy For This Useful Post:

    Renamon Toast Crunch (06-10-2013)

Similar Threads

  1. Writing your own Visual Basics (v5 or v6) Trainer
    By TheRedEye in forum Game Hacking Tutorials
    Replies: 29
    Last Post: 12-09-2013, 09:56 AM
  2. problem with the visual basic tut
    By Elliwood in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-30-2007, 12:45 AM
  3. [Help] Atom API with Visual Basic 6.0 or .NET
    By Bull3t in forum Visual Basic Programming
    Replies: 5
    Last Post: 07-23-2006, 09:21 AM
  4. Packets & Visual Basic
    By BadBob in forum Hack Requests
    Replies: 5
    Last Post: 07-20-2006, 09:28 PM