|
Well, in the end, I made a Class called DataNodePrimitive that DataNodePrimitive<t> extends. DataNodePrimitive is now just a class that has Data being an object. DataNodePrimitive<t> just ensures that it is type safe - but now I don't use it anywhere in the program for the fact I need full runtime support.
|
|
|
|
|
Is there a class or method in BCL which lets me view the logical ports opened and currently listening to??
Som
|
|
|
|
|
|
Hello,
I have read many forums and some posts on CodeProject but still have nto figured this out. I want ym application to send keystrokes to an application. At the moment it can be the currently focusses application. Any code samples will be helpful, if you do post code please insert the headers i need... i think that's way my current code is not working.
Thank you
- Droz -
___ ___
/\/\ /\ | |
|
|
|
|
|
What have you tried so far? Also, are you sure you are posting to the right forum? I mean, you're talking about headers and stuff?
|
|
|
|
|
If you want to achieve this in C then it is wrong forum. If you want it in C# then use SendKeys class
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Okay, I was cornered by deprecation. I must handle large images in my application, and System.Drawing is just not fast enough. Graphics.DrawImage() with source and destination rectangles seemed to be the best way, but even that slows down terribly when much zooming is involved.
I remembered that DirecrDraw would solve this problem, but that's deprecated, and the docs told me I should do it in 3D instead. Not that it matters, since my Managed DirectX is deprecated in favor of XNA anyway. Now, XNA doesn't work together with Visual Studio as I understand it, and the user would need to download extra framweorks anyway.
So, is there a way to use up to date hardware acceleration technologies in Visual Studio under .net? What is supported and what is not? I'll need this software running for years to come, and I might even want to modify it in the future. It would be very unpleasant if the technology it's built on would turn obsolete anytime soon.
|
|
|
|
|
Well on the form you can set DoubleBuffered to true. I've noticed that in one of my games it decreased drawing by quite a bit.
|
|
|
|
|
Hi every body,
I am having a problem in using IN operator to filter data in crystal report.
I have tried with selection formula as
<br />
recordSelectionformula1 = "{viewCrystRepSalesOfProductbyCustomer.CustomerID} IN ("+1+","+2+")";<br />
The following error has occured.
The ) is missing.
Any body who have idea about this thing.Then please reply me as soon as possible.
with regards
sureshthedude
Hello man Check it Out
|
|
|
|
|
Hi I need some help for ploting some signal processing data in a 3d graph for my student project. I am working with C#. I have searched in the net but it's not possible for me to buy some tools for serving my purpose. Please help me in this regard with some links. As I am a beginer in C#, plz also tell me how to use those class library.
Faysal
|
|
|
|
|
There are several powerful 3D charting controls available on codeproject.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Plz give me some links..I am really strugling with this. I have tried some from code project but could not work out my problem.
Faysal
|
|
|
|
|
Search the articles for "3d graph" and you'll come up with some.
|
|
|
|
|
I have a ListView set to details mode, which contains file paths. Is it possible to truncate the cells from the left hand side instead of the right?
For example:
If a cell contains a string (C:\Windows\Some directory\file.txt), then if the column is too small, the cell just reads C:\Windows\So...
I need it to truncate from the other side, so it reads ...ctory\file.txt. Is this possible?
|
|
|
|
|
It's not supported natively. You'd have to come up with your own implmentation of the ListView control and replace the drawing code to support this.
|
|
|
|
|
|
What is the use of MVC architecture
|
|
|
|
|
Clean separation of model,view and controller. Easy to maintain and many more.
|
|
|
|
|
|
|
|
Hi All,
in one (windows)form im binding the table to datagridview ,with check box
column . if i click check box in one column , i want to display the
content of that row in a new window ...
in which event we have to write the code .., give me samples or tell me how to write ..!!
thanks .
|
|
|
|
|
Hi,
You can use the CellEndEdit() event for DataGridView. You can probably take a look at the given code.
Lets say we have a grid with first column as boolen column. You have another form2 with a property
GetDataRow() to receive the DataGridView row. In this scenario, you can put the following code under
CellEndEdit() event.
<br />
if (e.ColumnIndex == 0) <br />
{ <br />
<br />
DataRow dr; <br />
<br />
if (DataGridView1(e.ColumnIndex, e.RowIndex).Value == false) <br />
{ <br />
<br />
Form2 frm = new Form2(); <br />
frm.GetDataRow = DataGridView1.Rows[e.RowIndex];
frm.ShowDialog(); <br />
<br />
} <br />
} <br />
I hope this helps.
Regards,
Allen Smith
Software Engineer
ComponentOne LLC
www.componentone.com
|
|
|
|
|
thanks ,
i will try this code
regards,
csn.
|
|
|
|
|
Hello friends,
I am developing an windows application setup project using setup wizard.
now what i want to add uninstall feature in setup application.
So how can i add uninstall feature to setup project...
|
|
|
|