Manipulate A Window(process) That Have Not Created?

Oct 29, 2010

I have this application that I haven't created and I don't have the source for. But it's really handy in handling and recording the time I've used on different projects. But it has this annoying pop-up that comes up that contains a window and some debug text I believe. It wasn't done by a professional, it was just a hobby project. Everything is working even though this window appear. So I was wondering if it's possible to "hijack" a window and minimizing or closing it somehow?

View 1 Replies


ADVERTISEMENT

C# - Manipulate A Window Object From Another Class In WPF?

Aug 28, 2011

I'm new in WPF and C#. I know a lot of VB.NET and I'm used to the way when I call a form object like textboxes, etc. I'm calling it from another form. Now, I'm using WPF, I'm confused. Because I have a Main Window. And I want to add and item to a listbox in the Main Window from a Class. In VB.Net , its just like this.

[Code]...

View 2 Replies

Get The Information Of All The Appdomain Created In Given Process?

Sep 26, 2010

I need to get the information of all the appdomain created in given process?

View 4 Replies

Check If New Memory Pages Are Created In A Process?

Mar 15, 2012

Is there a way in vb.net to check whether new memory pages have been created inside a process(such as winlogon, svchost etc) For eg : if i there is a certain value that may change if new memory pages are created inside the process. Then i can compare the previous value and the new value (after pages have been created) and make it sure that new pages have been created inside that process.

View 3 Replies

Check If New Memory Threads Have Been Created In A Process?

Mar 15, 2012

Is there a way to check whether new memory threads have been created inside a process in vb.net. By hashing the process and checking before and after the threads are created or something like that.

View 11 Replies

Progressbar For User Created Process Execution?

Oct 29, 2009

Progressbar for User created Process execution

View 4 Replies

Receive Data Through A Socket Created In Another Process

Jul 29, 2009

I am trying to implement SMPP protocol in vb. I am sucessfull in send and receiving packets using sockets. Now I would like to decentralize the functions of my program. I want to implement two programs one for sending and another for receiving using a single socket. I want to receive data through the same socket that was created in another process(i.e., the first program).

View 1 Replies

VS 2008 To Check If New Memory Pages Are Created In A Process?

Mar 15, 2012

Is there a way in vb.net to check whether new memory pages have been created inside a process(such as winlogon, svchost etc)

For eg : if i there is a certain value that may change if new memory pages are created inside the process. Then i can compare the previous value and the new value (after pages have been created) and make it sure that new pages have been created inside that process.

View 3 Replies

VS 2010 Dataset Created A New Process In Order To Run An Exe And Pass

Jul 20, 2010

I am writing an application that is doing a file conversion.I created a new process in order to run an exe and pass it some arguments in order to do the file conversion. I ran this in the Submit button click event.I added an event handler for when the Process had exited and then continued my code, since I had to wait for the file conversion to complete before continuing.

Everything is running fine now up until the point where I am trying to call a FillBy for one of my datasets. My fill by is accepting a parameter UserID and filling it based on the user id, which is selected in a combo box in the program itself.I keep getting exceptions and it immediately exits the program whenever I try and use this fillby method, if I take it out it completes successfully; however, the new row I just inserted was not added.

I tried adding a tryparse for the value selected from the UserID combobox but I get this cross-thread exception, so I have a feeling the 2 are related.

[Code]...

View 1 Replies

Getting A Window's Process Name?

Oct 23, 2009

How would I get a window's process name? For example, if im using firefox, and im on VBForums, I want my program to look for a window with a name of "VBForums - Visual Basic and VB .NET Discussions and More!" and then get its process name.

View 4 Replies

Invoke Or BeginInvoke Cannot Be Called On A Control Until The Window Handle Has Been Created?

Mar 5, 2009

i AM TRYING TO USE A THREAD TO UPDATE SOME CONTROL during runtime using invoke and i get this message.here is my scenario:im trying to build a performance monitor tooli have a mainform that is MDI parent and i create mdi child using

[Code]...

View 4 Replies

End The Process When Close The Window?

Nov 30, 2010

i am using a server that remain working when i close the window ,how to stop the process

View 5 Replies

End The Process When Close Window?

Nov 17, 2009

i am using a server that remain working when i close the window how to stop the process

View 4 Replies

Hiding A Process Window In VB?

Mar 27, 2009

I have been working on a program to hide windows for an active process. I found some examples on the internet explaining how to do this. The problem, however, is that after I hide the windows I cannot get them back. The process still shows up in task manager but i cannot restore the window..

Imports System.Runtime.InteropServices
Imports System.Diagnostics
Public Class Form1

[code].....

View 1 Replies

Process And Find A Window?

Jun 17, 2010

what I am trying to do its to automate a user interraction by code.First I have a button named "start" once pushed I navigate with webbrowser to download a file. What I try to do it is to find the window "File download" by his title name, I allready made a seperate thread to loop into to list of process until it found the window "File download"

Where I need help, it is with the process list. I try that code below but I don't see the process "File download" in the list.and once I found it I would like to use sendMessage() api to simulate the click of save.I would like to find another window after to catch the window "save as" and click save and if the window that ask for overwriting appear I would like to find it too and click yes.

Why I use webbrowser instead of httpwebrequest it is because the web site required to login, i try using cookie, etc. No success so I decided to use webbrowser, I navigate first into the login page, I login manually and once it is done I can click the button to start downloading. I want to make an automatic download loop, I have lot of files to download on that site, sometimes .doc and other times it is .pdf

I didn't found a way yet how to force webbrowser to ask for downloading .pdf instead of opening it in acrobat, if someone can help me for that point too

[Code]...

View 4 Replies

Resize Min Window In Outside Process?

Apr 19, 2012

How to resize minwindow in outside process

View 4 Replies

Run Process & Hide Window?

Apr 14, 2009

I have the below code in a function. It is meant to start a process hidden and return the ProcessID. The problem is when RunProcess.Start happens the window is not hidden.

[Code]...

View 2 Replies

SendKeys To Certain Process Or Window

Jul 6, 2009

I am making a key presser for a game and I have it to just spam the keys, but I want it to send the keys to a certain process or window. Here is what I have:

Private Sub Timer8_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer8.Tick
SendKeys.Send(1)
SendKeys.Send(2)
SendKeys.Send(3)
SendKeys.Send(4)
SendKeys.Send(5)
SendKeys.Send(6)
SendKeys.Send(7)
'#7 in box'

That's an example of 1 timer. Is there any way to make it just send the keys to a process I am kinda new to this.
Process.GetProcessesByName("SRO_Client")

View 2 Replies

Showing A Window From A Process?

May 20, 2011

I have 2 desktop programms..I will call them P1 and P2.So, P1 launches P2 as a process. However, at some point I want to be able to show a window in P2. My problem was that this window, when called, was showing correctly placed, in the middle of the screen, but in the back of P1.So, in order to show it as the top most window, above all others applications running on my computer, I used the windows API:

Const HWND_TOPMOST = -1

Const HWND_NOTOPMOST = -2

Const SWP_NOSIZE = &H1[code]...

Now the window shows on top of all other, but it is placed in the top left corner of the screen, resized to much small dimentions, that I cannot even see the controls on it.

View 1 Replies

VS 2008 - Get The Process Name Of The Window?

Oct 31, 2009

For Each MyProc As Process In Process.GetProcesses If MyProc.MainWindowTitle <> "" Then ListBox1.Items.Add(MyProc.MainWindowTitle) Next How can I get the Process name of the Window?

View 3 Replies

Get Window Title Of A Process Using Program?

Jun 28, 2010

I am looking to go from the process name to the windows title.[code]...

View 1 Replies

Get/Set Properties Of Another Process Main Window?

Mar 18, 2012

I have 3 questions: How to get the process which the main window is active How to change the WindowState of that process main window How to resize the process main window[URl]..

View 9 Replies

Hide A Window Knowing His Process ID?

Jan 10, 2006

How can I hide a window knowing his process ID?

I am writing a program which opens another application with the "shell" command (so it's easy for me to get the procID). Once it is running I want to hide or show it when needed by pressing a button in my program...

View 3 Replies

Process Has The Active Foreground Window?

Jan 6, 2010

The user32.dll provides functions to get the process id from a process executable name, and I can also obtain the active or foreground window that the user is working.Can I determine what windows the targeted process has opened? Otherwise, can I find out what details about the process that opened the foreground/active window?

My code needs to run only when another specific process is running and the user is actively using that window, while that window is the top-most window on the desktop.

View 1 Replies

Resize A Window Knowing The Process ID?

Dec 17, 2008

I have an application that while running (it doesn't have to have focus, it can be minimized or another window can have focus) can listen and respond to global hot keys pressed. For instance I have the key combo Ctrl+Shift+0. When this hot key is pressed my app can recognize this and then I can do something.

This "something" that I want to do is:

1. Know what window is currently active and has focus when the hot key was pressed. And...

2. Change the size of said window

I can currently identify what window has focus by the following (the code block is inside the function that fires when the hot key is pressed):

Code:

Private Declare Function GetForegroundWindow Lib "user32.dll" () As IntPtr
Private Declare Function GetWindowThreadProcessId Lib "user32.dll" (ByValhwnd As IntPtr, ByRef lpdwProcessID As Integer) As Integer

[Code]....

I can get the handle to the active window and the process that owns that window.

Having this information, how can I get access to the window itself? Furthermore, get access to it's properties so I can change the size of this thing? I'm not sure If this is the right information to be gathering for what I'm trying to accomplish but it seems that I'm close.

View 1 Replies

Subclassing Window In Other Process (winXP)

Sep 28, 2004

i used an old VB6 algorithm to subclass a window and made a few changes at the 'hook method' to make it work in .NET.

Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" (ByVal hWnd As Integer, ByVal nIndex As Integer, ByVal dwNewLong As delWindowProc) As Integer

[Code].....

View 2 Replies

VS 2005 How To Draw On Another Process Window

Sep 3, 2009

i am trying to write a code who find a window and draw line or string on it but nothing found yet,the process can aslo be a game so did it required to use 'Direct3dx' i try something like this but not woking...

[Code]...

View 2 Replies

Window Title To Process Name / ProcessID

Sep 18, 2009

I have this code, which will get all windows thats open, like explorer.exe do. It will write all the titles to listbox1, like this example.I will then try to do many things, like close, minimize, maximize, and restore like this:[code]but how do I do this with the selected index in my listbox. My code must somehow get the processname, or processID from the Window-name.

View 2 Replies

Window Service Does Not Start All Process On Window Start?

Aug 1, 2011

We create a window service that will launch multiple process of an application with different configuration. And application further communicate with sql server. It works fine when we start service manually from service manager. It launch all the process ( try with launching 3 process ). But when we test it by restart the machine and service launch automatically then it launch only one process third one. I check the event log in event viewer. I see the following message by MSSQL$MSSQLEXPRESS service

Login failed for user 'dduser'. Reason: Failed to open the explicitly specified database. [CLIENT: <local machine>]

one thing we also tried by delaying ( with thread sleep ) the code execution of service. Then by starting machine again , it launch 2 process , first one still not launch.

View 3 Replies

Activate Frontmost Window Of Parent Process?

Feb 10, 2010

I haven't programmed in Visual Basic before. I downloaded the 2008 Visual Basic and I'm trying to write something that activates the frontmost window of the parent process. I realize that there's a few steps... find the parent process, get its first window (z-axis wise), then raise that window even though it currently isn't the active program.

I've found some example code on the net, but none of it compiles, even code I found at Microsoft. I'm guessing that it's all an older syntax that's no longer supported. [code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved