Type: Posts; User: Arjay
Search took 0.39 seconds; generated 14 minute(s) ago.
Or you could just post your code here.
December 25th, 2014, 12:17 PM
No, it doesn't need to be in caps.
If this is your code, prefer to use #pragma once
December 25th, 2014, 09:28 AM
It's just a #define token. The intent is only to include the code in the file once.
It's named A_H because the file is named a.h (and periods aren't allowed in #define tokens).
December 24th, 2014, 05:21 PM
Your code displays each record in the title1, content1 and title2, content2 text boxes. Is that what you expect? You aren't seeing the ID data because you aren't retrieving it or setting it. In...
December 24th, 2014, 10:01 AM
Probably not easier and most likely less reliable. In programming, driving an application through UI automation is seldom the answer when there are api alternatives. Because of the problems...
December 23rd, 2014, 08:19 AM
December 21st, 2014, 09:40 AM
December 20th, 2014, 02:11 PM
My code snippet should do what you are asking. Have you tried running the code and looking at the output? P.S. The output of my snippet if run today will be:
If you change the...
December 19th, 2014, 07:02 AM
You mentioned snippets. Try opening a project and then hover over the code.
December 18th, 2014, 06:34 PM
How you retrieve the number from the database depends on how it is stored in the database. If it is an identity column, be careful there is something to be aware of if you try to guess the next...
December 18th, 2014, 02:25 PM
December 18th, 2014, 02:20 PM
After saving the .txt to .csv, check to make sure it's valid by manually opening it in excel.
If it doesn't open manually, then fix the .csv format until it does open.
Once it opens manually,...
December 18th, 2014, 12:56 PM
Hannes, which version of EF are you using?
December 17th, 2014, 05:58 PM
The is the C# forum. What is TeamViewr and what do you mean by "windows class name"?
December 17th, 2014, 05:57 PM
You've probably done this already, but if you haven't try doing a bing or google search: "tf246017:Team Foundation server could not connect to database error on opening"
December 16th, 2014, 12:52 PM
The easiest way to do this is to step through the code in a debugger and look at each line as it is processed.
If I read things correctly, I think you are trying to extract the number out of the...
December 16th, 2014, 10:12 AM
Kind of. You need to be aware that any writeable shared data between the UI thread and worker thread(s) needs to be synchronize. And don't forget the negative impact of using SendMessage to...
December 15th, 2014, 11:06 AM
SendMessage will put a message in the queue of the window specified by hWnd - which may or may not be the queue for the main UI thread.
At any rate, SendMessage usually isn't the method to call...
December 14th, 2014, 04:23 PM
Timer vs. thread depends on the work you need to do. If the work is time sensitive (i.e you are polling some hardware and need to poll within a certain interval otherwise you risk losing data), then...
December 14th, 2014, 04:02 PM
Visual C++ 1.52c was the last MS 16-bit compiler. It will compile 16-bit programs, but not 32-bit programs. There is no MS compiler that will compile 16-bit and 32-bit programs. There used to be...
December 14th, 2014, 03:54 PM
Feel free to rewrite the code to make it easier to see what is going on in the debugger.
for (int y = 0; y < 5; y++)
for (int x = 0; x < 5; x++)
var minValue = (15 * y)...
December 12th, 2014, 10:38 PM
I didn't expect to guess on the first try, so here's what you need to do:
>> ..., but you may need to check for errors and add some logging to the app.
December 12th, 2014, 04:38 PM
My problem is always that I have no style.
December 12th, 2014, 04:37 PM
There are many things that can go wrong, one such thing is a change in permissions to various folders where files are stored. Does the user enter a path to the file or is this auto-generated? It...
December 12th, 2014, 04:31 PM
I'd recommend creating a Visual Studio plugin to do what you want. Search bing or google for "visual studio plugin development tutorial"
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.