Hi Friends,
I have created an ActiveX Control(OCX) and used in ASP, my OCX will fetch all the addresses from the client's Outlook. This is working fine, and it is displaying all the addresses in the OCX, but I am not able to access those address from OCX. I will be very greatful if anybody can help me to fetch the values from the OCX control.
I have tried in following way.
<HTML>
<HEAD>
<TITLE>outLookList.CAB</TITLE>
</HEAD>
<BODY>
<OBJECT ID="UserControl1"
CLASSID="CLSID:AC06AABB-ACF3-4119-AEB9-1118BA0F6473"
CODEBASE="outLookList.CAB#version=1,0,0,0">
</OBJECT>
<FORM Name="OutLook" action="getValues.asp" method=POST onSubmit="Hello()">
<Input type=text name="Names">
<Input type=text name="mailsIDs">
<INPUT type="submit" value="Submit" name=submit2>
</FORM>
<script language=javascript>
var names, mails
names = document.OutLook.UserControl1.getNames;
mails = document.OutLook.UserControl1.getMailIds;
document.OutLook.Names.value = names;
document.OutLook.mailsIDs.value = mails;
</script>
</BODY>
</BODY>
</HTML>
Here I am able to access getName and getMailIds properties at the system where that OCX registered, and not from other clients.
With Regards,
Madhav.
I have created an ActiveX Control(OCX) and used in ASP, my OCX will fetch all the addresses from the client's Outlook. This is working fine, and it is displaying all the addresses in the OCX, but I am not able to access those address from OCX. I will be very greatful if anybody can help me to fetch the values from the OCX control.
I have tried in following way.
<HTML>
<HEAD>
<TITLE>outLookList.CAB</TITLE>
</HEAD>
<BODY>
<OBJECT ID="UserControl1"
CLASSID="CLSID:AC06AABB-ACF3-4119-AEB9-1118BA0F6473"
CODEBASE="outLookList.CAB#version=1,0,0,0">
</OBJECT>
<FORM Name="OutLook" action="getValues.asp" method=POST onSubmit="Hello()">
<Input type=text name="Names">
<Input type=text name="mailsIDs">
<INPUT type="submit" value="Submit" name=submit2>
</FORM>
<script language=javascript>
var names, mails
names = document.OutLook.UserControl1.getNames;
mails = document.OutLook.UserControl1.getMailIds;
document.OutLook.Names.value = names;
document.OutLook.mailsIDs.value = mails;
</script>
</BODY>
</BODY>
</HTML>
Here I am able to access getName and getMailIds properties at the system where that OCX registered, and not from other clients.
With Regards,
Madhav.