MHT file Printing takes time - printing

I am using C# application with WebBrowser control to render and print MHT file using Internet explorer(IE).
recent i faced more time issue while print MHT file, single file took around a 1 hour to print file.
investigating MHT file, i found this file having more Links which may require to connect with internet and takes time load details.
This same files works fine with the older IE version having the "Work Offline" option. In current IE11 version work offline option is removed.
So any one have any idea how to resolve this time consumption issue of MHT file while print.
Thanks

Related

OpenMap tiles raster download

I have downloaded the single purchase raster file of the Australia-Oceania from Open tiles. The download has finished but when I attempt to open the file using GeoPro or QGIS I receive an error message that this file cannot be loaded. Can anyone help?
Shauna
My theory is that you have to open the file with the blob logo (second version of the file listed in the file browser) and since the data set is so big (6+ gb) it will take a very long time to open.
It's worth also posting a new question on their support forum:
https://support.maptiler.com/s2-desktop
Here's how I've come to this theory:
You've downloaded and installed QGIS from here
https://qgis.org/en/site/forusers/download.html
You've downloaded the mbtiles Australia map from here
https://openmaptiles.com/downloads/tileset/osm/australia-oceania/?usage=open-source
I found a guide for opening mbtiles in QGIS:
https://support.maptiler.com/i77-open-maps-in-qgis
I open QGIS
I click start a new blank project and
then drag the .mbtiles file over into the main window that now appears blank
dragging the file with the grid icon I receive an error message:
Invalid Layer: GDAL provider Cannot open GDAL dataset C:/.../2017-07-03_australia-oceania.mbtiles: `C:/.../2017-07-03_australia-oceania.mbtiles' not recognized as a supported file format. Raster layer Provider is not valid (provider: gdal, URI: C:/.../2017-07-03_australia-oceania.mbtiles
When I load the australia-oceania.mbtiles file with the blob logo, it loads for a very, very long time (3+ hours). I have not been able to wait for it to completely load.
To see if opening a file like this actually works, I downloaded a sample .mbtiles file from this website: https://docs.mapbox.com/help/glossary/mbtiles/
Opening the version of the sample trails.mbtiles file from the website above rendered the same error. If I open the version that looks like a blob for the icon, it loads in QGIS right away. This leads me to believe the loading time just takes forever since the open tiles .mbtiles file is so big.
When googling large files taking a long time to open with QGIS there are several issues open for other file types. It leads me to believe this may not be different: https://issues.qgis.org/issues/19509

YAWS crash uploading 7 MB file

I'm using a Raspberry like board with YAWS 2.0.4 and Erlang 19.
I wrote two webpages to upload a file and save it on the server: with "larger" file (I mean, ~7MB) the server crashes, with smaller file all works fine.
I already tried to use the example code found in the YAWS site and another one with the temp_file and binary options, but it doesn't work.
Any suggestions?
Thanks in advance.
After spending much time, I've found the problem: the partial_post_size parameter in the YAWS configuration was too much high.
I've changed it, near the default value (10240) and all works fine.

how can I prevent Excel 2003 from checking every hyperlink in a document when the document opens?

I have a spreadsheet that has several worksheets, each containing a hundred or so hyperlinks to other documents on our network (file:////server/share/path/to/spreadsheet.xls). Opening these files within Excel 2003 takes a very long time, compared to how long it takes to open in 2007 or 2010. I took a look in Task Manager at the network tab to see what was going on when these files are opened and noticed a lot of steady network traffic while the file was opening, and as soon as the spreadsheet finally displayed on the screen, the network traffic dropped down to almost nothing. As I removed some of those links, the file would open faster, until I finally got rid of all the links and the file opened almost as fast as any other normal spreadsheet. Is there a way to prevent Excel from doing whatever it's doing with those links when the file first opens?
This is a programming-related forum so:
Workbooks.Open AFile, False
See: http://msdn.microsoft.com/en-us/library/ff194819.aspx

Open a file that is on a file server from a webpage?

I am working on an internal application. We have a website that displays all our SSRS reports for a group of work. I have been asked to see if I can link all the files (pdf, word, excel) for the group of work. These files are stored on a file server that users viewing the reports have access to. Each group has its own group of reports and shared files.
Is it possible to open the files (without downloading them) from a webpage? Meaning that they file is opened from the file server? I don't want people to download a copy of the file.
I am pretty sure this can work with IE because sharepoint does it. However, other browsers may have an issue.
EDIT: What I would like is to have a web page with links to the files. When they click on a link (say for a word doc), word will open the file that resides on the file server. Without out a local copy downloaded from the network share.
EDIT2: Please note, I know what I am asking is probably not possible in all browsers. I am more or less just making sure. It seems possible in IE using activeX, but out side of that browsers do a good job at keeping processes inside a sandbox.
3 options. Remember this is for an internal website.
link to the share using file://. This will have the side affect of downloading the file to be viewed. As long as user clicks open every time it should not be a big deal.
Use JavaScript and activeX to open word (excel, reader, ect) passing in the file path as a command line arguments. This works only in IE and in win7 (probably vista) user will get a pop up asking if it is ok for the activeX control to run.
Create a new protocol. openfile://. This would be set up to run an application that is installed on the client machine which would open the file. Since it is internal, the application could be installed on the machines without issues. This also requires a registry change.
I haven't picked one as this change is still being looked into but i figure I would update this in case someone runs into something similar.

Installing applications OTA

I have a system set up to download jad files on users' Blackberries, but it only works intermittently, and seemingly randomly. If the user clicks on the link within their BlackBerry browser, 95% of the time on the first try an error message will pop up saying there was an HTTP 500 error (which our server never returns).
Viewing the details of this message within the blackberry browser, it says nothing but java.lang.nullpointerexception which, again, could not have come from our server (running apache/php).
However, if the user clicks on the link a few more times, or navigates away and goes back to that page, it suddenly works. No change on the server, it just shows the application install screen. Unfortunately, this doesn't always work; sometimes the error 500 just keeps showing up.
The link is rather long (containing an sha hash as a token as part of the URL), but I would think that a long URL would either always be broken or always work, not work intermittently.
The link uses a php script to download the jad and cod files. Linking to the files directly rather than using the script seems to work more often (I haven't determined if that also ever has an error 500 or not), but I can't find any issues with the headers. The content type is set correctly and, like I said, if the headers were an issue, I'd think it would either always work or always break.
Any clues?
You may be able to shed some light on the problem by looking at the event logs, which you can get using JavaLoader:
javaloader -u eventlog > event.log
Search for NullPointerException within those logs and you'll be able to see what's causing it.
I can't explain the intermittent behaviour, but I had a similar situation where I was getting the java.lang.NullPointerException in the browser details. Unfortunately, the Event Log (as dumped by javaloader.exe) or by viewing on-device using Alt-L-G-L-G didn't show the exception.
(I'm using bb-ant-tools and JDE 4.6.1.) When the signature tool ran, I noticed that there were two .cod files being signed and I can see both of them inside the .jar file the compiler creates. But the output written was a single .cod file of size 92306 bytes that was not a .zip of smaller .cod files. The compiler somehow was not able to create a .cod that contained siblings. For comparison, compiling the project with JDE 5.0.0 created sibling .cod files that were able to be loaded over OTA.
My project included an .mp3 file of 53542 bytes which I happened to not require. After removing it, the 4.6.1 compiler outputted a single .cod and I was able to successfully download it via OTA.

Resources