Thank you all for your suggestions.
I have tried using the CHR$(34) in various ways but it doesn't get interpreted 
properly. The Hotlink ignores the path and just looks for the "myprog.mbx"
 
I made a command string as Greg suggested, but when it got to the Run Command 
line there was error.
"Variable or Field C not defined"
 
Then Tim suggested the extra quotes, and that did it perfectly, like this:
SetMapString = "SET MAP layer 1 Activate Using """ + mbxname + """ On Objects 
Relative Path Off"
 
You have all been very kind.  Thank you!
 
Sal
 


 

Reply via email to