Get All Of The Running Applications?
Oct 20, 2009How can I get all of the running applications? If I have to use Process.GetProcesses, then how can I determine which are applications (appear in the task bar)?
View 4 RepliesHow can I get all of the running applications? If I have to use Process.GetProcesses, then how can I determine which are applications (appear in the task bar)?
View 4 RepliesIs there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?
View 11 Repliesi am having trouble executing applications that havent got the prefix .exe here is the code tat i mostly found in the internet can someone help so it will be able to play with all applications tried to make it play with msi but it wont play.
[code]...
I'm going to design an Application (C# or VB.NET) which use .NET Framework to run for very long time. It may be restarted every year or even more...Is there anything (using special design patterns or so) which I must care about in designing "Long time running applications in .NET"?
View 3 RepliesAnybody have an idea to list running programs ; not all running background process. I tried following code, but which list all process names. eg: notepad.exe, vb6.exe, svhost.exe etc. but what i need is the running window based programs( with windows.)
1st method
Dim process As Object
For Each process In GetObject("winmgmts:").execquery("Select * from Win32_Process")
Debug.Print process.Caption
[code]....
I developed an application I need to run exclusivly under DOS mode (no Windows), when I wrote the app I created it as a CONSOLE application, when I run this EXE under the DOS mode it says it can't RUN in DOS mode? Is there ANYWAY I can make this work?
View 5 RepliesI have seen that unsigned .net applications will not run on most college networks and as part of a school applications i am trying to let these applications run on a protected network. The app is written in VB 2008 and is signed strongly.
View 1 RepliesI have created an application that will run several other Engineering applications from within it.
I have my main form which will have a button on it for each application that has to be run. All the other projects are complete and have their respective '.EXE' files, which I have added to the main project.
I have coded one of the buttons to start an application, this is as follows;
Private Sub btnCoordsCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCoordsCalc.Click
Process.Start(My.Computer.FileSystem.CurrentDirectory & "Hole_Coordinates_Calculator.exe")
End Sub
This method works OK and does start the application. So my question is; Is this the correct way to do it, or should I import the whole project into my main project?
i am a casual user of visual basic express 2008 and use Vista Home Edition Ive been using it for a while now, with no problems at all. Recently i started to take a look a WPF in my apps, again no problems.(visual basic express ran fine, debugging ran fine & finished apps ran fine)
However for some reason (and all of a sudden) i keep getting errors and none of my apps will start up.
The errors are:vshost.exe has stopped working (I get this when visual basic express starts)PresentationFontCache.exe has stopped working (I get this when visual basic express starts a wpf app)
(Application Name) has stopped working (I get this when running finnished apps)I've tried all the usual methods (Reninstalled VBE & .Net3.5)I cant see why it has stopped working all of a sudden?
he lack of VB terminology in the following question - this is all fairly new to me. Anyway, on to my question.I have 2 seperate applications running and they both need to access the same array. Is it possible? If so, how?
View 2 RepliesI have created a main application form that has buttons that start up various other applications.
Following advice on here from a previous post, I have imported all the files of each separate application into the main application.
There will be times when the user wants to run more than one of these applications at the same time. I know you can just import the '.EXE' file of each app, and you can then run several at a time. But because I have all the files without the .EXE, you can only run one at a time, you have to close one app to start another.
My question is simply; Do I have to import the .EXE file of each app, or is there some code I could put in my main form that will allow me to run more than one app at a time? (the reason for having all the files of each app is so you can make any alterations without having to open each app separately).
The code below is a typical code for one of the applications start buttons, all the buttons codes are the same, apart from the app name, the buttons are imported, so not standard buttons.
Private Sub btnCoordsCalc_ClickButtonArea(ByVal Sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles btnCoordsCalc.ClickButtonArea
Dim frm As New frmHoleCoordinateCalculator
[Code]......
I'd like to ask assistance for the following scenarios below:
1. I want to check whether certain applications are already running or not.
2. The applications i need to check are the ff:
a. MS Word
b. MS Excel
c. Notepad
d. MS Project
e. MS Powerpoint
3. If any of these are running, the window title of that application will be filled-in in a listbox.
I have created a simple windows forms application. I would like to be able to connect to that running application and view certain properties from a seperate windows form application. In VB6 I would have run the first application and then called GetObject to connect to the instance. Does anybody know how I could do this in .Net. I'm guessing I'd have to use reflection to get a list of applications running and then somehow connect to them but I'm not sure how to do this?
View 5 RepliesI am running a client-server application and am having problems with privileges (I assume). The application is developed using 2005 Express. The Client is running Win XP Home whilst the server is running Win 2003. When the user on the client has Admin rights on the local machine, everything is OK; however when the user has only User rights, an error occurs: VB will not run.
View 14 RepliesI want to get the detail of all the applications running in windows like
Application name : Status : User : Resources Usage : etc....
also I want to get the detail of all the users logged in at a time
I am wondering if it is possible to run an application from a domain account that has restrictions on running .exe files by coding in the local administrator details (username / password).
View 3 Repliesi would like to scan all the processes(aplications) running in a system before starting my program. and also need to close some programs before starting my program.how to read all the processes ruining in a system one by one.
View 1 RepliesI know this code will give a list of processes
ListBox1.Items.Clear()
Dim ProcessList As System.Diagnostics.Process()
[code].....
Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?
View 1 RepliesI am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.
[Code]...
how to connect different vb applications to a database server.like accessing data from one database by different applications...
View 4 RepliesI had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 RepliesI want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?
View 1 RepliesI am trying to write a Windows Script that will allow me to monitor the following: That 2 x seperate but specific processes within Component Services "Running Processes" list are currently running and have not reset within the past hour. If I already know the PID, then I can retrieve the CreationDate (I assume which I can use to check for restarts? or is this the actual process creation/installation date) for each specific process, however if a restart occurs the PID will change and my script needs to know what the new PID is without me telling it!
[Code]...
We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service.
View 1 RepliesI made a quite big application and wanted to test it out on my other pc but it didn't even start and gave the system.InvalidException error.
I just the build-function to compile my project. It runs fine on the pc where i developed it. It has some dll's in it: mysql-connector, twitterVB and zipforge.
I've seen in a few applications now, buttons like this:
View 4 RepliesI have on timer thread that needs to pass every time a different data to another running thread to make the calculations.
View 5 RepliesI'm a new programmer and I'm looking for some guides/series, or something like those, that basically walk you through building some sort of application. For example, I used to buy little sets/kits from radioshack that walked you through building a clock, radio, etc., or other little electronics devices. The kits came with all the parts and instructions so you just assembled them. Hence, I'm just looking for something similar to that for vb, minus the components obviously ;-). I like to learn through hands on experience so I'm just looking for some guides that have you build a program and briefly go explain the workings of the code.
View 8 Replies