Click here to Skip to main content
12,954,522 members (60,763 online)

Visual Basic

 
GeneralRe: vb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 12:49
membertuticorinmano2-Jan-13 12:49 
QuestionShould be simple: incompatible types Pin
AndreFratelli1-Jan-13 7:44
memberAndreFratelli1-Jan-13 7:44 
AnswerRe: Should be simple: incompatible types Pin
AndreFratelli2-Jan-13 0:27
memberAndreFratelli2-Jan-13 0:27 
GeneralRe: Should be simple: incompatible types Pin
GuyThiebaut7-Jan-13 22:34
memberGuyThiebaut7-Jan-13 22:34 
Questiondatagrid in vs 2012 Pin
jenkinsdjj30-Dec-12 20:22
memberjenkinsdjj30-Dec-12 20:22 
AnswerRe: datagrid in vs 2012 Pin
Richard MacCutchan30-Dec-12 22:29
mvpRichard MacCutchan30-Dec-12 22:29 
GeneralRe: datagrid in vs 2012 Pin
jenkinsdjj31-Dec-12 0:40
memberjenkinsdjj31-Dec-12 0:40 
QuestionGetting innertext of HTML with </ br> tag between words Pin
Stonesteel26-Dec-12 22:57
memberStonesteel26-Dec-12 22:57 
Greetings!
 
I am currently working in an automation to extract data from IE. I have a scenario where two page will be accessed, the first one is the page without username and password on it and the second one is the page with login page to log username and password...
 
I am currently working on a code where the condition is if the account is logged is as "none" and level as "Administrator", then the page will be accessed and will be directed to the specific url. but when the account is logged in as "none" and level as "Guest", then will be directed to the login page and username and password will be entered.. the problem is the value or the innertext I am extracting has a <br /> between words, how can I set the condition like this?
 
[HTML]<div id="userid">Account: none <br /> Level: ADMINISTRATOR</div>[/HTML]
[HTML]<div id="userid">Account: none <br /> Level: GUEST</div>[/HTML]
 
[CODE]If .Document.GetElementById("userid").innertext = "Account: none " & "<br />" & "Level: ADMINISTRATOR" Then
        .Navigate linktesturl
                Do While .Busy: DoEvents: Loop
                Do While .ReadyState < 4: DoEvents: Loop
                .Visible = True[/CODE]
         ....code continues....
 
I appreciate your feedback. Thank you. :)

AnswerRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak27-Dec-12 8:49
mvpDave Kreskowiak27-Dec-12 8:49 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Stonesteel27-Dec-12 21:04
memberStonesteel27-Dec-12 21:04 
GeneralRe: Getting innertext of HTML with </ br> tag between words Pin
Dave Kreskowiak28-Dec-12 4:41
mvpDave Kreskowiak28-Dec-12 4:41 
Questionthreading impliment Pin
Michael Hulak25-Dec-12 17:58
memberMichael Hulak25-Dec-12 17:58 
AnswerRe: threading impliment Pin
Dineshshp25-Dec-12 18:32
memberDineshshp25-Dec-12 18:32 
AnswerRe: threading impliment Pin
Eddy Vluggen26-Dec-12 12:16
memberEddy Vluggen26-Dec-12 12:16 
QuestionHow to read list of local and network printers Pin
KASR125-Dec-12 7:21
memberKASR125-Dec-12 7:21 
AnswerRe: How to read list of local and network printers Pin
Eddy Vluggen25-Dec-12 8:30
memberEddy Vluggen25-Dec-12 8:30 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 3:38
memberKASR126-Dec-12 3:38 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen26-Dec-12 11:58
memberEddy Vluggen26-Dec-12 11:58 
GeneralRe: How to read list of local and network printers Pin
KASR126-Dec-12 23:15
memberKASR126-Dec-12 23:15 
GeneralRe: How to read list of local and network printers Pin
Eddy Vluggen27-Dec-12 4:28
memberEddy Vluggen27-Dec-12 4:28 
GeneralRe: How to read list of local and network printers Pin
KASR127-Dec-12 7:26
memberKASR127-Dec-12 7:26 
GeneralAdding an email notification module to my application. Pin
KismetGerald24-Dec-12 13:01
memberKismetGerald24-Dec-12 13:01 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan24-Dec-12 23:07
mvpRichard MacCutchan24-Dec-12 23:07 
GeneralRe: Adding an email notification module to my application. Pin
KismetGerald25-Dec-12 0:09
memberKismetGerald25-Dec-12 0:09 
GeneralRe: Adding an email notification module to my application. Pin
Richard MacCutchan25-Dec-12 21:01
mvpRichard MacCutchan25-Dec-12 21:01 

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
Web02 | 2.8.170525.1 | Last Updated 26 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid