Results 1 to 6 of 6

Thread: [RESOLVED] 3 Very Simple Questions

Threaded View

  1. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 2006
    Posts
    18

    Re: 3 Very Simple Questions

    Do what? Make a shortcut or launch an EXE?
    Launch a program via VB

    '------------------------

    Unless you implement some heavy reflection, You can't do this.
    Ah, OK

    Are you coming from a PHP background?
    No, it is just someting in my mind that you should be able to do

    I don't have any real scripting ecperiance at all (I did some for a PC game mod but that doesn't count as it was very simple language) , and I am doing VB for A level, but I have got annoyed obout how everything they gave me to do is so simple, so I am doing stuff on my own.

    '------------------------

    Is it possible to have a script that is constantly running, as I have only managed to make scripts run on events
    Ok. I um.. Wrote something/tried to explain something wrong

    You can run parts of scripts, when you click a button, when you dobule click, when a dropdown is opened etc (See below for an example)

    VB Code:
    1. Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
    2.         Close()
    3.     End Sub

    But is there any way so that part of the script is running all the time the app (.exe) is open, and you don't have to do any action

    I just haven't found a way to do this yet.

    I hope you understand this better now

    '------------------------

    What does this mean? I'm not familar with it:
    VB Code:
    1. Text"Var1"Part"Var2" = Green
    I should have put:
    VB Code:
    1. Text"Var1"Part"Var2".text = Green
    I wasn't sure of the syntax so I made it up

    What I wanted to do was:
    VB Code:
    1. Dim Var1 as short
    2. Dim Var2 as short
    3.  
    4. 'If the code was like this
    5. Text"Var1"Part"Var2".text = Green
    6.  
    7. 'And the vars were set like this
    8. Var1 = 2
    9. Var2 = 5
    10.  
    11. 'then in effect, it would look like this:
    12. Text2Part5.text = Green


    I hope I made myself clearer this time

    Thank you both for your help
    Yacoby
    Last edited by Yacoby; Feb 28th, 2006 at 11:50 AM.
    Many thanks,
    ~Yacoby

    Using:
    Visual Basic 2005 Express

    If I am not asking a stupid question, there is someting wrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width