Click here to Skip to main content
15,898,134 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Extract text in a file txt and simultaneously replace it with dots. Pin
Sascha Lefèvre8-Apr-16 2:51
professionalSascha Lefèvre8-Apr-16 2:51 
AnswerRe: Extract text in a file txt and simultaneously replace it with dots. Pin
Richard MacCutchan7-Apr-16 21:08
mveRichard MacCutchan7-Apr-16 21:08 
GeneralRe: Extract text in a file txt and simultaneously replace it with dots. Pin
Miauz8-Apr-16 2:18
Miauz8-Apr-16 2:18 
GeneralRe: Extract text in a file txt and simultaneously replace it with dots. Pin
Richard MacCutchan8-Apr-16 2:46
mveRichard MacCutchan8-Apr-16 2:46 
GeneralRe: Extract text in a file txt and simultaneously replace it with dots. Pin
Sascha Lefèvre8-Apr-16 2:54
professionalSascha Lefèvre8-Apr-16 2:54 
QuestionResetting before Fileupload control Pin
Redvan5-Apr-16 8:21
Redvan5-Apr-16 8:21 
AnswerRe: Resetting before Fileupload control Pin
Wombaticus5-Apr-16 21:56
Wombaticus5-Apr-16 21:56 
QuestionError in IE11 for website automation using vb6 Pin
srikrishnathanthri27-Mar-16 18:41
srikrishnathanthri27-Mar-16 18:41 
Hello,
I am automating the website ("http://incometaxindiaefiling.gov.in/e-Filing/UserLogin/LoginHome.html") filling using vb6.
The code which works in IE10 & below is given here,
VB
Dim WithEvents Web  As SHDocVw.InternetExplorer		
Private Sub Form_Load()		
	Set Web = New SHDocVw.InternetExplorer	
	Web.Visible = True	
	Web.Navigate "http://incometaxindiaefiling.gov.in/e-Filing/UserLogin/LoginHome.html"	
End Sub		
Private Sub Web_DocumentComplete(ByVal pDisp As Object, URL As Variant)		
On Error GoTo aaa		
	msgbox "   URL: " & URL	
	if url = "http://incometaxindiaefiling.gov.in/e-Filing/UserLogin/LoginHome.html" then	
	Web.Document.getElementById("Login_userName").Value = "abcde1111h"	
	Web.Document.getElementById("Login_userName").onchange	
	Web.Document.getElementById("Login_password").Value = "123456789"	
	Web.Document.getElementById("dateField").Value = "15/09/1954"	
	end if		
Exit Sub		
aaa:		
MsgBox Err.Description & "   URL: " & URL		
End Sub	
Private Sub Web_OnQuit()		
	MsgBox "OnQuit fired"	
End Sub


In IE11 (Windows 10) I am facing the following problem with my code,
when navigated to above URL using SHDocVw.InternetExplorer control
First DocumentComplete event will be fired with URL being empty.
Then OnQuit event is fired. Then again DocumentComplete event is fired with URL 'about:blank'

When I run the exe with ‘Run as admin’ option then it works in IE11 without any errors.

Why in IE11 normal run is giving error ?
Please help.
AnswerRe: Error in IE11 for website automation using vb6 Pin
Chris Quinn3-Apr-16 21:56
Chris Quinn3-Apr-16 21:56 
AnswerRe: Error in IE11 for website automation using vb6 Pin
Mycroft Holmes4-Apr-16 14:20
professionalMycroft Holmes4-Apr-16 14:20 
AnswerRe: Error in IE11 for website automation using vb6 Pin
CHill604-Apr-16 22:40
mveCHill604-Apr-16 22:40 
QuestionCalculate networkdays in vb.net, can someone help me? Pin
Real Corks27-Mar-16 11:57
Real Corks27-Mar-16 11:57 
GeneralRe: Calculate networkdays in vb.net, can someone help me? Pin
Sascha Lefèvre27-Mar-16 12:29
professionalSascha Lefèvre27-Mar-16 12:29 
AnswerRe: Calculate networkdays in vb.net, can someone help me? Pin
CHill6027-Mar-16 12:44
mveCHill6027-Mar-16 12:44 
Questionsum a field in database, can someone help me? Pin
Real Corks27-Mar-16 4:21
Real Corks27-Mar-16 4:21 
AnswerRe: sum a field in database, can someone help me? Pin
Sascha Lefèvre27-Mar-16 4:58
professionalSascha Lefèvre27-Mar-16 4:58 
GeneralRe: sum a field in database, can someone help me? Pin
Real Corks27-Mar-16 9:05
Real Corks27-Mar-16 9:05 
GeneralRe: sum a field in database, can someone help me? Pin
Sascha Lefèvre27-Mar-16 9:42
professionalSascha Lefèvre27-Mar-16 9:42 
GeneralRe: sum a field in database, can someone help me? Pin
Real Corks27-Mar-16 9:47
Real Corks27-Mar-16 9:47 
GeneralRe: sum a field in database, can someone help me? Pin
Sascha Lefèvre27-Mar-16 10:12
professionalSascha Lefèvre27-Mar-16 10:12 
GeneralRe: sum a field in database, can someone help me? Pin
Real Corks27-Mar-16 11:29
Real Corks27-Mar-16 11:29 
Questioncan someone help me to fix this? because i cannot make another xml file only the employee information Pin
Real Corks17-Mar-16 17:47
Real Corks17-Mar-16 17:47 
AnswerRe: can someone help me to fix this? because i cannot make another xml file only the employee information Pin
Patrice T17-Mar-16 20:49
mvePatrice T17-Mar-16 20:49 
GeneralRe: can someone help me to fix this? because i cannot make another xml file only the employee information Pin
Real Corks20-Mar-16 21:43
Real Corks20-Mar-16 21:43 
GeneralRe: can someone help me to fix this? because i cannot make another xml file only the employee information Pin
CHill6020-Mar-16 22:41
mveCHill6020-Mar-16 22:41 

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.