• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1410
  • Last Modified:

Can we set the hyperlink in message box text in a message box? If yes, how?

Can we set the hyperlink in message box text in a message box? If yes, how?
0
puranik_p
Asked:
puranik_p
  • 3
1 Solution
 
mahesh1402Commented:
You need to custom messagebox to display above hyperlink controls in your dialogs.
0
 
puranik_pAuthor Commented:
According to your earlier comment it is posiible and I have done that already.
But my problem is I have different msg text with different hyper links to diplay the user.
So every time dynamically I need to change the position of msg text and hyperlink control
depending of the message which I need to display to the user.
e.g. consider a case that I am getting the message as a response from webserver and I want to display that to user.

e.g. " ACCESS DENIED: Your user account is not configured to “Print” documents. For assistance, please contact technical support via email at techsupport@cbayscribe.com or 1-800-295-4600 ext. #3133."

Every time I have to set hyper link "techsupport@cbayscribe.com" to a static control which is made as hyperlink on a dialog box and rest of the msg text along with proper positions and alignments. This is possible when I know which msg to be displayed. But when the message comes from webserver as a response of a request then it is tedious.

So is there any provision that I should directly put in dialog box or msg box and it will automatically determine the hyperlink and treat it as hyperlink.
(Just like MSword does.)

Does rech edit control provide this?

Any soln for this?







0
 
mahesh1402Commented:
>>it will automatically determine the hyperlink and treat it as hyperlink.(Just like MSword does.)

For this purpose you need to modify your hyperlink control..and write your own function to detect string as hyperlink..

You may consider special cases to detect string as hyperlink as detect part of string includes .com .net ( all domains ) valid characters also like '@' etc for mail-ids...SO As said before you need to put all this conditions together to detect string as hyperlink..

-MAHESH
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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