Solved

How can i schedule to run myapp.exe which use SendKeys?

Posted on 2002-06-21
5
295 Views
Last Modified: 2010-05-02
How can i schedule to run myapp.exe which use SendKeys?

I have vb app which connect to website , logon to site and download data. Myapp used SendKeys commands.

I want to schedule this app every day 7 am. i'm having trouble scheduling this because i use user interaction SendKeys commands. Is there any other way to scheding this i also try using nt shcedular it works but if i logoff the shcedule doenot work.
0
Comment
Question by:bcp5190
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7099123
If you are using IE to log in website, there is a "safe" way to populate logon page without using sendkeys:

wwww.angelfire.com/realm/vb-shared/index.html under "IE DOM..." topic.
0
 

Author Comment

by:bcp5190
ID: 7099253
I'm getting pop up dialog box network userid and password. and second popup i have is for nt userid and password. right now i'm loging using sendkeys from vb app.
Is there any easier method to download data from secure site.
How can i
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
ID: 7099284
Maybe, i am not sure, in example:

User=myname
pwd=passw
site:290.100.1.1

navigate to (in IE address bar):
myname:passw@290.100.1.1
0
 

Author Comment

by:bcp5190
ID: 7112003
The above method works for nt authentication but it do not work with proxt logon.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7171769
?
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question