|
Yes,It is also a good idea for me too but I don't want to use the dll because It may be difficult edit when have the problem.So I hope you can give the exam project that can create an docking Control..... waiting to hearing from you....Thank in advance
|
|
|
|
|
kornkimhour wrote in response to JF2015: "I hope you can give the exam project that can create an docking Control"
If you don't conceive and execute your own exam project, how do you think you are ever going to develop yourself as a programmer, get work as a programmer in the future ?
JF2015 kindly directed to you a CodeProject docking implementation whose source-code is open for you to read, study, copy, modify.
What more could you ask for than that ?
Lift a finger, and get to work.
Scipio: "That's true, Berganza; and what makes the miracle greater is, that we not only speak, but hold intelligent discourse, as though we had souls capable of reason; whereas we are so far from having it, that the difference between brutes and man consists in this, that man is a rational animal, and the brute is irrational." Cervantes, "Colloquy of Dogs," 1613CE. The two talking dogs, Scipio, Berganza, are hallucinations in the mind of a soldier with plague fever undergoing a "sweating" cure.
|
|
|
|
|
sorry I write it wrong....I want to write an example project,but I write Exam Project... Thank for telling me about this wrong command....so I really happy when hearing from your reply....I hope all programmer can give me more about an idea that connect to my misunderstand......
|
|
|
|
|
Hi All !
in a DataGridView , for example :
DataGridView1[0,0].Value=1.2*3;
Result is : 3.6
But if :
DataGridView1[0,0].Value=2/3
Result is : 0
plz help , how can I show a floating value by Dividing Two Number in a cell of DataGridView
Thanks
|
|
|
|
|
The result is 0 because you are dividing an integer by an integer, which leads the compiler to treat the result as an integer. The trick is to cast the first number to a double and then base the calculation on this.
|
|
|
|
|
Yes , It's a Big Mistake for Me !
Thanks !
|
|
|
|
|
by writing it 2/3 the compiler thinks you are doing integer division. You should explicitly denote one of the inputs as a float by using the f symbol:-
DataGridView1[0,0].Value=2f/3;
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
Thanks!
|
|
|
|
|
Wayne Gaylard wrote: by writing it 2/3 the compiler thinks you are doing integer division
FTFY
|
|
|
|
|
I was giving him(OP) the benefit of the doubt
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
That is Modular division.
if it is like 4/3 ans will be 1.
U can get the ans if u make it like 2.0/3 or 2/3.0
|
|
|
|
|
Hello!
I want to design a complex text editor that will be capable to design, fill and print necessary marketing papers according to the law.
The negative side - i do not know how to make it happen, which classes or libraries can help me to do it? (Speaking plain, make something as powerful as MsWord when it comes to designin a document)
OR: How can i export the designed document template from Microsoft Word to an application, where i will fill it with data (from
Postgres 9.1) and print it?
Thank you.
|
|
|
|
|
Aleonis wrote: I want to design a complex text editor
Aleonis wrote: i do not know how to make it happen
As they say in the Emerald Isle: "You don't want to start from here!".
The first thing you need to do is spend some time with some of the C# tutorials, paying particular attention to classes and how they can be used. There are some good tutorials here[^], and lots of CodeProject articles[^] to help you. Next you perhaps need to learn about how to access Microsoft Word documents using the Interop assemblies[^]. Once you have mastered these areas you can probably move on to the design phase of your editor.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Well i`m not a beginner in C#, it is my first application with such demand. I`ve built a lot of apps using classes on C+ and some on C#.
Thank you for showing me the right way, looks like i better master Interlop assemblies head on...
|
|
|
|
|
Aleonis wrote: Well i`m not a beginner
My apologies but your original message implied that you may have been.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Yes, it looks like my own fault Thank you again.
|
|
|
|
|
Is this project to be on-line, off-line, both ?
It sounds to me like you are implying you want to create structured Forms (using the word 'Forms' in the 'web-sense' of that word here, not referring to WinForms). Those structured Forms, if I am understanding you correctly, would have some very formal structure dictated by legal requirements.
So the issue of validation per entry arises, as well as issues of sequence of entry: if certain fields are not filled out, should other fields even be visible, or enabled ?
This can be done inside Mircrosoft Word, inside Adobe's and other companies PDF produce/edit/read programs. 3rd. party controls for .NET include Forms Managers, Wizard creators, etc.
I would seek to achieve these goals within existing products ... unless ... some fat client wanted to pay me a lot of money for a custom solution that would be a major effort.
best, Bill
Scipio: "That's true, Berganza; and what makes the miracle greater is, that we not only speak, but hold intelligent discourse, as though we had souls capable of reason; whereas we are so far from having it, that the difference between brutes and man consists in this, that man is a rational animal, and the brute is irrational." Cervantes, "Colloquy of Dogs," 1613CE. The two talking dogs, Scipio, Berganza, are hallucinations in the mind of a soldier with plague fever undergoing a "sweating" cure.
|
|
|
|
|
How can I pass object from one exe to another exe in the local machine?
|
|
|
|
|
|
|
So what about I wanna pass class object across exe...it means I have two exe winform then I wanna pass class object in exe1 to exe2 ...what is the solution...? thx for ur attention
|
|
|
|
|
|
Passing UI controls between processes is not a very good idea, and I would recommend you don't do that. You almost certainly don't need to.
To pass model objects around, they need to either be serialisable or marshalled-by-reference (whether that is using the default [Serializable] and MarshalByRefObject with Framework-provided remoting, i.e. WCF, or through some custom scheme, i.e. a TCP library which supports serialisation of objects).
|
|
|
|
|
could you please send me the example Project?
but I use it in local computer not different computer.
Thank in advance....
|
|
|
|
|
your link refer to return value between two exe
but what I want : pass object(Ex: Textbox or other toolbox tool)
|
|
|
|