Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Nikel

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    477

    DataGridView Multiple Selection problem

    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...
  2. Re: How to solve arithmetical problems?

    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...
  3. Re: SQL current ID check returns same value twice.

    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...
  4. SQL current ID check returns same value twice.

    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...
  5. Re: How can I call a Event when user clicks a button.

    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.

    For...
  6. Replies
    0
    Views
    262

    Localization resource files

    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...
  7. Replies
    1
    Views
    310

    Dll reference imported as interop?

    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...
  8. Re: File in use by another process problem

    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...
  9. Re: File in use by another process problem

    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...
  10. Re: File in use by another process problem

    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...
  11. [RESOLVED] File in use by another process problem

    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...
  12. Replies
    0
    Views
    385

    SQL database transfer to another PC

    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...
  13. Re: How do I solve this problem without a continuous loop

    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...
  14. Re: How do I solve this problem without a continuous loop

    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...
  15. Replies
    5
    Views
    2,652

    Re: Excel CSV Import Export Printing

    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...
  16. Replies
    5
    Views
    642

    Re: Need help with a calculator of sorts

    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

    Time needed:
    T = R *...
  17. Replies
    6
    Views
    600

    Re: Trouble converting string to double

    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 =...
  18. Replies
    6
    Views
    600

    Re: Trouble converting string to double

    There's always


    float temp = aData[0] * 100;
    temp = (int)temp;
    temp /= 100;
    aData[0] = temp;

    I'm more curious about the new float[0]. Isn't that giving you any errors? You're initializing...
  19. Replies
    9
    Views
    1,390

    Re: DLL problem on some machines

    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.
  20. Re: how do I reposition controls in relative coordinates

    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...
  21. Replies
    9
    Views
    1,390

    Re: DLL problem on some machines

    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...
  22. Replies
    9
    Views
    1,390

    Re: DLL problem on some machines

    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...
  23. Replies
    9
    Views
    1,390

    Re: DLL problem on some machines

    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...
  24. Replies
    9
    Views
    1,390

    Re: DLL problem on some machines

    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...
  25. Replies
    9
    Views
    1,390

    DLL problem on some machines

    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...
Results 1 to 25 of 109
Page 1 of 5 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center