Oddworld Forums > Zulag Two > Off-Topic Discussion


 
Thread Tools
 
  #31  
12-21-2007, 09:32 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

the same as running a command from cmd.exe/batch file
Reply With Quote
  #32  
12-21-2007, 10:59 AM
abe is now!'s Avatar
abe is now!
Mafia, Pizza & Mandolino
 
: Jan 2007
: Italy
: 2,825
Blog Entries: 25
Rep Power: 21
abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)

Can I make an error with a function, for example to choose "yes or not" after a request?
Reply With Quote
  #33  
12-21-2007, 12:51 PM
Hobo's Avatar
Hobo
Honorary Smod
Chronically Awesome
 
: Feb 2003
: London
: 6,741
Blog Entries: 1
Rep Power: 29
Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)Hobo  (3434)

What would you want each option to do?
Reply With Quote
  #34  
12-21-2007, 07:11 PM
Strike Witch's Avatar
Strike Witch
Laserguns!
 
: Jan 2003
: 気持ちপ
: 4,311
Blog Entries: 246
Rep Power: 28
Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)Strike Witch  (4900)

Well, I'd want them to protect my Vic Viper.
__________________
Ah, we are high school boys,
the miserable high school boys.
If we were girls, we could get popular by doing anything:
rock band, jazz band,
karate, kendo, mahjong, cyborg, synchronized swimming...
On the other hand, high school boys are
useless outside battle and sports anime.
But they're recklessly trying to make a slice-of-life anime about us.
Ah, we are high school boys,
the miserable high school boys.

Reply With Quote
  #35  
12-22-2007, 01:30 PM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)

:
Can I make an error with a function, for example to choose "yes or not" after a request?

if ( msgbox( "sure you would like to exit?", vbyesno ) = vbyes ) then
end
else
form1.visible = true

I just love Microsoft Visual Basic - - My dad taught me it
Reply With Quote
  #36  
12-30-2007, 10:45 AM
Fuzzle King's Avatar
Fuzzle King
Rabid Fuzzle
 
: Aug 2007
: Surrey,United Kingdom
: 532
Rep Power: 18
Fuzzle King  (68)

this is brilliant.i love it!
Reply With Quote
  #37  
01-02-2008, 07:51 AM
abe is now!'s Avatar
abe is now!
Mafia, Pizza & Mandolino
 
: Jan 2007
: Italy
: 2,825
Blog Entries: 25
Rep Power: 21
abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)

:
if ( msgbox( "sure you would like to exit?", vbyesno ) = vbyes ) then
end
else
form1.visible = true

I just love Microsoft Visual Basic - - My dad taught me it
It doesn't work. I created an error with this but it does not work, it is identical to the first one with more informations about the problem.
Reply With Quote
  #38  
01-02-2008, 11:18 AM
moxco's Avatar
moxco
Zappfly
 
: Dec 2006
: Earth
: 2,794
Blog Entries: 26
Rep Power: 21
moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)moxco  (2195)

Is it possible to custimose the "OK" to an other word.
Reply With Quote
  #39  
01-02-2008, 08:01 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
It doesn't work. I created an error with this but it does not work, it is identical to the first one with more informations about the problem.
cause vb6 and vbs are not the same thing, the form1.should would cause a run time error cause there are no forms in vbs, try

if msgbox( "Pick one", vbyesno ) = vbyes then
msgbox "You selected yes"
else
msgbox "You selected no"
end if

edit: To change the OK button you'd need visual basic6 to create a custom "form"
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #40  
01-03-2008, 04:23 AM
abe is now!'s Avatar
abe is now!
Mafia, Pizza & Mandolino
 
: Jan 2007
: Italy
: 2,825
Blog Entries: 25
Rep Power: 21
abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)

So, I can't do it without a program. It doesn't work in this way. But isn't the problem another? Must I add to the name when I save .vbs or other words?
Reply With Quote
  #41  
01-03-2008, 08:42 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

just whack it into notepad and save it as whatever.vbs, make sure the type of files is "all files"
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #42  
01-04-2008, 09:40 AM
abe is now!'s Avatar
abe is now!
Mafia, Pizza & Mandolino
 
: Jan 2007
: Italy
: 2,825
Blog Entries: 25
Rep Power: 21
abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)

Thank you. But it does not work. Must I use notepad or other programs?
Reply With Quote
  #43  
01-04-2008, 11:52 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

*any* text editor, what happens when you open the vbs? Prob don't got scripting enabled
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #44  
01-04-2008, 12:06 PM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)

Vb is so powerful you could just program a malicous script :O

Even worse with DOS - With dos you can program a nasty script... Delete system32..

Last edited by ParamiteSurprise; 01-04-2008 at 12:09 PM..
Reply With Quote
  #45  
01-05-2008, 08:12 AM
abe is now!'s Avatar
abe is now!
Mafia, Pizza & Mandolino
 
: Jan 2007
: Italy
: 2,825
Blog Entries: 25
Rep Power: 21
abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)abe is now!  (2392)

:
*any* text editor, what happens when you open the vbs? Prob don't got scripting enabled
When I open it, it's like the first kind of error. And I can't chose "yes" or "no".
Reply With Quote
  #46  
01-07-2008, 08:14 AM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)
List

Heres a nice list

[Instead of typing 16, type this]

Vbcritical - Cross
Vbinformation - Information
Vbexclamation - Exclamation mark
vbquestion - Question bubble
vbabortretryignore - Abort, Retry and ignore
vbokcancel - Ok and cancel
vbokonly - Ok only
vbyesno - Yes, No
vbyesnocancel - Yes, No and cancel
vbretrycancel - Retry and cancel
vbmsgboxhelpbutton - help button included
vbmsgboxright - Shifted to right

and the rest are vbdefaultbutton1, vbdefaultbutton2, etc

Have fun!
Reply With Quote
  #47  
01-07-2008, 11:18 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
Vb is so powerful you could just program a malicous script :O

Even worse with DOS - With dos you can program a nasty script... Delete system32..
yes thats why most people dont have the vb6 runtimes installed so no vb apps run at all.. and why you should turn scripting off

and you can't delete system32 on windows nt+ because there is no deltree anymore, you could do del *.* but windows file protection will replace the files as they're being deleted, and the really really important files are always in use anyway

of course you could just delete the stuff from the root of C: (if you wanna delete a file with vb the function is "kill "C:/somefile.ext", carful though
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #48  
01-07-2008, 03:20 PM
scrab queen's Avatar
scrab queen
Howler Punk
 
: Jan 2006
: OK
: 320
Blog Entries: 114
Rep Power: 20
scrab queen  (85)

Oh, man, this is some really funny stuff. I was such a nerd, I couldn't help but to set up this error for my dad:

lol = msgbox("HOW ARE YOU NERD?! ALL YOUR MEMEORY ARE BELONG TO US! YOUR HARD DRIVE IS ON THE WAY TO DESTRUCTION! YOU HAVE NO CHANCE TO REBOOT MAKE YOUR TIME!! hahahah!",16,"Error")


Also:

lol = msgbox("OMG! She's pregnant with a retarded alien, most likely to kill you when it's older baby that will use it's fecal matter as blunt projectiles! What will you do?!",vbabortretryignore,"Error")

I just couldn't help myself!!
Reply With Quote
  #49  
01-07-2008, 03:39 PM
E'l Scrabino's Avatar
E'l Scrabino
Sewer Sleg
 
: May 2006
: Melbourne, Australia.
: 726
Blog Entries: 2
Rep Power: 20
E'l Scrabino  (94)

It doesn't work for me. I type in the stuff but when i re-open it, it just shows the text i put in. No error message for me
__________________
Statikk HDM is t3h pantz
The Albino Scrab, the ancient RPG.

Reply With Quote
  #50  
01-07-2008, 04:02 PM
scrab queen's Avatar
scrab queen
Howler Punk
 
: Jan 2006
: OK
: 320
Blog Entries: 114
Rep Power: 20
scrab queen  (85)

How about a clearer version?:

Open up the 'Notepad' program, and copy this into it:

lol = msgbox(" insert text",16,"Error")


Where it says 'insert text' is where you put your message.
Then save it under any title you want, but be sure to put '.vbs' after it.
When it's saved, double click on the file's icon (It should look like a blue unraveled piece of paper, like a scroll), and then it should pop up.
Reply With Quote
  #51  
01-07-2008, 05:56 PM
skillyaslig's Avatar
skillyaslig
Outlaw Cutter
 
: Mar 2007
: Beneath the sink
: 1,157
Blog Entries: 6
Rep Power: 19
skillyaslig  (124)skillyaslig  (124)

bwhaha, it worked! Man, I sux, but I still worked XD Haha, thats weird
__________________
As God is my rabbit, I'll never be hungry again.







Reply With Quote
  #52  
01-07-2008, 06:57 PM
E'l Scrabino's Avatar
E'l Scrabino
Sewer Sleg
 
: May 2006
: Melbourne, Australia.
: 726
Blog Entries: 2
Rep Power: 20
E'l Scrabino  (94)

:
How about a clearer version?:

Open up the 'Notepad' program, and copy this into it:

lol = msgbox(" insert text",16,"Error")


Where it says 'insert text' is where you put your message.
Then save it under any title you want, but be sure to put '.vbs' after it.
When it's saved, double click on the file's icon (It should look like a blue unraveled piece of paper, like a scroll), and then it should pop up.
That's what i've been doing. Nothing pops up.
__________________
Statikk HDM is t3h pantz
The Albino Scrab, the ancient RPG.

Reply With Quote
  #53  
01-08-2008, 10:47 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
That's what i've been doing. Nothing pops up.
Tsk tsk, you're saving it as blah.vbs.txt not blah.vbs
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #54  
01-10-2008, 07:36 AM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)

Lol, even the guy that started this thread said to save it as VBS -___-
Reply With Quote
  #55  
01-10-2008, 10:09 AM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 20
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

yeah but people dont pay attention until its been said 99999999 times
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #56  
01-31-2008, 09:28 PM
Rupture Farms's Avatar
Rupture Farms
Thudslug
 
: Oct 2007
: Somewhere you'll never be.
: 192
Blog Entries: 8
Rep Power: 18
Rupture Farms  (10)


__________________

Reply With Quote
  #57  
02-02-2008, 03:28 PM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)
newsise

Click image for larger version

Name:	Battery.bmp
Views:	76
Size:	116.3 
ID:	8888



Click image for larger version

Name:	punch.bmp
Views:	89
Size:	83.6 
ID:	8889



I've done this not with VB6 but with VB6 instead (more abilities)
Reply With Quote
  #58  
02-04-2008, 01:50 PM
Fuzzle Guy's Avatar
Fuzzle Guy
Outlaw Flamer
 
: Apr 2003
: Greater London, UK
: 2,634
Blog Entries: 17
Rep Power: 25
Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)

Some of these are brilliant!
__________________

Reply With Quote
  #59  
02-07-2008, 01:16 PM
ParamiteSurprise's Avatar
ParamiteSurprise
Thudslug
 
: May 2007
: United Krapdom, West Midlands
: 163
Rep Power: 0
ParamiteSurprise  (12)
Vista msgbox l(

Click image for larger version

Name:	OMFGZORS!!!! (IF U SEE THIS NAME THEN POST).jpg
Views:	83
Size:	7.2 
ID:	8915


Mehehe....

but vbs isn't all about crummy messageboxes, theres alot more to it, to get my VB info, i got Visual Basic 6 For dummies - Cause im a dummy
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 








 
 
- Oddworld Forums - -