User Name
Remember Me?
Password
Home
Register
Calendar
Today's Posts
FAQ
Free Publications
Search
Xtreme Visual Basic Talk
>
Legacy Visual Basic (VB 4/5/6)
>
General
> tab string character
Thread Tools
Display Modes
#
1
03-01-2004, 06:04 AM
jagdipa
Freshman
Join Date: Feb 2004
Location: Manchester, UK
Posts: 36
tab string character
Is there a tab string character?
i.e. I want something like
"date: " & TAB & "3/3/23" & vbNewLine & _
"time: " & TAB & "4:34"
Jagdip
__________________
In an insane world, the only sane choice is the insane one.
jagdipa
View Public Profile
Find all posts by jagdipa
#
2
03-01-2004, 06:07 AM
Peperl
Senior Contributor
Join Date: Apr 2003
Location: Cartagena, Spain
Posts: 1,371
I think TAB Ascii code is the number nine. Try to declare it as a constant
Code:
Public const MyTAB as string = CHR$(9)
and try
__________________
Pri Oh Persia
Peperl
View Public Profile
Visit Peperl's homepage!
Find all posts by Peperl
#
3
03-01-2004, 06:14 AM
John
Bit Flipper
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
The better way is to use the built in constant vbTab.
These can be found by looking in the object browser or by typing keycodeconstants followed by a "." which will bring up the whole list.
__________________
Subclassing
|
Magnetic Forms
|
Operator Overloading (VB2K5)
|
QuickSnip.NET
"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
John
View Public Profile
Find all posts by John
#
4
03-01-2004, 06:43 AM
Dave124
Restricted
Join Date: Feb 2004
Posts: 52
a good way to see what keys what in ascii is to use msgbox.
for example
msgbox (vbkeyspace)
this would display 32 in the msgbox which is the ascii for it.
another example
msgbox (vbkeyup)
this would dsiplay 38 in the msgbox.
using msgbox is a good way of getting tons of info thing's.
experiment!
Dave124
View Public Profile
Find all posts by Dave124
#
5
03-01-2004, 06:51 AM
John
Bit Flipper
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Not as good as the immediate window would be.
Ctrl+G
Print asc(vbkeytab)
57
__________________
Subclassing
|
Magnetic Forms
|
Operator Overloading (VB2K5)
|
QuickSnip.NET
"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
John
View Public Profile
Find all posts by John
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Off
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Announcements
Visual Basic .NET (2002/2003/2005/2008, including Express editions)
.NET Knowledge Base
Tutors' Corner
Code Library
ASP.Net
.NET Communications
.NET Game Programming
Managed DirectX
.NET Office Automation
.NET File I/O and Registry
.NET Database and Reporting
.NET Interface and Graphics
.NET Installation / Documentation
.NET General
Xtreme .NET Talk
Legacy Visual Basic (VB 4/5/6)
Knowledge Base
Tutors' Corner
Code Library
Communications
Game Programming
DirectX
VBA / Office Integration
Excel
Word, PowerPoint, Outlook, and Other Office Products
API
File I/O and Registry
Database and Reporting
Interface and Graphics
Installation / Documentation
General
Other Languages
Web Programming
Miscellaneous Languages
General Discussion
Tech Discussions
Random Thoughts
Forum Questions / Concerns / Comments
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem loading data
paidelr
File I/O and Registry
5
02-29-2004
08:29 PM
Deleting a file in dat question ?
murphys
General
5
11-06-2002
08:34 PM
Shareware Registry Protection Technigue
karachi999
General
2
01-21-2002
02:40 PM
Loop to format file
kingesk
General
2
09-10-2000
05:01 PM
File format problem
kingesk
General
1
09-08-2000
04:52 PM
Advertisement:
Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Home
Register
Calendar
Today's Posts
FAQ
Archive
© Xtremevbtalk.com 2001 - 2013. All Rights Reserved.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
-->