Microsoft
Software
Hardware
Network
Question : About Formatting and Parsing text strings
In the Microsoft section about parsing a text file with multiple formats ...
http://msdn.microsoft.com/
en-us/libr
ary/w30ffa
ys.aspx
... you are asked to create the following text file ...
.....
Err 1001 Cannot access resource.
Err 2014 Resource not found.
Acc 10/03/2009User1 Administrator.
Err 0323 Warning: Invalid access attempt.
Acc 10/03/2009User2 Standard user.
Acc 10/04/2009User2 Standard user.
......................
You are then told to define the 'expected' format of the above text file, and also the format used when an error is reported.
As follows,
Dim stdFormat As Integer() = {5, 10, 11, -1}
Dim errorFormat As Integer() = {5, 5, -1}
..................
But I do not understand what those numbers mean.
For example, what is meant by ... {5, 10, 11, -1}?
Help appreciated.
Thank you
Answer : About Formatting and Parsing text strings
Execute these examples and analyze the behaviour of TextfieldParse with values (5,10,11,-1):
http://www.dr
eamincode.
net/forums
/topic/959
23-
textfie
ldparser/
f
urther examples:
http://www.expert
s-exchange
.com/Progr
amming/Lan
guages/.NE
T/
Q_252058
97.html
Random Solutions
Parent/Child/Child relationships in forms and sub-forms
Outlook Express - Can't Search folders
Why is Kaspersky internet security 2010 blocking
www.apple.com
sql profiler on GP, sql tables that are hit from GP
Digitally signing Access 2003 MDE:breaking certificate with internal modifications of queries?
I need to create a script the copies the newest file from 1 directory to another
Windows Search 4. Prevent Windows Search 4 from cataloguing Internet Explorer's history.
Display particular data in string
windows 2008 Hyper-V
network name of a computer