On uploading an image file, I'm seeing a network call like this
blob:https://localhost:8080/a59ee740-63c4-4daa-a685-67ee0248b2f8
I'm quite new to programming. Could someone help me to figure out how to access this link?
Related
I know that the easiest way to open a resource in Edge is by using the microsoft-edge: protocol handler.
I think this works for html files. For instance, you could run microsoft-edge:http://stackoverflow.com to open Stack Overflow in Edge.
But, what if I want to open a PDF file?
Can I run microsoft-edge:file:///C:/Desktop/sample.pdf ?
Looks like it's not working for me.
Thanks
I could reproduce the problem on my machine, it seems that you want to open a PDF file in Edge browser from another browser. As far as I know, Edge browser URL protocol no longer works for local files, only for http/https.
As a workaround, I suggest you could upload the local pdf file to the internet, such as OneDrive. Then, we could get the shared link and use it with the Edge URL protocol.
Sample code as below:
Link
I need your help.I recently discovered contruct 2 and I´m not the best at using it.So my problem is, I exported my game to HTML5 and when I open it it says that for security reason it won´t open only if I upload it, the game as some bugs that I can only be sure it´s something wrong if doing it on a website otherwise the game puts all my layouts one over the other and that´s the only way that I can be sure that nothign is wrong with it.
Thanks for reading!!! :D
To test your game just run it with "play" button (you have to open the first layout and then press "play"). You need a web server to test the exported game
Your game works if you upload your game to internet server and it get URL address to it (for example: http://example.com/index.html). When you go to game URL in your browser you can play your game (I hope so).
If you have Github create new project, upload game (html) file (and it's assets) and then get URL address for that project. Please ensure game file is main site.
I'm tried this myself. And I hope this will help you.
I am building a WPF application and while im not a newbie, I am not an expert either. My WPF application streams images from a website when connected to the internet. If a user selects the image, I would like to save it to the hard drive. The user would then reuse the image later on when loading the application if it isn't connected to the internet. I will be querying a folder to see if its there in a saved location as well.
I question where the best location is to save it? I think it might be document settings and then application data, but Im not too sure.
Thank you in advance.
For behind the scenes data i usually use the local app data, you can get the directory like this (in case you did not know):
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
I create some root folder there for the application to store the data in, cleanup can then just be done by getting rid of the whole folder.
I have a WPF intranet app running in Trusted mode (local only).
I would like the users to be able to upload an image and attach it to an article on my newsletters section. I am having trouble deciding where these images will be stored.
Please provide me with your opinions.
At present I have a few ideas myself;
I could have an aspx page that runs parallel to this app, and run this inside a browser(I-frame). This page could then handle the upload and display of the image.
I could also, have the users copy directly to a network share.
It seems that there should be a more elegant sollution that I am not aware of.
Any ideas?
Don't force the solution towards ASPX just because you know how to do it there. It's unnatural to build a page, host browser to show that page etc, just so you could upload an image.
It's actually quite simpler to do it in a desktop client than on web page. You have a "Load File Dialog" - use that to get to the filepath the user wants to upload, and when you have that you can either:
copy it (inside your application) to your share,
or if you have a service - send it through some method call,
or you can even store it inside a database (recommended if the files are small)
There's really lots of options here... it depends if your client has connection to db, do you have service in between, etc...
I am using Silverlight 3 and I am trying to take a screenshot of esri map.
I was able to take a screenshot and save as a file for silverlight controls, but when I try to access Esri map image, I get "Pixel access not allowed" error. I heard this is because of different domain (I am trying to get map image on the client side, and map image is not accessible at server side in my silverlight application).
So I am trying to find a function from esri so that I can save the map image as a file.
does anybody know how to do this? or any other way around?
I am using a script from the Code Gallery for both printing and exporting map images.
The script requires a little bit of tweaking to get it to work (plus you need to dig a little bit into WCF and self-hosted services), but it has been working great for several months now. You can see it in action at our web site.