Questions tagged [detect]

"Detect" is overbroad and should not be used. Tag with the specific sort of detection you mean: collision-detection, face-detection, feature-detection, browser-detection, etc, etc.

This tag has an active burnination request. It should be removed from questions, not added.

Detection activity exist in many ways.

For example:

  • Detecting active bluetooth devices;
  • Detecting Internet Connection;
  • Detecting available ports;
  • Detecting incoming voice;
  • Detecting color scheme;
  • Detecting features.
1045 questions
-3
votes
1 answer

If mouse movement detected, show cursor in a dialog window C++ MFC

The program written in C++ MFC has a Dialog Window which plays a full screen video and the cursor is hidden. I want to display the cursor when there is movement in mouse (video is playing in background) Cursor disappears when the mouse is inactive…
mrudulaw
  • 15
  • 1
  • 4
-3
votes
3 answers

C# is exists unallowed files

I have folder with these files: file1.exe file2.dll I want to check is exists extraneous files in this folder. For example if I create examplefile.exe in this folder it must give me an error, there must be only that files which listed above. So…
Dewagg
  • 145
  • 10
-3
votes
1 answer

Java get pattern of a String

is it possible to detect the pattern of a String and store it in a variable? so, if I have a String test1234 and highlight 1234 I expect something like \d{4}.
user
  • 157
  • 2
  • 14
-3
votes
2 answers

Check if Windows XP or later in Java?

What would be the easiest way to check that the operating system running my Java application is Windows XP or later? EDIT: I know about System.getProperty("os.name") but I don't know the best way and/or most efficient way to check what version of …
Andy
  • 3,600
  • 12
  • 53
  • 84
-3
votes
1 answer

What is battle formula of strategy game?

i try to find an algorithm for strategy game battles like travian or lord of ultima or ... but every program that i wrote it had bug for calculating dead Soldiers, some examples of this critical points is: in real world when 100 soldiers attack to…
Mehdi Yeganeh
  • 2,019
  • 2
  • 24
  • 42
-3
votes
2 answers

How to know a hostname is a computer "Server" or just personal "Desktop"

This is a list of hostname, I got from my clients. ---------------------- msnbot-207-46-194-96.search.msn.com. <-- Server cpe-98-151-173-209.socal.res.rr.com. <-- Desktop msnbot-157-55-33-20.search.msn.com. <--…
Ken Le
  • 1,787
  • 2
  • 22
  • 34
-4
votes
3 answers

If not working properly

my "if" only works with some errors.What do i have to change so they detect every error and display my message and not the cmd error.When i try the program in cmd only letter like f are detected i want every letters except the ones i wrote in…
Brian mon
  • 1
  • 1
  • 3
-5
votes
1 answer

c# simple key press detection

I want to detect (as simple as posible) the "ctrl+o" keys and then show up a message. I tried: enter link description here enter link description here and other 4 links, I cannot show you. Please help.
1 2 3
69
70