473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Cod to access to an https url with user and password login in pop-up screen

Hello, I', trying to program the access to a https url, but I have a problem, because when I program to navigate the url-> objIExplorer.Navigate "https://edomus.tesa/",
then appears a pop-up screen with username and passowrd required , and the program never progress..it stops in this step. I don't know the form to introduce the username and password in this pop-up screen.

Would you be kind to help me with the code??

I wrote this code
Expand|Select|Wrap|Line Numbers
  1. Sub prueba2()
  2. 'Dim objIExplorer As InternetExplorer
  3.  
  4.     'Reference set for: 'Microsoft Internet Controls'
  5.  
  6.     Set objIExplorer = CreateObject("InternetExplorer.Application")
  7.  
  8.     'Disable pop-up messages
  9.     objIExplorer.Silent = False
  10.  
  11.     'Arrange Internet Explorer on the screen and make visible
  12.     objIExplorer.Top = 0
  13.     objIExplorer.Left = 0
  14.     objIExplorer.Height = 1000
  15.     objIExplorer.Width = 1250
  16.     objIExplorer.Visible = True
  17.  
  18.     objIExplorer.Navigate "https://xxxx.xx/"
  19.     Do While objIExplorer.Busy Or Not objIExplorer.ReadyState = 4: DoEvents: Loop
  20.     objIExplorer.Document.getElementById("userid").Value = "username"  'Set the value in the Inputbox
  21.     objIExplorer.Document.getElementById("Password").Value = "password"
  22.     x = objIExplorer.Document.getElementById("loginimage").sourceIndex  'Get the index for the Google Search button
  23.     objIExplorer.Document.all.Item(x).Click
  24.  
  25.  
  26. End Sub
Thanks in advance
Dec 19 '13 #1
0 1238

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Lou | last post by:
Please can someone put me out my misery! Im trying to find a multiple user/password protection script that will redirect the specific user to a specific directory. At the moment I have set up...
4
by: Tim Daneliuk | last post by:
OK, I've Googled for this and cannot seem to quite find what I need. So, I turn to the Gentle Geniuses here for help. Here is what I need to do from within a script: Given a username and a...
2
by: yatharth | last post by:
I am facing a problem ,the situation is like this. I have a home page named "Index.html" ,on which there is login link,when i click on the login link the login popup opens and user enter the...
1
by: NWx | last post by:
Hi, I'm an old developer, but didn't used SQL Server or MSDE to much before. I have NetSDK instance of MSDE installed on my PC by Net Framework SDK. All quickstart samples access it using...
7
by: Stimp | last post by:
I have a login page on a Windows IIS server: login.aspx I'd like to enable the user to optionally use HTTPS to login so that their password would not be easily snooped out. What does this...
9
by: Newbie! | last post by:
Hey does anybody know of anywhere where I can read up or download some exaples of setting up a multi user password system, using access? Ta Si
1
by: Friends | last post by:
Hi I need to set security for row level but not based on Database user's login. It should be based on the user table login. For the particular user I need to allow only the particular records to...
10
by: Arkwell | last post by:
If I am logged on to the admin account but don't know the password, is there any way I can have windows display the current login password on the screen? Maybe using command prompt?
5
Death Slaught
by: Death Slaught | last post by:
I need to know how to make a username and password login screen for an online game that im making and i need it so i can access that person account and look at their password or edit their account so...
6
abdoelmasry
by: abdoelmasry | last post by:
Hi Profs I have ISA server 2006 installed on Windows server 2003 enterprise Edition, i configured isa server as remote access server, to support remote users access using VPN to my Local...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.