I am writing an application in Microsoft Visual Studio which will open a pdf file from a database. Acrobat 10 is installed on the host machine.
I want to:
Detect that the .pdf file has been opened
Save the .pdf file to a given directory once it has been opened
I could always use the mouse pointer to navigate to "file", "save as" and save the file, however I want this to work on multiple machines with varying screen sizes.
I hope there is a way with the supporting libraries that this can be done, thank you!
Related
My OS is Windows 10. When I click on OneDrive in File Explorer, it does not open.
Note that, My file explorer works for every other drive and folder. However, when I open OneDrivefrom the start menu, it opens a copy of OneDrive in file explorer!
I have reinstalled and restarted, but no luck.
All of a sudden, it decided not to work.
Any suggestion?
I'd like to include a "help" file in my Outlook VSTO addin. I'd like it to just be a word doc which is somehow embedded in the addin in such a way that it doesn't just open the file from a network drive, but rather the word doc itself is part of the installed VSTO and the user can just open it from the addin. I am working in VB.NET. Ideas??
You can achieve this by adding the file as resource. Using visual studio it's as easy as peeling a banana. I use it to store my manual (A Word file).
Operating system is Windows 7. Recently offered updates to Office 2016 would not install so I reinstalled Office 2016. Reinstall worked but procedures in MS Access no longer work. I.E when trying to open a docx or xlsx file nothing happens; no error messages. A procedure designed to create a word file creates rtf. If I change the file extension of the files to .doc or .xls, things work. Docx and xlsx files open normally if opened directly, i.e. not via an Access procedure. Have done a “Quick Repair” of Office. Have decompiled Access.
In Control Panel/Default Programs, there is:"Set default programs". In Access, Excel and Word I made sure that all extensions were selected.
I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate("C:\filepath") command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
Thanks in advance.
Mike Saunders
In Visual Studio, when I have a file with an extension the IDE doesn't recognize, I can right click on it, and the following menu appears:
If I click on "Open With...", I get the following dialog that lets me choose which editor I want to use to open the file with. It even lets me choose an editor as a default editor.
On Xamarin Studio for Mac OS X, when I try to do the same thing, I get the following menu instead:
I want to open this file with the Source Code Editor, just like other files with known extensions. However, this file (.vcg, a CG vertex shader) is not recognized, and I only get the option to open it with the hex editor.
Eventually I cannot open it on the source code editor as I want.
I tried dragging and dropping the file into the editor, but nothing happens. I tried looking for file associations in the Preferences, but nothing even remotely close is available.
I tried setting the default program for that file extension to Xamarin Studio in the OS, but Xamarin Studio still does not believe me that I may want to open this file with the source code editor.
I am using Xamarin Studio 4.2.3 (build 54).
How can I open an arbitrary file like this with the source code editor?