|
-
Feb 28th, 2006, 11:46 AM
#4
Thread Starter
Junior Member
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:
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
Close()
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:
Text"Var1"Part"Var2" = Green
I should have put:
VB Code:
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:
Dim Var1 as short
Dim Var2 as short
'If the code was like this
Text"Var1"Part"Var2".text = Green
'And the vars were set like this
Var1 = 2
Var2 = 5
'then in effect, it would look like this:
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|