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

Search:

Type: Posts; User: mmesser

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,160

    Re: Upgrading from .NET 2 to .NET 4

    It may not be entirely true that VS 2005 is too old to work with .NET 4.

    VS 2005 can work with .NET 3.5. See this link: Using .NET 3.5 and Visual Studio 2005. It has an article and many comments....
  2. Re: Showing large data from file in GridView and customizing cell style single/group

    This problem often comes up in database applications. It is best not to display the data from a large database table all at once in a grid control. As you were thinking, the delay for loading data...
  3. Re: Working with Directories and AccessControl

    Perhaps the reason you have no replies is that it is hard to understand exactly what you are asking.

    I believe the question is "Given a directory, how do I find the subdirectories and files?"
    ...
  4. Replies
    5
    Views
    1,160

    Re: Upgrading from .NET 2 to .NET 4

    I don't see a Target Framework option under Project Properties -> Application. Perhaps you have a different version of Visual Studio?

    The real problem is why VS is not aware of any version > 2.0...
  5. Replies
    5
    Views
    671

    Re: Can't convert String to Double

    Some details would help.
    What is the text that fails to be converted?
    Does the exception provide an error message?
  6. Replies
    5
    Views
    1,160

    Upgrading from .NET 2 to .NET 4

    I have VS 2005 and .NET 2 on my computer.
    I downloaded .NET 4 from the MS website.

    In C:\Windows\Microsoft.NET\Framework, I now have folders for several versions of .NET, including v2.0.50727...
  7. Replies
    8
    Views
    702

    Re: My Path to Mastery of C#

    Thanks, Cthulhu.



    For learning it, there is a set of courses I have been thinking about. They are $725 each. The first two courses cover C#. Two more electives are needed if you want a...
  8. Replies
    8
    Views
    702

    Re: My Path to Mastery of C#

    I use C++. I have been wanting to learn C# because it is a new, improved C++. So this is interesting.

    What do people use C# for? Who uses C++?
  9. Replies
    3
    Views
    730

    Re: enum arithmetic by the preprocessor

    You are right. It took me a while to see that.

    The development environment does evaluate it if you hold the mouse over it. I was thinking the preprocessor did the same. My bad.

    I will make it...
  10. Replies
    3
    Views
    730

    enum arithmetic by the preprocessor

    We have a bunch of enum values in our code. We need a string in the string table for each one.

    MyFile.h


    enum FOO
    {
    FOO_BASE = 0,
    FOO_1,
    FOO_2,
  11. Replies
    10
    Views
    840

    Re: Solving long link times

    This might be a few months too late to help. We also have a large solution - about 4 times the size of yours. We sometimes get mysterious problems like this.

    I sometimes run out of some resource...
  12. Replies
    8
    Views
    3,555

    Re: convert bmp to grayscale

    Here is a formula that converts RGB to greyscale.



    static const int REDCON = 299;
    static const int GRNCON = 587;
    static const int BLUCON = 114;
    #define ComputeMono() (BYTE)((Red * REDCON +...
  13. Thread: Mersenne Prime

    by mmesser
    Replies
    11
    Views
    1,210

    Re: Mersenne Prime

    I would suggest something like this



    for (int nExp = 2; nExp < 20; ++nExp)
    {
    int nCandidate = 2^nExp -1;

    if (IsPrime( nCandidate ))
    {
  14. Replies
    0
    Views
    1,109

    Per-configuration dependencies

    I have a workspace with two projects, MyProj and MyLib.

    MyProj uses code from MyLib, so I have established a dependency. It works. When I compile the Win32 Debug build of MyProj, the Win32 Debug...
  15. Replies
    3
    Views
    386

    Re: Hide Tree Ctrl Item

    Oops. Never mind.

    I didn't see tree control ITEM.
  16. Replies
    3
    Views
    386

    Re: Hide Tree Ctrl Item

    CWnd* pTree = GetDlgItem( IDC_TREE1 );
    pTree->ShowWindow( SW_HIDE );
  17. Replies
    1
    Views
    343

    CEdit or CComboBox

    I have a dialog. I want to put either a CEdit or a CComboBox in it.

    That is, I want an edit box when I create the dialog this time. The next time I create it, I want it to be a combo box instead....
  18. Replies
    1
    Views
    351

    Re: Very simple GUI app with ATL

    You are trying to use CMainWindow like a WinMain() function. The window cannot do it all.

    Try using the ATL COM AppWizard to create a server, and then adding an ATL dialog to it with the ATL...
  19. Replies
    3
    Views
    555

    Re: Passing a vector

    See Effective STL by Scott Meyers. Item 16 talks about some problems to avoid.
  20. Replies
    5
    Views
    743

    Re: Finding a word in CString?

    You want

    int Find( LPCTSTR lpszSub ) const;

    For example



    CString cs( "Search me" );
    CString csKey( "me" );
  21. Re: Click a button and change color on rectangle?

    Perhaps this should be
  22. Replies
    3
    Views
    348

    Re: How can what type a control in dialog is?

    For enumerating the controls in a dialog template, check this article

    Enumerating Controls of a Dialog Resource at Runtime
  23. Replies
    1
    Views
    282

    Re: Is this declaration Possible in Struct?

    Sorry I don't have an answer.

    Here is a book that I have found helpful for IDL.

    Essential IDL by Martn Gudgin
  24. Thread: Timer question

    by mmesser
    Replies
    4
    Views
    463

    Re: Timer question

    I have attached a class that wraps some API calls to make dealing with time a little easier.

    To use it



    #include "Timeout.h"

    class MyClass
    {
  25. Replies
    5
    Views
    868

    Re: Tab key not working in VS

    Sorry, that is a strange one. I can only suggest general ideas.

    Does tab work in other programs?

    In Visual Studio, does it misbehave only the editor? Can you press and release the Alt key to...
Results 1 to 25 of 139
Page 1 of 6 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center