Hi,
I am trying to create a button which will open a custom file. To do so i have to use activexobject but it doesnt work in sage crm. Is it possible to use it in Sage?
Any suggestions are welcome.
Thank you.
the code:
<script language="javascript" type="text/javascript">
function runApp()
{
var shell = new ActiveXObject('WScript.shell');
shell.run('C:/Windows/notepad.exe');
}
</script>
<!--[if gte IE 8]>
<p>You're using a recent version of Internet Explorer.</p>
<button onclick='runApp()'>File</button>
<![endif]-->
<!--[if lt IE 7]>
<p>Hm. You should upgrade your copy of Internet Explorer.</p>
<button onclick="runApp()">File</button>
<![endif]-->
<![if !IE]>
<p>You're not using Internet Explorer.</p>
<![endif]>
<button onclick='runApp()'>File</button>
Additionally i also tried AddContent("<a href='C:/Windows/notepad.exe'>DEVS</a>"); in my custom DLL file but that didnt work either.