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. 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...
  2. 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...
  3. 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...
  4. [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...
  5. Replies
    0
    Views
    313

    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...
  6. 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...
  7. 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...
  8. Replies
    5
    Views
    1,341

    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...
  9. Replies
    5
    Views
    458

    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 *...
  10. Replies
    6
    Views
    494

    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 =...
  11. Replies
    6
    Views
    494

    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...
  12. Replies
    9
    Views
    519

    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.
  13. 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...
  14. Replies
    9
    Views
    519

    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...
  15. Replies
    9
    Views
    519

    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...
  16. Replies
    9
    Views
    519

    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...
  17. Replies
    9
    Views
    519

    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...
  18. Replies
    9
    Views
    519

    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...
  19. Replies
    3
    Views
    1,580

    Re: Child Window with a Transparent Background

    Hi, welcome! I'm actually having a similar problem and was just about to post! I've been trying to create a new form from my main form to highlight an area of the main form, and would need it to be...
  20. Replies
    1
    Views
    274

    Re: How to mark a threshold on the graph??

    ChartAreas have Cursors, but I'm not sure you can set them to what you need.

    A second less elegant option is to add a new series, set it as Line, add a new Legend to the chartArea, add the second...
  21. Replies
    2
    Views
    393

    Re: How to Dynamically create a graph?

    Check this site from MSDN for a very complete set of examples on how to use msChart.

    What I would do is to have one msChart and add ChartAreas to it as you add new items. Or you could reuse them...
  22. Replies
    4
    Views
    2,988

    Re: String manipulation in c#

    I'd use string.Split( ) twice. The first time using '<' as a separator, the second using '>'. The final set of elements should have a first item containing the tag attributes, and a second item that...
  23. Replies
    4
    Views
    618

    Re: Need Help with C# program

    You should lookup the double.Parse(string s) and double.TryParse(string) functions.
    Then you could use a double to add new values and just divide by 5 after the for loop.


    int index = 0;
    double...
  24. Replies
    1
    Views
    1,435

    Re: Chart Control Axis Label

    I'm not sure you can have the tick marks and labels fixed without having some calculations done inbetween and changing you Axis settings. You can have a fixed number of labels, and if the time span...
  25. Thread: Plugins

    by Nikel
    Replies
    0
    Views
    340

    Plugins

    Hi again. I'm trying to add functionallity to my app, but given that some users might be interested in some stuff and others in other stuff, it would seem to point to plugins.

    My question is, how...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width