Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

HJB417

@HJB417
About
Posts
8
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Wasted 1/2 a day reinventing the wheel
    H HJB417

    I spent most of the day today making a bese64 encoder/decoder in c# and I just finished it now. 5 min l8r, I found out that .NET has a builtin class to encode/decode base64 strings. So many wasted hours =(. But both of our encoders/decoders work =)

    The Back Room csharp

  • Need help serializing object in c++
    H HJB417

    Hi, I'm trying to send an object across a network and I'm trying to implement serialization but I'm not doing it right. I tried searching for tutorials and articles but they're for C#. [Serializable] __gc class FileTransferHeader { public: FileTransferHeader(String* theFileName, Int64 theFileSize); __property Int64 get_Size(){return fileSize;} __property String* get_Name(); private: Char fileName __nogc[256]; Int64 fileSize; Int16 fileNameLength; }; and later in some other class that has a networkstream, and a BinaryFormatter() and an object of type FileTransferHeader named theHeader. I try theBinaryFormatter->Serialize(theNetworkStream, theHeader); and I get an UE. Unhandled Exception: System.Runtime.Serialization.SerializationException: The type $ArrayType$0x2984d64b in Assembly WinsockContinued, Version=1.0.792.39872, Culture=neutral, PublicKeyToken=null is not marked as serializable. -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) help csharp c++ sysadmin algorithms

  • can i deploy .net in small size?
    H HJB417

    and how do you tell the compiler NOT to compile to native code =) I didn't know about these options, so I'm only asking for my own knowledge -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) graphics csharp database winforms design

  • can i deploy .net in small size?
    H HJB417

    how do you compile to native code in c++? -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) graphics csharp database winforms design

  • How do you make a form close by itself?
    H HJB417

    when I try calling it from outside the constructor, it won't close. What I'm going to try doing is A), create the window in a new background thread and have the foreground thread close it in 3 seconds or B)have the constructor of the new form take a variable.... incomplete thought as of now, will try A) 1st =) ------ The background worker thread method worked __gc class heh: public Form { public: heh() { Size = System::Drawing::Size(300,300); Text = "I Should be gone soon"; } }; __gc class test: public Form { heh* mm; void popup(){ mm->ShowDialog(); } public: test() { Text = "Base Form"; mm = new heh(); Thread* worker = new Thread(new ThreadStart(this, &test::popup)); worker->IsBackground = true; worker->Start(); Thread::Sleep(100); mm->Close(); worker->Abort(); } }; -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) help question lounge

  • How do you make a form close by itself?
    H HJB417

    I'm trying to make a popup window, that closes after it executes several functions but it doesn't work because the form stays open. I tried 2 ways, __gc class test1: public Form { public: test1() { Close(); } };//stays open __gc class test: public Form { public: __delegate void delegate(); void close(){Close();} test() { delegate* pDelegate = new delegate(this, &test::close); pDelegate->Invoke(); } };//stays open -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) help question lounge

  • Need Help adding a "new line" to a text box
    H HJB417

    hi, I have a textbox on a form that gets updated by the users, it's sort of like a log of events. The problem I'm having is, I don't know how to add a newline. I'm VB.NET, I got it to work by doing txtLog.AppendText(Format(TimeOfDay, "hh:mm ") & stgEventName & txtMessage.Text & vbNewLine) which concated the current time, the event name, the event message with a visualbasic_newline and it would look like: 14:34 POP3 email received 18:24 FTP received connection request from IP 24.29.165.87 18:38 FTP received connection request from IP 24.29.165.87 18:28 FTP received connection request from IP 24.29.165.87 but in Managed C++, it's coming out like 14:34 POP3 email received 18:24 FTP received connection request from IP 24.29.165.87 18:38 FTP received connection request from IP 24.29.165.87 18:28 FTP received connection request from IP 24.29.165.87 I tried doing: String* message = IncomingEvent; message->Concat(message, "\r\n"); ChatBox->AppendText(message); but to no avail =( -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) help csharp c++ tutorial

  • Is there a way to run managed c++ programs on computers w/o VS.NET (like win98, winme or win2k machines)?
    H HJB417

    How do you make managed c++ programs run on other computers that don't have Visual Studio.NET installed. I installed dotnetfx.exe on a win2k and winme machine and ran a managed c++ program that creates a form but it doesn't work. -------------------------- One problem with the programmer's mentality is insecurity. This goes deep. An insulting college litany says that failed mathematicians become computer programmers. They are also ridiculed for being nerdy losers, for being too fat or too skinny, and for having few social skills. Most programmers can be spotted easily in a crowd. Nobody really wants to hang out with them. Put thousands of these people in one company and if you can get them to work, you become a billiona

    .NET (Core and Framework) csharp visual-studio c++ help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups