Click here to Skip to main content
15,894,337 members
Home / Discussions / C#
   

C#

 
GeneralRe: "Attempted to divide by zero" Exception occuring in "Audio Steganography" in c# Pin
Member 1059173628-Apr-14 20:46
Member 1059173628-Apr-14 20:46 
GeneralRe: "Attempted to divide by zero" Exception occuring in "Audio Steganography" in c# Pin
OriginalGriff28-Apr-14 21:12
mveOriginalGriff28-Apr-14 21:12 
GeneralRe: "Attempted to divide by zero" Exception occuring in "Audio Steganography" in c# Pin
Dave Kreskowiak28-Apr-14 9:31
mveDave Kreskowiak28-Apr-14 9:31 
GeneralRe: "Attempted to divide by zero" Exception occuring in "Audio Steganography" in c# Pin
Pete O'Hanlon29-Apr-14 0:29
mvePete O'Hanlon29-Apr-14 0:29 
QuestionHow can I dictate the position of the run prompt? Pin
turbosupramk328-Apr-14 3:38
turbosupramk328-Apr-14 3:38 
AnswerRe: How can I dictate the position of the run prompt? Pin
Dave Kreskowiak28-Apr-14 9:28
mveDave Kreskowiak28-Apr-14 9:28 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk328-Apr-14 9:44
turbosupramk328-Apr-14 9:44 
GeneralRe: How can I dictate the position of the run prompt? Pin
Dave Kreskowiak28-Apr-14 10:26
mveDave Kreskowiak28-Apr-14 10:26 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk328-Apr-14 11:02
turbosupramk328-Apr-14 11:02 
GeneralRe: How can I dictate the position of the run prompt? Pin
Dave Kreskowiak28-Apr-14 13:43
mveDave Kreskowiak28-Apr-14 13:43 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk328-Apr-14 15:26
turbosupramk328-Apr-14 15:26 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk329-Apr-14 2:35
turbosupramk329-Apr-14 2:35 
GeneralRe: How can I dictate the position of the run prompt? Pin
Alan N29-Apr-14 6:14
Alan N29-Apr-14 6:14 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk329-Apr-14 9:14
turbosupramk329-Apr-14 9:14 
GeneralRe: How can I dictate the position of the run prompt? Pin
Dave Kreskowiak29-Apr-14 10:36
mveDave Kreskowiak29-Apr-14 10:36 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk330-Apr-14 6:02
turbosupramk330-Apr-14 6:02 
GeneralRe: How can I dictate the position of the run prompt? Pin
Dave Kreskowiak30-Apr-14 8:16
mveDave Kreskowiak30-Apr-14 8:16 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk330-Apr-14 8:49
turbosupramk330-Apr-14 8:49 
GeneralRe: How can I dictate the position of the run prompt? Pin
Alan N29-Apr-14 11:25
Alan N29-Apr-14 11:25 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk330-Apr-14 6:11
turbosupramk330-Apr-14 6:11 
Hi Alan,

This is quite humbling. I honestly cannot figure out how to modify your class, ashamedly.

What I am trying to do is to get the class to return a list of hwnds and pids and then I was going to use GetWindowText to narrow down the proper hwnd while parsing through that list, as I am getting 4 or 5 handles found. This may be the wrong way to go about this, and this might be why I am having such trouble with it.

Using a Messagebox.Show in place of the // Do something I was able identify the proper pid and handle associated with it, but embarrassingly, I cannot figure out how to create an array of some sort, add each handle found and then return it to my calling function so that I can then parse through the returned data. I cannot figure out how this part of the code works

EnumWindows(SelectWindowsByPID, (IntPtr)selectedProcess.Id);


when SelectWindowsByPID requires two parameters by delclaration
IntPtr hwnd, IntPtr state
and I see that it somehow interacts with a static extern, which I have never used before. I apologize for my ignorance, but I'm self taught and apparently have discovered a large hole in my learning.
GeneralRe: How can I dictate the position of the run prompt? Pin
Alan N1-May-14 3:12
Alan N1-May-14 3:12 
GeneralRe: How can I dictate the position of the run prompt? Pin
turbosupramk32-May-14 1:46
turbosupramk32-May-14 1:46 
QuestionImplementing transaction in MVC as Attribute Pin
nitin_ion28-Apr-14 0:12
nitin_ion28-Apr-14 0:12 
AnswerRe: Implementing transaction in MVC as Attribute Pin
Dave Kreskowiak28-Apr-14 3:18
mveDave Kreskowiak28-Apr-14 3:18 
GeneralRe: Implementing transaction in MVC as Attribute Pin
nitin_ion28-Apr-14 17:19
nitin_ion28-Apr-14 17:19 

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.