Questions tagged [handles]

175 questions
3
votes
3 answers

Anonymous Pipes

I've written a two short programs that use anonymous pipes to communicate. The parent process shares the pipe handles by setting the standard IO handles for the child: // -- Set STARTUPINFO for the spawned process…
user206705
3
votes
1 answer

what is the equivalent of visual basic withevents and handles in C#

I try to convert a Visual Basic (VB) project to C# and I have no idea how to change some of codes below, In a windows form a field and a Timer object defined like this; Public WithEvents tim As New Timer ... Private Sub Timer1_Tick(ByVal sender As…
Emrah KONDUR
  • 186
  • 1
  • 2
  • 13
3
votes
1 answer

Is there an easy way to close multiple handles?

Is there a way to close multiple handles to threads in C++ without having to close them individually? I have a few threads with handles that I have stored in an array so I can use WaitForMultipleObjects() before closing them. I know I could call…
3
votes
3 answers

Help converting a VB.NET "Handles" statement to C#

I need help converting a VB.NET handles statement to C#. This is the VB Private Sub ReceiveMessage(ByVal rr As RemoteRequest) Handles AppServer.ReceiveRequest 'Some code in here End Sub
Unknown Coder
  • 6,625
  • 20
  • 79
  • 129
3
votes
2 answers

Matlab save individual subplot as jpg

In a for loop, I create a variable number of subplots that are displayed on a single figure. Can I also save each subplot as a separate, full size plot and image file (preferably JPG)?
user1502755
  • 51
  • 1
  • 4
3
votes
2 answers

Move jquery resizable handles out of the divs

I have 3 divs. One inside the other. jQuery $(function() { $("#div1").resizable({ handles: "n, e, s, w, nw, ne, sw,se" }); $("#div1").draggable(); }); HTML
user2265529
  • 479
  • 1
  • 8
  • 18
3
votes
2 answers

Open a closure as a handle in Perl

So I had this crazy idea. Right now, I'm generating a table in Word using Text::CSV_XS like so: use Win32::OLE; use Win32::OLE::Const 'Microsoft Word'; use Text::CSV_XS; # instantiation of word and Text::CSV_XS omitted for clarity my $select =…
Aurelia Peters
  • 2,169
  • 1
  • 20
  • 34
2
votes
1 answer

Matlab TabPanel usage

I am trying to use the application TabPanel Constructor v2.8. I have followed the instructions given with it. In the openingfcn of my gui I need to select one of the tabs. For it, I should use the tabselectionfcn which is adjunct with the mentioned…
julianfperez
  • 1,726
  • 5
  • 38
  • 69
2
votes
1 answer

JQuery resize handles not working after rotation using jQueryRotate

I have a problem with the resizing handles in jquery. Basically, I have a div dragging, resizing and rotating (using jqueryRotate) as expected. However when the div rotates the handles rotate with it but still maintain the original resizing…
Mark_54
  • 1,273
  • 4
  • 15
  • 21
2
votes
2 answers

Finding & using the currently active Chatbox in the Skype Client thru the WinAPI & Delphi?

In Delphi, by using the Skype API, I can send a message to a contact fairly easy. However, what I am trying to do, is enter the message in the Chat Box of the currently focused Contact, without sending the message. By using Winspector, I found that…
Jeff
  • 12,085
  • 12
  • 82
  • 152
2
votes
2 answers

Using Event Handles Across Threads - C++

I have an application wherein I am sharing event handles across threads. These event handles are used to signal transmit complete and received data notifications of serial I/O to the application. The handles are copied to the new threads as a…
Jim Fell
  • 13,750
  • 36
  • 127
  • 202
2
votes
3 answers

How to differentiate between socket handle and file handle

I need to check certain behavior in process creation events in windows, i need to implement a rule that check the startupinfo structure passed to createprocess api call and extracting the std input/std output handles values for the created…
2
votes
0 answers

List open files by process

Assuming I have the pid or process name, how can I get the open files by that process in c#? The question has been asked before but I couldn't find what I was looking for. I know that each process probably will have many handles but I can filter…
user579674
  • 2,159
  • 6
  • 30
  • 40
2
votes
2 answers

Closing all streams in Java at once

Is there a way to close all streams or handles at once in Java without having references to them? Or is there a way to close all handles (streams) associated with particular File having reference of that File in Java?
Hassan Qayyum
  • 91
  • 1
  • 9
2
votes
6 answers

How to determine why is Java app slow

We have an Java ERP type of application. Communication between server an client is via RMI. In peak hours there can be up to 250 users logged in and about 20 of them are working at the same time. This means that about 20 threads are live at any…
kovica
  • 2,443
  • 3
  • 21
  • 25
1 2
3
11 12