So basically I started the C# Wrapper to be able to compare it, after a few days and going to battle vs COM objets and performant InterOp, I finally managed to wrap a part of it.
For now I'm doing just the D3DDevice creation and a simple window clear.
I compared the exactly same function calls with Managed DirectX 1.1 ones (actually everything is the same, I compared every method parameter and call with PIX debugger).
So creating D3D factory, creating a device and showing.
hi, i m new to crystal reports.
can any one tell that
is it possible to diplay data in crystal reports on the basis of checkbox selection?
columns which i want to display in report should be displayed if that column name is checked in checkbox.Even displaying data from more than one table.
i m working in WinForms based application
My win form application is using the following code to get the version number which is retrieved from the clickonce version.
This seems to work only when the application is installed on users machines.
if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) //is this a clickonce application
//get he publish version...
_strVersion = System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();
this.Text = this.Text + " - " + _strVersion;
Do you know why I do not get the version number using the above code when this is used on my Dev machine where I am developing the application?
I am working on access card . Its working fine. It reading when i am clicking on button. I have written the code in the button click only. I dont know in which event it reads automatically. Please tell me that in which event it will read when i touch the access card to the controller.
I want the event only. Please let me know asap.
If you're using the SerialPort then remember to set the ReceivedBytesThreshold low enough to generate the event.
“It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.”
Thankyou for your help, simon. I suppose it does look like a homework problem my apologies for making it so. But the only reason I asked this is the site where I got it from has it written in a similar way i was just trying to figure out why the program didnt work.
Simon Stevens wrote:
What are you counting? Pairs of letters?
All of them, yes! [Poke tongue]
But seemingly only explicit pairs (the 'ccc's are ignored).
In which case, loop through each character. For each character, if it matches the next one, but not the one after, then count it and move on. If you reach a repeated string of the same chars, jump over them all, and don't count them.
I'm new to C# and .Net architecture , so sorry about the silly question.... .
I'm using a grid control in order to display data from the data base.
My problem is when the user press the CTRL+C in a specific cell in order to copy the data
to a different cell.
The result is that the new cell contain the data of the entire row , instead of the data of the copied cell.
note that if I use the mouse right click and "copy" <-> "paste" it is working fine.
My question is how can I capture the CTRL+C and CTRL+V with the keyboard?
Are you talking about the DataGridView control? I don't seem to be having any sort of problem with CTRL-C, CTRL-V to copy and paste from cell to cell with that control.
Anyways, you might take a look at the grid's KeyDown event and see if you can use the e.Modifiers to capture the Control key, and e.KeyCode to capture the 'C' or 'V', but, to be honest, I don't think that event will trigger in an editable cell of the DataGridView. The other option I can think of is to override ProcessCmdKey and see if you can capture the key combinations there.
Last Visit: 6-Aug-20 18:48 Last Update: 6-Aug-20 18:48