473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

closing all applicatios vs processes

cj
I know how to write code to find, kill and closeMainWindow on all
processes but I really don't want to do that. I want work with
applications not processes. As you know there are a lot more processes
running than applications and many processes are critical to Windows
running. For instance right now Task Manger show 3 applications running
on my computer but maybe 40 processes.

How can I do this?
Aug 4 '06 #1
8 1464
Hi,

First of all, the Task Manager's Applications tab shows the captions of
visible, top-level windows. The Task Manager builds this list by walking
through all of the top-level windows in the system (using something like
EnumWindows), and adds to the list the windows that have the WS_VISIBLE
style bit turned on.

I've created a simple WinForm application to demonstrate how to get the
window list as shown in Task Manager:

1) Create a simple Windows Application using VB.NET
2) Add a ListBox (set its "Sorted" to true) and a Button to the default
WinForm
3) Paste following code in the default WinForm's class:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr, ByVal
lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd As
IntPtr) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As IntPtr,
ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As
Integer
Const WM_CLOSE As Integer = &H10

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam
As IntPtr) As Boolean
If IsWindowVisible(hWnd) Then
Dim buffLen As Integer = GetWindowTextLength(hWnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hWnd, sb, sb.Capacity)
Dim caption As String = sb.ToString()
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

To close the window using window handle ("hWnd" in MyEnumWindowsProc), you
can use:

SendMessage(hWnd, WM_CLOSE, 0, 0)

Hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 7 '06 #2
cj
Thanks, need to do something else now but I'll look into it.

Walter Wang [MSFT] wrote:
Hi,

First of all, the Task Manager's Applications tab shows the captions of
visible, top-level windows. The Task Manager builds this list by walking
through all of the top-level windows in the system (using something like
EnumWindows), and adds to the list the windows that have the WS_VISIBLE
style bit turned on.

I've created a simple WinForm application to demonstrate how to get the
window list as shown in Task Manager:

1) Create a simple Windows Application using VB.NET
2) Add a ListBox (set its "Sorted" to true) and a Button to the default
WinForm
3) Paste following code in the default WinForm's class:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr, ByVal
lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd As
IntPtr) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As IntPtr,
ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As
Integer
Const WM_CLOSE As Integer = &H10

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam
As IntPtr) As Boolean
If IsWindowVisible(hWnd) Then
Dim buffLen As Integer = GetWindowTextLength(hWnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hWnd, sb, sb.Capacity)
Dim caption As String = sb.ToString()
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

To close the window using window handle ("hWnd" in MyEnumWindowsProc), you
can use:

SendMessage(hWnd, WM_CLOSE, 0, 0)

Hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 7 '06 #3
cj
Actually it shows more applications than task manager does. I'll have
to do some experimenting on the specific app I want to close.

Walter Wang [MSFT] wrote:
Hi,

First of all, the Task Manager's Applications tab shows the captions of
visible, top-level windows. The Task Manager builds this list by walking
through all of the top-level windows in the system (using something like
EnumWindows), and adds to the list the windows that have the WS_VISIBLE
style bit turned on.

I've created a simple WinForm application to demonstrate how to get the
window list as shown in Task Manager:

1) Create a simple Windows Application using VB.NET
2) Add a ListBox (set its "Sorted" to true) and a Button to the default
WinForm
3) Paste following code in the default WinForm's class:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr, ByVal
lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd As
IntPtr) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As IntPtr,
ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As
Integer
Const WM_CLOSE As Integer = &H10

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam
As IntPtr) As Boolean
If IsWindowVisible(hWnd) Then
Dim buffLen As Integer = GetWindowTextLength(hWnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hWnd, sb, sb.Capacity)
Dim caption As String = sb.ToString()
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

To close the window using window handle ("hWnd" in MyEnumWindowsProc), you
can use:

SendMessage(hWnd, WM_CLOSE, 0, 0)

Hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 10 '06 #4
cj
This seems to work for listing programs showing in the task bar

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim targets() As System.Diagnostics.Process
Dim target As System.Diagnostics.Process
targets = System.Diagnostics.Process.GetProcesses
For Each target In targets
If target.MainWindowTitle <"" Then
ListBox1.Items.Add(target.MainWindowTitle)
End If
Next
End Sub
cj wrote:
Actually it shows more applications than task manager does. I'll have
to do some experimenting on the specific app I want to close.

Walter Wang [MSFT] wrote:
>Hi,

First of all, the Task Manager's Applications tab shows the captions
of visible, top-level windows. The Task Manager builds this list by
walking through all of the top-level windows in the system (using
something like EnumWindows), and adds to the list the windows that
have the WS_VISIBLE style bit turned on.

I've created a simple WinForm application to demonstrate how to get
the window list as shown in Task Manager:

1) Create a simple Windows Application using VB.NET
2) Add a ListBox (set its "Sorted" to true) and a Button to the
default WinForm
3) Paste following code in the default WinForm's class:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr,
ByVal lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc
As EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As
IntPtr, ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd
As IntPtr) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As
IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As
Integer) As Integer
Const WM_CLOSE As Integer = &H10

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal
lParam As IntPtr) As Boolean
If IsWindowVisible(hWnd) Then
Dim buffLen As Integer = GetWindowTextLength(hWnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hWnd, sb, sb.Capacity)
Dim caption As String = sb.ToString()
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

To close the window using window handle ("hWnd" in MyEnumWindowsProc),
you can use:

SendMessage(hWnd, WM_CLOSE, 0, 0)
Hope this helps. Please feel free to post here if anything is
unclear.
Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif

ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues where an initial response from the community or a Microsoft
Support Engineer within 1 business day is acceptable. Please note that
each follow up response may take approximately 2 business days as the
support professional working with you may need further investigation
to reach the most efficient resolution. The offering is not
appropriate for situations that require urgent, real-time or
phone-based interactions or complex project analysis and dump analysis
issues. Issues of this nature are best handled working with a
dedicated Microsoft Support Engineer by contacting Microsoft Customer
Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================= =

This posting is provided "AS IS" with no warranties, and confers no
rights.
Aug 10 '06 #5
Hi,

Your method using System.Diagnostics.Process.GetProcesses will only show
the main window of each process. If a process has multiple top-level
windows, for example, if you open a Outlook 2003 email window, it shows
multiple windows for Outlook in Task Manager.

It seems Task Manager will not show window that has no caption, and it will
not show dialogs displayed using RunDll32, such as the System Properties
dialog, the Add/Remove dialog, etc. Using EnumWindows will find them
correctly. I think if your intention is to find them and close them, then
using my method will do the job.

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 11 '06 #6
cj
Take right now. I have running and showing in the task bar:
-Thunderbird
-VB 2003 with my program running
-my program which is being run in debug mode
-this email being composed

process showing only those with main windows gives me:
-VB 2003
-my program
-this email being composed

It doesn't show the main thunderbird app. But enumwindows is turning up
strange results too.

When I run your code I get:
-thunderbird
-2 identically named listings for VB 2003
-my program
-this email
-program manager

Hummmm....

Anyway, I need to shutdown one specific program and thankfully it isn't
like thunderbird with other windows--although I could loop after closing
each time to see if it is still listed which I tested with
thunderbird--so process is working for identifying the app I want to
close and closing it via close main window. It's a lot less code too.

Thanks for the input enumwindows might be useful in the future.

Walter Wang [MSFT] wrote:
Hi,

Your method using System.Diagnostics.Process.GetProcesses will only show
the main window of each process. If a process has multiple top-level
windows, for example, if you open a Outlook 2003 email window, it shows
multiple windows for Outlook in Task Manager.

It seems Task Manager will not show window that has no caption, and it will
not show dialogs displayed using RunDll32, such as the System Properties
dialog, the Add/Remove dialog, etc. Using EnumWindows will find them
correctly. I think if your intention is to find them and close them, then
using my method will do the job.

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 11 '06 #7
Hi,

Thank you for your update.

How the Task Manager get the window list is undocumented. A reasonable
heuristic is windows which are visible, which do not have an owner, and
which do have a caption. My previous code is missing the condition "do not
have an owner". To get the owner of a window, we can use "GetWindow()" with
GW_OWNER as parameter.

Then we have to deal with the window "Program Manager": it's still present
for reasons of compatibility. We can ignore it by checking its window class
name: "Progman".

So the complete code listing would be:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr, ByVal
lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd As
IntPtr) As Integer
Declare Auto Function GetWindowLong Lib "user32.dll" (ByVal hwnd As
IntPtr, ByVal nIndex As Int32) As Int32
Declare Auto Function GetParent Lib "user32" (ByVal hwnd As IntPtr) As
IntPtr
Declare Auto Function GetWindow Lib "user32" (ByVal hwnd As IntPtr,
ByVal wCmd As Int32) As IntPtr
Const GW_OWNER As Int32 = 4
Declare Auto Function GetClassName Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpClassName As StringBuilder, ByVal nMaxCount As Integer) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As IntPtr,
ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As
Integer
Const WM_CLOSE As Integer = &H10
Function GetWindowOwner(ByVal hwnd As IntPtr) As IntPtr
Return GetWindow(hwnd, GW_OWNER)
End Function

Function GetWindowCaption(ByVal hwnd As IntPtr) As String
Dim buffLen As Integer = GetWindowTextLength(hwnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hwnd, sb, sb.Capacity)
Return sb.ToString()
End Function

Function GetWindowClass(ByVal hwnd As IntPtr) As String
Dim sb As New StringBuilder(256)
GetClassName(hwnd, sb, sb.Capacity)
Return sb.ToString()
End Function

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam
As IntPtr) As Boolean
If IsWindowVisible(hWnd) AndAlso GetWindowOwner(hWnd).ToInt32() = 0
AndAlso GetWindowClass(hWnd) <"Progman" Then
Dim caption As String = GetWindowCaption(hWnd)
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 13 '06 #8
cj
Thanks.
Walter Wang [MSFT] wrote:
Hi,

Thank you for your update.

How the Task Manager get the window list is undocumented. A reasonable
heuristic is windows which are visible, which do not have an owner, and
which do have a caption. My previous code is missing the condition "do not
have an owner". To get the owner of a window, we can use "GetWindow()" with
GW_OWNER as parameter.

Then we have to deal with the window "Program Manager": it's still present
for reasons of compatibility. We can ignore it by checking its window class
name: "Progman".

So the complete code listing would be:

Delegate Function EnumWindowsProc(ByVal hWnd As System.IntPtr, ByVal
lParam As IntPtr) As Boolean

Declare Auto Function EnumWindows Lib "user32" (ByVal lpEnumFunc As
EnumWindowsProc, ByVal lParam As IntPtr) As Boolean
Declare Auto Function IsWindowVisible Lib "user32" (ByVal hWnd As
IntPtr) As Boolean
Declare Auto Function GetWindowText Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpString As StringBuilder, ByVal cch As Integer) As Integer
Declare Auto Function GetWindowTextLength Lib "user32" (ByVal hwnd As
IntPtr) As Integer
Declare Auto Function GetWindowLong Lib "user32.dll" (ByVal hwnd As
IntPtr, ByVal nIndex As Int32) As Int32
Declare Auto Function GetParent Lib "user32" (ByVal hwnd As IntPtr) As
IntPtr
Declare Auto Function GetWindow Lib "user32" (ByVal hwnd As IntPtr,
ByVal wCmd As Int32) As IntPtr
Const GW_OWNER As Int32 = 4
Declare Auto Function GetClassName Lib "user32" (ByVal hwnd As IntPtr,
ByVal lpClassName As StringBuilder, ByVal nMaxCount As Integer) As Integer

Declare Auto Function SendMessage Lib "user32" (ByVal hWnd As IntPtr,
ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As
Integer
Const WM_CLOSE As Integer = &H10
Function GetWindowOwner(ByVal hwnd As IntPtr) As IntPtr
Return GetWindow(hwnd, GW_OWNER)
End Function

Function GetWindowCaption(ByVal hwnd As IntPtr) As String
Dim buffLen As Integer = GetWindowTextLength(hwnd)
Dim sb As New StringBuilder(buffLen + 1)
GetWindowText(hwnd, sb, sb.Capacity)
Return sb.ToString()
End Function

Function GetWindowClass(ByVal hwnd As IntPtr) As String
Dim sb As New StringBuilder(256)
GetClassName(hwnd, sb, sb.Capacity)
Return sb.ToString()
End Function

Private Function MyEnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam
As IntPtr) As Boolean
If IsWindowVisible(hWnd) AndAlso GetWindowOwner(hWnd).ToInt32() = 0
AndAlso GetWindowClass(hWnd) <"Progman" Then
Dim caption As String = GetWindowCaption(hWnd)
If (caption.Length 0) Then
ListBox1.Items.Add(caption)
End If
End If
Return True
End Function

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
EnumWindows(AddressOf MyEnumWindowsProc, IntPtr.Zero)
End Sub

Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 14 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David Leon | last post by:
Is there any way to stop php.exe closing after it processes a PHP script? It doesn't seem to have the traditional options of an MS-DOS program. I am using Windows XP Pro and have associated .php...
1
by: Naresh Agarwal | last post by:
Hi I'm developing a webapp using servlets, which processes a HTTP Post request and sent back MIME message (multipart/related - essentially SOAP message with Attachments). I'm constructing the...
4
by: flupke | last post by:
Hi, I have a gui (made in wxPython) that enables a user to connect to a server and issue some commands. The problem occurs when i try to disconnect the client. It exits but it doesn't return to...
0
by: ajaykrishna | last post by:
Hi Could any one tell me what is the latest version of System.Data.OracleClient? Currently I'm using version 1.0.1012.0 in my project which is giving problem of not closing connection eventough...
0
by: Tam | last post by:
I have a problem trying to close a currently running executable. javaw.exe simply refuses to close. It is in the process list (confirmed by watching Processes in the task manager) and the code...
5
by: Helen Trim | last post by:
I have scheduled programs that run overnight. One of them leaves a window open and this stops other users opening the program. It is a third-party application. Can I write a vb .NET program to...
1
by: S. David Kyle | last post by:
I am having a weird issue when I generate an input Html tag from a Xsl transformation. When the trasform is executed on the xsl below, the <inputtag has the closing slash removed in the first...
12
by: kronecker | last post by:
I found this nifty routine that closes a form one by one every time it is called. However, I need to hide them instead of closing them. Is there a way to alter the code? I assume it has something...
10
by: John | last post by:
Hi My app does a few processes and the app can not be closes mid way. Therefore I want to be able to block any attempt of closing app by user such as by clicking on close (cross) or Alt-F4 and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.