Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8671963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:05:03+00:00 2026-06-12T19:05:03+00:00

I am interested in speeding up my development/testing workflow on a program that I

  • 0

I am interested in speeding up my development/testing workflow on a program that I am debugging. I am developing in VB6, and have written a PS1 script to move my DLLs accordingly, but I want to go a step further.

My testing workflow involves opening the program, which has a login screen, launched by ThirdPartyLoginScreen.exe. Is there any way to programmatically pass login information to this EXE using PowerShell, or am I confined to writing it in VB6?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:05:06+00:00Added an answer on June 12, 2026 at 7:05 pm

    If your script starts the program ThirdPartyLoginScreen.exe, and that program comes to the foreground, then a lightweight way to do this is to use SendKeys.

    Add-Type -AssemblyName System.Windows.Forms
    
    # start the program
    ThirdParytLoginScreen.exe
    
    # send keystrokes to the foreground window
    [Windows.Forms.SendKeys]::SendWait('domain\username')
    [Windows.Forms.SendKeys]::SendWait('{TAB}')
    [Windows.Forms.SendKeys]::SendWait('p@ssw0rd1')
    [Windows.Forms.SendKeys]::SendWait('{ENTER}')
    

    This is the simplest way to do basic UI automation through powershell. It has numerous drawbacks and limitations, but it might help get you unblocked for simple scenarios.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am interested in logging all traffic that comes over port 443 for trouble-shooting
I'm interested in reassigning factory functions for testing reasons within Go, to mitigate the
I'm really interested in becoming a serious programmer, the type that people admire for
im interested in performing multiple database actions in parallel. I have played with Perl
I'm writing a prime sieve program using eratosthenes' for class. I have 8 threads
I am a Web developer and in my projects I have noticed that my
I have a csv file that has like 30,000 rows in it. It also
I have a lot of archive data in python dict format that I am
I have been long interested to develop on the platform. I even got the
I am debugging stored procedures, and right now I am interested in what ran

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.