Solved

Obtaining File signature of the default browser

Posted on 2000-02-25
2
197 Views
Last Modified: 2013-12-26
How do i obtain the 4 character signature of the default web browser used  in a Mac ?
0
Comment
Question by:teocb
2 Comments
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 50 total points
ID: 2560383
You use the Internet Config SDK, I would recommend via the UInternetConfig unit included with PowerPlant which would make that pretty easy:

ICMapEntry entry;
ICError err = UInternetConfig::PP_ICMapFilename("\ptest.html", &entry);

.... and the browser signature is then in entry.file_creator.

Note that whatever it is you want to do with this signature, there probably are more elegant ways to accomplish it using  Internet Config. Check out the documentation at

http://www.stairways.com/ic/
0
 

Author Comment

by:teocb
ID: 2560608
Thanks for the help, although i am not using Powerplant the site u provided to help me in understanding the issue.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 163
haveThree challenge 22 121
Line meaning 9 88
How do I get Window Title of all opened process? 4 15
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

830 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