Solved

How to get company name?

Posted on 1998-02-07
2
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

635 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