Title |
Keywords |
|
HowTo: Detect whether text in a multiline TextBox is wrapped in Visual Basic 6 | TextBox, word wrap, multiline, Visual Basic 6, Visual Basic | |
HowTo: Detect whether text in a multiline TextBox is wrapped in Visual Basic .NET | TextBox, word wrap, multiline, Visual Basic .NET, Visual Basic, VB.NET | |
HowTo: Let the user press Ctrl-A to select all of the text in a TextBox | ctrl-A, control-A, select text | |
HowTo: Let the user press Ctrl-A to select all of the text in a TextBox in VB .NET | ctrl-A, control-A, select text | |
HowTo: Evaluate mathematical expressions using Excel's Evaluate function | replace, character, remove, unwanted | |
HowTo: Replace unwanted characters in a string | replace, character, remove, unwanted | |
HowTo: Replace unwanted characters in a string using Replace | replace, character, remove, unwanted | |
HowTo: See if a string contains only digits or only letters | string, numeric, alpha, digits, letters | |
HowTo: See if a string is an integer | string, integer | |
HowTo: Find a string within a TextBox | find string, find text, find, search, TextBox | |
HowTo: Break code lines at a specified width | strings, code, break code | |
How To: Find the text before, between, and after two target strings | strings, before, between, after, target | |
Title |
Keywords |
|
HowTo: Use regular expressions and LINQ to list the unique words contained in a text file in Visual Basic .NET | files, regular expressions, LINQ, strings, replace, unique words, words, count words, Visual Basic .NET, VB.NET, example, example program, Windows Forms programming | |
HowTo: Parse user-entered values in Visual Basic .NET | parse, parse values, entered text, user-entered text, Visual Basic .NET, VB.NET | |
Tip: Use the Split function easily in Visual Basic .NET | split, Visual Basic .NET | |
HowTo: Evaluate mathematical expressions using code in Visual Basic 2005 | mathematical expression, expression, evaluate, VB.NET | |
HowTo: Determine whether a year is a leap year with Visual Basic 2005 | leap year, year, dates | |
HowTo: Determine whether a year is a leap year with Visual Basic 6 | leap year, year, dates | |
HowTo: Replace unprintable characters with spaces in Visual Basic .NET | character, ASCII, replace, regular expressions, regex, VB.NET | |
HowTo: Extract comments from a Visual Basic 6 file in Visual Basic 6 | extract comments, comments, Visual Basic 6, Attribute, code | |
HowTo: Write functions to determine whether a string starts or ends with a substring in Visual Basic 6 | StartsWith, EndsWith, substring | |
HowTo: Verify that the user entered a date in an InputBox | InputBox, validate, verify, date | |
HowTo: Run a DOS application and capture its output in VB .NET | DOS, stdout, stderr, standard output, standard error, standard out, run, VB.NET | |
Talk: Three Cool Namespaces | regex, regular expression, XML, serialie, serialization, crypto, cryptography, hash, hashing, encrypt, decrypt, encryption, decryption | |
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic 6 | regular expression, regex, regexp, replace | |
HowTo: Use Split to replace characters within parts of a string surrounded by quotes in Visual Basic 6 | replace, Split, regular expression | |
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic .NET | regular expression, regex, regexp, replace, VB .NET | |
HowTo: Write Split and Join functions for VB 5 | Split, Join, VB5 | |
HowTo: Write an InStrRev function for VB 5 | InStrRev, VB5, Visual Basic 5 | |
HowTo: Evaluate mathematical expressions using code in VB .NET | mathematical expression, expression, evaluate, VB.NET | |
HowTo: Determine what FRM, BAS, OCX, and CLS files a project file references | VBP, files | |
HowTo: Evaluate mathematical expressions using the MS Script control | mathematical expression, expression, evaluate, parse, Script control | |
HowTo: Graph a user-entered function by using the MS Script control | graph, equation, scale, user-entered function, mathematical expression, expression, evaluate, parse, Script control | |
HowTo: Graph a user-entered function by parsing the function | graph, equation, scale, user-entered function, parse | |
HowTo: Read all of the values in an INI file | INI file, INI, initialization file | |
HowTo: Separate an RTF file into paragraphs in separate Rich Text Box controls | RTF, rich text, rich text box, RichTextBox, paragraphs | |
HowTo: Split a multiline string into pieces in VB 6 | split, multi-line, multiline, parse | |
HowTo: Find regular expression matches in a string | regular expression, string, parsing, parse, replace, RegExp | |
HowTo: Use regular expressions to replace text in a string | regular expression, string, parsing, parse, replace, RegExp | |
HowTo: Use regular expressions | regular expression, string, parsing, parse | |
HowTo: Use regular expressions to replace text in the lines in a string | regular expression, string, parsing, parse, replace, RegExp | |
HowTo: Find regular expression matches in a string in VB .NET | regular expression, string, parsing, parse | |
HowTo: Use regular expressions to replace text in a string in VB .NET | regular expression, string, parsing, parse, replace | |
HowTo: Use regular expressions in VB .NET | regular expression, string, parsing, parse | |
HowTo: Use regular expressions to replace text in the lines in a string in VB .NET | regular expression, string, parsing, parse, replace | |
HowTo: Double-click to strike a line in a RichTextBox | RichTextBox, RTF, font, strikethrough, strike through | |
HowTo: Replace occurrences of a string in another (like VB6's Replace function) | replace, find | |
HowTo: Validate a credit card number | credit card, Visa, Master Card, American Express, Discover, EnRoute, JCB, Diners Club, Carte Blanche | |
HowTo: Read tokens from a delimited string | token, delimited string, string | |
HowTo: Modify mailto links to reduce spam | spam, mailto, mail, email, link | |
HowTo: See if a date string is valid using regional date settings | date string, validate, validation, regional, international | |
HowTo: Manually import a delimited text file into a database | database, import, delimited file | |
HowTo: Recursively find the last occurrance of a substring without using InStrRev | InStrRev, last occurrance | |
HowTo: Iteratively find the last occurrance of a substring without using InStrRev | InStrRev, last occurrance | |
HowTo: See if a date string is valid | date string, validate, validation | |
HowTo: See if a string contains a minimal piece of another string | substring | |
HowTo: Evaluate mathematical expressions using code | mathematical expression, expression, evaluate | |
Title |
Keywords |
|
HowTo: Make a ransom note style message by drawing text using different fonts for each character in a RichTextBox in Visual Basic 6 | ransom note, text, string, random fonts, random characters, Visual Basic 6, VB 6 | |
HowTo: Make a ransom note style message by drawing text using different fonts for each character in a RichTextBox in Visual Basic .NET | ransom note, text, string, random fonts, random characters, Visual Basic .NET, VB .NET | |
HowTo: Convert strings between Pascal case, camel case, and proper case in Visual Basic 6 | Pascal case, camel case, proper case, Pascal-case, camel-case, proper-case, capitalize, capitalization, Visual Basic 6, VB 6 | |
HowTo: Use a second method to convert strings between Pascal case, camel case, and proper case in Visual Basic .NET | Pascal case, camel case, proper case, Pascal-case, camel-case, proper-case, capitalize, capitalization, Visual Basic .NET, VB.NET | |
HowTo: Convert strings between Pascal case, camel case, and proper case in Visual Basic .NET | strings, camelCase, PascalCase, Pascal case, camel case, proper case, add spaces, Visual Basic .NET, VB.NET | |
HowTo: Make a String extension method to URL encode and decode strings in Visual Basic 2008 | string, extension method, URL encode, URL decode, Visual Basic 2008 | |
HowTo: Make a String extension method to replace spaces with non-breaking spaces in Visual Basic 2008 | string, nbsp, extension method, Visual Basic 2008 | |
HowTo: Compress spaces in a string | compress spaces, space, compact, duplicate | |
HowTo: Build a function to compress consecutive spaces into one space in Visual Basic 6. | space, spaces, compress, replace | |
HowTo: Build a function to compress consecutive spaces into one space in Visual Basic 2005 | space, spaces, compress, replace, Visual Basic .NET, Visual Basic 2005 | |
HowTo: Make a function to split a string into an array of strings by using multiple separators in Visual Basic 6. | split, string, separators | |
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic .NET | trim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feed | |
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic 6 | trim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feed | |
HowTo: Calculate escalating royalties | escalating royalties, royalties, calculate, percent, FormatCurrency, GetPercent | |
HowTo: Calculate escalating royalties in Visual Basic .NET | escalating royalties, royalties, calculate, percent, FormatCurrency, GetPercent, VB.NET | |
HowTo: Use GetCurrencyFormat to format a currency value using locale defaults or custom formatting | format currency, GetCurrencyFormat, locale | |
HowTo: Use the FormatCurrency function in Visual Basic 6 | FormatCurrency, format currency | |
HowTo: Use GetNumberFormat to format a number using locale defaults or custom formatting | format number, GetNumberFormat, locale | |
HowTo: Use the FormatNumber function in Visual Basic 6 | FormatNumber, format number | |
HowTo: Use the FormatCurrency function in Visual Basic .NET | FormatCurrency, format currency, VB.NET | |
HowTo: Use the FormatNumber function in Visual Basic .NET | FormatNumber, format number, VB.NET | |
HowTo: Use the FormatDateTime function in Visual Basic .NET | FormatDateTime, format date, format time, format datetime, VB.NET | |
HowTo: Use the FormatPercent function in Visual Basic .NET | FormatPercent, format percentage, format percent, percent, percentage, VB.NET | |
HowTo: Use the FormatDateTime function in Visual Basic 6 | FormatDateTime, format date, format time, format datetime | |
HowTo: Use the FormatPercent function in Visual Basic 6 | FormatPercent, format percent | |
HowTo: Verify that the user entered a date in an InputBox | InputBox, validate, verify, date | |
HowTo: Convert the text the user is typing in a TextBox to Proper Case in Visual Basic .NET | TextBox, convert, proper case, StrConv, VB.NET | |
HowTo: Convert the text the user is typing in a TextBox to Proper Case | TextBox, convert, proper case, StrConv | |
HowTo: Pad strings on the left or right in Visual Basic .NET | pad string, PadLeft, PadRight, String, format string, VB .NET | |
HowTo: Format the columns displayed by a DataTable in a DataGrid control in Visual Basic .NET | DataTable, column, format, align, alignment, DataGrid, VB.NET | |
HowTo: Convert a string into bytes and vice versa | convert, string, bytes, unicode | |
HowTo: URL decode a string | URL, encode, decode, code, string | |
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic 6 | regular expression, regex, regexp, replace | |
HowTo: Use Split to replace characters within parts of a string surrounded by quotes in Visual Basic 6 | replace, Split, regular expression | |
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic .NET | regular expression, regex, regexp, replace, VB .NET | |
HowTo: Tip: Use LCase$ and UCase$ instead of the CharLower and CharUpper API functions | CharLower, CharUpper, case, LCase, UCase | |
HowTo: Compare the speeds of Trim$(s) and s.Trim() in VB .NET | trim, Trim$, VB.NET, string | |
HowTo: Generate HTML versions of all of a Word document's tables | HTML, Word, Microsoft Word, table | |
HowTo: Draw text centered at a position | text, center text, font | |
HowTo: Draw text centered at a position in VB .NET | text, center text, font | |
HowTo: Use VBA macros to accept revisions in a Word document between two dates | code, format, Word, VBA | |
HowTo: Use VBA macros to format text in Word to look like code | code, format, Word, VBA | |
HowTo: Use standard formatting strings to format Doubles in VB .NET | format, format specifier, string, VB.NET | |
HowTo: Use a composite format specifier in VB .NET | format, format specifier, string, VB.NET | |
HowTo: Use standard formatting strings to format Dates in VB .NET | format, format specifier, string, VB.NET | |
HowTo: Use custom formatting strings to format Dates in VB .NET | format, format specifier, string, VB.NET | |
HowTo: Use custom formatting strings to format Doubles in VB .NET | format, format specifier, string, VB.NET | |
HowTo: Format dates and draw an analog clock | format date, clock, analog clock | |
HowTo: Format a TimeSpan in days, hours, minutes, and seconds in VB.NET | TimeSpan, VB.NET, format | |
HowTo: Convert text to proper case using StrConv | StrConv, proper case | |
HowTo: Set formatting for a RichTextBox control all at once | RTF, Rich Text format, RichTextBox, RichText | |
HowTo: Split a multiline string into pieces in VB 6 | split, multi-line, multiline, parse | |
HowTo: Encode and decode special HTML characters by using XML documents | HTML, code, encode, XML, DomDocument | |
HowTo: Left- or right-align text in VB.NET | align, align text, format, VB.NET | |
HowTo: Draw mathematical equations with super scripts on a form | equation, superscript, math | |
HowTo: Combine values from two RTF text boxes preserving their formatting properties | RTF, Rich Text Box, RichTextBox | |
HowTo: Right justify a single line TextBox | text, alignment, right justify | |
HowTo: Use GetDateFormat to format a date value using locale defaults or custom formatting | format currency, GetCurrencyFormat, locale | |
HowTo: Use GetTimeFormat to format a time value using locale defaults or custom formatting | format time, GetCurrencyFormat, locale | |
HowTo: Get internationalization information from the registry | internationalization, registry | |
HowTo: URL encode a string | URL, encode, code, string | |
HowTo: Find ordinal extensions (as in 1st, 2nd, 143rd, etc.) | ordinal extension, 1st, 2nd, 3rd | |
HowTo: Strip out extra tabs, CrLf and multiple spaces | clean, string | |
HowTo: Left or right pad a string with a character | pad, fill | |
HowTo: Prefix mail text | prefix mail text, email, break lines | |
Title |
Keywords |
|
HowTo: Use the StringBuilder class to concatenate strings quickly in Visual Basic .NET | strings, variables, StringBuilder, concatenate, catenate | |
Tip: Use the Split function easily in Visual Basic .NET | split, Visual Basic .NET | |
HowTo: Make a String extension method to URL encode and decode strings in Visual Basic 2008 | string, extension method, URL encode, URL decode, Visual Basic 2008 | |
HowTo: Make a String extension method to replace spaces with non-breaking spaces in Visual Basic 2008 | string, nbsp, extension method, Visual Basic 2008 | |
HowTo: Convert a string into bytes and vice versa | convert, string, bytes, unicode | |
HowTo: Write Split and Join functions for VB 5 | Split, Join, VB5 | |
HowTo: Use VBA macros to format text in Word to look like code | code, format, Word, VBA | |
HowTo: Time different methods for testing whether a string is blank to see which is fastest | time, speed, performance, string | |
HowTo: Generate random text | code, random text | |
|