473,566 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Process" component in VB.Net

I have written VB6.0 application. Sometime it quites abnormally. Is it
possible to monitor this "EXE" so that if it quits, I will be the first
person to get notified!!! Is it possible to develop these kind of
application using "Process" component in VB.Net ?
Gary

Nov 20 '05 #1
4 2060
first: it quits abnormally because of unhandled exceptions...er rr...errors.
second: the end-user of the application will always be the first to get
notified.
third: you will get notified in short order naturally by the latter.
fourth: if you wrote the first, no matter what language you use to create
the second, you will most definitely want to develop a third to monitor the
second ;^)

steve

sorry...you just had too big a target in the center of your shirt ;^)
"Gary Smith" <Ga**********@y ahoo.com> wrote in message
news:OT******** ******@TK2MSFTN GP11.phx.gbl...
| I have written VB6.0 application. Sometime it quites abnormally. Is it
| possible to monitor this "EXE" so that if it quits, I will be the first
| person to get notified!!! Is it possible to develop these kind of
| application using "Process" component in VB.Net ?
| Gary
|
|
|
Nov 20 '05 #2
* "Gary Smith" <Ga**********@y ahoo.com> scripsit:
I have written VB6.0 application. Sometime it quites abnormally. Is it
possible to monitor this "EXE" so that if it quits, I will be the first
person to get notified!!! Is it possible to develop these kind of
application using "Process" component in VB.Net ?


This is a VB.NET group. Please turn to one of the microsoft.publi c.vb.*
groups.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> schrieb
* "Gary Smith" <Ga**********@y ahoo.com> scripsit:
I have written VB6.0 application. Sometime it quites abnormally. Is
it possible to monitor this "EXE" so that if it quits, I will be
the first person to get notified!!! Is it possible to develop these
kind of application using "Process" component in VB.Net ?


This is a VB.NET group. Please turn to one of the
microsoft.publi c.vb.* groups.

Really?
--
Armin

Nov 20 '05 #4
* "Armin Zingler" <az*******@free net.de> scripsit:
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> schrieb
* "Gary Smith" <Ga**********@y ahoo.com> scripsit:
I have written VB6.0 application. Sometime it quites abnormally. Is
it possible to monitor this "EXE" so that if it quits, I will be
the first person to get notified!!! Is it possible to develop these
kind of application using "Process" component in VB.Net ?


This is a VB.NET group. Please turn to one of the
microsoft.publi c.vb.* groups.


Really?


I think it's the best way to find the bug in the application and not
write a tool which monitors it. IMO this doesn't make sense.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

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

Similar topics

9
715
by: Paul | last post by:
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit anyway).... Private Sub LogChange(ByVal source As Object, ByVal e As System.IO.FileSystemEventArgs) If e.ChangeType = WatcherChangeTypes.Created Then
3
8016
by: Henne | last post by:
Hello, in VB6 we werr able to make ActiveX-DLL's (In Process Components) and ActiveX-Exe (Out Of Process Components). Out Application is build of one main application that starts other modules. These modules are ActiveX-Exe's. The main application controls the modules via ActiveX. We decided to use ActiveX-Exe because we want to run...
2
5298
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module (Standard Exe) that calls and controls other modules (ActiveX-Exe). We decided for ActiveX-Exe because they run in different processes. That means if...
3
2454
by: john | last post by:
I don't want to know what the CPU utilization is right now. I want to get the average utilization over the last, for example, hour. So I came up with a method where I would get a Process object representing the "Idle" process. I would figure out what percentage of time the idle process has been running since my function last was called. Then...
4
13234
by: Earth Worm Jim | last post by:
I am using VS.Net 2003 on Windows 2003 Server (standard edition) and I am getting "The process cannot access the file because it is being used by another process" on DLL's in a VS.Net solution. I have made sure all the dependancies and the build order is correct but the actually instance of VS.Net (devenv.exe) is LOCKING THE DAM DLL'S IT IS...
1
1818
by: Bob | last post by:
Let's say I want a program running on one computer to interact in real time with a program running on another computer. With Remoting, I can use a client object to create or connect to a server object and access its methods. But the server object only "responds when asked". I don't see how it could "raise an event" to the client object,...
3
3673
by: Loane Sharp | last post by:
Hi there I use the FileStream object to download a zip file over the internet to my local disk. The file downloads successfully, but when I attempt to unzip it, I'm told that the file is in use by another process. This occurs even if I release the object using fs.Close() and fs = Nothing. Please help (my code is given below) Best...
8
3214
by: Henrik | last post by:
Hi Is there any way to see what the System process is doing? We have developed an application running at a production site to measure and optimize the production. The application needs to be responsive at all times during production. I'm experiencing some problems with my application not responding or responding slow. I suspeced the...
5
1600
by: Matt | last post by:
Ok so I'm trying to run a simple dos command shell through a VB.NET 2005 program. The oddest thing is happening given the following piece of code: '============================================================ '=== VARIABLE DECLARATION AND INITIALIZATION ================ '============================================================...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7644
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.