Type: Posts; User: Nikel
Search took 0.02 seconds.
April 9th, 2014, 02:39 PM
Hi, I'm using a DGV to show a lot of Database entries and I would like to allow the user to select multiple rows and then perform actions on those rows. The problem is, since the DGVs multiselect...
March 28th, 2014, 08:51 AM
You are grouping wrong. Multiplication and division precede addition and substraction.
result = (Math.Pow(numx, 2) + Math.Pow(numz, 2)) / (1 - (Math.Pow(numx, 2) - Math.Pow(numz, 2)) / 2);When...
March 27th, 2014, 07:12 PM
Point taken. I agree, nevertheless it does seem like a strange behaviour, having IDENT_CURRENT return the same value twice.
If an insert error occurs the procedure will return with error and I...
March 27th, 2014, 04:25 PM
Hi, I'm having some weird behaviour with SQL. I have a method to check what the next ID will be (no multithreading or any chance of collisions there) but the problem is I'm getting the same ID twice...
March 26th, 2014, 09:24 AM
The simplest way would be to open your form designer, and double click on the button that should perform what you need. That should take you to the button click event handler automatically.
March 25th, 2014, 12:50 PM
Hi, I'm having problems with localization. My problem is, if I add a "strings.en.resx" file (the nested designer.cs file is not created when a .xx. language identifier is present) and if I try to...
Hello again, once more I'm having an old problem with referencing libraries. From my VS2010 project window, I add a reference to a .dll file, either selecting the file itself or from the COM tab...
August 3rd, 2012, 10:43 AM
Ok, this is how my PrePaint event resulted. It will calculate the position of the InnerPlotPosition considering the ChartArea's position and the Chart size. I had to change to calculation of the...
August 2nd, 2012, 03:18 PM
Yes, there's the <measuringPoint> class that has the ChartArea, Legend and Series, and then the GUI that has the Chart. Since (so far) all I did was update the .Points data in the Series, I had no...
August 2nd, 2012, 02:01 PM
Hi zips, the null assignment throws a nullReferenceException, already tried. The value for "no image" is just an empty string.
Thulhu, thank you for the info. The chart I'm using is from the...
August 2nd, 2012, 11:18 AM
Hello again! I'm having a little problem with a .BackImage property file I want to modify at run time, but can't manage to "release" the file to be able to change what I need. This is what I want to...
July 27th, 2012, 10:46 AM
Hi, I have MSDE 2000 running on client PCs with a database in "C:\Program Files\Microsoft SQL Server\MSSQL\Data\" folder. I've made some changes to some of the tables and would need to replace the...
July 26th, 2012, 03:12 PM
The tasks would naturally be added to those Lists<> by the Type1 clients. And you'd have to save the case when no tasks were pending and a type2 client comes available... store it somewhere else to...
July 26th, 2012, 03:03 PM
I would create a List<classTask> for every task priority (if you know how many you will have) and have the TCP Listener fire an event when a type2 client is available. Then, when one is, take care of...
July 18th, 2012, 12:33 PM
It took me a while to get this working, and a lot of Excel's capabilities are not implemented, but this should help you with the exporting at least.
The classes in the Excel environment don't...
July 13th, 2012, 02:56 PM
If... I understood correctly and didn't miss something.
Let's say a unit will take the same amount of all 4 resources (R)
3 resources -> 1 hour
R resources -> T Time
T = R *...
July 11th, 2012, 07:34 AM
Yes, you are right, it would be rounding wrong. And if you search for a Round method, you get an even better solution.
// double Math.Round(double value, int digits)
double value =...
July 10th, 2012, 06:54 AM
float temp = aData * 100;
temp = (int)temp;
temp /= 100;
aData = temp;
I'm more curious about the new float. Isn't that giving you any errors? You're initializing...
I'm already doing that, and no exception gets caught =(
The app just stops, a message shows with "The Application stopped working, Windows is trying to find a solution bla bla" and then it quits.
I have found a new best friend in GUI design using a TableLayoutPanel. It's basically a grid that will allow you to add controls to each cell. and allow you to add Rows/Columns and set the size of...
Yes, S_M_A's post mentioned that already, but again, I have 2 other applications that make use of the library and they work! As far as I know, there is no "app-specific" dll registering, so if they...
And I'm using Framework 4.0 - installed on the machines. Actually the app starts ok, I can use some functions of it. But when I press a button that would make use of the DLL methods and objects, I...
I have compiled x86 and x64 versions of the software, and tried it in both 32 and 64-bit machines.
The 32bit version run on a both 32 and 64 bit windows will "Stop working", and the 64bit version...
Hi SMA, I would doubt that very much, since I have the original third party complete app already installed and working on the machines, and a second application we developed that also uses that...
Hi, I'm having some problems with a very small app that uses a third party DLL. I can run the app on my computer (Windows 7, 32 bits), and could run it on several XP's, but on other windows 7...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.