Hello,
how can I see if there is one active mic using python and windows 7?
I want to see if there is one wave in device ready to capture sound!
Thanks in advance :)
Hi,
How can i Update /Get values in windows form while moving one form to other form(like cookies)?
i need to update the values to some variable and again i am going to refer stored values and need to do some calculations.
i have used Cookies in ASP.Net but i am not able to find out same concept in C#.net Windows forms .
can any one help me for resolve this issues?
Regards,
Jeyavel N
What language do you find incredibly useful that no one else seems to care about? I am not looking for the language with the coolest features, but the language that makes you the most productive. I realize that a productive language that no one uses is a bit of an oxymoron.
My personal choice would probably be ruby without rails, but I am sure others can come up with some better answers.
Hello,
I changed some names of nameapces, assemblies in one of exsisting project(C# and ASP.NET). But when I try to debug it; I get this error.
Could not load file or assembly 'HR' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
I have replced DFI with HR in the code.
Please help,
Thank you
i want to send input data in one application to the other application using "intent" or can we store user input from one application that can be used by other application.
When we create a lucene index, various files are created. If we donot optimize Index writer three files are created, one named _0.cfs which contains all of the index data and two other files conataining meta data. Is it possible to force lucene to create only one file instead of three.
Given that SSE 4.2 (Intel Core i7 & i5 parts) includes a CRC32 instruction, it seems reasonable to investigate whether one could build a faster general-purpose hash function. According to this only 16 bits of a CRC32 are evenly distributed. So what other transformation would one apply to overcome that?
David
Hi,
I just want somthing like this:
select SUM(*) from `mytable` group by `year`
any suggestion?
(I am using Zend Framework; if you have a suggestion using ZF rather than pure query would be great!)
Update: I have a mass of columns in table and i do not want to write their name down one by one.
No Idea??
I don't really think there is some method to do this… Anyway… How can I replace one object with another everywhere in the program? It would be like all the references to an old object start to point to a new one.
In the project I'm working on I have a StructureMap registry for the main web project and another registry for my integration tests. During some of the tests I wire up the web project's registry, so that I can get objects out of the container for testing.
In one case I want to be able to replace a default concrete type from the web registry with one in the test registry.
Is this possible?
How do you do it?
Hi Friends,
Is it possible to use more than one java bean datasource or JDBC datasource in jasper report to populate data in the pdf document.If possible can u please tell me how to do? I could not get any details in the internet, Regarding using more than one datasource in jasper report.
I am wondering how to write this query.
I know this actual syntax is bogus, but it will help you understand what I am wanting.
I need it in this format, because it is part of a much bigger query.
SELECT distributor_id,
COUNT(*) AS TOTAL,
COUNT(*) WHERE level = 'exec',
COUNT(*) WHERE level = 'personal'
I need this all returned in one query.
Also, it need to be in one row, so the following won't work:
'SELECT distributor_id, COUNT(*)
GROUP BY distributor_id'
I've seen developers use various methods to prevent spam on a basic html contact form
Method 1 is where the developer uses a Captcha image and Method 2 where only a Question is asked eg. Are you Human? with a radio button.
Which one is the better one to use and why?
i have three JFrames, i want to close one of them without influence to another.
what can i do to get it ?
thanks Peter. I want to open two(or more) JFrames at the same time, and When I close one of them(use the default close button), others is still open.
If I have several OS-X Terminal.app windows open, how can I move one Terminal window to another space?
I'm happy to use any scripting or programming language to achieve this, but would prefer AppleScript or calls to standard frameworks.
(Note this is to move only one window of an application not all windows.)
If I have one table which has a City field and as expected this field will repeat itself so only separate it to another table can be ok for normalizing concepts? I mean separated table who has only one field can be meaningful and can help performance gaining?
Example: I have one persistent store coordinator which uses one single persistent store.
Now there are two managed object contexts, and both want to use the same persistent store. Could both simply use the same persistent store coordinator, or would I have to create two instances of NSPersistentStoreCoordinator? And if I had to, then: Would I also have to create two NSPersistentStore instances?
I have a simple hash I created to make it easier to do dictionary type lookups. For instance:
class Numbers < ActiveRecord::Base
MY_TYPES {
one: => 1,
two: => 2
}
end
Is it not possible in the rails console to access this hash via Numbers.MY_TYPES[:one]?
The official tutorial here http://www.rebol.com/how-to/subpanels.html does show how to create panels and shows one OR the other not how to show them ALL of them one BELOW an other.
So any other article or how to do this ?
How to combine these two sql queries into one?
SELECT DISTINCT * FROM rss WHERE MATCH(content,title) AGAINST ('$filter')
SELECT COUNT(content) FROM rss WHERE MATCH(content,title) AGAINST ('$filters')
And if the result is 0 from the above query
-
SELECT DISTINCT * FROM rss WHERE content LIKE '%$filters%' OR title LIKE '%$filters%';
$filter .= $row['filter'];
$filters = $row['filter'];
$filters may be more than one keyword
I am aware there are other nant and msbuild related questions on stack overflow, but I could not find a direct comparison between the two and so here is the question.
When should one choose Nant over MSBuild? Which one is better for what?
Is Nant more suitable for home/open source projects and MSBuild for work projects?
What is your experience with any of the two?
Hi everybody,
I need to do a test in a DataView to check if at least one row contains one cell with a null value. What is the best way to do it in your opinion ?
Thanks in advance.
HI
I like to know why there are two Date classes in two different packages one in java.util.Date and one in java.sql.Date?
Whats the use of having two Date classes?
One-Liner to list TXT-files.
import java.io.File;
import java.io.FilenameFilter;
...
files = dir.listFiles(new FilenameFilter() {
public boolean accept(File dir, String name) {
return name.toLowerCase().endsWith(".txt");
}
}
);
Source.
Is there an one-liner to list dirs in a dir?
suppose i have this table:
group_id | image | image_id |
-----------------------------
23 blob 1
23 blob 2
23 blob 3
21 blob 4
21 blob 5
25 blob 6
25 blob 7
how to get results of only 1 of each group id? in this case,there may be multiple images for one group id, i just want one result of each group_id
i tried distinct but i will only get group_id. max for image also would not work.