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

Search:

Type: Posts; User: Nikel

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Picturebox

    by Nikel
    Replies
    4
    Views
    623

    Re: Picturebox

    You could use a second pictureBox/label/etc with a .BackgroundColor, and then just set .Location and .Size according to needs, and even change .Visible or .SendToBack() or .BringToFront().
  2. Replies
    2
    Views
    1,487

    Re: SQL command return values.

    I guess I could, yes. Looks promising! It would involve a lot of work on my existing code, but I guess better do it now before it gets out of hand...
    Back to the learning! I was barely starting to...
  3. Replies
    2
    Views
    1,487

    SQL command return values.

    Hi, I have a few methods for adding, modifying and deleting items from my tables in SQL and I pretty much always use the same methods since the operations are always the same, only the table names...
  4. Re: VS2015 Express crashes when stopping at breakpoint.

    Hi Roger, thank you for that. I uninstalled/reinstalled VS and all C++ runtime and anything with "dev" in it's name basically, still no luck. Guess I'll strip down my solution, check what project is...
  5. Re: VS2015 Express crashes when stopping at breakpoint.

    That's pretty much the first thing I tried. Blamed Windows Update at first, since I got a few in a row during reboots, but it wasn't... shame on me not trusting MS...
    Then I cleaned the solution,...
  6. VS2015 Express crashes when stopping at breakpoint.

    Hi, I'm working with Visual Studio Express 2015 (Windows 7 service pack 1) and I'm having a problem with a particular project in C# .Net 4.0 (other projects targetting same platform work ok).

    When...
  7. Table with values to fit container and adjust fonts to max possible size

    Hi, I'm looking for a way to present results to the user so that they take all the available room in a splitContainerPanel, so that when it resizes fonts will change to maximize its fonts size. My...
  8. Re: SerialPort DataReceived event not processing bytes read

    I had not looked into that other project. Using the NMEAParser seemed simple enough, but that GNSS Receiver class makes it even simpler. That guy is a genius! Nevertheless I still find it strange...
  9. SerialPort DataReceived event not processing bytes read

    Hi, I'm working with a GlobalSat GPS device that will report GPS messages at 4800bps every second or so. I'm getting the message strings but I cannot get to process any of them.
    I'm using...
  10. Replies
    2
    Views
    6,355

    Re: WebBrowser.Document.GetElementByID() problem

    Hi Hannes, thanks for the answer. I had already tried all those, that's why I mention that things like ElementByID and ElementsByTag return null and empty collection. I ended up coding an...
  11. Replies
    10
    Views
    1,301

    Re: Taking 1 method from another

    What you need is recursivity. Call f() from within f() until that condition you mention is met. Once the final f() ends without calling another f() all the f()'s end and as each ends it returns a...
  12. Re: Top-level exception handler doesn't work in Windows 7

    As of .Net 4 some exceptions are no longer "catchable" as far as I've read. For example an AccessViolationException. This means no matter how many try-catch's you have, your application will still...
  13. Replies
    2
    Views
    6,355

    WebBrowser.Document.GetElementByID() problem

    Hi, I'm trying to load an HTML page inside a webbrowser in my WinForms app and would like to set text values of several elements of the page in order to localize it according to language.

    The...
  14. Replies
    1
    Views
    902

    Re: c# form validation

    Hi, for the 1st part, I'd guess we'll need more info on how you connect to the database, what server you are using and all those etcs.

    As for the second part, you can check the email addresses...
  15. Replies
    0
    Views
    2,203

    .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...
  16. Replies
    3
    Views
    2,491

    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...
  17. Replies
    6
    Views
    2,591

    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.
  18. Replies
    3
    Views
    2,491

    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...
  19. Replies
    6
    Views
    2,591

    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...
  20. Replies
    6
    Views
    2,591

    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...
  21. Replies
    2
    Views
    1,151

    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...
  22. Replies
    0
    Views
    4,024

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

    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...
  24. Replies
    3
    Views
    3,293

    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...
  25. Replies
    3
    Views
    3,293

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)