Open document file with Google Docs, Asp.Net - asp.net-mvc-4

I just want to integrate the google docs api to my project to open uploaded documents! I dont want Google Drive, the files are already uploaded on my server. I don't want to edit them or change anything, so it should be READONLY... I spent hours on https://developers.google.com/drive/quickstart-cs, I tried a couple of things but I couldn't find what I want!
for the pdf files, I used HTML5 to open them and it worked perfectly, but I couldn't find a way to open World documents with HTML5 object tag... Any idea how to do it? Thank you
Visual Studio 2012 - ASP.NET MVC 4

Use an iframe to embed File.embedLink, documented on https://developers.google.com/drive/v2/reference/files#resource

Related

SharePoint link should open in File Explorer but opens in Web Browser

As the name of the question states, I'm working with my company on a project in UiPath that is responsible for scraping a slurry of excel files from a SharePoint server. Unfortunately a decent portion of it is proprietary so I don't know how much of the actual code I can justifiably put here.
I have inside of UiPath (which is essentially a shell for vb.net and C# specifically tailored for automation) functionality to input a website url into the file explorer and have it navigate to the OneDrive folder for that SharePoint site.
This was working as expected until yesterday in the morning when it decided to brick itself and instead pull up the SharePoint site on the web browser.
Is there any way to ensure or otherwise understand why it won't open the folder path? I had it working before and I don't know why it doesn't work anymore.
Regards,
Jadda

Host Vb .Exe on Sharepoint Site

i want to host a vb project from a sharepoint folder instead of having it locally installed.
I am still new at this, but I only need to host the files in the same folder on sharepoint right? And then whoever can just click the .exe file, correct?
Sorry if this is a dumb question!
Thanks in advance
As already mentioned in the comment SharePoint isn't meant to store or even display applications (.exe). What started as a security measure is now part of the philosophy of MS SharePoint. Here's a list of all filetypes SP13 will block by default.
Back to your question. There is a trick how you still can upload an .exe to SharePoint:
Store the application in a folder
Zip the folder
Upload the zipped folder to a document library
Display the library on the desired site
For the future..
As there is a "Silverlight Webpart" - develop silverlight application if you know from the beginning that you want to display them on SharePoint.
Another trick: Publish your application on a host server. Then use the "Site Viewer WebPart" and point it to your application
Last one, although I wouldn't suggest it.. You can develop a .wpf-application and simply upload it as the file-type isn't blocked. But to embed the resources is just a pain in the ass..
There are for sure many other ways to do this.. Those are just the most practical ones I know if you already developed the application. The best solution is of course to create your own WebPart..

OneDrive UNC paths

This is not supported but does anyone know how to force OneDrive for Business use UNC paths?
I've spoke with MS and its not on their roadmap and they arent forth coming with a solution.
This is how we rank the feature request among the community, post your feature in user voice and MS will identify the priority of the feature based on the voting numbers.
Here is the user voice for office 365 website:
https://office365.uservoice.com/
Hope this helps.
It is supported. Same format as it is for SharePoint Online document library mappings. \tenant-my.sharepoint.com\personal\username\Documents
Connect as Web Drive: https://tenant-my.sharepoint.com/personal/username/Documents
The option is only hidden in the OneDrive simplified UI. You can even turn it on by adding a normal view to the Documents library and turning the ribbon on from Settings (note that of course open in Explorer only shows in IE).
Open in Explorer from OneDrive

Adobe air - download links not working

I'm trying to turn a website of mine into an executable for Windows with Adobe Air.
Everything seems to be in order, but I couldn't quite figure out how to save a file from a download link.
I saw this answer that is suggesting that this is not supported by air, but it is possible to download links via an installed browser (IE for example?)
I also tried to search the official documation and found that there are loading external data possibilites but as I didn't see a way to save the incoming result locally, i couldn't get that to work.
1) How can I accomplish this? Are there working code examples available anywhere?
2) How can I make files download on a web browser from an AIR app?
3) What other options do I have?
Thanks a lot.
I couldn't get a download to work with the HTMLLoader class too.
The only working solution might be to start the download with a browser.
var url:String = "site.com/download.zip";
var request:URLRequest=new URLRequest(url);
navigateToURL(request, '_blank');

Access Web Inspector in Safari with Applescript

I'm trying to create an Applescript script which essentially downloads files from Safari. However, the files are not available for download via the web page, so I usually open up the Web Inspector and then go to Resources and then in a folder called Other, download the file.
I've been searching the web for a method to do this via Applescript, but to no avail. My question is therefore: How can I access the Web Inspector > Resrouces > Other files in my current Safari window? I know that it is possible to bring up the Web Inspect using ⌥⌘I, and then you can change pane inside of the Inspector using ⌘]. But I can't get focus on the list of Resources Files, as shown below:
Is it possible to access this .mp3 file inside of the Other folder without using shortcut commands? And if not/if so, how can I access the Other folder inside of this window pane?
Thanks for your help in advance.
Is it possible that you can access the .mp3 file some other way? Rather than using the Web Inspector, perhaps you can find the link to the .mp3 file within the page source code, and then download it.
If you want to access the "Other" folder, then you will have to copy the web address you need it for, reset safari, go to the web page via the html bar and then open up the web inspector via alt>cmd>I and it should be there.Not sure what Apple Script has to do with anything (But I have never used it :P)
Hope this helps