Hi,
What is the best approach in using a timer. Use a System.Timer.Timer class or use a single Thread in a non-terminating loop with a Thread.Sleep statement?
Thanks in advance
In C++ I'd like to do something like:
int n = get_int_from_user();
char* matrix = new char[n][n];
matrix[0][0] = 'c';
//...
matrix[n][n] = 'a';
delete [][] matrix;
but of course this doesn't work. What is the best way to do something similar? I've seen some solutions to this but they seem pretty messy.
Which is the best way to registered event for example if I wanto to regiested Loaded event for the window or user control , then it is better to registered in the xaml file or in the loaded/initilization function in code behind (C#/VB.net)? Please give explaination of your answer.
I'm refactoring some client-server code and it uses the terms Response, Result & Reply for the same thing (an answer from the server). And although its not really that important it's become hard to guess which word to use while writing new code, so I'd like to unify the three terms into one and do the appropriate refactoring, but I'm not sure which word is the "best", if there is such a thing.
Any suggestions based on precedence and standards towards naming for this case?
I would like to know the best Practice that you guys follow when it comes to access the SharePoint List Items / Doc Lib using Object Model. To start let me share few things I have found.
Limit the number of Items Per container to 2K items.
Use ProcessWebData method of SPWeb to do Update/Insert of Large items
I have a form that allow users to upload files, I however need to get the file extension, which I am able to get, but not sure if I'm using the most effective solution
I can get it using the following ways
$fileInfo = pathinfo($_FILES['File']['name']);
echo $fileInfo['extension'];
$ext = end(explode('.',$_FILES['File']['name']));
echo $ext;
Which method is the best to use or are there even better solutions that would get the extension?
What do you think is the best way to develop iphone apps on windows? What are the pros / cons of your method, and why do you use it over other options? How complex is your method in relation to other options?
I am more interested in standalone and web apps but fell free to discuss gaming graphics.
Yes I know you need to build on a mac to be able to put it on the app store, so no "use a mac" answers please.
The default methods for dealing with xml in c# seem incredibly crude to me, leading me to suspect that I must be missing something in my searches. What is considered the standard best practices to parse xml files in c#?
I am trying to figure out the best way to use ANT to precompile JSPs that will be deployed to an Oracle application server. Even though I am deploying to an Oracle app server I would like to avoid using Oracle's version of ANT.
Hi,
my question is: What is the best way to call MSWord from C++
I never did this before. I always used VB6 and the Word-COM-Library:
C:\Program Files\Microsoft Office\OfficeXX\MSWORD.olb
resp:
"Microsoft Word XX.0 Object Library"
how should I use/call Word from C++ (VS2010) ?
should I use .NET ? (C++CLI)
do you have a good step by step explanation?
regards and many thanks in advance
Oops
Starting to build web applications for mobile devices (any phone).
What would be the best approach using ASP.NET 3.5/ASP.NET 4.0 and C#?
UPDATE (feb2010)
Any news using windows mobile 7?
Having five columns containing numeric values
A | B | C | D | E
-------------------
2 | 3 | 4 | 1 | 5
3 | 6 | 1 | 5 | 4
4 | 5 | 7 | 1 | 3
I want to obtain the concatenation of the values after sort them:
ABCDE
-----------
1 2 3 4 5
1 3 4 5 6
1 3 4 5 7
What is the best way to do it?
Hi guys, suppose someone enter this search (on an form):
Nicole Kidman films
Which SQL i can use to find "the best" results ?
I suppose something like this :
SELECT * FROM myTable WHERE ( Field='%Nicole Kidman Films%' OR Field='%Nicole%' OR Field='%Kidman%' OR Field='%Films%' )
My question is how to get most relevant result ?
Thank you very much!
I am wondering what everybody's opinion on the best IDE for Ext JS is. I was using Aptana and spent way too much time tracking down a problem which turned out to be an uppercase instead of lowercase letter.
So far I've tried Aptana (with and without Spket) and JetBrains Web Storm. Aptana didn't really do anything and while Web Storm worked, it was incredibly slow.
Any recommendations for IDEs and / or configurations to speed up Web Storm?
I'm developing an application that gets large images from an Internet server which is the best way to download this images, without freeze the entire application? I mean background download. I have thought about download it in another thread.
Hi,
considering I have experience with Java SE: which language should I learn(and is best for that purpose) in order to build web applications some day with it? I have been contemplating PHP and Java EE. The latter does indeed seems as an obvious choice given my Java SE knowledge. But how does it fares in comparison with PHP and how good is it for the aforementioned purpose?
If there is a better language for this purpose, feel free to recommend it.
Thank you.
What is the best free Windows Forms validator control.
I want to use it in a free (and maybe open-source) project.
I know these:
ValidationProvider Control not working in VS2010
DXValidationProvider works only for devexpress controls.
Supervalidator from DevComponents meets my needs but it isn't free. here is a picture of it:
We've got some kind of groups at our site where group members could put messages. I want to notice the members of each group when there's new entries.
What's the best way to do this?
I'm looking for logging framework for C++ project.
My best shoot was log4cxx, but it seems that it's abandoned project, with development stopped ~4 years ago, with only one update in last 4-5 years.
Anything better that log4cxx?
(log4c & log4cpp are also totally out-of-date)...
Using Scala 2.8 RC1 or newer, what is the best (easiest and/or most direct) method to "peek" at the waiting messages in an actor's mailbox (from within the same actor's act() method) in order to examine what is in the queue, without having to react/receive the messages and/or disturb the current contents of the mailbox in any way.
The purpose of this is so that an actor may determine if it is safe to process a request to exit by first determining if any of the remaining mailbox messages are ones that must be processed, instead of just dropped by stopping the actor immediately.
Hello. I just wanted to ask about the best C# book you've ever read and is a must for every C# programmer.
But please keep in mind:
- Only one book per answer.
- Check for duplicates before posting.