Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Makin errors print in capitals!

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
MattAllen
Asked:
MattAllen
1 Solution
 
crazymanCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now