Click here to Skip to main content
12,360,037 members (62,718 online)

Visual Basic

 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Richard MacCutchan7-Jan-13 6:39
mvpRichard MacCutchan7-Jan-13 6:39 
GeneralRe: To calculate with two - three & four criteria multiple worksheet in summary sheet Pin
Shailesh Shah12-Jan-13 19:20
memberShailesh Shah12-Jan-13 19:20 
Questionwhich method I should go with Pin
demo 22-Jan-13 19:54
memberdemo 22-Jan-13 19:54 
AnswerRe: which method I should go with Pin
Eddy Vluggen4-Jan-13 22:51
memberEddy Vluggen4-Jan-13 22:51 
Questionvb6 with ms access2007 database Pin
tuticorinmano2-Jan-13 9:58
membertuticorinmano2-Jan-13 9:58 
AnswerRe: vb6 with ms access2007 database Pin
David Mujica2-Jan-13 10:26
memberDavid Mujica2-Jan-13 10:26 
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 
Questionvbs - text inputs uploaded to web Pin
oceaniana24-Dec-12 12:25
memberoceaniana24-Dec-12 12:25 
QuestionThrowing run time error while saving the record. Pin
Member 786176324-Dec-12 2:11
memberMember 786176324-Dec-12 2:11 
AnswerRe: Throwing run time error while saving the record. Pin
Eddy Vluggen25-Dec-12 3:03
memberEddy Vluggen25-Dec-12 3:03 
Questiongetting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 0:44
memberMember 970722123-Dec-12 0:44 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen23-Dec-12 14:17
memberEddy Vluggen23-Dec-12 14:17 
GeneralRe: getting right string value from textbox with arabic text in vb6 Pin
Member 970722123-Dec-12 20:34
memberMember 970722123-Dec-12 20:34 
GeneralRe: getting right string value from textbox with arabic text in vb6 Pin
Dave Kreskowiak24-Dec-12 5:06
mvpDave Kreskowiak24-Dec-12 5:06 
AnswerRe: getting right string value from textbox with arabic text in vb6 Pin
Eddy Vluggen25-Dec-12 8:26
memberEddy Vluggen25-Dec-12 8:26 
AnswerHelp, Win32_DefragAnalysis in VB6 code Pin
nghia09t322-Dec-12 3:26
membernghia09t322-Dec-12 3:26 
GeneralRe: Help, Win32_DefragAnalysis in VB6 code Pin
Eddy Vluggen23-Dec-12 14:15
memberEddy Vluggen23-Dec-12 14:15 
QuestionListview vb6.0 Pin
Ainnop22-Dec-12 3:08
memberAinnop22-Dec-12 3:08 
AnswerRe: Listview vb6.0 Pin
ProgramFOX22-Dec-12 3:19
memberProgramFOX22-Dec-12 3:19 
Questionpuzzle game Pin
jasdeep788221-Dec-12 4:11
memberjasdeep788221-Dec-12 4:11 
AnswerRe: puzzle game Pin
David Mujica21-Dec-12 4:33
memberDavid Mujica21-Dec-12 4:33 
AnswerRe: puzzle game Pin
Richard MacCutchan21-Dec-12 6:30
mvpRichard MacCutchan21-Dec-12 6:30 
QuestionTimer for Internet connection Pin
bolepks20-Dec-12 8:51
memberbolepks20-Dec-12 8:51 
AnswerRe: Timer for Internet connection Pin
Dave Kreskowiak20-Dec-12 9:46
mvpDave Kreskowiak20-Dec-12 9:46 
GeneralRe: Timer for Internet connection Pin
bolepks20-Dec-12 9:56
memberbolepks20-Dec-12 9:56 
GeneralRe: Timer for Internet connection Pin
Dave Kreskowiak21-Dec-12 4:11
mvpDave Kreskowiak21-Dec-12 4:11 

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.160621.1 | Last Updated 1 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid