com >> Processes calling into my out-of-process ActiveX component
by Dermot Hardy » Wed, 22 Mar 2006 03:52:11 GMT
Hello,
Does anyone know of any way to list the processes which have made calls into
an out-of-process VB6 ActiveX component? Or a way to list processes which
currently hold references to objects in the out-of-process component?
(Pretty similar I know)
Thanks in advance,
Dermot
Similar Threads
1. Dim p As Process = New Process() vs Dim p as New Process()
Is there a difference between these two lines?
Dim p As Process = New Process()
Dim p As New Process()
Thanks,
Ron
2. Processes & Process Start Info arguments.... - VB.Net
3. All Processes not showing up? Process.GetProcesses
When looking through the list created by the
System.Diagnositc.Process.GetProcesses and verifying it with the Task
Manager Process list. There are items in the Task Manager Process list that
are not showing up on the vb.net System.Diagnositc.Process.GetProcesses
list?
Why would this happen?
4. starting a process and monitoring that process - VB.Net
5. Disable Button During Processing & Re-Enable After Processing?
On 2007-12-14, Donald A. Fisher < XXXX@XXXXX.COM > wrote:
> Hello. I've been working a vb project and have a form with a button on
> it that performs some actions after disabling the button when clicked:
>
> Code disabling button and starting actions:
> Private Sub btnCreateExcel_Click(ByVal sender As System.Object, ByVal e
> As System.EventArgs) Handles btnCreateExcel.Click
> Me.btnCreateExcel.Enabled = False
> Dim pCreateExcel As New ClassCreateExcel
> AddHandler pCreateExcel.CreateExcelCompleted, AddressOf
> CreateExcelCompletedEventHandler
> Dim thCreateExcel As System.Threading.Thread
> thCreateExcel = New System.Threading.Thread(AddressOf
> pCreateExcel.Process)
> thCreateExcel.Start()
> End Sub
>
>
> I've tried using the "CreateExcelCompleteEventHandler to re-enable the
> button to no avail:
>
> Code performed after actions are completed:
> Private Sub CreateExcelCompletedEventHandler(ByVal sender As
> System.Object, ByVal e As System.EventArgs)
> frmCreateExcelProgress.Close()
> Me.btnCreateExcel.Enabled = True
> End Sub
>
>
> The actions completed really don't matter (I think). I just want the
> button to be disabled so the user cannot start multiple events by
> double-clicking or being impatient and clicking again and then re-enable
> the button after processing has finished. Any help would be great!
> Thanks in advance!
>
> Don
This maybe a silly question - but is the event even beign fired? And if
it is, your most likely going to have issues because it's going to be
raised from your background thread...
Personally, if your going to do this, you might want to look into using
hte backgroundworker component.
--
Tom Shelton
6. Catch the state of a process and if that process is receiving any type of input - VB.Net
7. Process cannot access the file because it is being used by another process
Hey all, if anyone can help with this I would appreciate it. I'm
loading an XML file and modifying one of the nodes. Once I modify the
node, I call the .Save method on the XML document object and I keep
getting the message below:
The process cannot access the file "C:\Documents and
Settings\xxxxx\Desktop\Code\Test\Config.xml" because it is being used
by another process.
Any help in how to get around this would be appreciateed. I've even
tried rebooting my PC and I still get this message.
8. Get Child Process of a Parent Process - VB.Net