473,609 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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.Na vigate "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 1250

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

Similar topics

6
3342
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 htaccess which is fine but can only protect one directory unless I put htaccess on each directory which I think is a bit long winded, but is there any other way I can do this with using only one password script? Any info would be greatly...
4
3200
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 password (plain text): 1) Validate that the password is correct for that user *without actually logging in*. 2) If the password is valid, return a list of all the groups the user belongs to. Otherwise, return some error string.
2
2604
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 login information in it. Now when the user click the submit button then new popup window
1
1572
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 trusted connection. However, I want to access it using user / password, but I have no idea what is default username / password to use. Any help is appreciated.
7
2014
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 involve exactly? I know that you use a https prefix instead of http, but that's it. Is there configuration of directories necessary? Got a good website for this basic info on https?
9
1248
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
2663
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 access insert, update delete and select. Let me explain clearly For example think we are using asp/asp.net website
10
2927
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
2510
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 basicly i need to know how to make a script that will create an account for some one and make it so i can do stuff with it. Thanks, Death Slaught
6
3982
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 network and also access internet through ISA. remote users are not able to access https websites, i mean, i can access http://www.yahoo.com but cannot access https://login.yahoo.com
0
8133
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8083
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8573
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8224
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7013
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4026
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2535
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1393
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.