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
  • Tabbed Toolbar - How?

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to access ActiveX control in another thread

    com help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • How to access ActiveX control in another thread

    com help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Scrolling the window content

    c++ help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • audio codecs using vc++

    c++
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • C database Connectivity

    database oracle tutorial
    2
    0 Votes
    2 Posts
    0 Views
    C
    These are the steps breifly u can try out this and let me know i)Include “sql.h” ii)SQLAllocHandle() iii)SQLSetAttrib iv)SQLConnect v)SQLDisconnect vi)SQLFreeHandle chandu
  • How to create raw socket with UDP??

    question tutorial
    2
    0 Votes
    2 Posts
    0 Views
    A
    also I need to set up some parameters, like IP and port. And what can I say, now? :-D? :rolleyes:? :rose:? ------- Nature, to be commanded, must be obeyed. (Francis Bacon) Nature, to be apprehended, must be obeyed. (Ayn Rand)
  • How is OnRecieve called

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    CAsyncSocket::OnReceive() is an overridable rather than a message handler. To invoke it you could technically send WM_SOCKET_NOTIFY with the appropriate arguments. For details on how it gets called see the MFC source code for CSocket::ProcessAuxQueue() and CAsyncSocket::DoCallBack() in file SOCKCORE.CPP. Anatoly Ivasyuk DTLink Software http://www.dtlink.com
  • Left and top scrollbars

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Get PCI device info

    c++ question
    4
    0 Votes
    4 Posts
    0 Views
    L
    If you are wanting to do this in Windows, check out the CONFIGMG_* api. This is the api that windows uses to run Device Manager and such. MSDN has plenty of info... check it out. :cool: If everybody thinks alike, then somebody isn't thinking...
  • SQL Parser for OLE DB Provider..?

    database com question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Like always: lexx & yacc, or any derivates thereof like ANTLR, Visual Parse (commerical)...
  • Corba-orb initialisation problem

    help c++ sysadmin question announcement
    2
    0 Votes
    2 Posts
    0 Views
    L
    May I recommend you try a corba related newsgroup instead, with emphasis on "newsgroup"?
  • docking dialogbars

    graphics help question workspace
    2
    0 Votes
    2 Posts
    0 Views
    L
    Study MFC. The code sucks, but the concepts probably holds.
  • FrameLess Window

    help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    L
    I have code for a framework that does it, but you won't like the solution. Try intercepting WM_NCCALCSIZE. Remove the caption area from the first rect, and return WVR_VALIDRECTS. Told you, you wouldn't like it. But it works.
  • How to unbind a network protocol ?

    sysadmin json tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    L
    > I've got it working in Win2k (with the use of the INetCfg > API calls) but I can't find any API calls or code examples > on how to this in Win98/Win Me and NT4. Any ideas? No. AFAIK this is impossible using published API. MS never been much of a team player in this area... You could however have some luck looking at the .inf files and perhaps convince the script interpreter to remove it. If not, the only solution I know of is the old true-and-proven-that-takes-forever: disassembling MS' code. Not much of an answer, but at least better than silence... Sorry for the "no way" reply.
  • Help!....I need a code to find a file is read only or not

    security help
    2
    0 Votes
    2 Posts
    0 Views
    L
    > I need a code to find if a file in Windows NT is read only > or not. The file attribute is not marked read only, but it > was made read only using the file security settings The file isn't read only, it's just that the user don't have the privs to read it. Please don't mix the two concepts of security and DOS flags from the early '80s. You are right you have to check the ACL(s), and this is not something I'd recommend if you only want to know if a user (you?) can read it or not. Just try to open it read-only and find out. GetLastError should give you an appropriate resonse. (without testing I'd say the only possible response would be ERROR_ACCESS_DENIED if you don't have the privs, but knowing MS...)
  • Insert Symbol

    2
    0 Votes
    2 Posts
    0 Views
    L
    charmap.exe
  • Detect Application Launch

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Only undocumented solutions. MS don't provide us with documented solutions to this kind of "advanced" programming. My "best guess" is that you'd have to hook CreateProcess. Check out e.g. winternals for possible solutions (you won't like the effort needed).
  • How to intercept printing

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • MDI Child's Size

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    T
    Check the docs for WM_GETMINMAXINFO message: "The WM_GETMINMAXINFO message is sent to a window when the size or position of the window is about to change. An application can use this message to override the window's default maximized size and position, or its default minimum or maximum tracking size." Tomasz Sowinski http://www.shooltz.com.pl