Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
PraiseRe: How to refresh design area Pin
mo149217-Dec-17 11:59
mo149217-Dec-17 11:59 
GeneralRe: How to refresh design area Pin
Ralf Meier17-Dec-17 20:44
mveRalf Meier17-Dec-17 20:44 
AnswerRe: How to refresh design area Pin
Ralf Meier14-Dec-17 1:46
mveRalf Meier14-Dec-17 1:46 
QuestionParentControlDesigner: How to receive message from child in design mode Pin
mo14925-Dec-17 2:38
mo14925-Dec-17 2:38 
AnswerRe: ParentControlDesigner: How to receive message from child in design mode Pin
Ralf Meier8-Dec-17 1:02
mveRalf Meier8-Dec-17 1:02 
GeneralRe: ParentControlDesigner: How to receive message from child in design mode Pin
mo14929-Dec-17 11:25
mo14929-Dec-17 11:25 
GeneralRe: ParentControlDesigner: How to receive message from child in design mode Pin
Ralf Meier10-Dec-17 3:09
mveRalf Meier10-Dec-17 3:09 
QuestionDATA CAPTURE - WEB PAGE VB.NET Pin
Member 1352492016-Nov-17 3:05
Member 1352492016-Nov-17 3: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 3:16
mveRichard MacCutchan16-Nov-17 3:16 
QuestionMIDI and USB Keyboard! Pin
User 989707412-Nov-17 4:25
User 989707412-Nov-17 4:25 
AnswerRe: MIDI and USB Keyboard! Pin
Richard MacCutchan12-Nov-17 6:29
mveRichard MacCutchan12-Nov-17 6:29 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 7:45
User 989707412-Nov-17 7:45 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 8:32
professionalSascha Lefèvre12-Nov-17 8:32 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 8:34
User 989707412-Nov-17 8:34 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 8:50
professionalSascha Lefèvre12-Nov-17 8:50 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 8:56
User 989707412-Nov-17 8:56 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre12-Nov-17 9:16
professionalSascha Lefèvre12-Nov-17 9:16 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707412-Nov-17 23:36
User 989707412-Nov-17 23:36 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707413-Nov-17 9:00
User 989707413-Nov-17 9:00 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707429-Nov-17 4:16
User 989707429-Nov-17 4:16 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre29-Nov-17 23:34
professionalSascha Lefèvre29-Nov-17 23:34 
GeneralRe: MIDI and USB Keyboard! Pin
User 989707430-Nov-17 0:10
User 989707430-Nov-17 0:10 
GeneralRe: MIDI and USB Keyboard! Pin
User 98970742-Dec-17 0:48
User 98970742-Dec-17 0:48 
GeneralRe: MIDI and USB Keyboard! Pin
Sascha Lefèvre2-Dec-17 6:06
professionalSascha Lefèvre2-Dec-17 6:06 
GeneralRe: MIDI and USB Keyboard! Pin
User 98970742-Dec-17 6:44
User 98970742-Dec-17 6: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.