Old 26th January 2002, 19:40   #1
eleet-2k2
Forum King
 
eleet-2k2's Avatar
 
Join Date: Aug 2001
Location: Mobil Ave.
Posts: 5,381
Launnching/Starting an EXE...

Can somone please post code for a button (lets say) in Visual Basic 6 (even 5.0 is good) so that when I click the button, an exe will launch. Thanks for the help again. You guys rock

"Welcome to the Island of people who know too much."..."Did you really think balloons would stop him?!"
See what I'm listening too.
eleet-2k2 is offline   Reply With Quote
Old 26th January 2002, 20:07   #2
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
I don't remember off the top of my head, but I think the shell command is what you are looking for

code:

shell "ProgramName CommandLineArguments"



exactly like start>run

|
n_ick2000 is offline   Reply With Quote
Old 26th January 2002, 20:11   #3
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
VB is an ugly language . . .

Blech

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Old 26th January 2002, 20:20   #4
fwgx
Rudolf the Red.
(Forum King)
 
fwgx's Avatar
 
Join Date: Nov 2000
Posts: 9,314
Agreed George

"We think science is interesting and if you disagree, you can fuck off."
fwgx is offline   Reply With Quote
Old 26th January 2002, 20:29   #5
BlurPak2k1
Senior Member
 
Join Date: Jun 2001
Location: well you got to find me first :D
Posts: 201
all i know how to do is make buttons and labels
BlurPak2k1 is offline   Reply With Quote
Old 26th January 2002, 20:29   #6
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
I think I'll stick to my Java, C++, and itty bitty bit of C.

(And Javascript )

I was going to learn Pascal a while back, but I was anything but impressed with it. I found an article a while back written by one of the creators of C. It explained why Pascal could never (and should never) be a real, professional language.

I'd still choose Pascal over VB.

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Old 26th January 2002, 20:32   #7
rm'
Banned
 
rm''s Avatar
 
Join Date: Jul 2000
Posts: 11,361
Quote:
Originally posted by Curi0us_George
VB is an ugly language . . .
But it's quick. I'd much rather be programming in something else, but since I'm never going to do anything professional, I can't justify the time spent learning something else. VB... just seems so programmer friendly and sounds the most like spoken English.
rm' is offline   Reply With Quote
Old 26th January 2002, 20:36   #8
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
Quote:
Originally posted by Radioactive Man
But it's quick. I'd much rather be programming in something else, but since I'm never going to do anything professional, I can't justify the time spent learning something else.
Java's the friendliest, quickest-to-learn language I've ever used.

Quote:
VB... just seems so programmer friendly and sounds the most like spoken English.
If you want closer to spoken English: Smalltalk

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Old 26th January 2002, 20:39   #9
rm'
Banned
 
rm''s Avatar
 
Join Date: Jul 2000
Posts: 11,361
Quote:
Originally posted by Curi0us_George

If you want closer to spoken English: Smalltalk
SmallTalk you say? Linkage please.

RE: Java... it's nice (cross platform, I think, is it's strongest point), but I don't like how it's not compiled... that makes it so... messy.
rm' is offline   Reply With Quote
Old 26th January 2002, 20:49   #10
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
Java is compiled. It's just not compiled into bytecode that can run on an x86 machine. (not without an interpretter)

Actually, I aws just looking at some Smalltalk stuff after I said that. I think it looks nasty, too. You can search in Google if you want, but I wouldn't recommend it. They claim to have built Smalltalk to look like a spoken lanugage, but either they are lying or the screwed it really hard. It's about as ugly as VB crossed with Pascal.

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Old 26th January 2002, 20:55   #11
rm'
Banned
 
rm''s Avatar
 
Join Date: Jul 2000
Posts: 11,361
If I ever go beyond what I know now, it'll definitely be towards C++ or Java. More likely Java... C++ looks messy.
rm' is offline   Reply With Quote
Old 26th January 2002, 21:11   #12
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
I am in the process of learning c++. Anyway, what about c#? is that supposed to be better?

|
n_ick2000 is offline   Reply With Quote
Old 26th January 2002, 21:17   #13
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
C# is too proprietary. It's not worth learning, I don't think. At least, not unless you already know a more useful language (C, C++) C# is guaranteed to be a little bit slower than C++ or C. Nothing you can do about that. It's only real advantage that I can see is automatic memory management (which is one of the reasons it will always be slower), but you can run a garbage collector in C++. You can buy them. I think there are even some free ones.

C++ is messier than Java, but it's also extremely powerful. It's arguably more powerful than any other language.

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Old 26th January 2002, 21:21   #14
deathazre
Major Dude
 
Join Date: Oct 2001
Location: behind the wheel of a Cat service truck
Posts: 1,847
Send a message via ICQ to deathazre Send a message via AIM to deathazre
Quote:
Originally posted in the Ace of Angels forums
The same way you supposedly took 3 months of C++ and didn't know cout perhaps?
just found that funny in some odd way
deathazre is offline   Reply With Quote
Old 26th January 2002, 21:49   #15
eleet-2k2
Forum King
 
eleet-2k2's Avatar
 
Join Date: Aug 2001
Location: Mobil Ave.
Posts: 5,381
Quote:
Originally posted by Radioactive Man


SmallTalk you say? Linkage please.

RE: Java... it's nice (cross platform, I think, is it's strongest point), but I don't like how it's not compiled... that makes it so... messy.
I know, I know java but it isnt as GUI friendly as VB and it must be compiled and then interpreted. It cant make exe's ewither.

Link to smalltalk: best I can offer is a link to www.code.box.sk and from there there is a small talk link on the right hand column.

"Welcome to the Island of people who know too much."..."Did you really think balloons would stop him?!"
See what I'm listening too.
eleet-2k2 is offline   Reply With Quote
Old 26th January 2002, 21:59   #16
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
Quote:
Originally posted by 31337-2k2
I know, I know java but it isnt as GUI friendly as VB and it must be compiled and then interpreted. It cant make exe's ewither.
It's not GUI friendly? It has some of the most powerful GUI tools available. It's not Visual, no, but you can get visual development environments for it.

No, Java will never make EXEs unlsess it becomes fully compilable. Actually, there are some companies that have produced full java compilers, but unfortunately, they still require that you have the JRE installed, unless you manage to write a program that uses zero calls to the core classes. On the upside, all this is transparent to the user. they think they are just clicking a normal EXE. The runtime is built into the EXE, so the user never sees it.

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump