Microsoft Access - Missing Reference to acrobat.tlb - vba

I am working with a Microsoft Access database that was mostly completed in Access 2010, and now I am opening it on a new computer that has Access 2013.
Upon opening the program, it tells me,
"Microsoft Access database or project contains a missing or broken reference to the file 'acrobat.tlb' version 1.1."
I have done some research, and I know that I need to go into the VB code and go under tools->references. Now under here it lists the working references then says,
"MISSING: Adobe Acrobat 10.0 Type Library"
So now I understand, that I need to give it the reference to that .tlb file. I am good up to here, but whenever I try to browse I can never find this file. I just downloaded Adobe, so I know I have the most recent version.
I saw a couple places in my research that you can just uncheck the box and try compiling again. This however does not work for me. it needs this reference for several things I am doing.
Has anyone ever had this problem or have any guidance for me?
Thank you!

I'm not 100% on this, but loading Adobe by itself may not give you the library you are looking for. You could need the file which is located in the SDK (which happens to be free) adobe site. Try installing this, and see if you can navigate to the tlb.

SQL hound was right. To expand on what he suggested and be more specific for this issue for those with this problem in the future, you need to download the Acrobat DC SDK (not the air one). In InterappCommunicationSupport/Headers you will find acrobat.tlb.

I am using Access 2013 and Acrobat Pro version 11.0.
I have looked for the file "acrobat.tlb" on my drives.
Found it under: "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat"
In the Visual Basic Code "tools/references", I clicked "Browse" and went to the location I have found, selected the file and clicked OK.
Returning back to "tools/references", the "Adobe Acrobat 10.0 Type Library" is now available and selected.
I have run minimal code to open and show the number of pages of the opened "pdf" document and it returned the proper number of pages.
Just so you know:
I now remember that there was a selection called only "acrobat", it is now gone. Must have been caused by selecting manually the desired file.
Maybe that selection was pointing to the "acrobat.tlb" file.
You can see the full path and name of the file corresponding to the selected library name at the bottom of the reference window.

I had the same problem but I had a Missing reference to "...Adobe 9...Type Library..." I unchecked that and tryed with, "Acrobat Access 3.0 Type Library" futher down. Then it worked.

Related

VBA in Excel to launch Google Earth stopped working

For about 6 months I have had a functional excel spreadsheet that when clicking a button ran a VBA script that created a properly formatted kml file from the lat/long information in the spreadsheet, saved the kml document, and launched Google Earth to view the plotted coordinates.
I successfully used this on June 6th. However, today I am getting this error
"License information for this component not found. You do not have an
appropriate license to use this functionality in the design
environment"
The KML file is still created and saved, but GE will no longer launch.
I have tried this Microsoft fix, but it didn't resolve the problem.
https://support.microsoft.com/en-us/kb/181854/en-us
Below is the part of the VBA that launches Google Earth. The "GEPlugin Type Library" reference is still checked in Microsoft Visual Basic for Applications :
Dim appGoogleEarth As EARTHLib.ApplicationGE
Set appGoogleEarth = New EARTHLib.ApplicationGE
Call appGoogleEarth.OpenKmlFile(OutputFile, 1)
Any help or insight into why this suddenly became a problem and how to fix it is greatly appreciated.
Google Earth Pro don't provide a library like the old version of GE. Then come back to the old version if you want use your XLS spreadsheet.

PDF downloading instead of opening in new tab

This is not a back-end programming question. I can only modify the markup or script (or the document itself). The reason I'm asking here is because all my searches for appropriate terms inevitably lead to questions and solutions about programming this functionality. I'm not trying to force it via progrmaming; I have to find out why this PDF is behaving differently.
So:
I have a bunch of links to PDFs on a page. Most of them open in new tabs, but one of them, the most recent, starts to open in a tab, but then the tab closes and the PDF gets downloaded as a file instead. All markup is consistent - there's nothing differnt about the odd-man-out except the actual URL.
You can see this here:
http://calwater.mwnewsroom.com/Investor-Relations/Financial-Reports/Annual-Reports
All annual reports up to 2012 open in a new tab, but 2013 downloads instead.
This leads me to believe that there is some meta-data property of the PDF itself that tells it how to open, and that, in this case, the 2013 PDF was created using different settings.
Apparently, the PDF was saved out to PDF from InDesign.
Does anyone have any insight?
Problem solved. There was simply an error in the string (like an extra period) that references the attachment such that it couldn't tell it was a PDF. Fixing the reference fixed the problem.

Macro fails in Word 2013

I have a Word macro that has been working fine for ages. I have recently upgraded to Word 2013 and the behavior has changed.
It occurs on the following line:
Doc.SaveAs Path + "Manual\" + TitleString + ".htm", wdFormatFilteredHTML
which builds a valid file path and name and saves the current document as an HTML page.
Under Word 2013, the macro opens a file save dialog box with no filename and with the default file extension (.docx) instead of (.htm), as if the filtered HTML mode was no more available.
I have tried with named arguments, and also with the new SaveAs2 method, but saw no change.
How can I solve this ?
I fond this comment on the DataZX.CN forum:"I Had the same problem. I'm running a windows 8/64bits on an ACER laptop. SOLUTION : remove the Add-in "Icloud Acer ...".
I happen to use Acer desktop, and there was indeed this Icloud add-in pre-installed in Word. After disabling it, the macro works !!!!!!!!!!!!!!!
Thanks StackOverflow for pointing me in the right direction as always...
and thanks Yves for spreading the info...
I removed Acer cloud plugin from Word and excel just to be on safe side.
Blame foolish manufacturers like Acer for another bundled piece of crap software that causes more harm than good.
Quoted from MSDN forum post...
http://social.msdn.microsoft.com/Forums/office/en-US/59c0da80-a7e6-4026-855c-f6b9fbf9c386/word-2013-vba-documentsaveas-dialog-appears-even-applicationclassdisplayalerts-?forum=worddev
...From all you tell me, my feeling is that there may be another third-party application (or a virus) mixing in - that the display of SaveAs is not coming from your application.
This is difficult for you to test, since whatever it is is probably loading with Word...

SharePoint 2010 offers to save Pdf documents instead of opening in the browser

We just migrated my sites from 2007 to 2010. Now SharePoint 2010 offers to save Pdf document when clicking on the document in the document library. MOSS2007 was showing Pdf documents in the browser.
I have checked other posts and Web Application has Browser File Handling set to "Permissive". Please advise what else I can do.
Thanks,
Robert
There are several possible causes:
First of all you may have
BrowserFileHandling set to "Strict"
on the list level. According to
MSDN, list level property
BrowserFileHanlding is an override
setting.
Please check that your Document
Library settings are set to display
document in the browser. Sometimes,
option can be set to display in the
client first.
If you nothing helps, check my recent blog at https://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/ There is solution #2 (PowerShell) that allows you to add Pdf MIME type to AllowedInlineDownloadedMimeTypes. This option does not require "Permissive" BrowserFileHandling at all. Also you can limit files that can be opened in browse to Pdf file types only.
If even "AllowedInlineDownloadedMimeTypes" does not help, then there is some issue on the client side. Check your Adobe Acrobat/Reader settings to ensure that nothing was changed since your upgrade to SharePoint 2010.
Thanks,
Dmitry

vb.net vs2010 project deployment problem: eula.rtf is not displayed during application deployment. Any ideas?

I've created a setup and deployment project for my vb.net application using the Visual Studio 2010 wizard. I also added the eula.rtf file to the setup project and set it to install to the user's application folder. I then added a license agreement UI dialog in the setup project and pointed the licenseFile to eula.rtf. However, when testing the resulting setup.msi, the UI License Agreement dialog appears but no text is displayed inside the box where the eula should appear. I tried re-naming the eula and tried to change the encoding of the file but without success. Am I missing something? What should I do to make it work?
Many thanks.
Did you actually create a .rtf in the proper format or did you just rename a text file? You'll need either Wordpad or Microsoft Word to create one. Wordpad is the better choice, it is likelier to create RTF in a format that the rich text box fully supports.