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
    55

    .Net 4.0 AccessViolationException

    Hi, I'm having a problem with windows and a third party device library. We develop software that uses third party hardware, written for .Net 4.0+ in C# for both 32/64 bit platforms according to...
  2. Replies
    3
    Views
    510

    Re: Serial Communication Data Receive

    No, DataReceived Event will be fired when (every time) the PC-side serial interface receives data. The PC (your C# program) sends data to the Board, the board then replies to the PC, that's when...
  3. Re: TCP socket problem - IP:Port already in use.

    Tell that to TeamViewer lol... True nevertheless, so I'll change my default to a port number >49152. That still won't contain a socket collition though.
  4. Replies
    3
    Views
    510

    Re: Serial Communication Data Receive

    DataReceived event will be fired when the serial interface gets any data into its buffer. Your code seems fine, but you might be missing the Baudrate setup? Your board might not be understanding what...
  5. Re: TCP socket problem - IP:Port already in use.

    Victor, the TCP/UDP port list is where I got the 1024-65535 port range that should be used for user applications. That's why I decided to use port 3000. There is no specification on which one should...
  6. TCP socket problem - IP:Port already in use.

    Hello everyone, thanks for reading!


    I have a little question about TCP sockets and how to define which port will be used for the connection. So far I just defined port 3000 as a default port and...
  7. Replies
    2
    Views
    454

    Using a 32 bit DLL in a 64 bit App

    Hi, I've come accross an unlucky scenario where I can only use the 64 bit version of one DLL (on a 64 bit Win 7) but don't have the 64 bit version of another DLL I also need to use, so I can't...
  8. Replies
    0
    Views
    1,432

    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...
  9. 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...
  10. Replies
    3
    Views
    1,270

    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...
  11. Replies
    3
    Views
    1,270

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

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

    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...
  15. 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...
  16. 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...
  17. 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...
  18. [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...
  19. Replies
    0
    Views
    410

    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...
  20. 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...
  21. 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...
  22. Replies
    5
    Views
    3,900

    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...
  23. Replies
    5
    Views
    758

    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 *...
  24. Replies
    6
    Views
    668

    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 =...
  25. Replies
    6
    Views
    668

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center