Dear All,
First I am sorry to put this question here.
I have just finish one program using VB.NET to capture html file and convert it to image file, and I put it in IE context menu using the following registration code.
Also I create html file which contain the script to run the program.
But finally when I start the program from IE menu it halts just before saving the file, but it works perfectly if I start it manually.
Do you have any Ideas regarding this issue please?
Finally, I am sorry about my bad English.
Thanks and Best Regards
First I am sorry to put this question here.
I have just finish one program using VB.NET to capture html file and convert it to image file, and I put it in IE context menu using the following registration code.
Code:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Capture this page with html Capture] @="C:\\Program Files\\html Capture\\html Capture.htm" "Contexts"=dword:0000003f "Flags"=dword:00000000
Code:
<script language="vbscript">
Dim Shell
Set Shell = CreateObject("WScript.Shell")
Shell.run Chr(34) & "C:\Program Files\html Capture\html Capture.exe" & Chr(34) & " " & Chr(34) & window.external.menuArguments.location.href & Chr(34), 1, False
Set Shell = Nothing
</script>
Do you have any Ideas regarding this issue please?
Finally, I am sorry about my bad English.
Thanks and Best Regards
Comment