Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Application to do HTTP Post Pin
excellence803-Aug-09 19:22
excellence803-Aug-09 19:22 
GeneralRe: Windows Application to do HTTP Post Pin
excellence803-Aug-09 19:28
excellence803-Aug-09 19:28 
QuestionHow can I use System.IO to do these 3 things [modified] Pin
Nathan Revka3-Aug-09 16:27
Nathan Revka3-Aug-09 16:27 
AnswerRe: How can I use System.IO can I use to do these 3 things Pin
Christian Graus3-Aug-09 16:29
protectorChristian Graus3-Aug-09 16:29 
GeneralRe: How can I use System.IO can I use to do these 3 things Pin
Tom Deketelaere3-Aug-09 22:35
professionalTom Deketelaere3-Aug-09 22:35 
AnswerRe: How can I use System.IO to do these 3 things Pin
Xmen Real 3-Aug-09 16:49
professional Xmen Real 3-Aug-09 16:49 
AnswerRe: How can I use System.IO to do these 3 things Pin
dan!sh 3-Aug-09 17:48
professional dan!sh 3-Aug-09 17:48 
QuestionShake Logic. Pin
Baeltazor3-Aug-09 15:44
Baeltazor3-Aug-09 15:44 
Hey all, in my application, I came up with an idea. I want to be able to shake the window to be able to perform a common function that would normally require atleast a few mouse clicks. And depending on how long the user shook the window, the resulting function will differ, accordingly. I've already started coding (The planning stage made it even harder, so I decided to get my hands a little dirty). But the code that I have now, is so cra& that I'm too embarrassed to put it here for everyone to see lol.

Here's what I've trying to accomplish:

Determine whether the user shook, or moved the window.
If shook: then see how long it was shaken for.
if shaken for less than one second: perform function 1.
if shaken for 2seconds: perform function 2.
if shaken for 3seconds: perform function 3.
If the window did not shake, instead it was just moved to another spot, then don't do anything.


I'm not asking for code, but if somebody does know of any tutorials, samples, or articles that may be of help, please do share Smile | :) I have searched on Google etc, and I've only been able to find one article and about 50trillion sites that refer to that one article (and I can't use it since it only work on Windows 7) I've tried it and the bugger just won't work on XP. (or my other computer that runs Vista).

I'd appreciate any help I can get. Thanks everyone. Smile | :)

Regards,
Jason Pezzimenti.


AnswerRe: Shake Logic. Pin
Christian Graus3-Aug-09 16:30
protectorChristian Graus3-Aug-09 16:30 
GeneralRe: Shake Logic. Pin
Baeltazor3-Aug-09 17:13
Baeltazor3-Aug-09 17:13 
AnswerRe: Shake Logic. Pin
codemunkeh3-Aug-09 17:47
codemunkeh3-Aug-09 17:47 
GeneralRe: Shake Logic. Pin
Baeltazor3-Aug-09 17:51
Baeltazor3-Aug-09 17:51 
GeneralRe: Shake Logic. Pin
codemunkeh3-Aug-09 18:11
codemunkeh3-Aug-09 18:11 
GeneralRe: Shake Logic. Pin
Baeltazor3-Aug-09 18:15
Baeltazor3-Aug-09 18:15 
AnswerRe: Shake Logic. Pin
codemunkeh3-Aug-09 18:22
codemunkeh3-Aug-09 18:22 
GeneralRe: Shake Logic. Pin
Baeltazor3-Aug-09 18:53
Baeltazor3-Aug-09 18:53 
GeneralRe: Shake Logic. Pin
codemunkeh3-Aug-09 19:17
codemunkeh3-Aug-09 19:17 
GeneralRe: Shake Logic. Pin
Baeltazor3-Aug-09 19:26
Baeltazor3-Aug-09 19:26 
QuestionBest way to know which property changed Pin
Xmen Real 3-Aug-09 14:52
professional Xmen Real 3-Aug-09 14:52 
AnswerRe: Best way to know which property changed Pin
N a v a n e e t h3-Aug-09 16:24
N a v a n e e t h3-Aug-09 16:24 
GeneralRe: Best way to know which property changed Pin
Xmen Real 3-Aug-09 16:41
professional Xmen Real 3-Aug-09 16:41 
AnswerRe: Best way to know which property changed Pin
dan!sh 3-Aug-09 17:58
professional dan!sh 3-Aug-09 17:58 
GeneralRe: Best way to know which property changed Pin
Xmen Real 3-Aug-09 20:54
professional Xmen Real 3-Aug-09 20:54 
Questionbyte array Pin
peishen883-Aug-09 10:18
peishen883-Aug-09 10:18 
AnswerRe: byte array Pin
stancrm3-Aug-09 10:30
stancrm3-Aug-09 10:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.