Solved

How to get company name?

Posted on 1998-02-07
2
189 Views
Last Modified: 2013-11-19
From within my MFC program I need to get the company
name.  I know how to get the username with the function
GetUserName().  How do I get the Company Name?  I could
not find a function like GetCompanyName().
0
Comment
Question by:kaplan1
2 Comments
 
LVL 7

Expert Comment

by:galkin
ID: 1315745
There is no such an information as Company Name. Use name is the name use used to logon but use is not required to specify company name
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1315746
I assume you are talking about the Company Name that Windows asks for when you install it and displays in the My Computer properties and many other places.  It is stored in the registry at:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\

in the RegisteredOrganization value.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create frequencies of a variable from SAS dataset? 10 125
VB.NET how to use the Vertical ScrollBar 5 103
dog bark java program 15 94
Unix Command -- Challenging  question 7 88
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now