Advertisement
Advertisement
| 06.04.2008 at 09:04AM PDT, ID: 23457244 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: |
#DEFINE HKey_CURRENT_USER 2147483649
DECLARE INTEGER RegCloseKey IN Win32API ;
INTEGER nHKey
DECLARE INTEGER RegOpenKey IN Win32API ;
INTEGER nHKey, STRING @cSubKey, INTEGER @nResult
DECLARE RegEnumValue IN ADVAPI32 INTEGER nKeyHandle, INTEGER iValue, ;
STRING @cValueName, INTEGER @iValueLen, INTEGER, STRING @cTypeCode, ;
STRING @cDataValue, INTEGER @iDataLen
nSubKey = 0
nErrCode = 0
nKeyHandle = 0
iValue = 0
cValueName = SPACE(255)
iValueLen = 255
cTypeCode = SPACE(255)
cDataValue = SPACE(255)
iDataLen = 255
*!* Determine what operating system you are on: Windows NT or
*!* Windows 9x.
IF "NT" $ OS(1)
ckey = "Software\Microsoft\Windows NT\CurrentVersion\" + ;
"Windows Messaging Subsystem\Profiles"
ELSE
ckey = "Software\Microsoft\Windows Messaging Subsystem\Profiles"
ENDIF
nErrCode = RegOpenKey(HKey_CURRENT_USER,ckey,@nKeyHandle)
*!* If nErrCode <> 0, Windows messaging is probably not installed.
IF nErrCode # 0
WAIT WINDOW "Windows Messaging Key Not Present"
RETURN nErrCode
ENDIF
RegEnumValue(nKeyHandle,0,@cValueName,@iValueLen,0,;
@cTypeCode, @cDataValue, @iDataLen)
*!* If cDataValue is blank, no profiles have been set up.
IF EMPTY(cDataValue)
WAIT WINDOW "No Windows Messaging Profiles Set"
RETURN
ELSE
? LEFT(cDataValue, iDataLen-1)
ENDIF
RegCloseKey(nKeyHandle)
|