|
But sorry, I cannot tell you how to write a C++ code. Just find some books about that.
|
|
|
|
|
|
lols....
Sushant Duggal.
|
|
|
|
|
but i dont get any desired way. i want to run c#.net app without any framework. cause my client does not want to download any additional package.thanks.
|
|
|
|
|
but i dont get any desired way. i want to run c#.net app without any framework. cause my client does not want to download any additional package.thanks.
|
|
|
|
|
|
I'm wondering why Bill didn't implement document.selection for WebBrowser control in C# as it's the case for JavaScripts (http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_selection.asp).
How can I get the selected text of a WebBrowser now?
|
|
|
|
|
how can i create Barcodes in C# ?
|
|
|
|
|
Search in Codeproject. There are a lot of articles about that. Use keyword "create barcode"
|
|
|
|
|
|
what is the difference between DataSet and DataView in C#?
|
|
|
|
|
A dataset holds many tables.
A dataview is a "view" that you apply on one of those tables in order to filter them.
protected internal static readonly ... and I wish the list could continue ...
|
|
|
|
|
Hi All, I want to run or execute only c# programe through cammand promtp but i don't have appropriate comiler to run that.i m giving my system configuration...and please send me url where i download free c# compiler..
And also need execution Process...
I have ..
1)Window XP..Verson 2002
2)AMD sempron(tm) Processor 2500+ 1.4 Ghz
3)192 MB of Ram
4)40 GB hard disc.
If any other tools reqiuer for my system then notify me..
Thankyou
Life is not easy ,let's make it.
|
|
|
|
|
There is a free compiler for C#. Try to use Mono (http://www.mono-project.com/CSharp_Compiler)
|
|
|
|
|
just install .NET framework 2.0, the Microsoft C# compiler (csc.exe) is included.
~~~ From Milano to The Hague, easy as it goes ~~~
|
|
|
|
|
how can i use crystal reports in my project in C#?
|
|
|
|
|
how to send a file to an FTP server using C#?
ALL THE BEST
|
|
|
|
|
|
hi cp people!
the subject is not explaining my real problem here...
i have an IM C# project that im currently developing... but my superiors told me to use an assembly/DLL file from the resigned programmer before me that developed it using visual C++. i really dont know how to use that dll in my C# project because everytime time that i run it. it doesnt work at all. there is this error message that i cannot solve..it says that my button_click event "doesnt match delegate void System.EventHandler(object, SystemArgs)" and also sometimes when i tweak some parts of the C# project another error occurs..its says that it cannot find the entry point? but i still dont know what it means...how do you designate an entry point when importing dll's from another OOP language? im still new at C# programming, so bear with me. i still got a lots of question regarding some advance C# topics/lessons. but i'm trying the best i can to learn all by myself.
thanks to those who will answer my inquiry.
regards.
In the land of the blind, the one-eyed man is the king.[^]
|
|
|
|
|
I can feel your frustration. Can you clarify a couple of things:
What is an IM C# project? How is it different from a normal C# project?
Was the VC++ DLL built in unmanaged(VC++6/MFC) or managed(VC++.NET) environment?
Best,
Jun
|
|
|
|
|
My IM C# project, is an Instant Messenger C# project that my supervisors gave me for my training, it's because all of them are JAVA developers and i'm the only who practices C# .NET i can't get enough help. maybe they just want me to practice independent programming (if it's what it is...)
the difference is that (for me..), that a normal C# project doesnt use importing dll's much and it uses it's own capabilities to deal with the project requirements. mine is much complicated (for my own programming experience so far.) i'm almost finished with the form designs, and it's function and all. it's just that i'm stuck on the importing the dll from the unmanaged VC++6. it's just that i cant fully understand on my own how to solve the "Entry Point" part. all i know is that the "Entry Point" is the function inside the dll that i imported. i just cant figure it out how to indentify although i know what's the function is.
hope this will help on clearing some things regarding on my question.
regards...
In the land of the blind, the one-eyed man is the king.[^]
|
|
|
|
|
Hello
I know such a task would be irritating to someone who isn't experienced in C#, but don't giveup yet.
There are many ways to use unmanaged dlls in your application, some hints are:
1- If you got the source, you may convert it to Visual Studio 2005 project -or wahtever you're using-, then compile it with the /CLR option. This way your Dll will be managed, and you can reference it like any other assimbly. You can find this option fomr the projects properties.
2- If it's a COM dll, you can reference it directly!! What would be the problem then??
3- If your Dll has only functions, you might want to try the DllImport attribute, check it out in the MSDN, I think it has an EntryPoint parameter
By the way: the error you mentioned in the original question, you said the event is ButtonClick, and it doesn't match your delegate. I thought they both were written by you in your C# program?? What does the Dll got to do with that??! When making events don't try to write it manually, just click on the button in the form, & it will be generated automatically.
I hope that was useful
|
|
|
|
|
My problem is: i have a dropdownlist1, a button1, lable1, label2; when i click into dropdownlist1 and select a number that i want, the page will re-draw dynamic TextBoxes, these TextBoxes allow u type data into. when i click button1, data in these TextBoxes is saved.
my code:
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.DropDownList DropDownList1;
protected System.Web.UI.WebControls.Label Label1;
protected System.Web.UI.WebControls.Label Label2;
protected System.Web.UI.WebControls.Button Button1;
Label[] lb = new Label[7];
TextBox[] te = new TextBox[7];
string[] s={"a", "b", "c", "d","e","f", "g", "h"};
protected System.Web.UI.WebControls.Panel Panel1;
int so=0;
private void Page_Load(object sender, System.EventArgs e)
{
Panel1.Width = 300;
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.DropDownList1.SelectedIndexChanged += new System.EventHandler(this.DropDownList1_SelectedIndexChanged);
this.Button1.Click += new System.EventHandler(this.Button1_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
{
so=Convert.ToInt32(DropDownList1.SelectedValue);
for(int i=0;i
|
|
|
|
|
i want to read multiple pictres and to store their colors pixels value into matrix.
i need this matrix 3d...as the first 2d to the dimensions of the pictures and the third dimension to represent the number of the picture(i.e 1st picture , 2nd picture .......)
how can i do that?
haitham
|
|
|
|
|
How about a 3D array:
ColorPixel[,,] colorPix = new ColorPixel[xPos, yPos, picIndex];
Best,
Jun
|
|
|
|