i dun know .
Printable View
i dun know .
This depends on how you want to do it.
All powerful and quite cryptic with the WinAPI or easier but somewhat restricted with the MFC. Most applications use the MFC way, because it's the standard way.
How much do you want to know, what do you already know of Windows programming ?
Me know nothing about windows programming is that
(C language) is window programmign ?........
and i know visual basic ......
then i want to assign or change registry value . then i have to use which programming language is the best ..and how ?
C/C++ is not neccessarily windows programming.
Windows programming is using any language ( we use C/C++ here ) to write an application for MS Windows.
What compiler do you use ? Can you use MFC ?
I use mivrosoft visual c ++
The easiest way would be to use any application wizard created project and call the following functions
( if unsure how to use them, look it up on www.msdn.microsoft.com )
void SetRegistryKey( LPCTSTR lpszRegistryKey );
Parameters
lpszRegistryKey
Pointer to a string containing the name of the key.
Remarks
Causes application settings to be stored in the registry instead of INI files. This function sets m_pszRegistryKey, which is then used by the GetProfileInt, GetProfileString, WriteProfileInt, and WriteProfileString member functions of CWinApp. If this function has been called, the list of most recently-used (MRU) files is also stored in the registry. The registry key is usually the name of a company. It is stored in a key of the following form: HKEY_CURRENT_USER\Software\<company name>\<application name>\<section name>\<value name>.
You can still use visual basic to do this. Try searching google for it. There are atleast 20 tutorials on exctly that.