facebook photo upload [duplicate] - c#

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
multiple upload images on c#/jquery
hey guys!
Yesterday i made here a question about an input type="file" to select multiple files instead of one. And you gave me some solutions like plupload and SWFUpload and some more.
But if possible i want to try something a little bit different, like facebook. The solution that you offered me yesterday have flash, or silverlight, html5, gears or browserplus...
So if you could show me an example like the photo upload of facebook or another i would be very happy!
Regards!

Try: Multiple Upload images with c#/jquery?

Facebook's uploader is a Flash uploader. View the source.

Related

Fetching images with c# htmlagilitypack [duplicate]

This question already has answers here:
Fetching google images using htmlagilitypack
(3 answers)
Closed 8 years ago.
I am trying to fetch images from sites like Google images and yandex (a russian search engine).
I use xpaths for the purpose. While, on yandex, i am able to fetch the image thumbnails (ie, their urls), i am not able to fetch the bigger image (which is possibly javascript generated, when one clicks on the image).
On google images, I am not able to fetch even the thumbnails. The xpath that i use for google images is:
#"//div[#class='rg_di']/img"
Can anybody help me with this?
Try this XPath instead: #"//div[#class='rg_di']//img". You should note that the img tag is not directly under the div tag as your XPath expression states (// instead of /).

How to open facebook app to post and image on wp8? [duplicate]

This question already has answers here:
How can I open the Facebook App for sharing a link on WP8?
(2 answers)
Closed 9 years ago.
I like to know if there is the chance to open the facebook app to post an image with a comment I have this:
await Windows.System.Launcher.LaunchUriAsync(new Uri("fb:post"));
There is the chance to send the image as some parameter or something like that?
those are the classes to share on wp8 development
ShareStatusTask - for sharing status
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.tasks.sharestatustask(v=vs.105).aspx
ShareMediaTask -for sharing media
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.tasks.sharemediatask(v=vs.105).aspx

how to read image from url and save it into internal storage for windows 8 with c# [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to use httpwebrequest to pull image from website to local file
Let said, I have a picture a http://abc.com/image/abc.jpg and I would like to download it and save into the own storage in my windows 8 store application (not store into the picture library), so that my application can call and display the image and the image is not seem from picture library.
how to achieve the above task with c# ? code samples? thanks!
Probably better to let the browser cache this as that plumbing is already in place.
If you really want to pull this off, use HttpWebRequest is the class to use and How to use httpwebrequest to pull image from website to local file seems to have a descent answer.

asp.net + c# tips to edit docx inside my app [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Open/handle Word documents like SharePoint
I´ve developed one website where it is possible to upload docx files to it. Now I want a way to edit it directly in browser, I meant, a way to do like google docs does.
OR
Copy from MSWord to my app window e maintain all the formats, including tables.
for the manipulation of word documents you can use DocX. With this you can read/write from/to word documents (docx not doc). This however is a long way from editing your document in a google docs like manner...
It does match your second request though!

Adding a separate file for all website content [duplicate]

This question already has an answer here:
Getting text from the Resource file in asp.net 4
(1 answer)
Closed 8 years ago.
Thank you in advance for your help.
I have a website in asp.net and c#, i need to have it that all text that is in the site should be taken from a separate file, so it can be changed easily if needed, and for other similar reason.
Hope this id clear.
What is the best way of doing such a thing?
You'll want to read up on resource files, globalisation & localisation. There is a binding expression, similar to <%# that can read the values from the resource files.
This should get you started: http://msdn.microsoft.com/en-gb/library/fw69ke6f.aspx
Simon
I would be tempted to keep your solution 'un-compiled' and then use resource files.

Categories