Solved

Reading .PIF Files

Posted on 2000-03-27
5
284 Views
Last Modified: 2010-05-02
Hello--

I was wondering if anyone out there has the code to read and/or change the program information files (.PIF)? Thanks for any help!

Ian
0
Comment
Question by:ianpugh
5 Comments
 
LVL 14

Accepted Solution

by:
mcrider earned 200 total points
ID: 2661743
Go to http://wotsit.org/ and do a search on "pif" (without the quotes).

The format of a PIF file is there...



Cheers!®©
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2661963
mcrider:

Microsoft gives severe caveats about PIF files.. as their formats are heavily Windows Version (and Version within a Version) dependent. As such MS, does not support or publish any PIF documentation.What makes matters worse, the little MS PIF b*stards use check digiting to thwart updating attempts.

This is really a very hard question as to the fact, that I have yet to know anyone that has version independently, reliably cracked the PIF format.

I will follow this question with GREAT interest.. <smile>.
0
 
LVL 2

Expert Comment

by:bhamilto
ID: 2662126
Check out "http://www.thescarms.com/VBasic/" and search for "shortcut"
The article "Create Shortcuts (Shell Links) with iShellLnk" and sample code is a partial implementation of the IShelllink interface.  As I recall it works for both PIF and LNK files.  I have no idea about version dependency since I have worked only with LNK.


0
 
LVL 1

Author Comment

by:ianpugh
ID: 2684274
Sorry it took so long! I've been out of town..
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2685005
Thanks for the points! Glad I could help!

Cheers!®©
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Computer crashes, following error message in event manager 5 198
MsgBox 2 54
message box in access 4 46
Export Data to Different .csv Files 26 104
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

776 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