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

Search:

Type: Posts; User: MadHatter

Page 1 of 74 1 2 3 4

Search: Search took 3.94 seconds; generated 9 minute(s) ago.

  1. Replies
    1
    Views
    2,725

    Re: c# clients with PHP server?

    you can. probably the easiest would be to add the data layer in C#, it is more involved to add the additional PHP SOAP layer for the C# layer to access (not unimaginable though).

    here's a little...
  2. Replies
    3
    Views
    4,076

    Re: how to read .h file in C#

    no. when you update your header files, update your C# interop files too.

    the only way to update your C# interop files would be to create a pre-build event that parsed your header files and...
  3. Replies
    15
    Views
    44,486

    Re: Run console application as windows service

    IMO its a pretty useful too though. you don't always have the ability to alter a command line app (say, like some 3rd party utility) to be a windows service, and in instances like that, or where its...
  4. Replies
    18
    Views
    20,607

    Re: FtpWebRequest - downloading big files

    well the site and forums are still very much functional, but it looks like I moved the api off the server. I'll see if I can't put it back up there.
  5. Replies
    1
    Views
    1,112

    Re: TCP server - socket

    nope.

    you need to add a loop:



    while( serverIsRunning ) {
    _client = _socket.Accept();
    // usually you'll spawn another thread here and process the client in another thread
    }
  6. Thread: Delegates

    by MadHatter
    Replies
    2
    Views
    4,119

    Re: Delegates

    when you create a delegate, you don't inherit from delegate, you declare it a delegate just like you declare a class or struct.

    whenever you declare a delegate type from the get-go:


    public...
  7. Replies
    13
    Views
    1,531

    Re: Who can help me?

    you should use an installer to install your product. by doing this you can check to see if .net is installed when the application is installed, and install it then. this way, every time your...
  8. Replies
    13
    Views
    1,531

    Re: Who can help me?

    lol, loved that one! xkcd rocks! knew which one you were talking about without even clicking on the link :P

    but rocks and time still qualify as a computer.
  9. Replies
    13
    Views
    1,531

    Re: Who can help me?

    I have a problem too...

    I have a computer program that I want to run without a computer.

    if you have to solution, please to share it for please.
  10. Re: How do I step through the source code of a DLL that is loaded on the fly?

    if you have the dll, and the source code, and the dll was built in debug mode, and you have the debug symbols, you can load the assembly using the Assembly.Load method that takes both the assembly...
  11. Re: Equivalent for Dim waveform() as Byte in Visual C#

    byte[] waveform;

    if you know how big you want the array (say you want it 10 elements wide):


    byte[] waveform = new byte[10];
    waveform[0] = 1;
    waveform[1] = 255; // assign elements of the...
  12. Replies
    4
    Views
    869

    Re: Connection String Question

    create a simple form with an ok/cancel button and a property grid in it. give it an sqlconnectionbuilder object, and pass in your connection string (or the one you want the user to edit), and assign...
  13. Replies
    2
    Views
    723

    Re: Parallel programming

    C# is a pure object oriented programming language. PHP can be too, though some folks still cling to the 4.x C style that's short lived in the PHP world.

    no in C# there are a number of ways to...
  14. Replies
    4
    Views
    1,224

    Re: Bing API and MySQL

    mysql connector uses mysql's native protocol instead of the non-native odbc.
  15. Replies
    4
    Views
    1,224

    Re: Bing API and MySQL

    your first and major problem is that you're using bing instead of a real search engine.

    your second problem (and where the exception is being thrown) is: you need more checks in there.

    check...
  16. Replies
    7
    Views
    5,026

    Re: Problem getting 'alt' key from user

    I read it as they were rushed. I hoped they were rushed, and didn't suggest what I wanted to because I had hoped this was the scenario.



    Pure sadism for folks unable to type "c# keypress alt"...
  17. Replies
    7
    Views
    5,026

    Re: Problem getting 'alt' key from user

    who says they're new? My suggestion was simpler than what I wanted to suggest which was to p/invoke GetKeyState ;)
  18. Replies
    7
    Views
    5,026

    Re: Problem getting 'alt' key from user

    use the ModifierKeys property:


    private void HandleKeyDownEvent( object sender, KeyEventArgs e ) {
    string message = string.Format( "key {0} pressed, Alt pressed? {1}", e.KeyCode, ( (...
  19. Re: ALT+D moves the focus to Address bar in IE8

    alt+d is not a hot key, it is an accessibility key bound to the "d" in "address" which used to be the label next to the url in internet explorer, the same as "f" in "file" from the menu.

    use a...
  20. Replies
    4
    Views
    1,132

    Re: Source Control

    I love svn as well. I use visual svn to run it inside visual studio. it costs $50 (us) and well worth it, but tortoise is free (which it also uses, but doesn't run in visual studio, but IMO isn't a...
  21. Replies
    12
    Views
    12,421

    Re: c# Drawing a Line in picturebox..weird

    CreateGraphics creates a new device context. the point is, inside the draw method you already have a device context, and so you're re-recreating what you already have. creating a second dc would...
  22. Replies
    2
    Views
    3,641

    Re: RFID Encoding

    pretty generic question there Jason. Can you be any more specific?

    "Encoding" is a loose term. there are lots of different types of encoding: dod, gdti, giai, gid, grai, gsrn, sgln, sgtin,...
  23. Replies
    24
    Views
    4,168

    Re: Size of something in bytes?

    "the number of bytes an X digit number is" sounds like the way oracle stores numbers. its' a feasible question, but due to the way most of us think of number systems, its quite different.
  24. Replies
    24
    Views
    4,168

    Re: Size of something in bytes?

    if you read the original question:



    I interpret that to mean he is after how many bytes does the number occupy, which is what I provided.
  25. Replies
    24
    Views
    4,168

    Re: Size of something in bytes?

    wasn't meant as THE answer, but as a means to an end. the way you count the number of bits needed to represent the numeric value is to shift it & count (there are other more efficient ways, but this...
Results 1 to 25 of 1828
Page 1 of 74 1 2 3 4





Click Here to Expand Forum to Full Width

Featured