Click here to Skip to main content
15,846,211 members
Home / Discussions / Visual Basic
   

Visual Basic

 
PraiseRe: How to refresh design area Pin
mo149217-Dec-17 12:59
mo149217-Dec-17 12:59 
GeneralRe: How to refresh design area Pin
Ralf Meier17-Dec-17 21:44
professionalRalf Meier17-Dec-17 21:44 
AnswerRe: How to refresh design area Pin
Ralf Meier14-Dec-17 2:46
professionalRalf Meier14-Dec-17 2:46 
QuestionParentControlDesigner: How to receive message from child in design mode Pin
mo14925-Dec-17 3:38
mo14925-Dec-17 3:38 
AnswerRe: ParentControlDesigner: How to receive message from child in design mode Pin
Ralf Meier8-Dec-17 2:02
professionalRalf Meier8-Dec-17 2:02 
GeneralRe: ParentControlDesigner: How to receive message from child in design mode Pin
mo14929-Dec-17 12:25
mo14929-Dec-17 12:25 
GeneralRe: ParentControlDesigner: How to receive message from child in design mode Pin
Ralf Meier10-Dec-17 4:09
professionalRalf Meier10-Dec-17 4:09 
QuestionDATA CAPTURE - WEB PAGE VB.NET Pin
Member 1352492016-Nov-17 4:05
Member 1352492016-Nov-17 4:05 
Good day,

in advance I appreciate the help. I have the following problem ...

I developed an application where I capture some data from a web page using vb.net and the object of the SHDocVw.WebBrowser interface, what it does is that if it finds a certain page, it saves it as body.innerHTML in a string variable. Until a few days ago it worked perfectly. the page where I capture the data changed the structure of it (Links, Field names, labels) and it does not let me take the values. When I go through the debug process in vb.net, it shows me the variable loaded with the innerHTML but as if there were no data ready, so this is seeing them on the page.

also try to save the page (complete, HTML) from the IE to validate that it keeps the data entered on the page and does not save it, that is, as if it had not written anything. I do not know what to do to be able to save those fields correctly. Any suggestions always welcome. Thank you.


These are the tools with which I develop:

Visual Studio 2013

SO: 8.1 pro

IE: 11

--Process--
Dim ShellOnWindows As New ShellWindowsClass
Dim ObjectOfPoliedro As SHDocVw.WebBrowser

Try
   '--runs all instances of internet explorer--'
   For Each ObjectOfPoliedro In ShellOnWindows
   Dim NameOfBrowser As String = ObjectOfPoliedro.Name.ToLower.ToString

   '--check if name of browser contains internet explorer--'
   If NameOfBrowser.ToString.Contains("internet explorer") Or NameOfBrowser.ToString.Contains("internet") Or NameOfBrowser.ToString.Contains("explorer") Then

   Dim LocationOfBrowser As String = ObjectOfPoliedro.LocationURL.ToLower.ToString
   Dim TitleOfBrowser As String = ObjectOfPoliedro.LocationName.ToLower.ToString
   Dim DocumentOfPoliedro As mshtml.HTMLDocument = TryCast(ObjectOfPoliedro.Document, mshtml.HTMLDocument)
   Dim StrinOfPage As String = DocumentOfPoliedro.body.innerHTML

AnswerRe: DATA CAPTURE - WEB PAGE VB.NET Pin
Richard MacCutchan16-Nov-17 4:16
mveRichard MacCutchan16-Nov-17 4:16 
QuestionMIDI and USB Keyboard! Pin
User 989707412-Nov-17 5:25
User 989707412-Nov-17 5:25 
AnswerRe: MIDI and USB Keyboard! Pin
Richard MacCutchan12-Nov-17 7:29
mveRichard MacCutchan12-Nov-17 7:29 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 8:45
User 989707412-Nov-17 8:45 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 9:32
professionalSascha Lefèvre12-Nov-17 9:32 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 9:34
User 989707412-Nov-17 9:34 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 9:50
professionalSascha Lefèvre12-Nov-17 9:50 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 9:56
User 989707412-Nov-17 9:56 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 10:16
professionalSascha Lefèvre12-Nov-17 10:16 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707413-Nov-17 0:36
User 989707413-Nov-17 0:36 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707413-Nov-17 10:00
User 989707413-Nov-17 10:00 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707429-Nov-17 5:16
User 989707429-Nov-17 5:16 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre30-Nov-17 0:34
professionalSascha Lefèvre30-Nov-17 0:34 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707430-Nov-17 1:10
User 989707430-Nov-17 1:10 
GeneralRe: MIDI and USB Keyboard! Pin
User 98970742-Dec-17 1:48
User 98970742-Dec-17 1:48 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre2-Dec-17 7:06
professionalSascha Lefèvre2-Dec-17 7:06 
GeneralRe: MIDI and USB Keyboard! Pin
User 98970742-Dec-17 7:44
User 98970742-Dec-17 7:44 

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.