User Control Panel
Advertisements

HELP US, HELP YOU!

vb newb hero

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Visual Basic
View unanswered posts
Author Message
gunner
Newbie
Newbie


Joined: 01 Jul 2004
Posts: 39

Reputation: 23.3Reputation: 23.3

PostPosted: Sun Feb 20, 2005 7:13 pm    Post subject: Reply with quote

like perl has \n ,
how can i do that in vb?
Bigmouth sayd:
Code:
\*lazy*\n

but that didnt worked... :blink:
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sun Feb 20, 2005 7:31 pm    Post subject: Reply with quote

http://juicystudio.com/tutorial/vb/

http://www.vbtutor.net/vbtutor.html

_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
gunner
Newbie
Newbie


Joined: 01 Jul 2004
Posts: 39

Reputation: 23.3Reputation: 23.3

PostPosted: Sun Feb 20, 2005 7:39 pm    Post subject: Reply with quote

can you just like tell me?
Back to top
..::BIGmouth( )::..
God Like
God Like


Joined: 05 Feb 2004
Posts: 801

Reputation: 44.1Reputation: 44.1Reputation: 44.1Reputation: 44.1

PostPosted: Sun Feb 20, 2005 8:00 pm    Post subject: Reply with quote

Ugh, hes giving you tutorials for VB and hopefully, you'd read one some day.
And why not trying to do research on new lines? - I'm pretty sure it is "\*lazy*\n" -_-
Back to top
gunner
Newbie
Newbie


Joined: 01 Jul 2004
Posts: 39

Reputation: 23.3Reputation: 23.3

PostPosted: Sun Feb 20, 2005 8:12 pm    Post subject: Reply with quote

Code:
********************************@gmail.com says:<br />Menu: Under Construction! Please come back later.\*lazy*\n lol

i must be doing it wrong?
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sun Feb 20, 2005 9:14 pm    Post subject: Reply with quote

Yes.

Make sure they are treated the same way as a variable, not a string. In Perl, the difference is:

QUOTE(wrong)
print 'hello\*lazy*\n';

QUOTE(right)
print "hello\*lazy*\n";

_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Sun Feb 20, 2005 9:22 pm    Post subject: Reply with quote

It's
Code:
vbNewLine


Bigmouth..didn't you used to use VB? Razz
Back to top
..::BIGmouth( )::..
God Like
God Like


Joined: 05 Feb 2004
Posts: 801

Reputation: 44.1Reputation: 44.1Reputation: 44.1Reputation: 44.1

PostPosted: Sun Feb 20, 2005 9:32 pm    Post subject: Reply with quote

Razz Nope, I havn't. well I have for like 2 days. But I'm going to start using it one day.
Back to top
gunner
Newbie
Newbie


Joined: 01 Jul 2004
Posts: 39

Reputation: 23.3Reputation: 23.3

PostPosted: Mon Feb 21, 2005 7:29 am    Post subject: Reply with quote

lol i dont understand where to input

Code:
vbNewLine


i try'd this:
Code:
SendMSG "Menu: Under Construction! Please come back later.vbNewLine test"


:ph34r:
Back to top
JTW
God Like
God Like


Joined: 07 Mar 2004
Posts: 579
Location: Maidstone
Reputation: 67.1
votes: 4

PostPosted: Mon Feb 21, 2005 7:51 am    Post subject: Reply with quote

I have a strong feeling it is

Code:
SendMSG "Menu: Under Construction! Please come back later. " & vbNewLine & "test"
Well at least thats how I rember it being when iused to do VB (it was only for 2 or 3 weeks so its probly wrong Razz)
_________________
"Help us, Help you" - BotDepot
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Mon Feb 21, 2005 1:17 pm    Post subject: Reply with quote

\*lazy*\n in perl is the same as vbCrLf in vb.
Back to top
gunner
Newbie
Newbie


Joined: 01 Jul 2004
Posts: 39

Reputation: 23.3Reputation: 23.3

PostPosted: Mon Feb 21, 2005 2:37 pm    Post subject: Reply with quote

Ah tnx JTW -_- ^_^
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Visual Basic All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group