Click here to Skip to main content
12,746,572 members (29,971 online)

Visual Basic

 
Questioncheck smtp connection before sending ? Pin
alejx9-Nov-12 10:02
memberalejx9-Nov-12 10:02 
AnswerRe: check smtp connection before sending ? Pin
Dave Kreskowiak9-Nov-12 10:52
mvpDave Kreskowiak9-Nov-12 10:52 
GeneralRe: check smtp connection before sending ? Pin
alejx9-Nov-12 14:47
memberalejx9-Nov-12 14:47 
GeneralRe: check smtp connection before sending ? Pin
Dave Kreskowiak9-Nov-12 15:15
mvpDave Kreskowiak9-Nov-12 15:15 
QuestionAllow a Desktop app to check for JavaScript errors on given URL? Pin
pogowolf9-Nov-12 7:17
memberpogowolf9-Nov-12 7:17 
QuestionUsing large XML dataset efficiently Pin
DisIsHoody7-Nov-12 9:16
memberDisIsHoody7-Nov-12 9:16 
AnswerRe: Using large XML dataset efficiently Pin
David Mujica7-Nov-12 10:10
memberDavid Mujica7-Nov-12 10:10 
Questionvb.net Web Browser Control! how to automate when web page is using frames. Pin
Kieran Sloan7-Nov-12 5:27
memberKieran Sloan7-Nov-12 5: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. Pin
Zaf Khan26-Nov-12 3:13
memberZaf Khan26-Nov-12 3:13 
QuestionHelp with Error Message Pin
GeorgieMPorgie5-Nov-12 4:32
memberGeorgieMPorgie5-Nov-12 4:32 
AnswerRe: Help with Error Message Pin
Wayne Gaylard5-Nov-12 5:05
mentorWayne Gaylard5-Nov-12 5:05 
GeneralRe: Help with Error Message Pin
GeorgieMPorgie5-Nov-12 6:03
memberGeorgieMPorgie5-Nov-12 6:03 
GeneralRe: Help with Error Message Pin
Wayne Gaylard5-Nov-12 19:31
mentorWayne Gaylard5-Nov-12 19:31 
QuestionUse Reportvier to Show Table with Unknown Number of Columns Pin
Member 76634803-Nov-12 16:03
memberMember 76634803-Nov-12 16:03 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns Pin
Dave Kreskowiak4-Nov-12 5:25
mvpDave Kreskowiak4-Nov-12 5:25 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns Pin
Mycroft Holmes4-Nov-12 12:54
memberMycroft Holmes4-Nov-12 12:54 
QuestionHow can i retrieve image to pictureBox ? Pin
heinhtataung1-Nov-12 19:04
memberheinhtataung1-Nov-12 19:04 
AnswerRe: How can i retrieve image to pictureBox ? Pin
Eddy Vluggen2-Nov-12 1:57
memberEddy Vluggen2-Nov-12 1:57 
AnswerRe: How can i retrieve image to pictureBox ? Pin
SZLMCL7-Nov-12 0:20
memberSZLMCL7-Nov-12 0:20 
QuestionHow can i save image in my N-tier application? Pin
heinhtataung31-Oct-12 21:20
memberheinhtataung31-Oct-12 21:20 
AnswerRe: How can i save image in my N-tier application? Pin
Eddy Vluggen1-Nov-12 4:05
memberEddy Vluggen1-Nov-12 4:05 
QuestionAI program Pin
Casey Edison31-Oct-12 6:04
memberCasey Edison31-Oct-12 6:04 
AnswerRe: AI program Pin
Simon_Whale31-Oct-12 6:08
memberSimon_Whale31-Oct-12 6:08 
GeneralRe: AI program Pin
Casey Edison31-Oct-12 6:13
memberCasey Edison31-Oct-12 6:13 
AnswerRe: AI program Pin
Richard MacCutchan31-Oct-12 8:59
mvpRichard MacCutchan31-Oct-12 8:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web01 | 2.8.170215.1 | Last Updated 18 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid