473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

VBS Constants

I realize that this isn't a VBS newsgroup, but it's the only Microsoft
newsgroup I read regularly so I hope that you'll be gentle with me.

Where is the constant "vbCrLf" defined? My computer has been searching
its hard drive for about three hours, now, looking for a definition and
it still hasn't found anything.

The reason I'd like to find vbCrLf is because I wonder what else is in
there. Is there a vbTab? vbBackspace?

Thanks,

-- Rick
Jul 19 '05 #1
3 5412
I use vbTab all the time.
http://msdn.microsoft.com/library/en...sconString.asp

"Guinness Mann" <GM***@dublin.com> wrote in message
news:MP************************@news.newsguy.com.. .
I realize that this isn't a VBS newsgroup, but it's the only Microsoft
newsgroup I read regularly so I hope that you'll be gentle with me.

Where is the constant "vbCrLf" defined? My computer has been searching
its hard drive for about three hours, now, looking for a definition and
it still hasn't found anything.

The reason I'd like to find vbCrLf is because I wonder what else is in
there. Is there a vbTab? vbBackspace?

Thanks,

-- Rick

Jul 19 '05 #2
"Guinness Mann" wrote:

I realize that this isn't a VBS newsgroup, but it's the only Microsoft
newsgroup I read regularly so I hope that you'll be gentle with me.

Where is the constant "vbCrLf" defined? My computer has been searching
its hard drive for about three hours, now, looking for a definition and
it still hasn't found anything.

The reason I'd like to find vbCrLf is because I wonder what else is in
there. Is there a vbTab? vbBackspace?


Combine these two:
http://msdn.microsoft.com/library/en...sconString.asp
http://msdn.microsoft.com/library/en...BSFeatures.asp

FWIW, the only VBScript feature I have never been able to find in the
scripting reference is the escape sequence for quotes: """". And combined
with the second link above, you should be able to say the same about VBA.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #3
You can download the entire Windows Script Documentation (intrinsic objects,
VBScript, JScript, WScript) from here, in HTML Help format:
http://www.microsoft.com/downloads/d...displaylang=en

If you switch to index view, and then scroll down to vb... you'll see all
the constants listed.

Cheers
Ken

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Guinness Mann" <GM***@dublin.com> wrote in message
news:MP************************@news.newsguy.com.. .
: I realize that this isn't a VBS newsgroup, but it's the only Microsoft
: newsgroup I read regularly so I hope that you'll be gentle with me.
:
: Where is the constant "vbCrLf" defined? My computer has been searching
: its hard drive for about three hours, now, looking for a definition and
: it still hasn't found anything.
:
: The reason I'd like to find vbCrLf is because I wonder what else is in
: there. Is there a vbTab? vbBackspace?
:
: Thanks,
:
: -- Rick
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Raymond Hettinger | last post by:
Comments are invited on the following proposed PEP. Raymond Hettinger ------------------------------------------------------- PEP: 329
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
13
by: Andrew | last post by:
I use conditional compiler constants, set through the VBA IDE in Tools, <projectname> Properties, that I refer to throughout my code to control which code is used during development, and which...
4
by: Amadelle | last post by:
Hi all and thanks again in advance, What is the best way of defining global constants in a C# application? (A windows application with no windows forms - basically a set of classes). Would it be...
8
by: Marty | last post by:
Hi, I'm new to C#, I used to code in VB.NET. Where is the best place to declare all my constants and global objects in my C# project to have them accessible globally? I have an event logger...
34
by: newsposter0123 | last post by:
The code block below initialized a r/w variable (usually .bss) to the value of pi. One, of many, problem is any linked compilation unit may change the global variable. Adjusting // rodata const...
6
by: PC | last post by:
Gentlesofts, Forgive me. I'm an abject newbie in your world, using VB 2005 with the dot-Net wonderfulness. So, I'm writing a wonderful class or two to interface with a solemnly ancient...
17
by: Neil Cerutti | last post by:
The Glk API (which I'm implementing in native Python code) defines 120 or so constants that users must use. The constants already have fairly long names, e.g., gestalt_Version, evtype_Timer,...
2
by: Leslie Sanford | last post by:
I want to define a set of floating point constants using templates insteand of macros. I'd like to determine whether these constants are floats or doubles at compile time. In my header file, I have...
54
by: shuisheng | last post by:
Dear All, I am always confused in using constants in multiple files. For global constants, I got some clues from http://msdn.microsoft.com/en-us/library/0d45ty2d(VS.80).aspx So in header...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.