Computer Science Canada

Launch A Program

Author:  sport [ Sun Mar 21, 2004 1:34 pm ]
Post subject:  Launch A Program

I'm trying to learn VB on my own, and I was just wondering if someone could tell how could I run an application from VB. For example make an exe program lunch, not read the file, run the file.

Author:  Tony [ Sun Mar 21, 2004 2:16 pm ]
Post subject: 


I used to write programs to send messages over the school's network like

Shell("net send " & sendTo & " " & message)

where sendTo and message are string variables

Author:  sport [ Sun Mar 21, 2004 4:41 pm ]
Post subject: 

Thanks for the help.

Author:  Acid [ Wed Mar 24, 2004 7:39 pm ]
Post subject: 

tony wrote:
I used to write programs to send messages over the school's network

Man, I wish I knew enough to be able to do that

Author:  SuperGenius [ Sun Oct 24, 2004 4:01 pm ]
Post subject: 

do you mean like the messages that you get when you use up too much space that say "From admin to smithbob on server xyz, you're using up too much space"

Author:  Andy [ Tue Oct 26, 2004 6:22 pm ]
Post subject: 

have u ppl never used netsend?? man u're missing out

Author:  BioHazardousWaste [ Fri Oct 29, 2004 2:52 pm ]
Post subject: 

lol, our network admin was actually smart enough to disable netsend.... thats about it besides regedit. Anyways, does anybody know how to run a program that a file is associated with? For example if I want to open C:\test.txt, visual basic should open the associated program (notepad) and then have it open the file (test.txt) in that program(notepad). I tried shell, and it gave me an error, i'm assuming it's because the file was not an .exe