Type: Posts; User: mmesser
Search took 0.01 seconds.
February 3rd, 2011, 08:21 PM
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....
February 3rd, 2011, 11:58 AM
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...
February 3rd, 2011, 11:09 AM
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?"
February 3rd, 2011, 10:46 AM
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...
February 3rd, 2011, 05:20 AM
Some details would help.
What is the text that fails to be converted?
Does the exception provide an error message?
February 2nd, 2011, 02:01 PM
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...
February 1st, 2011, 09:29 PM
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...
February 1st, 2011, 11:01 AM
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++?
November 28th, 2007, 12:07 PM
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...
November 27th, 2007, 09:22 PM
We have a bunch of enum values in our code. We need a string in the string table for each one.
FOO_BASE = 0,
November 5th, 2007, 02:37 PM
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...
November 5th, 2007, 01:05 PM
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 +...
November 4th, 2007, 03:54 PM
I would suggest something like this
for (int nExp = 2; nExp < 20; ++nExp)
int nCandidate = 2^nExp -1;
if (IsPrime( nCandidate ))
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...
Oops. Never mind.
I didn't see tree control ITEM.
CWnd* pTree = GetDlgItem( IDC_TREE1 );
pTree->ShowWindow( SW_HIDE );
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....
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...
July 13th, 2005, 12:36 PM
See Effective STL by Scott Meyers. Item 16 talks about some problems to avoid.
int Find( LPCTSTR lpszSub ) const;
CString cs( "Search me" );
CString csKey( "me" );
For enumerating the controls in a dialog template, check this article
Enumerating Controls of a Dialog Resource at Runtime
Sorry I don't have an answer.
Here is a book that I have found helpful for IDL.
Essential IDL by Martn Gudgin
I have attached a class that wraps some API calls to make dealing with time a little easier.
To use it
October 29th, 2004, 07:05 PM
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...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!