Click here to Skip to main content
13,095,921 members (53,516 online)

Visual Basic

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