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 618915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:35:55+00:00 2026-05-13T18:35:55+00:00

I need to know if there is any way to detect in a client

  • 0

I need to know if there is any way to detect in a client PC (Windows) there any PDF reader (Adobe Reader, Foxit Reader, …), using VB6 and. NET (C #).

I can not do by reading the Windows registry, because the user may not have permissions to read it.

Thank you.

  • 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-05-13T18:35:55+00:00Added an answer on May 13, 2026 at 6:35 pm

    A sample based on Jerry Coffin’s suggestion to use FindExecutable (based on this article):

    Private Declare Function FindExecutable Lib "shell32.dll" _
      Alias "FindExecutableA"  ( _
      ByVal lpFile As String, _
      ByVal lpDirectory As String, _
      ByVal lpResult As String) As Long 
    
    Private Declare Function lstrlen Lib "kernel32.dll" _
      Alias "lstrlenA" ( _
      ByVal lpString As Any) As Long
    
    ' FindExecutable Constants
    Private Const ERROR_FILE_NOT_FOUND = 2&
    Private Const ERROR_PATH_NOT_FOUND = 3&
    Private Const ERROR_BAD_FORMAT = 11&
    
    Private Sub Command1_Click()
      Dim Retval As Long, buffer As String
    
      ' init buffer 
      buffer = Space(256)
    
      Retval = FindExecutable("c:\windows\media\tada.wav", "", buffer)
    
      Select Case Retval
        Case 0
          Debug.Print "Not enough memory to execute this method." 
        Case 31
          Debug.Print "No file association found."
        Case ERROR_FILE_NOT_FOUND
          Debug.Print "File not found."
        Case ERROR_PATH_NOT_FOUND
          Debug.Print "Path not found."
        Case ERROR_BAD_FORMAT
          Debug.Print "The associated application is not a valid Win32 executable."
        Case Else
          Debug.Print "Associated application: " & Left$(buffer, lstrlen(buffer))
      End Select
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to know if there's any way (or another distinct approach) to an
I know there has to be a way: I need help getting any hot
Is there any way to detect the current keyboard layout using JavaScript? I found
Is there any way I can detect if remote desktop is enabled on windows
i need to know is there any way to check that the user has
I need to know if there's a way in PHP to echo a string
I need to know if there is a way to create a custom shortcut
Is there a way, in .net, to detect if a word is a keyword
Is there any way to detect when the OS kills a ScheduledTaskAgent for example
Is there any way to detect change in an integer? Such as creating a

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.