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

Search:

Type: Posts; User: CNemo

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Re: How to find Is another PC in the same network is alive from PC?

    Here you go:

    http://www.codeguru.com/cpp/i-n/network/networkinformation/article.php/c5451
  2. Re: How to find Is another PC in the same network is alive from PC?

    Try using Sockets, they are designed for networking developement. I believe you can also access the MAC ADRESS and interegate the network card.
  3. Replies
    4
    Views
    984

    Re: Recordset GetFieldValue for list values

    Hmm, I use DAO and a somewhat simular technique/approach that works well. I don't have time to look it up right now, but I don't use .GetBuffer().


    Why are you using .GetBuffer()? ... if I...
  4. Replies
    9
    Views
    1,330

    Re: Checking for mouse press

    :) Well there is a way to show your appreciation. ... that's what most of these guys and myself response to posters who are in bad situations or are stuck.


    ... it also keeps these posters...
  5. Replies
    9
    Views
    1,330

    Re: Checking for mouse press

    All you have to do is use CWND::OnLButtonDown it determines if the left button is down so you don't have to get involved with VK_LBUTTON(?).



    OnLButtonDown(UINT nFlags, CPoint point)
    {...
  6. Thread: MDI Doc/View

    by CNemo
    Replies
    7
    Views
    1,202

    Re: MDI Doc/View

    Why does it have to be modeless?
  7. Replies
    9
    Views
    1,330

    Re: Checking for mouse press

    What happens when you just execute:



    VisualManager::Get()->Demo();



    Create a menu item for it and a function for the menu item. Are you sure that VisualManager::Get()->Demo(); does...
  8. Replies
    1
    Views
    828

    ADO Connection string not working.

    I have the following connection string that can't open my database. Does anybody here know what's wrong with this string?




    char strConnAccess[] = "Driver = {Microsoft Access Driver...
  9. Replies
    1
    Views
    1,327

    Re: ado, adOpenDynamic what header file?

    I figured it out.


    you have to include "no_namespace" in the import statement.
  10. Replies
    5
    Views
    3,744

    Re: loading, resizing and then saving the jpg

    Don't forget to specify the path:)
  11. Replies
    1
    Views
    1,327

    ado, adOpenDynamic what header file?

    I'm getting compiler errors that state "adOpenDynamic" is not defined. :confused: :mad:


    Using V6.

    Added


    #import "c:\Program Files\Common Files\System\ADO\msado15.dll" rename("EOF",...
  12. Replies
    5
    Views
    3,744

    Re: loading, resizing and then saving the jpg

    How are you specifying the include file?

    #include ...????

    i.e., post your include statement
  13. Replies
    11
    Views
    2,025

    Re: problem trying to build vs03 sln in vs05

    Hmm, at this point you would have to create a scaled down version of your project so others can see the problem.

    It's hard to give much more help without example code or a sample project.

    ...
  14. Replies
    5
    Views
    3,744

    Re: loading, resizing and then saving the jpg

    :confused: Well what do you have right now??? ... and what is wrong with it!
  15. Replies
    11
    Views
    2,025

    Re: problem trying to build vs03 sln in vs05

    http://msdn.microsoft.com/en-us/library/ms997649.aspx#xpvisualstyles_topic1


    Yep the whole story is here.
  16. Replies
    6
    Views
    1,588

    Re: VC++ 6.0 -> .net 2003 conversion issue

    Hmmm, it sounds like you changed the code somehow when you converted it to 2003.

    What Victor is trying to tell you is that the type of message you are trying to send is only works for CWnd derive...
  17. Thread: \n

    by CNemo
    Replies
    6
    Views
    907

    Re: \n

    Well it would help if you could explain what you are trying to do in the listbox???
  18. Replies
    6
    Views
    1,588

    Re: VC++ 6.0 -> .net 2003 conversion issue

    Hmm,

    What is ClassName derived from?


    ... what happens if you cast it to a CWnd? It appears that the compiler wants a CWnd derived class.
  19. Replies
    2
    Views
    869

    Re: Http post & send returned html page to ie

    Yep, you can try something along these lines:



    void InternetLink(CString Webaddress)
    {
    ::ShellExecute(NULL,NULL,Webaddress,NULL,NULL,SW_SHOWNORMAL);
    }
  20. Replies
    7
    Views
    2,044

    Re: from vc++ 6.0 to vc++ 2008

    Oh, you didn't know.

    The Express Edition doesn't support MFC but it does support WIN32 API. Winforms is part of .NET and not MFC.

    Unfortionatly, you had to learn the hard way.

    But if you...
  21. Replies
    11
    Views
    2,025

    Re: problem trying to build vs03 sln in vs05

    Your on the wrong track. You shouldn't have to edit any compilier/linker flags in most cases.


    Create an Empty project and copy the files into the project.


    Try this first before editing...
  22. Replies
    13
    Views
    1,488

    Re: Any database recordset helper control

    Yep, sorry, I ment CRecordView (sort of look alike, but different under the hood:))
  23. Replies
    13
    Views
    1,488

    Re: Any database recordset helper control

    Well if the control executes a SQL statement then that's all you need.

    I don't have MSDN in front of me, but there is a command something like CRecordset::Execute which will run a SQL command on...
  24. Replies
    13
    Views
    1,488

    Re: Any database recordset helper control

    Well, CFormView is more of a problem than a solution. I tried using it at first and it has a ton of problems. Memo fields are limited to the amount of text they can pass unless you go in and hack the...
  25. Replies
    8
    Views
    952

    Re: Problem in using toolbar.

    if(!this->m_wndSplitter.CreateStatic(this,1,2)){
    return FALSE;
    };

    if(!this->m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CLeftFormView),CSize(350,100), pContext)||
    ...
Results 1 to 25 of 57
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured