PDA

View Full Version : Problem with Dialog.Message


parallon
02-11-2005, 05:37 PM
Hey there all. I know this has to be an easy fix, but I am just having one of those days. I am trying to get a dialog box with a little text and then the results of a variable. Here is what I put:

Dialog.Message ("Important", "Documents have been copied to ", Session.Expand"%ManualDir%!", MB_OK, MB_ICONEXCLAMATION);

Thanks,

Parallon

JimS
02-11-2005, 06:16 PM
I haven't tried this, but try changing
Session.Expand"%ManualDir%!"
to
SessionVar.Expand("%ManualDir%").."!"

.

Absynthe
02-11-2005, 10:24 PM
Hey there all. I know this has to be an easy fix, but I am just having one of those days. I am trying to get a dialog box with a little text and then the results of a variable. Here is what I put:


Thanks,

Parallon
Bad stuff in RED

Dialog.Message ("Important", "Documents have been copied to ", Session.Expand"%ManualDir%!", MB_OK, MB_ICONEXCLAMATION);

Fixed version
Dialog.Message ("Important", "Documents have been copied to "..SessionVar.Expand("%ManualDir%!"), MB_OK, MB_ICONEXCLAMATION);

Intrigued
02-11-2005, 10:31 PM
Right, the Var added in! (and the elipses)

Nice!

parallon
02-14-2005, 11:42 AM
Worked perfect! Thank you.