473,473 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VBA calling IE with credentials

1 New Member
I am using the VBA thats part of Excel. I am getting files that are shared on another network computer in "\\ip.add.re.ss\Directory" Unfortunately that computer has its own log in. And when you connect through Excel it errors. If you type that into an address bar in IE the standard windows user/password dialogue opens. I know that i can do this:

shell("C:\Program Files\Internet Explorer\iexplore.exe \\ip.add.re.ss\Directory")

and it will open the IE window and bring up the dialogue for the user to type in.

Is there a way to include the login credentials in the call line so the user wont have to type it in everytime?

Also, is there a way to suspend the rest of the VBA code until this is completed, besides setting a timer?

Thanks All

Ryan
Nov 28 '07 #1
1 1602
Plater
7,872 Recognized Expert Expert
Hi,

I'm moved your thread to the (hopefully) more appropriate forum section: Visual Basic.
I've also edited your title to include potentially helpfull keyword(s), so that the experts of the area have a better idea of what you are looking for, right from the start.

Good luck!

MODERATOR
Nov 28 '07 #2

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

Similar topics

4
by: John | last post by:
Hi My first web service seems to be OK as I can put its url in explorer and can use the invoke button to view the returned data as xml. The problem comes when I call it form a client app using;...
4
by: J-T | last post by:
I 'm calling a web service using this code: MyService service = new MyService(); service.Credentials = System.Net.CredentialCache.DefaultCredentials; I was getting an "Access Denied"...
0
by: lpinho | last post by:
Hi There, I've generated a C# file from a wsdl file using wsdl.exe utility. Then I created a console application and made a call to the method generated, first I got the error: "The request...
4
by: Rhot | last post by:
I am trying to call a web service through the vb code but when i m getting a error 403 that is a forbidden access. how can i fix this problem..thanks a lot
5
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error...
0
by: Mark Gankin | last post by:
Hi, I'm trying to call Web Service located on my computer from asp.net web application: WebService ws = new WebService(); ws.Credentials = new NetworkCredential("user", "pwd",...
1
by: Manuel Brandao | last post by:
Hi all I would like to now the answer to the following problem, if someone can help. Given a windows application client that's calling a web service (using default credentials) the web...
0
by: jocbor | last post by:
Hi! We are calling a webservice in a third party application for integration purposes. The scenario is that messages arrive on msmq. We have a windows service (using a domain account)...
1
by: ananth | last post by:
Hi All, I have a web service created in Notes Database and i am calling the web service in Visual studio.Net application by adding a web reference. I need to have authentication...
2
by: Ryan H | last post by:
I made a program that reads emails from an Outlook mailbox and does some stuff and the program works fine. However, my boss now tells me that the program is to be executed from a remote computer....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.