Running Applications Within Applications?
Jul 24, 2009Is 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 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 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 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 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].....
how to connect different vb applications to a database server.like accessing data from one database by different applications...
View 4 RepliesUsing 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 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'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 Repliesis it possible to use same database for both vb.net appplication and asp.net??and if is possible, how can to connect it?now..i'd build vb.net application and asp.net in my laptop...it can connect..but i wonder how to make the database connect for vb.net and asp.net in real..
View 2 RepliesI want to code an app with recreational purposes. This should be a Desktop app that detects itself running on other computers on the same LAN and communicates with them. By communication I mean that I should be able to pass anything from on to another. note that although I'm not asking for code (that would beat my purpose, of course) I think some small snippets wouldn't hurt. In any case what I really want is the "recommended procedure", I mean what Microsoft recommends for this environment, and documentation :)
View 3 RepliesI'm wanting to program a few buttons to run programs. The only issue is that they are in different directories.
Directory Structure:
+Program Files
- Test 1
- Test 2
- Test 3
- MyApplication
The Program Files folder is located on a Flash Drive which will have a different drive letter per computer. How can I code this?
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
i want skins for windows applications?
View 3 Repliesi wanna know how can i add nice skins or themes to my vb.net application. if u know pls let me know the steps.
View 9 Replies