Click here to Skip to main content
15,917,702 members
Home / Discussions / C#
   

C#

 
QuestionInteresting Article "Nav Autoupdate with c#" under Library section Pin
abhishek pareek200916-Apr-09 2:48
abhishek pareek200916-Apr-09 2:48 
AnswerRe: Interesting Article "Nav Autoupdate with c#" under Library section Pin
0x3c016-Apr-09 3:06
0x3c016-Apr-09 3:06 
AnswerRe: Interesting Article "Nav Autoupdate with c#" under Library section Pin
harold aptroot16-Apr-09 3:36
harold aptroot16-Apr-09 3:36 
AnswerRe: Interesting Article "Nav Autoupdate with c#" under Library section Pin
Dave Kreskowiak16-Apr-09 4:30
mveDave Kreskowiak16-Apr-09 4:30 
GeneralRe: Interesting Article "Nav Autoupdate with c#" under Library section Pin
Dan Neely16-Apr-09 5:11
Dan Neely16-Apr-09 5:11 
AnswerPublic Service Announcement Pin
Dan Neely16-Apr-09 5:13
Dan Neely16-Apr-09 5:13 
GeneralRe: Public Service Announcement Pin
Andy *M*16-Apr-09 6:45
Andy *M*16-Apr-09 6:45 
QuestionFilter out Restricted property from COM Pin
rajanbabu_03316-Apr-09 2:26
rajanbabu_03316-Apr-09 2:26 
Hi,
I have a COM component where i have declared restricted/hidden methods and properties.Using Reflection I am accessing these methods and properties.Is there any way to filter out restricted properties alone? I can able to do for methods but not for properties.

here is my code for methods:

foreach (MethodInfo mInfo in obj.GetMethods())
{
string FuncAttrib = "";
TypeLibFuncAttribute attrib = null;
attrib = (TypeLibFuncAttribute)Attribute.GetCustomAttribute(mInfo, typeof(TypeLibFuncAttribute));
if (null != attrib)
{
FuncAttrib = attrib.Value.ToString();
}

//Filter the Restricted methods.
if ((FuncAttrib.Contains("FRestricted")) || (FuncAttrib.Contains("FHidden")))
{
//here we will get only restricted.Hidden methods
}
}
This is working fine for methods.here I have used TypeLibFuncAttribute which is applicable to method alone.Can anyone help to apply this logic to properties?I have searched the attribute similar to method but not able to get......

Thanks,
Rajan.
QuestionProblen : Insert Into Access database Pin
Ravindra Bisen16-Apr-09 2:01
Ravindra Bisen16-Apr-09 2:01 
AnswerRe: Problen : Insert Into Access database Pin
musefan16-Apr-09 2:15
musefan16-Apr-09 2:15 
GeneralRe: Problen : Insert Into Access database Pin
Ravindra Bisen16-Apr-09 2:38
Ravindra Bisen16-Apr-09 2:38 
GeneralRe: Problen : Insert Into Access database Pin
musefan16-Apr-09 2:50
musefan16-Apr-09 2:50 
AnswerRe: Problen : Insert Into Access database Pin
Eddy Vluggen16-Apr-09 2:20
professionalEddy Vluggen16-Apr-09 2:20 
GeneralRe: Problen : Insert Into Access database Pin
Ravindra Bisen16-Apr-09 2:46
Ravindra Bisen16-Apr-09 2:46 
GeneralRe: Problen : Insert Into Access database Pin
Eddy Vluggen16-Apr-09 3:04
professionalEddy Vluggen16-Apr-09 3:04 
QuestionCompile using makefiles. Pin
visserthree16-Apr-09 1:51
visserthree16-Apr-09 1:51 
AnswerRe: Compile using makefiles. Pin
N a v a n e e t h16-Apr-09 2:12
N a v a n e e t h16-Apr-09 2:12 
GeneralRe: Compile using makefiles. Pin
visserthree16-Apr-09 2:16
visserthree16-Apr-09 2:16 
GeneralRe: Compile using makefiles. Pin
visserthree16-Apr-09 3:40
visserthree16-Apr-09 3:40 
QuestionNot a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime [modified] Pin
devvvy16-Apr-09 1:43
devvvy16-Apr-09 1:43 
AnswerRe: Not a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime Pin
Luc Pattyn16-Apr-09 1:54
sitebuilderLuc Pattyn16-Apr-09 1:54 
GeneralRe: Not a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime Pin
devvvy16-Apr-09 2:12
devvvy16-Apr-09 2:12 
GeneralRe: Not a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime Pin
devvvy16-Apr-09 2:59
devvvy16-Apr-09 2:59 
GeneralRe: Not a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime Pin
Luc Pattyn16-Apr-09 3:06
sitebuilderLuc Pattyn16-Apr-09 3:06 
GeneralRe: Not a valid month error (ORA-1843) - Oracle "timestamp" column vs .NET DateTime Pin
devvvy16-Apr-09 3:12
devvvy16-Apr-09 3:12 

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.