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
O

Ola Carlsson

@Ola Carlsson
About
Posts
17
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Select directory in CFileDialog
    O Ola Carlsson

    Hi! Can I use CFileDirectory to select one directory and not a file? How? /Ola Carlsson

    C / C++ / MFC question

  • How can I make textlinks in my dialogs
    O Ola Carlsson

    thank you very much! /Ola Carlsson

    C / C++ / MFC question tutorial

  • How can I make textlinks in my dialogs
    O Ola Carlsson

    Hi, How can I make simple textlinks in my AboutDlg? For example; "Visit my homepage at http://icc.makes.it" Thanks /Ola Carlsson

    C / C++ / MFC question tutorial

  • Delete files that are in use
    O Ola Carlsson

    Hi, I need to delete files that are in use. I can´t restart my computer or neither exit programs that are using them. Any suggestions? Need to work on NT/2000 server. /Ola Carlsson

    C# sysadmin question

  • Delete files that are in use
    O Ola Carlsson

    Hi, I need to delete files that are in use. I can´t restart my computer or neither exit programs that are using them. Any suggestions? Need to work on NT/2000 server. /Ola Carlsson

    C / C++ / MFC sysadmin question

  • Create Exchange account from existing NT-account
    O Ola Carlsson

    Hi, I need some help to create mailboxes from existing NT-accounts. This code does'nt work: DirectoryEntry entry = new DirectoryEntrt(LDAP_DOMAIN); DirectorySearcher searcher = new DirectorySearcher(entry); SearchResult result = searcher.FindOne(); DirectoryEntry dirEntry= result.GetDirectoryEntry(); DirectoryEntry adOrganization = dirEntry.Parent; DirectoryEntry newUser = adOrganization.Children.Add("cn=Ola.Carlsson", "user"); newUser.CommitChanges(); ---------------------------------- COMException (0x8007200a)..... does'nt exist... Is SchemaClassName wrong? /Ola

    C# help question

  • Microsoft Exchange programming
    O Ola Carlsson

    Hi! I need some programming examples about programming MS Exchange server 5.5. Also wonder if I Can I use ADSI for this purpose? I’m using C# ASP .Net. Thanks /Ola Carlsson

    C# csharp sysadmin question

  • How can I make my app to use less memory
    O Ola Carlsson

    Hi, I have some problems with my apps memory usage. They use a lot of memory. How can I make my app to use less memory? Does it matter if I use semantic { CMyClass c; : } or { CMyClass *c; c = new CMyClass(); : delete c; } Do Windows use some kind of garbage collection? Then my app has been running for a while the memory usage is lesser. Why? Grateful for all help I can get. /Ola Carlsson, Sweden

    C / C++ / MFC question css performance help

  • SystemTray tooltip text limit
    O Ola Carlsson

    Hi, How can I use SystemTray tooltip text up to 256 characters (or more)? Today it seems to only support 64 characters. Thanks Ola Carlsson

    C / C++ / MFC question

  • Valid e-mail address
    O Ola Carlsson

    Hi, Does anyone now a function/class to check if an e-mail address is valid? /Ola Carlsson

    C / C++ / MFC question

  • MFC Thread problem
    O Ola Carlsson

    Hi all, I’m trying to make use of some threads in my programs. Then I try to build my project(MFC), this error turn up. “fatal error LNK1561: entry point must be defined” My code is similar: UINT CTestDlg::threadProc(LPVOID p) { CTestDlg * me = (CTestDlg *)p; me->classProc("ThreadTest"); return 0; } void CTestDlg::classProc(const CString mesage) { AfxMessageBox(message); } void CTestDlg::OnOkButton() { HWND hWnd = GetSafeHwnd(); AfxBeginThread( threadProc, hWnd, THREAD_PRIORITY_NORMAL ); } Can you help me what to do? Thanks, Ola Carlsson olaca428@student.liu.se

    C / C++ / MFC help c++ question

  • How to restart DHCP
    O Ola Carlsson

    Should work on Win98, ME, 2000 and XP /Ola

    C / C++ / MFC tutorial question

  • How to restart DHCP
    O Ola Carlsson

    Hi All! Does somebody know how to restart DHCP? Thanks, Ola Carlsson

    C / C++ / MFC tutorial question

  • CInternetSession::OpenURL
    O Ola Carlsson

    How can I use OpenURL and set max retries, timeout etc… If I use OpenURL and my connection doesn’t exist, the program crash. Thanks Ola Carlsson

    C / C++ / MFC question

  • How to select text in CEdit Control
    O Ola Carlsson

    Text in edit box is not visible selected. Cursor starts blinking, and if I use m_editbox1.Cut(); text disappear. If I write some, text in edit box are not replaced. Code example: void CMyClass::OnSetfocusBox1() { m_box1.SetSel(1,10); m_box1.SetFocus(); // m_box1.Cut(); works, but text in box are never visable selected. } Ola

    C / C++ / MFC tutorial question

  • How to select text in CEdit Control
    O Ola Carlsson

    hmm... I still can't get the text marked blue. /Ola

    C / C++ / MFC tutorial question

  • How to select text in CEdit Control
    O Ola Carlsson

    How can I select the text in a CEdit control. I have tried the SetSel(first_pos, last_pos) but the text don't be "blue". SetSel() works fine to cut or paste... but i want the text to be marked whit the blue line, as when using mouse. regards, Ola

    C / C++ / MFC tutorial 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