User Profile

Collapse

Profile Sidebar

Collapse
libishkb
libishkb
Last Activity: May 18 '10, 08:18 AM
Joined: Mar 10 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • libishkb
    replied to Call fortran dll from C#
    yes strangely it was....
    See more | Go to post

    Leave a comment:


  • libishkb
    replied to Call fortran dll from C#
    Problem solved

    I changed the 'Platform Target' from the properties of my C# project from 'AnyCPU' to 'x86'.
    See more | Go to post

    Leave a comment:


  • libishkb
    started a topic Call fortran dll from C#

    Call fortran dll from C#

    I am trying to call a fortran dll from c# code. But i get the following error message.An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B). Could any one please tell me where I am going wrong? The codes are given below.

    Fortran code

    Code:
    !  lwing.f90 
    !
    !  FUNCTIONS/SUBROUTINES exported from lwing.dll:
    !  lwing - subroutine 
    !
    ! Expose subroutine
    ...
    See more | Go to post

  • In the code above, at the line given below



    as soon as the item[j] in the list[i] is added to MergeContextMen uStrip this item is deleted from the list[i].items. I dont want this to happen. I just want a copy of this list[i].Items[j] to be pasted in the MergeContextMen uStrip....
    See more | Go to post

    Leave a comment:


  • I tried this but doesnt work. Do you find any error in this code?

    Code:
           private ContextMenuStrip mMergeContextMenuStrips(params ContextMenuStrip[] list)
            {
                ///
                /// Merges contextmenustrips  and return a new strip
                ///
                ContextMenuStrip MergeContextMenuStrip = new ContextMenuStrip();
                for (int i = 0; i < list.Length; i++)
    ...
    See more | Go to post
    Last edited by tlhintoq; Mar 11 '10, 05:05 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]

    Leave a comment:


  • Merge two contextmenustrips to a single tree node

    I have create two separate contextmenu strips on a windows form. Now i want to display both these combined on to a tree node. Is this possible?
    e.g.
    First strip: Add, Subtract
    Second strip: multiply, divide.

    When I right click on a tree node the menu should display Add,subtract,mu ltiply and divide.

    I know that
    treeView.Nodes[3].Nodes[2].ContextMenuStr ip= firststrip;
    will disply the...
    See more | Go to post
No activity results to display
Show More
Working...