Questions tagged [urlmon]
The urlmon tag has no usage guidance.
urlmon
39
questions
0
votes
1
answer
76
views
how to use urlmon.h DownloadProgressCallback in C language, not c++
I hope make progress bar to urlmon in C. but it wasn't work
I don't know what the problem is.
If there's another way to download the URL and receive download progress, I will give that a try
and if ...
0
votes
0
answers
115
views
Download a sharepoint file using urlmon.DLL download file
I’m trying to download files using sharepoint link(path link) using urlmon.DLL in C#. It’s downloading full file sometimes and sometimes it’s creating corrupted file. Any solutions to resolve this?
I ...
-1
votes
1
answer
1k
views
"urlmon.h" doesn't exist. Cannot find any solutions other than some posts from 2004
I am using an open sourced script from github which contains the following lines at the top:
#include <urlmon.h>
#pragma comment(lib, "urlmon.lib")
However, when I try to build it, it ...
0
votes
0
answers
475
views
Urlmon header in visual studio code?
so im trying to download a file from a url link using URLDownloadToFile, and that needs the urlmon
when i include urlmon.h and the urlmon.lib it cant find the headers.
I am using visual studio code, ...
0
votes
0
answers
551
views
EXCEL VBA (URLDownloadToFile) Not working Due to Site not allowing IE11
I was wondering if anyone had an idea about how to get URLtoDownloadfile to work but get it to use Microsoft Edge as opposed to IE11. The websites trying to pull PDF's from now doesn't support IE11 so ...
0
votes
1
answer
4k
views
Excel VBA URLDownloadToFile Does Not Retrieve Full File (Sharepoint API)
I am trying to link Sharepoint 365 into an Excel Workbook. Previously, I was using wshell to mount the Sharepoint drive to my computer and access everything locally. Sharepoint 365 doesn't allow you ...
2
votes
1
answer
107
views
Call to UrlMkGetSessionOption for URLMON_OPTION_USERAGENT always returns E_OUTOFMEMORY
However, it correctly fills up return string buffer(char*) for UserAgent String.
URLMon.dll version : 11.0.20161.1000 - 64 bit.
Platform Windows 10 64 bit.
0
votes
1
answer
440
views
syntax error: 'constant' for a windows sdk file
I'm getting this weird error when compiling a project:
.
But urlmon.h is a windows sdk, why is it erroring? when I click it, it brings me here:
which is very odd
Path of urlmon.h: C:\Program Files ...
0
votes
0
answers
240
views
FindMimeFromData function giving incorrect result in some machine
I have a VB.net code to check mime type of a file and cross check the mime file type with it's extension to validate the file.
It is working fine on many machines but not working on some.
I have used ...
-2
votes
1
answer
444
views
How to fix "Run-Time Check Failure #0" error when trying to download a file with urlmon.dll?
I have written a downloader program in C++ using urlmon.dll.
I have used Visual Studio 2015 RTM as the IDE.
Here are my codes:
// ConsoleApplication1.cpp : Defines the entry point for the console ...
0
votes
1
answer
33
views
Webquery is persisting/caching http auth failures albeit URL changes
I do have a weird issue here, looking for someone with an elegant solution.
I use something like
With destCell.Parent.QueryTables.Add(Connection:="TEXT;" & exportUrl, Destination:=destCell)
...
1
vote
1
answer
1k
views
URLDownloadToFile fails with 0x800c0008 (INET_E_DOWNLOAD_FAILURE) depending on length of URL [duplicate]
I'm aware there is a similar question here. However my symptoms differ. There seems to be some kind of URL length restriction in place that I couldn't find documented. The limit seens to be 2084 (sic! ...
0
votes
1
answer
664
views
Using urlmon API Function to download data from Quandl.com to access database, using VBA
Overview
I am using www.quandl.com free financial data to attempt to predict Asset price movements
Approach
I have built a function to download the data using the quandl API. I am declaring a ...
0
votes
1
answer
1k
views
Download to current directory
I want to download the file to current directory instead of "c://". How would that be done?
My code:
using namespace std;
#pragma comment(lib, "urlmon.lib")
int main()
{
cout << "...
1
vote
1
answer
916
views
Application pool crashes with URLMoniker urlmon.dll during MIME type checking
My application is ASP.NET MVC website deployed on Windows Server 2012 R2. I am using built-in Windows library URLMoniker - urlmon.dll to get MIME type of a file. I am passing its file path to ...