User Profile
Collapse
-
yes strangely it was.... -
Problem solved
I changed the 'Platform Target' from the properties of my C# project from 'AnyCPU' to 'x86'.Leave a comment:
-
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
-
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....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++)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...
No activity results to display
Show More
Leave a comment: