Skip to content

Article Writing

Discuss writing articles, add your requests for articles here, or search for ideas for a new article.

This category can be followed from the open social web via the handle article-writing@forum.codeproject.com

5.4k Topics 12.4k Posts
  • CAD for Building Design in Visual Basic

    wpf design
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • CAD for Building Design in Visual Basic

    wpf design
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    L
    You need to use the IISAdmin interface - CLSID_MSAdminBase Put the calls to this into a DLL and call the functions int he DLL from your install script.
  • CRichedit Control

    help question
    2
    0 Votes
    2 Posts
    0 Views
    B
    Are you using MFC? if so try; wndMyRichEditCtrl.SetReadOnly ( TRUE ) or in C; SendMessage ( hMyRichEditWnd, EM_SETREADONLY, TRUE, 0L ); Have a good one, -Ben "Its funny when you stop doing things not because they’re wrong, but because you might get caught." - Unknown
  • Common Speller API

    json question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to get information in address book?

    tutorial question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Using CListCtrl::SetBkImage.

    tutorial graphics question learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • To all you socket veterans out there

    c++ sysadmin
    3
    0 Votes
    3 Posts
    0 Views
    D
    If your starting out, I'd just use the MFC CSocket class. Get a simple client and server working with CSocket and then get complicated (i.e. asychronous) later. Override the OnReceive(...) message. When data shows up, OnReceive will get called, so then you call Receive(...) to receive the data. If there is more data in the buffer, OnReceive will get called again for you. I don't know if the socket calls are blocking or not, but CSocket works synchronously rather than asynchronously, which will save you a lot of headaches. In my experience, the CSocket Connect() call is annoying when it blocks, but the Receive() and Send() calls are barely noticable when you call them. Remember that we're going at network speed, dude, and we know that the data has already arrived via TCP/IP. All you have to do is read it out of memory. "Harland Pepper, would you stop naming nuts" - Harland Pepper
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • technet

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    btw what is technet does ? all the technologies of .NET ?
  • vector, deque class template

    graphics tutorial
    3
    0 Votes
    3 Posts
    0 Views
    C
    You might want to take a look at www.stlport.org which is what I use. This is an implementation of the C++ STL. There is quite a bit to wade through, but it works quite well.
  • Cipher Strength Detection

    tools help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Create a file name with date&time

    tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Thanks Rick for your help. It all works now.:rolleyes:
  • runnning batch files with asp

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Obtaining IP address from modem device via PPP

    c++
    3
    0 Votes
    3 Posts
    0 Views
    J
    I am not stupid!!! The device is not an ordinary modem. It is a cellular phone with a fixed IP address. I know that the IP address is passed to the host when a PPP connection is initiated. I would like to extract that address without completing the connection. Do you have source code that will enable me to extract that IP address?:mad:
  • Antialiasing

    graphics tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • CallBack function

    tutorial
    2
    0 Votes
    2 Posts
    0 Views
    M
    // The callback function type typedef void StepProc(); // the callback function void Step() { cout << "."; } void DoSteps(StepProc* pProc) { for (int i = 0; i < 10; i++) { (*pProc)(); } } void TestCallback() { //Call DoSteps() with ::Step as the argument ::DoSteps(::Step); } Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
  • 0 Votes
    3 Posts
    0 Views
    L
    1. actually it would be sufficient for now to handle local files and those one local network; 2. once again: the files would be readed sequentially, so I think that a 30MB cache per file is quite enough; on exceptions (random reads) doesn't maters the caching performance 3. if you have some time, PLEASE send me an example of how could I do a file caching for an intercepted handle; (this example would be really valuable, as I have no deep knowledge about NT api / Visual C++; I'm actually a Delphi / Database / Assembly programmer; ... and I'm only 19 years old :)) 4. where can I find some links to that Microsoft "file system filter driver DDK"? thanks, Sandor
  • XML on Client Side???

    sysadmin xml help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Looking for Capable Programmers...

    c++ java javascript html com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied