Results 1 to 3 of 3

Thread: Get AppName Syntax

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    66

    Get AppName Syntax

    When I open an application I want to send the name of it into a variable (since one form is being used to open many different applications). How does VB recognize the name of the app? What is the Get AppName syntax?

    Many Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Try this
    VB Code:
    1. Private Sub Command1_Click()
    2. MsgBox App.EXEName
    3. End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    66
    Got It, Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width