hi sir,
I have written to register and silent install in client side in the following way by using vbscript.
But it gave an error as "failed to load", so please tel me correct code.
In this process I have to use DPFPDevX.dll,DPFPCtlX.dll,DPFPEngX.dll,DPFPShrX.dll.
These Dll files are available in "Activex" folder of "ActiveXWebsite" website.
"DIM oShell
Set oShell = CreateObject("WScript.Shell")
iReturn = oShell.Run("CMD /C regsvr32.exe ""http://localhost/aspnetvir/ActiveXWebsite/Activex/DPFPDevX.dll""", , True)"
But,
It works when I use following way but in my requirement i dont have to use this way
iReturn = oShell.Run("CMD /C regsvr32.exe ""D:\New folder\ActiveXWebsite\Activex\DPFPDevX.dll""", , True)
Loading
Suthish NairPosted Feb 27, 2011, 12:17 PM
jayaramPosted Feb 25, 2011, 1:14 AM
Questions:
1. Nothing is downloaded to the client pc when the client access to that page. May i know why?
2. Is XXX.dll necessary to be a digitally signed DLL?
3. How should I call the XXX.dll function?
e.g. Just set objdll=createobject(XXX.class1) will do?
4.In this situation i dont want to display command prompt. How to do?.
pleas tel me how to write code nd send me some sample code.
5.You sent the reply for my previous post like "D:\......"
but if some one wil use my application and he wil put in another directory, so tel me how to solve this
Hope to hear some response soon. Thanks in advance.
Jaganathan BantheswaranPosted Feb 24, 2011, 7:11 AM
Windows commands does not take the relative path as arguments.
So you cant give http://.
it needs D:\...