Click here to Skip to main content
15,905,148 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel24-Mar-11 1:15
professionalSander Rossel24-Mar-11 1:15 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
DaveyM6924-Mar-11 5:21
professionalDaveyM6924-Mar-11 5:21 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel24-Mar-11 5:48
professionalSander Rossel24-Mar-11 5:48 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
DaveyM6926-Mar-11 6:58
professionalDaveyM6926-Mar-11 6:58 
AnswerRe: Best practices on Generics (in .NET 4.0)? Pin
Luc Pattyn26-Mar-11 7:16
sitebuilderLuc Pattyn26-Mar-11 7:16 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel28-Mar-11 8:43
professionalSander Rossel28-Mar-11 8:43 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Rob Grainger25-Mar-11 5:18
Rob Grainger25-Mar-11 5:18 
QuestioncurrentElement.GetAttribute(VB.NET) Pin
Herboren21-Mar-11 10:10
Herboren21-Mar-11 10:10 
I am trying to retrieve a value within a textbox that has a vlue already passed to it within a webpage. As you can see I am trying to extract the last name here(red fire truck:
<span id="CallerForm1_CallerInformation1_lblLNameLabel" class="clsFormLabelSide" style="font-size:XX-Small;z-index: 109; left: 273px; position: absolute;
       top: 56px">(last)</span>
   <input name="CallerForm1:CallerInformation1:txtLName" type="text" value="RedFireTruck" maxlength="50" id="CallerForm1_CallerInformation1_txtLName" style="width:168px;z-index: 105; left: 266px; position: absolute;
       top: 72px" />


What I have been using is the chunk within the methos: Document Completed. Im trying to store its value in a variable so I can pass the var to the next screen or a different page. All I could come up with was this. keep in mind I am using a msgbox to see if anything has been saved or retrieved by so far I havent gotten any notifications:
Dim theElementCollection As HtmlElementCollection = wbCHCTrac.Document.GetElementsByTagName("input")
        If wbCHCTrac.Url.ToString.Contains("client/upd_caller.aspx?") Then
            For Each currentElement As HtmlElement In theElementCollection
                Dim controlName As String = currentElement.GetAttribute("id").ToString
                If controlName = "CallerForm1:CallerInformation1:txtLName" Then
                    MsgBox(currentElement.GetAttribute("Value").ToString)
                    
                End If
            Next
        End If


Any help would be appreciated =)
AnswerRe: currentElement.GetAttribute(VB.NET) Pin
davidnz22-Mar-11 23:32
davidnz22-Mar-11 23:32 
QuestionNew SDK for visual studio projects Pin
rodrigogroff18-Mar-11 9:39
rodrigogroff18-Mar-11 9:39 
AnswerRe: New SDK for visual studio projects Pin
Not Active18-Mar-11 9:49
mentorNot Active18-Mar-11 9:49 
GeneralRe: New SDK for visual studio projects Pin
rodrigogroff18-Mar-11 9:52
rodrigogroff18-Mar-11 9:52 
GeneralRe: New SDK for visual studio projects Pin
Not Active18-Mar-11 10:12
mentorNot Active18-Mar-11 10:12 
GeneralRe: New SDK for visual studio projects Pin
Richard MacCutchan18-Mar-11 10:45
mveRichard MacCutchan18-Mar-11 10:45 
GeneralRe: New SDK for visual studio projects Pin
rodrigogroff18-Mar-11 11:00
rodrigogroff18-Mar-11 11:00 
AnswerRe: New SDK for visual studio projects Pin
PIEBALDconsult18-Mar-11 19:15
mvePIEBALDconsult18-Mar-11 19:15 
QuestionSSH for File transfer Pin
byka16-Mar-11 1:53
byka16-Mar-11 1:53 
AnswerRe: SSH for File transfer Pin
Rick Shaub16-Mar-11 7:05
Rick Shaub16-Mar-11 7:05 
QuestionProblem with MSER extracting Pin
thematteo16-Mar-11 0:53
thematteo16-Mar-11 0:53 
Questioncommunication between 2 windows Pin
Defender-NF14-Mar-11 7:59
Defender-NF14-Mar-11 7:59 
AnswerRe: communication between 2 windows Pin
Pete O'Hanlon14-Mar-11 8:09
mvePete O'Hanlon14-Mar-11 8:09 
GeneralRe: communication between 2 windows Pin
Defender-NF14-Mar-11 8:14
Defender-NF14-Mar-11 8:14 
GeneralRe: communication between 2 windows Pin
Pete O'Hanlon14-Mar-11 10:24
mvePete O'Hanlon14-Mar-11 10:24 
AnswerRe: communication between 2 windows [modified] Pin
RobCroll14-Mar-11 12:20
RobCroll14-Mar-11 12:20 
GeneralRe: communication between 2 windows Pin
Defender-NF15-Mar-11 2:31
Defender-NF15-Mar-11 2:31 

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.