Click here to Skip to main content
       

Visual Basic

 
AnswerRe: Getting All Logged On Users and IP VB.net [modified] PinmemberDinoRondelly12-Nov-12 8:05 
GeneralRe: Getting All Logged On Users and IP VB.net PinmvpDave Kreskowiak12-Nov-12 10:02 
QuestionModule error> PLEASE HELP! Pinmemberleashim11-Nov-12 13:57 
AnswerRe: Module error> PLEASE HELP! PinmvpDave Kreskowiak11-Nov-12 17:08 
QuestionPizza order form PinmemberRitchie Vasquez11-Nov-12 5:59 
AnswerRe: Pizza order form PinmvpRichard MacCutchan11-Nov-12 6:21 
Questioncheck smtp connection before sending ? Pinmemberalejx9-Nov-12 9:02 
AnswerRe: check smtp connection before sending ? PinmvpDave Kreskowiak9-Nov-12 9:52 
GeneralRe: check smtp connection before sending ? Pinmemberalejx9-Nov-12 13:47 
GeneralRe: check smtp connection before sending ? PinmvpDave Kreskowiak9-Nov-12 14:15 
QuestionAllow a Desktop app to check for JavaScript errors on given URL? Pinmemberpogowolf9-Nov-12 6:17 
QuestionUsing large XML dataset efficiently PinmemberDisIsHoody7-Nov-12 8:16 
AnswerRe: Using large XML dataset efficiently PinmemberDavid Mujica7-Nov-12 9:10 
Questionvb.net Web Browser Control! how to automate when web page is using frames. PinmemberKieran Sloan7-Nov-12 4:27 
A web page I'm trying to automate has come to my attention that it using frames. the source is and link to page is below:
 
url: http://www.konaeuropeadmin.com/[^]
 
My code so far...
 
Dim theElementCollection As HtmlElementCollection = KonaBrwsr.Document.GetElementsByTagName("input")
 
        For Each curElement As HtmlElement In theElementCollection
 
            Dim controlName As String = curElement.GetAttribute("name")
 
            If controlName = "loginname" Then
                curElement.SetAttribute("Value", "username")
            End If
 
            If controlName = "loginpassword" Then
                curElement.SetAttribute("Value", "password")
            End If
 
            If controlName = "savepassword" Then
                curElement.SetAttribute("Value", "True")
            End If
 
        Next
 
        Dim theElementCollection2 As HtmlElementCollection = KonaBrwsr.Document.GetElementsByTagName("input")
 
        For Each curElement2 As HtmlElement In theElementCollection2
 
            Dim controlName2 As String = curElement2.GetAttribute("name").ToString
 
            If controlName2 = "login" Then
                curElement2.InvokeMember("Click")
            End If
 
        Next
 

I know this works as I've used the same procedure for all the webpages I'm trying to automate... 15 in total; downloading files automatically.
 
The problem with this site is that it uses frames, and although I know my code work for a simple HTML form, I have no idea how to repeat this procedure for a framed website.
 
Someone please help, I've been on this for a while now and simply not working for me.
 
Thank you all in advance.
AnswerRe: vb.net Web Browser Control! how to automate when web page is using frames. PinmemberZaf Khan26-Nov-12 2:13 
QuestionHelp with Error Message PinmemberGeorgieMPorgie5-Nov-12 3:32 
AnswerRe: Help with Error Message PinmentorWayne Gaylard5-Nov-12 4:05 
GeneralRe: Help with Error Message PinmemberGeorgieMPorgie5-Nov-12 5:03 
GeneralRe: Help with Error Message PinmentorWayne Gaylard5-Nov-12 18:31 
QuestionUse Reportvier to Show Table with Unknown Number of Columns PinmemberMember 76634803-Nov-12 15:03 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns PinmvpDave Kreskowiak4-Nov-12 4:25 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns PinmemberMycroft Holmes4-Nov-12 11:54 
QuestionHow can i retrieve image to pictureBox ? Pinmemberheinhtataung1-Nov-12 18:04 
AnswerRe: How can i retrieve image to pictureBox ? PinmemberEddy Vluggen2-Nov-12 0:57 
AnswerRe: How can i retrieve image to pictureBox ? PinmemberSZLMCL6-Nov-12 23:20 
QuestionHow can i save image in my N-tier application? Pinmemberheinhtataung31-Oct-12 20:20 
AnswerRe: How can i save image in my N-tier application? PinmemberEddy Vluggen1-Nov-12 3:05 
QuestionAI program PinmemberCasey Edison31-Oct-12 5:04 
AnswerRe: AI program PinmemberSimon_Whale31-Oct-12 5:08 
GeneralRe: AI program PinmemberCasey Edison31-Oct-12 5:13 
AnswerRe: AI program PinmvpRichard MacCutchan31-Oct-12 7:59 
GeneralRe: AI program PinmemberCasey Edison31-Oct-12 12:26 
GeneralRe: AI program PinmvpRichard MacCutchan31-Oct-12 23:18 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 0:42 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 2:06 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 8:14 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 8:19 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 12:40 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 14:55 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 8:15 
GeneralRe: AI program PinmemberEddy Vluggen2-Nov-12 1:08 
QuestionHow to INSERT multiple rows of data to sql table? Pinmemberzaimah31-Oct-12 1:28 
AnswerRe: How to INSERT multiple rows of data to sql table? PinmemberEddy Vluggen31-Oct-12 2:11 
GeneralRe: How to INSERT multiple rows of data to sql table? Pinmemberzaimah31-Oct-12 2:28 
GeneralRe: How to INSERT multiple rows of data to sql table? PinmemberEddy Vluggen31-Oct-12 2:48 
GeneralRe: How to INSERT multiple rows of data to sql table? [modified] Pinmemberzaimah31-Oct-12 3:01 
GeneralRe: How to INSERT multiple rows of data to sql table? PinmemberEddy Vluggen31-Oct-12 3:22 
GeneralRe: How to INSERT multiple rows of data to sql table? Pinmemberzaimah31-Oct-12 3:53 
GeneralRe: How to INSERT multiple rows of data to sql table? PinmemberEddy Vluggen31-Oct-12 3:58 
GeneralRe: How to INSERT multiple rows of data to sql table? Pinmemberzaimah31-Oct-12 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid