Solved

Makin errors print in capitals!

Posted on 2003-12-04
1
166 Views
Last Modified: 2010-05-01
hi experts...

im currently writing a log confirmin wen each sub routine is completed / wen an error occurs...

my problem is that i want the normal completion log parts to be lower case and the error logs to b in caps ...
this is wot im after...

sub_sortFile: completed
sub_addlink: completed
SUB_PRODUCE TEXT: ERROR:- TEXT NONE EXISTANT.... etc
-----------------^----------------   -----------^-------------
iv got this bold but                     but i need this bold ... it is eg err.description

cheers matt
0
Comment
Question by:MattAllen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
crazyman earned 50 total points
ID: 9873671
when you say you are writing it i presume you are writing it to a text file, you cant specify fontsize, bold etc in a text file this is decided by the text viewer...
However you can specify the case, to convert to upper case just use
ucase$(err.description)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question