Click here to Skip to main content
16,017,376 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello All
Details
I am making window software using geckofx browser as per me there is way to do your work in faster manner using geckofx(mozilla)browser
1) there three web page 1)log in page 2) student information 3)student personal information
2)i have accessed all control avalable on geckoFX browser
Now Problem is
the code is
for first page
C#
void login(object sebder , eventarg e)
{
geckoinputelement username = new geckoinputelement(geckowebbrowser1.document.getelementByName("username")[0].Domobject);

 username.Value = textcontrol.Text;
geckoinputelement password = new geckoinputelement(geckowebbrowser1.document.getelementByName("password")[0].Domobject);
username.Value = passwordcontrol.Text;
geckoinputelement submit = new geckoinputelement(geckowebbrowser1.document.getelementByName("Submit")[0].Domobject);
submit.click();
}

for second page
C#
void student_information(object sebder , eventarg e)
{
 // some code that fill the date on web page like first 
}

for thrid page
C#
void student_personal_information(object sebder , eventarg e)
{
// some code that fill the date on web page like first
}

I want to user only see that the work is going properly user will do nothing in process
i want when the page gets loaded method work by itself there three url
1)htttp://www.shools.com/login.html
2)htttp://www.shools.com/student.html
3)htttp://www.shools.com/studentspersonal.html
how it can be done, the page gets loaded and methods run by itself


please do fast
Posted
Updated 15-Aug-12 1:27am
v2
Comments
[no name] 15-Aug-12 7:34am    
"please do fast"... do what fast? Call your methods from your page load or page init methods. The rest of your posting makes no sense.
Sunny Tiwari 16-Aug-12 10:25am    
if you explain in details i will be greatfull to you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900