Skaapn
05-03-2012, 07:10 AM
Hello
Because this is my first post, i'll introduce myself.
I've started programming in C# 3 years ago.
Most of my work consist of simple school projects and some scripting.
Recently i have started to work with access(VBA),which i find easy to adapt to.
Now lets talk about my current problem.
I want my application to fill textboxes on a web form and click the submit button.
After the submit button is clicked, certain text is shown(depending on my previous input), And get THAT pagesource
I managed to do the filling and clicking part.
I also know how to get a page source from a website.
But the thing is, the URL does not change after the submit button is clicked.
So if i try to get the pagesource, i get the pagesource from the first page(submit button not clicked).
My question is: How do i get the pagesource from the URL, after i press the button.
Im using IE object
Set IE = CreateObject("InternetExplorer.Application")
With IE
.MenuBar = 1
.Toolbar = 1
.StatusBar = 1
.navigate "URL(can't post real URL)"
.Visible = 1
End With
I hope im being clear enough.
Have a nice day :cloud9:
Because this is my first post, i'll introduce myself.
I've started programming in C# 3 years ago.
Most of my work consist of simple school projects and some scripting.
Recently i have started to work with access(VBA),which i find easy to adapt to.
Now lets talk about my current problem.
I want my application to fill textboxes on a web form and click the submit button.
After the submit button is clicked, certain text is shown(depending on my previous input), And get THAT pagesource
I managed to do the filling and clicking part.
I also know how to get a page source from a website.
But the thing is, the URL does not change after the submit button is clicked.
So if i try to get the pagesource, i get the pagesource from the first page(submit button not clicked).
My question is: How do i get the pagesource from the URL, after i press the button.
Im using IE object
Set IE = CreateObject("InternetExplorer.Application")
With IE
.MenuBar = 1
.Toolbar = 1
.StatusBar = 1
.navigate "URL(can't post real URL)"
.Visible = 1
End With
I hope im being clear enough.
Have a nice day :cloud9: