Whenever Run Application And Close It / It Stays In Memory / Pops Up Again After Approx 5 Mins

Dec 14, 2011

I have developed a application on vb.net platform. After installing, whenever I run the application and close it, it stays in the memory and pops up again after approx 5 mins.

View 2 Replies


ADVERTISEMENT

Program Stays In Memory?

Aug 16, 2011

1. I run a program in VB, then i click X button to close the main form, the program exits.

2. Then I change the code slightly (for example I add MsgBox("abc") and try to run the program.

3. An error appers: "The operation could not be completed..." and then some text in my own language, I try to translate it into english: "...The process cant get access to file, because its been in use by another process"

View 8 Replies

Writing The Code To Start Clock At 4o Mins & Count Down By 1 Second To 0 Mins?

Dec 10, 2009

I am having trouble writing the code to start clock at 4o mins & count down by 1 second to 0 mins, have MessageBox("time up"), then go to minus time , e.g. -5:22.

View 13 Replies

Getting Excel 2010 To Close. Stays Running In The Task Manger?

Jan 13, 2012

I cannot get Excel 2010 to close by using VB on my Windows XP computer at work. I have what I thought would be able to close it, but it doesn't. I do not get any errors, it its just that after multiple times of the code running, I have multiple instances of EXCEL.EXE running in the task manager, which causes problems. I am going to post the code below:

Option Strict Off
Imports Excel = Microsoft.Office.Interop.Excel
Public Class CompareDataExcel\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

View 3 Replies

Application Process Stays Loaded After Exit

May 27, 2011

We have an application that allows custom UI and interaction via SDK. A DLL is developed for this purpose using VB.Net and the SDK. An object variable refers to the application and there are some other object variables for components within the application.

[Code]...

View 2 Replies

Application That Stays On Top Of Counter Strike While I Am In Game

Dec 6, 2009

I play a lot of Counter Strike: Source.. and I was wondering if there was anyway that I could make an application that stays on top of Counter Strike while I am in game.

View 4 Replies

Store A Textfile (approx 6-30 KB) In A Variable?

Jul 18, 2011

I would like to store a plain text logfile (approx 6 - 30 kB) in a variable belonging to a class that I later serialize. One way to do it is obviously reading it in and storing it to a string.

View 3 Replies

Click My Close Button The Application Will Close But The Debugger Is Still In Active?

Nov 29, 2009

It seems like whenever i click my close button the application will close but the debugger is still in active.How to exit this debugger? :)

View 2 Replies

.NET End Vs Form.Close() Vs Application.Exit Cleaner Way To Close One's App?

Feb 12, 2011

sometimes, when I use Form.close() when debugging my program, although the form is closed, the application is still running. I noticed this behaviour when using the msgbox function.

View 3 Replies

Close Windows Calculator In .net 2008 When Application Close?

Aug 30, 2009

how to use windows calculator in vb.net 2008?

use System.Diagnostic.Process.Start(calc)

its working but i want when application close it also close this calculator how?

View 3 Replies

Unable To Diligently Close The Excel Process Running In Memory

Apr 21, 2010

I have developed a VB.Net code for retrieving data from excel file .I load this data in one form and update it back in excel after making necessary modifications in data. This complete flow works fine but most of the times I have observed that even if I close the form; the already loaded excel process does not get closed properly. I tried all possible ways to close it but could not be able to resolve the issue.

Find below code which I am using for connecting to excel and let me know if any other approach I may need to follow to resolve this issue. Note: I do not want to kill the excel process as it will kill other instances of the excel

[Code]...

View 1 Replies

Reset The Time To Say 00:00:00 (hrs:mins:sec)?

May 20, 2009

I want to create a Timer such that I can reset the time to say 00:00:00 (hrs:mins:sec) and be able to stop, reset and start the timer as needed. I have actually created one from the scratch but it seems like it is long on code. Any ideas on how best to do this?Only performance counts!

View 19 Replies

VS 2008 Counting Down From 30 Mins?

Feb 7, 2010

I've done what I thought was a lot of work with DateTime and Timespan but what I am trying to do now I cannot figure out. It seems simple enough but I can't think of the code I need to make it work >.<

Currently I am using a timer to tic on 1000ms to count down a timespan. However, what I would like to do is set a timer for 30 minutes. I would like to display the minutes:seconds of the timer on a label and perform actions when the minutes and seconds are specific values, say minutes = 5 AND seconds = 0 to perform an action when the timer reaches 5 minutes exactly.

My goal is to have a 30 minute timer that performs actions at specific times, then when the timer reaches 0:00 it restarts at 30:00 This seems like such a simple task but I cannot for the life of me figure out where to start.

View 5 Replies

Hide Form1 For 15 Mins Before It Shows?

Jan 11, 2009

how to hide form1 for 15 mins before it shows ((In VB 2008)) but it is still running?

View 5 Replies

Unable To Complete In Roughly 15 Mins Give Or Take?

Jan 8, 2012

after reading a topic that Chris Rutland wrote about student in final year (link)[URL]...So i was able to complete this in roughly 15 Mins give or take. it also said multiples of three and five. Which i would have understood as 3 * 3, 5*5 as so on, but when I thought about it they would never match within 1 - 100 so I took I must have misunderstood so I then done it as 3 + 3 and 5 + 5 and so on. Which would then give matches for FizzBuzz. So my question is from my code below what would you do different. Could any of you write this with less lines and if so how.

[Code]...

View 3 Replies

Make A Hidden Application - Close Unwanted Application?

Dec 5, 2009

I want to make a Hidden Application,my application Block Unwanted software or Application

View 13 Replies

RTF Close - Add A Close Button To Menu Strip That Will Just Close The Currently Opened File

Jan 16, 2009

I'm currently in the process of building a text editor type program, and have run into a brick wall. I haven't done VB in years, so I may just need a little reminder on some things. I have coded everything so far as far as opening files, saving them, changing fonts, colors, etc. However, I'm looking to add a Close button to my menu strip that will just close the currently opened file, and not the entire program, while also ask the user if he/she would like to save before closing the file, and then if they select yes, it will show the save dialog, and if not, it will go ahead and close the currently opened item.

View 2 Replies

Vb2010 Close Of The First Form Close The Application Even If A Second Form?

Feb 14, 2011

I try to transfer a vb6 application to vb2010. In the vb6 I start with a login panel that the user enter uid and password autenticate with the DBServer if ok show application main menu and close the login form. the order of the me.close() after the mainform.show() does not change, The application ends.

View 5 Replies

Memory Allocated To The Application?

Jun 22, 2012

How do I find the memory or CPU used by my software?

View 8 Replies

Memory Leak In .net Application

Oct 19, 2011

I am working on a desktop application in VB.net 2005. The application contains a timer with an interval of 1 min. Each time the timer ticks, a set of functions gets executed, mostly database related.Initially the application runs fine. In processes(Task manager) the cpu usage goes to 100% every time the timer is invoked. But the timespan is around 1 sec(negligible).However as the time passes and after around 20 hours the time span of timer_tick increases to something like 20-30 secs. In this period cpu usage is 100% and the application does not responds. Gradually the time span of timer_tick increases to 1 min and the cpu uses gets stuck to 100% and the application does not responds.All objects are properly disposed. Moreover, this issue is with pentium 4 processors. The application runs fine on core 2 duo.[code]Many Select, Update and delete queries are performed in the timer.This problem occurs when I am using around 7000 records in database.

View 2 Replies

Memory Leak In .net Application?

Oct 19, 2011

I am working on a desktop application in VB.net 2005. The application contains a timer with an interval of 1 min. Each time the timer ticks, a set of functions gets executed, mostly database related.Initially the application runs fine. In processes(Task manager) the cpu usage goes to 100% every time the timer is invoked. But the timespan is around 1 sec(negligible).

However as the time passes and after around 20 hours the time span of timer_tick increases to something like 20-30 secs. In this period cpu usage is 100% and the application does not responds. Gradually the time span of timer_tick increases to 1 min and the cpu uses gets stuck to 100% and the application does not responds.All objects are properly disposed.Moreover, this issue is with pentium 4 processors. The application runs fine on core 2 duo.

View 1 Replies

Reading Memory From An Application Don't Own In C++

Jan 26, 2012

A couple of months ago, before I started learning C++, I made an application in VB.net that reads memory from an external program. This could be anything, from notepad to windows media player etc. I have been trying to find a way to do the exact same thing in C++, but to my suprise I can't find anything straightforward on the subject. All google comes up with is threads on several forums, where the general response is "Windows doesn't allow you to read from memory you do not own". But if it works in VB.net, it can work in C++ too.

[Code]...

View 1 Replies

Load Everything In Memory Upon Application Start?

Oct 9, 2009

I'm using VB.Net, and I have a set of data which I have to able to filter through fairly quickly.Basically, the program is like google sugest, but instead of a drop-down menu, I'm using a listbox. When a user enters a word, I compare the word using LINQ and filter those that contain the user's input. The data are all strings of variable length (from 0 to 200 characters, most on 150 character mark), and I have 240,000+ of this strings and counting- all stored in an XML file.

A colleague of mine told me that loading all of that to memory (using VB.Net's XML serializer plus collections of string/objects) is not practical, and would slow the 'startup' time of the program. I haven't finished building the program yet and I'm having second thoughts about continuing this path.

So, my question is: Should I continue with my current approach on the problem (which is load everything to memory on startup), or is there a better way of solving my dilemma?

View 6 Replies

Memory Leak In .NET Screenshot Application?

Oct 6, 2009

screenshot application I am developing that has a memory leak somewhere. The main code is as follows:

Public
Class Form1
Dim strPath As String = "C:windows empscreenshot.jpg"
Private Sub Main()

[code].....

The application runs from the system tray and a clickevent handler for the notifyicon control calls the Main() sub. The code calls OutlookEmail() which creates a new outlook mail object. The problem is that each time the notifyicon in the system tray is clicked the memory in use jumps up incrementally - about 3mb each time.

View 7 Replies

Memory Leak In A Very Large ASP.NET Application

Jun 17, 2012

I have a problem with a memory leak in a very large ASP.NET application. After about 24 hours of usage (sometimes a lot more) an OutOfMemory exception is thrown. Therefore I am trying to understand how managed memory works in .NET. When does an ASP.NET application throw an OutOfMemory exception? The server has a lot of RAM and there is always plenty of memory left when an OutOfMemory exception is thrown. I understand the difference between virtual memory and physical memory. How much memory does the W3WP process have to consume before an OutOfMemory exception is thrown? Is there a setting somewhere e.g. in the Machine.Config file? The ASP.NET process is never recycled.

View 2 Replies

Monitor RAM-memory Use Of Application Using A PerformanceCounter?

Jun 6, 2010

is it possible to monitor my RAM-memory use of my application using a PerformanceCounter? If so, I've been looking around on the web, but my knowledge about memory isn't enough to understand what precisely I have to use

View 1 Replies

Reduce Memory In Windows Application?

Sep 24, 2010

I am working on VB.net multiuser application and when ever my any form open up memory rise and after some time out of memory exception is come.

I am working on VB.net 2008 and sqlserver 2005. I have use very much of shared object so second time it memory allocation is less, but how i can reduce it when form is close or not in use. can i use Garbage collector or Dispose and how i use this functionality ?

View 3 Replies

What Is Loaded Into Memory When Application Starts

Mar 31, 2011

I have an application that uses many forms and a couple of modules. One module modMain contains my subMain that starts the application. In subMain an instance of frmMainMenu (insFrmMainMenu) is created with a menubar. As the user selects an item from the menu bar, an instance of a specific form is created (for example insFrmViewCustomer). That instance is opened with the ShowDialog method. When the form insFrmViewCustomer is closed, a statement in insFrmMainMenu disposes the instance of insFrmViewCustomer. modMain also contains many public functions and subs, as well as public variables. The other modules contain public functions and subs.

So, What is loaded into memory when the application starts?
And Is there a tool within Visual Studio that tells me the answer to the first question?

View 8 Replies

NotifyIcon Stays After App Closes

Mar 2, 2009

I have a NotifyIcon in my system tray.

When my app closes, the NotifyIcon is still there until I run my mouse over it.

How can I make it go away when the app closes?

View 8 Replies

VS 2008 How Come ProgressBar's Value Stays Same

Nov 21, 2010

[code] How come the ProgressBar's value stays the same?

View 1 Replies







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