Click here to Skip to main content
15,911,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to pass parameters and values with function name in url? [modified] Pin
Manfred Rudolf Bihy4-Jan-11 4:21
professionalManfred Rudolf Bihy4-Jan-11 4:21 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code4-Jan-11 19:57
roebuck-code4-Jan-11 19:57 
GeneralRe: how to pass parameters and values with function name in url? Pin
Manfred Rudolf Bihy5-Jan-11 1:49
professionalManfred Rudolf Bihy5-Jan-11 1:49 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code5-Jan-11 2:49
roebuck-code5-Jan-11 2:49 
GeneralRe: how to pass parameters and values with function name in url? Pin
Manfred Rudolf Bihy5-Jan-11 3:05
professionalManfred Rudolf Bihy5-Jan-11 3:05 
GeneralRe: how to pass parameters and values with function name in url? [modified] Pin
roebuck-code5-Jan-11 21:55
roebuck-code5-Jan-11 21:55 
AnswerRe: how to pass parameters and values with function name in url? Pin
roebuck-code12-Feb-11 20:13
roebuck-code12-Feb-11 20:13 
QuestionFail to read simple string from the registry ( code attached ) Pin
Yanshof3-Jan-11 21:46
Yanshof3-Jan-11 21:46 
Try to read string from the registry - i get beck null all the time

Code:

public static string ReadStringFromRegistry( string hive, string key )
        {
            string strRetVal = null;

            try
            {

                using( RegistryKey regKey = Registry.LocalMachine.OpenSubKey( hive ) )
                {
                    if( null != regKey )
                    {
                        strRetVal = regKey.GetValue( key ) as string;

                        if( String.IsNullOrEmpty( strRetVal ) )
                        {
                            strRetVal = null;
                            Debug.Assert( false, "fail to read from the registry" );
                        }
                    }
                }
            }
            catch( Exception e )
            {

            }

            
            return strRetVal;
        }

AnswerRe: Fail to read simple string from the registry ( code attached ) Pin
JF20153-Jan-11 22:00
JF20153-Jan-11 22:00 
GeneralRe: Fail to read simple string from the registry ( code attached ) Pin
Yanshof3-Jan-11 22:15
Yanshof3-Jan-11 22:15 
GeneralRe: Fail to read simple string from the registry ( code attached ) Pin
JF20153-Jan-11 22:18
JF20153-Jan-11 22:18 
GeneralRe: Fail to read simple string from the registry ( code attached ) Pin
Yanshof3-Jan-11 22:32
Yanshof3-Jan-11 22:32 
GeneralRe: Fail to read simple string from the registry ( code attached ) Pin
JF20153-Jan-11 22:46
JF20153-Jan-11 22:46 
GeneralRe: Fail to read simple string from the registry ( code attached ) Pin
JF20153-Jan-11 22:25
JF20153-Jan-11 22:25 
AnswerRe: Fail to read simple string from the registry ( code attached ) Pin
Luc Pattyn4-Jan-11 1:43
sitebuilderLuc Pattyn4-Jan-11 1:43 
QuestionAOP logging Pin
ATM@CodeProject3-Jan-11 19:08
ATM@CodeProject3-Jan-11 19:08 
QuestionError while Extracting Files in zip folder Pin
arun_pk3-Jan-11 18:34
arun_pk3-Jan-11 18:34 
AnswerRe: Error while Extracting Files in zip folder Pin
OriginalGriff3-Jan-11 22:40
mveOriginalGriff3-Jan-11 22:40 
GeneralRe: Error while Extracting Files in zip folder Pin
arun_pk3-Jan-11 23:34
arun_pk3-Jan-11 23:34 
GeneralRe: Error while Extracting Files in zip folder Pin
OriginalGriff3-Jan-11 23:38
mveOriginalGriff3-Jan-11 23:38 
GeneralRe: Error while Extracting Files in zip folder Pin
arun_pk3-Jan-11 23:54
arun_pk3-Jan-11 23:54 
GeneralRe: Error while Extracting Files in zip folder Pin
OriginalGriff4-Jan-11 2:06
mveOriginalGriff4-Jan-11 2:06 
GeneralRe: Error while Extracting Files in zip folder Pin
arun_pk4-Jan-11 17:38
arun_pk4-Jan-11 17:38 
QuestionP/Invoke an array that is a field in a struct. Pin
DaveyM693-Jan-11 11:10
professionalDaveyM693-Jan-11 11:10 
AnswerRe: P/Invoke an array that is a field in a struct. Pin
Luc Pattyn3-Jan-11 11:35
sitebuilderLuc Pattyn3-Jan-11 11:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.