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

Search:

Type: Posts; User: Odiee

Page 1 of 19 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Automatically create multiple doc/view in MDI in MFC

    That's exactly what I was looking for.
    Thanks!
  2. Automatically create multiple doc/view in MDI in MFC

    Hi.

    How do I create multiple document/views at the start of the program?
    I would prefer it as a doc/view list with IDs that I can access from other part of the program.

    For example I have a...
  3. Re: SQLServer (ADO): Connection::Execute returns BD_E_NOTABLE

    Solved. The problem was in the connection string where "Initial Catalog" was not specified.
  4. [RESOLVED] SQLServer (ADO): Connection::Execute returns BD_E_NOTABLE

    Hi.

    I'm pretty new to DB programming and got a problem with simple db query.
    I'm using SQLServer Express2008 with ADO to connect and work with database.

    I created DB server and my own DB, in...
  5. Replies
    23
    Views
    10,013

    Re: Using goto in c++ code

    Use it or don't use it, it's up to the programmer. The use of goto in OP's code would be ok by me if the function in which it's used is carefully written and not longer then...say 50 lines? And don't...
  6. Replies
    2
    Views
    1,013

    Intercepting program crashes.

    Is it possible to somehow override that ugly crash window? You know the one which prompts you to send Microsoft details about the crash?

    I'm in situation where a have an application, lets call it...
  7. Replies
    4
    Views
    1,464

    Re: How to hide/show running process.

    I just tried that and it didn't work.
    But that's becuse this is console application that creates of it's own, so the threadId should be from newly created window. So I'm stuck with IPC.
  8. Replies
    4
    Views
    1,464

    Re: How to hide/show running process.

    I'm using IPC mail slot system to send/receive messages. As described here
    http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx#base.using_a_mailslot_for_ipc
    GetLastError() on creation of...
  9. Replies
    4
    Views
    1,464

    How to hide/show running process.

    I have a situation where I launch several processes from a program using CreateProcess() function.
    At one time, I have to access all these processes, one by one and tell them to hide/show...
  10. Replies
    1
    Views
    468

    Re: Hiding application window from taskbar.

    never mind i figured it out.



    HWND f = this->GetSafeHwnd();
    DWORD w = this->GetExStyle();
    SetWindowLong(f, GWL_EXSTYLE, w | WS_EX_TOOLWINDOW);

    And properties of the dialog must...
  11. Replies
    1
    Views
    468

    Hiding application window from taskbar.

    Hi.

    I have a MFC dialog application (with no frame) witch is used in another application via CreateProcess.
    The trouble is that I need to create multiple instances of that dialog application...
  12. Thread: LNK2019 error

    by Odiee
    Replies
    4
    Views
    5,060

    Re: LNK2019 error

    You did everything except including library files in your project.
    Go Project->Properties->linker->input. And name the library files.
    Cheers.
  13. Replies
    5
    Views
    538

    Re: Help, cannot figure this out

    Sure, But I personally like to see something closing whenever I see it open.
    It's a matter of preference probably.
    And ye, he could close the file with close, but doesn't have to.
  14. Thread: dice game of pig

    by Odiee
    Replies
    4
    Views
    3,721

    Re: dice game of pig

    It's because you didn't specify what will happen after "1" is rolled.
    You just carry on with the loop.
    Try putting break or something in the if keyword when "1" is rolled.

    Oh and BTW if you want...
  15. Re: Problem with wininet api - FTPPutFile for IPV6

    There is a "Network Programming" forum board, maybe you should try asking your question there.
  16. Replies
    7
    Views
    723

    Re: Shared Functions Declaration

    And make sure your C file has cpp extension before building.
  17. Replies
    3
    Views
    893

    Re: Reading form file ANSI C function help

    char *c[100];
    You have Acctually defined 100 pointers to char
    fgets(read_Buffer, start_pozition,Nourea_file);
    read_Buffer doesn't point to anything.
    c[j]=(char *)malloc(item_lenght*sizeof(char));...
  18. Thread: c++ problem

    by Odiee
    Replies
    9
    Views
    949

    Re: c++ problem

    There is no problem, This is a sceleton project file all of the algorithms are written and there is accctually one function like this:


    void sweepLine( int n )
    {
    // ** STUDENT will add the...
  19. Replies
    2
    Views
    1,869

    Re: CTreeCtrl Adding Image

    Maybe if you try with: CTreeCtrl::SetItemImage?
    Also you missed the forum board.
    this is C++ (Non Visual C++ Issues), and there isd also Visual C++ Programming board.
    And it will really help you...
  20. Replies
    5
    Views
    538

    Re: Help, cannot figure this out

    Put it through debugger, and go line by line, and be sure to check all return values.


    And BTW when you open files with ofstream, you must also close them.
    but before that you should really try...
  21. Replies
    4
    Views
    682

    Re: to read a .xml file

    I'm not sure what you want to do exactly.
    You will eventually need to parse the xml code, wouldn't you?

    But you can always use fread to read to a stream from a file.
    for example:


    result =...
  22. Replies
    9
    Views
    1,159

    Re: change the codepage of a thread

    So probably this is a system based problem and this is not the best forum for that kind of problems.
  23. Thread: Please Help

    by Odiee
    Replies
    9
    Views
    594

    Re: Please Help

    WOW.
    I lold. I can't believe i actually made worst mistakes then OP.
    I guess you really can't sleep 4 hours and then go to work. :D
    I apologize for the lulz.
    I my defense I was awake 'till...
  24. Replies
    9
    Views
    1,159

    Re: change the codepage of a thread

    Do you have actuall Thai font installed? If you have and it still wont work,
    maybe AppLocale can help you
  25. Re: In search of code that uses every feature of C++

    It's alright, you didn't offend me.
    It's just that I dont work with MFC that long (about 3 years) and didn't really studied the issues on difference between 6.0 and .NET.
    Before that I worked with...
Results 1 to 25 of 475
Page 1 of 19 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center