LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default How to check if Software is loaded on a users C: drive

I want to check and see if certain software exists on a users C drive. For
example, lets say hypothetically, I wanted to know if XYZ App existed on the
hard drive.

1) Extract User Name of Computer
2) Check for software in predetermined path (including User Name)
3) Generate Boolean Value for software existence

The file path is: C:\Documents and Settings\User Name\Start Menu\Programs.
Lets say the folder of the software is called XYZ App. Finding the folder is
probably enough. I will likely want to go further than that to ensure that
the software is actually on the C drive. So lets say the EXE is called XYZ
App.EXE. So the full path is

C:\Documents and Settings\User Name\Start Menu\Programs\XYZ App\XYZ App.EXE

How do you check to see if the file exists?

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple users on workbook, but no shared drive, how to maintain sanity? [email protected] Excel Discussion (Misc queries) 1 October 2nd 07 12:32 AM
A Excel workbook, on a shared drive, gets different results from different users djasonc Excel Discussion (Misc queries) 3 February 27th 06 05:07 PM
Check Excel's state to see if a workbook is loaded in App Chris w. Excel Programming 3 February 24th 05 11:46 PM
How check if form is loaded? Jos Vens[_2_] Excel Programming 4 January 28th 05 12:34 PM
Check Drive Space Charles Excel Programming 3 October 6th 04 07:12 PM


All times are GMT +1. The time now is 03:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"