This project is read-only.

How do it in a webBrowser

Apr 12, 2008 at 7:03 PM

thanks for the Scribd.Net

How should I do it to display it in a webBrowser1?

private System.Windows.Forms.WebBrowser webBrowser1 = new System.Windows.Forms.WebBrowser();

Scribd.Net.User.Signup(username, password, email, name);
if (Scribd.Net.User.Login(username, password))
{
Scribd.Net.Document settings = Scribd.Net.Document.Upload("http://****/file/2007-1.doc", "doc");
/* How should I do it to display it in a webBrowser1? */


}
Coordinator
Apr 15, 2008 at 5:14 PM
Hi. I'm glad you like it.

There isn't a "good way" to view it in a webbrowser control. One approach is to:

// Display the Scribd document in my webbrowser control at full screen.
string fullUrl = @"http://www.scribd.com/full/{0}?access_key={1}";
webBrowser1.Navigate(string.Format(fullUrl, settings.DocumentId, settings.AccessKey));

- Paul
Apr 21, 2008 at 3:09 AM
Thank you.
Thanks!! thanks!!.
Scribd.Net is used very happily.

hisataka