Click here to Skip to main content
13,048,584 members (91,109 online)
Rate this:
Please Sign up or sign in to vote.
See more:


I want get the username from XML and display it in the form when it loads the error message.

This is part of the code
ErrorMessage = 'Could not connect to default database with username ''-------''.';

Instead of ''-----'', how do I display ''abcd'' over there.

In the code this is where am calling "ErrorMessage"

if not StartHost() then
if MessageDlgErrorMessage, mtError, [mbRetry, mbOk], 0, mbOk)=mrRetry then
goto RETRY_HM_Connection;
Posted 1-May-13 7:11am
Updated 1-May-13 7:29am
CPallini 1-May-13 15:14pm
And where is the code that parses the XML input for getting the USERNAME?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 1 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100