Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Manish Paul

@Manish Paul
About
Posts
14
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Parsing C# source code using CodeModel object to find TYPE PARAMETERS & TYPE PARAMETER constraints defined for a Generic Class & Method.
    M Manish Paul

    Hi, Is it possible to parse and fetch TYPE PARAMETER & TYPE PARAMETER CONSTRAINTS information defined for a Generic class OR method in a C# source code using CodeModel APIs? I do not see any API exposed in EnvDTE & EnvDTE80 namespace. Can you please suggest me a solution. Regards, Manish

    .NET (Core and Framework) json csharp question

  • How to differentiate between Project reference and assembly reference?
    M Manish Paul

    Hi, I am aware that the project references can be identified from CSPROJ file. However, my query was "Is there any code model API which can do this for me"? Regards, Manish

    .NET (Core and Framework) csharp json tutorial question

  • How to differentiate between Project reference and assembly reference?
    M Manish Paul

    hi, I am using CodeModel apis to parse a CSPROJ (C# project) file. The VSProject::References API will return all refernces. How to differentiate between Project reference and assembly reference? Regards, Manish

    .NET (Core and Framework) csharp json tutorial question

  • Is it possible to add plugin/add-in to Visual Studio 2008 IDE for a Java based application?
    M Manish Paul

    Hi, I am trying to add a plugin/add-in to Visual Studio 2008. But my limitation is, this application is in Java 1.6. So, I was wondering is it possible to add a java based plugin in Visual Studio 2008? Are there any APIs? Regards, Manish

    .NET (Core and Framework) visual-studio csharp java question

  • .Net API GetMembers(BindingFlags) returns some additional members.
    M Manish Paul

    Hi, In VS 2005 I am using Reflection to parse .Net System libraries. Using GetMembers(BindingFlags) returns some additional methods other what is defined in the interface/class in .Net system library. For filtering out I am using following BindingFlags combination

    BindingFlags::Public | BindingFlags::Instance | BindingFlags::Static | BindingFlags::DeclaredOnly

    I am trying to get the declared members in class/interface say for example System.Collection.ICollection which has following 4 members:

    int Count { get; }
    bool IsSynchronized { get; }
    object SyncRoot { get; }
    void CopyTo(Array array, int index);

    However using GetMembers I get following 7 members:

    int Count { get; }
    bool IsSynchronized { get; }
    object SyncRoot { get; }
    void CopyTo(Array array, int index);

    int get_Count();
    bool get_IsSynchronized();
    object get_SyncRoot()

    I get extra 3 get methods corresponding to each property. How do I suppress or filter out these additional members? ~Manish

    .NET (Core and Framework) question csharp database visual-studio data-structures

  • compare string
    M Manish Paul

    "string" class has overloaded "==" operator. You can directly use the == operator. Eg: string s1("hi"); string s2("hello"); if (s1==s2) { .... } else { .... }

    C / C++ / MFC question

  • Remove elements from XML. using XSLT and JAXP [modified]
    M Manish Paul

    Well strangely I am reply to my posted query .. In the given example, it is expected that template in the XSLT, , should remove all occurrence of "outstation" elements from the XML document. This XSLT will work fine for any XML document which doesn't has a "DEFAULT NAMESPACE" declared in root element. In given example, I have declared a default namespace in root element as 'xmlns="http://www.contacts.com/transform"'. Because of the default namespace, the expanded name of element is pair of URI name and Element name (URI name here is "http://www.contacts.com/transform"). So the template defined in XSLT for "outstation" element will fail to match any element in XML file. As the namespaces link the XML & XSLT through a URI. So the solution to this problem is to add a namespace prefix with the namespace name "http://www.contacts.com/transform" in the xslt file and then use the prefix in the XPath statements as shown below: Solution is in XSLT: ... ... ...

    XML / XSL xml java html com ai-models

  • Remove elements from XML. using XSLT and JAXP [modified]
    M Manish Paul

    I am trying to remove some unwanted elements from a source XML document using XSLT and JAXP and create a new XML document in which those unwanted elements are not present. My XSLT works fine and removes the desired elements when there is no XMLNS attribute defined in root node of XML document. But the same java code & XSLT doesn't removes those elements when XMLNS attribute is set in root node of source XML document. In following example, I am trying to remove "outstation" elements from XML doc. Sample XML: abc21@yahoo.com xyz21@yahoo.co.in abc21@hotmail.com xyz21@msn.com 12345678 12345670 08012345678 08012345670 Sample XSLT: Java code snippet: public static void main(String[] args) throws Exception { .... .... Source xmlSource = new StreamSource(srcFile); Source xsltSource = new StreamSource(xsltFile); StreamResult result = new StreamResult(resFile); TransformerFactory transFact = TransformerFactory.newInstance(); Transformer trans = transFact.newTransformer(xsltSource); trans.transform(xmlSource, result); ... ... } Is there anyway to solve this problem, other than using DOM? -- modified at 8:59 Wednesday 18th July, 2007

    XML / XSL xml java html com ai-models

  • How to use MSVC Compiler for Pro*C
    M Manish Paul

    Hi, Can I use MSVC compilers & precompilers to compile my Pro*C programs? If yes, how can I use MSVC compilers to compile Pro*C programs which contains Embedded SQL statements (eg. EXEC SQL INCLUDE emp.h;, instead of #include emp.h ). - Manish

    C / C++ / MFC question database hardware tutorial

  • How to create Plug-in for Win32 based IDE.
    M Manish Paul

    Hi, I want to develop GUI-based plugin for Win32 IDE. I want to add a menu item to VC++ IDE. I m a beginner in COM & ATL programming, but I suppose I can use COM & ATL to create GUI plugin for VC++ editor. Please suggest/help/direct/guide me for same? -Manish

    IT & Infrastructure c++ tutorial visual-studio com help

  • How to create Plug-in for Win32 based IDE.
    M Manish Paul

    Hi, I want to develop GUI-based plugin for Win32 IDE. I want to add a menu item to VC++ IDE. I m a beginner in COM & ATL programming, but I suppose I can use COM & ATL to create GUI plugin for VC++ editor. Please suggest/help/direct/guide me for same? -Manish

    C / C++ / MFC c++ tutorial visual-studio com help

  • How to create Plug-in for Win32 based IDE.
    M Manish Paul

    Hi, I want to develop GUI-based plugin for Win32 IDE. I want to add a menu item to VC++ IDE. I m a beginner in COM & ATL programming, but I suppose I can use COM & ATL to create GUI plugin for VC++ editor. Please suggest/help/direct/guide me for same?

    COM c++ tutorial visual-studio com help

  • Plug-in for Win32 based IDE.
    M Manish Paul

    Hi, I want to develop GUI-based plugin for Win32 IDE, like I want to add a menu item to VC++ IDE. I m a amateur in COM & ATL programming, but I suppose I can use COM & ATL to create GUI plugin for VC++ editor. Please suggest/help/direct/guide me for same? - Manish

    COM c++ visual-studio com help tutorial

  • Open source code for Configuration management. tools.
    M Manish Paul

    Hi, Any pointers pointing to sites/organization from where I can get open source code for Configuration Management tools OR Version Control Systems will help. TIA, Manish

    IT & Infrastructure collaboration tools help announcement workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups