I'm using ABCPdf get a pdf from a some HTML code. While I was developing everything worked great, now I install it in the server it is not working. It throw this exception
WebSupergoo.ABCpdf8.Internal.PDFException:
ABCpdf cannot detect any printers.
Gecko Engine requires a printer
installed in the system. Usually, XPS
Document Writer would suffice. Try
also running the service as an
interactive user.
In my computer I have MS office installed, in the server I don't.
So my questions are:
Is there anyway (with ABCpdf) to generate a PDF using Doc.AddImageHtml method without the MS XPS printer?
If not, is there anyway I can install the XPS printer without installing the office?
Thanks!
I found out that if I change to use MSHtml Engine to render the HTML I have no problem in the server.
This rendering engine does not work with IE9 + .NET framework 4 + ASP.NET and not web forms. (That is actually my case). Luckily the server has Windows Server 2003, so it doesn't have IE9. Please note that in the link you should go to section
ABCpdf
and then to the question
6.29 - Converting HTML with IE9 installed, I see the exception:
'ABCpdf could not initiate MSHtml
engine for this version of Internet
Explorer installed.'
This is the only solution I have right now but if someone has a solution that make ABCPdf work without Microsoft XPS Printer and has no trouble with IE9 it would be really appreciated.
You can download the XPS Essentials Pack for server 2003, which includes the XPS driver from http://www.microsoft.com/download/en/details.aspx?id=11816
If your server is 2000 then it won't work however the error message hints any driver will work. Open the Printers folder and from the File menu select Server Properties, go t the Drivers tab and add any PostScript driver. I'm guessing the component is relying on having a printer driver installed to get font widths.
Recent versions of Windows and .NET will have XPS Document Writer automatically. You may try reinstalling it: http://forums.techarena.in/vista-help/782555.htm
Related
I am creating an Outlook Add-in using Office js libraries. I was using the option to attach the debugger to debug my javascript application. But it seems that after an Outlook update the option is no longer available. I have tried reinstalling Office but dit not help. Also i created a new Add In with the default functionality and this has no option to attach the debugger. When i click with the right mouse I see no options. Do i have to enable it in some new way ? Has somebody else seen this problem ?
Beginning with Office 365 version 16.0.11629 and Windows 10 version 1903, Office Add-ins running on Office 365 for Windows will use a Microsoft Edge WebView as the runtime.
The Microsoft Edge WebView performs much better than Internet Explorer and features enhanced compliance with modern browser standards including support of the full set of HTML 5 and ECMAScript 2015+.
We recommend that you download the Microsoft Edge DevTools Preview for debugging.
link
We load Embedded documents into an Access database. We are inserting documents into a SQL back end.
Command we use: DoCmd.RunCommand acCmdInsertObject
This works on most of the laptops using the database, but the newer laptops will not load or open any PDF documents.
We can load ANY other type of file, but when trying to load or open an existing PDF file the laptops "Hang" and you have to use Ctrl + Alt + Delete. When pressing Ctrl + Alt + Delete, there are two background processes for
Adobe Acrobat Reader DC (32 bit)
If you stop these processes you can carry on working, and it then gives an error:
A problem occured while Microsoft Access was communicating with the OLE server or ActiveX Control
I have tried everything, re-installed MS Office 2010, Reinstall Adobe, Reinstall Photo Editor. Nothing helped.
I found a solution after MANY wasted hours.
I had installed Office 365 and it automatically installed Acrobat Adobe DC Reader, which is a Cloud application.
I uninstalled Adobe DC completely and then installed Acrobat Adobe 10 reader, which is still Freeware.
Everything works OK now!!!
Apparently you can have both installed. First uninstall both, then load the older version. When you then install Adobe DC, there is an option to keep the older version. For now I am not installing Adobe DC unless I have to!!
Greetings for the day.
I am having a issue making my 64bit ActiveX component to run on Win8(64Bit) over IE10(64bit) browser.
ISSUE:
I am having a 64bit Intranet application in which I have an ActiveX component (COM .dll) which creates an explorer bar and a BHO in Internet Explorer.
I am trying to use this ActiveX Component in Win8 (64Bit) and IE10.
What works for me:
My 32 bit ActiveX version in Win8(64Bit\32bit)\Win7(64bit\32Bit) using IE10 without EPM enabled.
My 64bit ActiveX in Win7(64bit)\Win Server 2008 R2(64bit) using IE7\IE8 (64 bit).
My 64bit ActiveX in Win7(64bit) using IE10 having EPM enabled.
What does not works for me:
My 64bit ActiveX component in Win8(64bit) using IE10(64bit) having EPM enabled.
Having read all the blogs available over the internet, I learnt that for a 64bit ActiveX component to work in Win8(64bit) using IE10, I need to enable EPM(Enhanced Protected Mode) , register both 32bit and 64bit versions of my ActiveX and also my ActiveX should be EPM compatible. Also my dll should be located in AppContainer readable folder like Program Files.
Blog Links:
http://blogs.msdn.com/b/ieinternals/archive/2012/03/23/understanding-ie10-enhanced-protected-mode-network-security-addons-cookies-metro-desktop.aspx
http://www.askyb.com/bho/step-by-step-guide-to-making-you-bho-epm-compatible-with-ie11-on-windows-8/
What I have tried So far:
Made my ActiveX component EPM compatible according to the above links.
(My ActiveX dll has 5-6 classes and different .rgs files for registering each. So I added the AppContainer GUID in a separate .h file and included that file in each class .cxx file. Also included the
‘Implemented Categories’ in all .rgs file.)
Registered both 32bit and 64bit versions of my ActiveX.
Enabled the EPM.
Now I am able to get only my explorer bar enabled with EPM. But other BHO functionality is not working.
One of the functionalities of my ActiveX is that it reads the Machine Name and returns it. But in Win8(64bit) using IE10 it is not working even after doing all of the above.
Bottom-line is that my ActiveX is not working completely as expected,ie., The instance of one of the BHO Component(which is used to read the clients Machine Name) is not getting instantiated as expected,same Component works fine with a 32 bit BHO Component on the same Environment :(
Is it something I did wrong in making my ActiveX component as EPM compatible?
As I want my application to run only in 64bit mode as it’s an intranet application, do I still need to register both 32bit and 64bit versions of my ActiveX?
Should both the 32bit and 64bit versions should be made EPM compatible?
Should both 32bit and 64bit have the same CLSID?
Any quick solution would be greatly appreciated, Since I’m going nuts working on this issue from past few days, hoping for a positive response from your guys.
Thanks in advance
Hey all I am trying to figure out how to set the WebBrowser control in my windows form to emulate IE9 or IE10 under Windows 8.
Currently, when I use the webbrowser control on my form and load up a website it tells me:
Your browser, Internet Explorer 7, does not support the advanced...
However, going to that same site with just the normal IE10 browser shows the page just fine. I also double-checked the IE9 compatibility using the Developer tools within IE10 to emulate IE9 standards and that also worked.
I also tried adding my EXE file name to the registory:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\
Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
For 64 bit Windows 8 but that doesn't seem to have any effect on it when I run the program.
Any help would be great!
FIXED:
Using vbTestProg.exe for the build EXE
Using the vbTestProg.vshost.exe for the Debug inside VB
If you're application is a 64bit application, or compiled for AnyCPU and running on 64bit Windows, you need to set the emulation setting in:
HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
(Without Wow6432Node.) The registry location you specified is for 32bit applications running on 64bit operating systems.
I have a Windows 7 64-bit computer with Visual Studio 2008 and Visual Studio 2010 Professional installed (C# only).
Now I want FxCop. I read first we should install Microsoft Windows SDK for Windows 7 and .NET Framework 4, so I wanted to do so, but it gives me error and says installation failed, go find more details in some HTML page in a folder path that it does not even exist:
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
So two questions:
I do not care about the rest of the stuff. I just want FxCop! Do I really need to install this SDK too?
What do you think is the problem when its installation fails?
I had a very similar problem. You don't need to install the SDK to do it. However, you still need to download it which is unfortunate as it is a pretty large download after all. Why it isn't a separate download is beyond me...
Anyway, I extracted the install files I needed by following the information in XXX.
In brief, you need to do this (edited from the link above):
Download the ISO version instead, extract it with 7Zip and locate
Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the
file
"WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6".
Rename this to "WinSDK_FxCopSetup.exe" and it should now install.
You can also browse the ISO image with suitable tools rather than unextracting the whole thing.
Given the date of this post, you might have already found the solution, but it may help others who come acros this issue.
From the page above there is a comment linking to another explanation that is better detailed: Liberate FxCop 10.0.