Hi
i have one asp file which is using jscript.
There is one dll file named shareaccess.
I am unable to understand this code.
What is the return type of obj.AdmLoadDoma ins();?
I have also written a method using c# which returns a dictionary object and created dll file. When i am using that dll in asp and calling that function using following code
dic is null. but actually it should return one key-value pair.
I have tested same dll in c# program and its successfully returning key-value pair.
Please help me ....
Its urgent.
Regards,
Anu
i have one asp file which is using jscript.
There is one dll file named shareaccess.
Code:
var obj;
obj = new ActiveXObject("ShareAccess.ShareEnum");
var collection = obj.AdmLoadDomains();
for(i = 0 ; i < collection.Count ; i++)
{
try
{
Path = collection(i).Path;
Type = collection(i).Type;
NFS = collection(i).NFS;
Marked = collection(i).Marked;
}
}
What is the return type of obj.AdmLoadDoma ins();?
I have also written a method using c# which returns a dictionary object and created dll file. When i am using that dll in asp and calling that function using following code
Code:
var dic= myonj.getDomains();
I have tested same dll in c# program and its successfully returning key-value pair.
Please help me ....
Its urgent.
Regards,
Anu
Comment