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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 16 1 2 3 4

Search: Search took 0.07 seconds.

  1. How can I know the columns name for the following SELECT (programmatically) ?

    How can I retrieve programmtically the name of the columns implied into a certain SQL, for instance:



    SELECT * FROM table1, table 2 WHERE table1.id = table2.id;
  2. Re: Display python script output into MFC window

    And to do what with this file ? After all, the request is to represent data (from a file or whatever) into a graphical form, form that Python is deliver into a Python windows (I guess, didn't check...
  3. Replies
    2
    Views
    1,274

    Re: MFC chart plot

    In the past, I have searching for such a tool, but I didn't found something free, or with less money. You have some options here:
    ...
  4. Replies
    3
    Views
    1,771

    Re: Find alive IP

    No, that it is a interview question :)
  5. Replies
    3
    Views
    1,771

    Find alive IP

    If there is an IP hidden after a firewall, how Linux (or any) command should I use in order to know if this IP is alive ? Because PING is not working in this case ...
  6. Replies
    9
    Views
    1,822

    Re: Circular include problem

    Thank you a lot Richard !
  7. Replies
    9
    Views
    1,822

    Re: Circular include problem

    I have simplified the sample project, and after few changes, I left just one point error:



    connectionfactory.h(8): error C2065: 'DBTestConnection': undeclared identifier...
  8. Replies
    9
    Views
    1,822

    Re: Circular include problem

    I have the class DBTestConnection:



    #include "SU_ORADB_imp.h"

    class DBTestConnection final : public Connection
    {
    private:
    SU_ORADB_imp* imp_{ nullptr };
  9. Replies
    9
    Views
    1,822

    Circular include problem

    I have entered into a circular include problem. I have a class:



    #include "TestConnection.h"
    #include "oci.h"
    #include "SU_ORADB_imp.h"

    class DBTestConnection final : public Connection
    {
  10. Replies
    0
    Views
    1,956

    Using a thread pool in real situations

    If I need to improve an existing code by using a thread pool, how can I get data from a SQL DB:



    bool CMyClass::GetSQLSelect(std::string sql, void* data)
    {
    ....
    }
  11. Replies
    3
    Views
    612

    Re: include headers problem

    Had worked like a charm ! Thanks a lot !
  12. Replies
    3
    Views
    612

    include headers problem

    I don't know how to overcome this issue.

    I am working to a small sub project, part of big project. I intend to use a method which is part of parent project somehow.

    I want to use a method,...
  13. Replies
    7
    Views
    2,606

    Re: SQLCMD failure

    I succeeded with following commands:


    SQLCMD.EXE -S DESKTOP-YYYYYY\SQLEXPRESS

    CREATE DATABASE mydataabse ON (FILENAME = 'C:\Program Files (x86)\Microsoft SQL...
  14. Replies
    7
    Views
    2,606

    Re: SQLCMD failure

    In the ending is solved. Thank you all of you !
  15. Replies
    7
    Views
    2,606

    Re: SQLCMD failure

    Yes, they are enabled.
  16. Replies
    7
    Views
    2,606

    SQLCMD failure

    I am trying to attach an ms sql database. And I am trying to use sqlcmd utillity. But anytime I try this, I got:



    SQLCMD

    Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Named Pipes...
  17. Replies
    1
    Views
    682

    Re: Override the baseclass function

    const safemap<int, LPUMTSCELL> GetUMTSCellList() from derived implementation is different from

    const safemap<int, LPUMTSCELL>& GetUMTSCellList() = 0;

    See '&' from declaration of base class.
  18. Re: Reduce the computation time of the queries above using indexes

    I create an index for that table:


    CREATE INDEX id_index ON patients(patient_id);

    and removing index:


    DROP INDEX id_index;
  19. Reduce the computation time of the queries above using indexes

    Hello. I have few SQL queries. Something like this:


    number of patients born on Januray 1st, 2000
    number of patients born before Januray 1st, 2000
    number of patients having firstname "JOHN"...
  20. Re: Obtaining LogonDomain for logged on Windows Active Directory user

    Have you tried this code as administrator ?
  21. Replies
    3
    Views
    1,693

    Re: Initially maximize window

    In your CChildFrame header:


    protected:
    virtual void ActivateFrame(int nCmdShow = -1);

    implementation:


    void CChildFrame::ActivateFrame(int nCmdShow)
  22. Re: How do you specify Object Oriented Programming languages class and structure ?

    You could download a good learning site, such as https://www.learncpp.com (where you find classes and struct and whatever) with https://www.httrack.com/page/2/ and you learn at your home :)
  23. Replies
    44
    Views
    17,576

    Re: Activate MDI window

    Another attempt:


    void CMainFrame::On0Restore()
    {
    // TODO: Add your command handler code here

    ShowWindow(SW_RESTORE);
    DWORD dwThreadID = GetWindowThreadProcessId(m_hWnd, NULL);...
  24. Replies
    44
    Views
    17,576

    Re: Activate MDI window

    The code from above is not working if the app NNN is started from Windows Explorer and is activated through left click on balloon (not on icon left click)
  25. Replies
    44
    Views
    17,576

    Re: Activate MDI window

    And did you tried that code by clicking on tray balloon ? And when you tried this code have you started the application not from Visual Studio debugger but from Windows Explorer ?
Results 1 to 25 of 394
Page 1 of 16 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)