Solved

increment user names by 1

Posted on 1999-01-04
2
172 Views
Last Modified: 2010-05-03
I would like to write a for next statement that would increment form user to user60 and send a default password to a desktop server. So for instance during login to say a NT server User will log in then User1, User2 and so on.
0
Comment
Question by:smurray
2 Comments
 
LVL 3

Expert Comment

by:vikiing
ID: 1453853
For I%=1 to 60
     Username$="User"+Format$(I%)  'Will generate "User1" to "User60"
     <the rest of the process>
Next I%

0
 

Accepted Solution

by:
edunc earned 50 total points
ID: 1453854
use the code that he put before and then use appactivate and sendkeys to send the pw to the login window.  
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now