TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Riysa
NA
1
0
.Net Webbrowser file upload
May 8 2009 4:06 PM
Hello guys,
Could you please try to help me find what am I doing wrong in the following code? I am sure it has to something very simple and basic.
Okay here is the code:
--------------------------------------------------------------------------------
mshtml.IHTMLDocument2 riysa = RiysaBrowser.Document as mshtml.IHTMLDocument2;
mshtml.HTMLInputElement File = (mshtml.HTMLInputElement)riysa.all.item("file-input", 0);
File.click();
RiysaBrowser.Focus();
System.Windows.Forms.SendKeys.Send(this.PostImage + "{ENTER}");
--------------------------------------------------------------------------------
Now, I can see that file dialog box does open automatically without clicking "Browse" button. But for some reason, the file path is not inserted in the "File name" box of the file upload dialog.
I would really appreciate it if you could please help me out with this one.
Thank you
Reply
Answers (
0
)
getting page data on a different page of a different website...!!!
managing of forms