User Profile

Collapse

Profile Sidebar

Collapse
gyanendar
gyanendar
Last Activity: Aug 9 '13, 11:59 AM
Joined: Jun 9 '07
Location: Bangalore,India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gyanendar
    started a topic XML generation

    XML generation

    Hi Guys,
    I want to generate xml like:
    Code:
    <View>
      <ID>1020</ID>
      <NameList>
         <Name>N1</Name>
         <Name>N1</Name>
      </NameList>
    <View>
    My Classes are :

    Code:
    public class NameList
        {
            public string Name;
        }
    
    public class View
        {
    ...
    See more | Go to post

  • gyanendar
    started a topic MMC Snap-in based application using WPF
    in .NET

    MMC Snap-in based application using WPF

    Hi,

    Is it possible to create MMC snapin based application using WPF? I am using Visual studio 2008 .

    I dont see any way in which I can select WPF form instead of Window form for MMC Snap-in.

    Regards,
    See more | Go to post

  • gyanendar
    replied to HRESULT: 0x80010108 (RPC_E_DISCONNECTED)
    in C
    Try catch block prevent application from dying but Object states remains the same.
    Once this exception occur, no WMI method can be invoked for the Management Object .

    -Gyanendar
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic HRESULT: 0x80010108 (RPC_E_DISCONNECTED)
    in C

    HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

    Hi ,

    I am invoking a WMI method(served by WMI provider) from managed C++ code .Sometimes I am getting Exception :

    System.Runtime. InteropServices .COMException was unhandled by user code

    Message="The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNE CTED))"

    Source="mscorli b"

    I browsed this on google...
    See more | Go to post

  • Yes ...I m trying to import the function from DLL(written in C++)
    See more | Go to post

    Leave a comment:


  • Getting An unhandled exception of type 'System.EntryPointNotFoundException'

    Hi ,

    I am trying to call a method from unmanaged DLL in my C# client application.
    I am getting this exception "An unhandled exception of type 'System.EntryPo intNotFoundExce ption' occurred in DLLInjection.ex e"

    My C# Client code:
    Code:
    public class ImportedFunction
        {
           [DllImport("C:\\CPP Project\\DLLInjection\\Debug\\Win32DLL.dll")]
           public static
    ...
    See more | Go to post

  • gyanendar
    started a topic Parametrized stored procedue on SQL prompt

    Parametrized stored procedue on SQL prompt

    How can i run parametrized input(2) stored procedure with 3 results fields on SQL prompt?

    Please help.
    See more | Go to post

  • gyanendar
    replied to How to detect UniCode character
    Yes Dheeraj
    Need to detect any non english character.

    Gyanendar
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic How to detect UniCode character

    How to detect UniCode character

    Hi All,

    What is the way to detect Non-Ascii character in C#?

    Say,User will input character sequence(May be in Non English say German) and we need to find which character is Non-Ascii.



    -Gyanendar
    See more | Go to post

  • gyanendar
    replied to Change Treeview Link line style
    Hi Plater,
    Thanks for reply.
    Here If we have the co-ordinate of points ,line can be drawn by e.Graphics.Draw line().

    Gyanendar...
    See more | Go to post

    Leave a comment:


  • gyanendar
    replied to Change Treeview Link line style
    If i draw line by myself ,how i'll find the exact path along which line would be drawn? We can hide the treeview link and need to get the exact co-ordinate of the point of Parent & Child
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic Change Treeview Link line style

    Change Treeview Link line style

    Hi All,
    Can it be possible to change the Treeview link line(line connecting parent & Child node) style.Default its coming as dotted line .I want to make it solid line.
    I am using WIN-FORM.
    Please suggest.

    -Gyanendar
    See more | Go to post

  • gyanendar
    replied to Printing TreeView
    I can expand all the node..but not all node will be visible ...so only visible node is coming in the print.

    -Gyanendar
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic Printing TreeView

    Printing TreeView

    Hi All,
    I using WIN FORM .net 3.5.

    I want to print the treeview. I used Treeview.Conver tToBitmap() to get the bitmap and then converted it to Image and draw that on printDocument.
    But the problem that ,it draw only those part of treeview which is visible not the whole treeview.

    Please suggest .

    Regards,
    Gyanendar
    See more | Go to post

  • gyanendar
    replied to Labeling treeview link
    Thanks for giving your attention.

    My requirement is to label the links(connectin g the nodes).

    OOO
    |
    |
    |__LINK1__OOOO
    |
    |__LINK2___OOOO

    In this picture ,LINK1 & LINK2 is the labeled text .
    I want this .

    Regards,
    Gyanendar
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic Labeling treeview link

    Labeling treeview link

    Hi All,

    Is it possible to label (with some text) the link between two node of Treeview?

    Please suggest the way .

    Regards,
    Gyanendar
    See more | Go to post

  • gyanendar
    started a topic TreeView Image Size

    TreeView Image Size

    Hi All,
    I am working on WinForm.
    I m using treeview with some image for each node.
    I have used ImageIndex to assign the Image for a node.When I am running the application,the Image is coming properly but its size getting reduced.
    TreeView.ItemHe ight is setting the item height ,not enlarging the Image size.
    Can any one help me in controlling the size of Image.

    Regards,
    Gyanendar
    See more | Go to post

  • gyanendar
    replied to Display Tree View in different manner
    Thanks for the reply.
    yes they are same ..only presentation is different.
    Can u tell me what other tools can be used to implement this requirement.
    Please give some example.
    Regards,
    Gyanendar
    See more | Go to post

    Leave a comment:


  • gyanendar
    started a topic Display Tree View in different manner

    Display Tree View in different manner

    Hi ,
    I am working on WINFORM C# .
    Normally when we use treeview control, it display data something like

    Code:
      root
      |
      |___O
      |___O
    I have requirement to display it like..
    Code:
             Root
              |
           ___|____ 
          |        |
          O        O
    Please help me in doing this.
    The attached picture depicts the exact layout of treeview...
    See more | Go to post

  • gyanendar
    started a topic Draw Shape at Runtime
    in .NET

    Draw Shape at Runtime

    Hi ,
    I have requirement to display some objects(represe nted by some shape) in hierarchical manner connected by line(both Solid & Dotted ).
    E.g. Say We have University class ,College Class,Departmen t Class,Professor Class(prof can be associated with more than one department).
    Requirement is to show them as ..

    University_____ College1 ----Dept----ProfA
    | | ...
    See more | Go to post
No activity results to display
Show More
Working...