473,385 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Distorted form while application is running

Hey all hope you can answer my question.

I have a vb.net application that has one form with a button and a label.
When you click the button it kicks off a very CPU intensive proccess
(iterations through numerous workbooks with multiple worksheets). Common
proccessing time is around 3 minutes.

My problem is during that three minutes. While the program is chugging
away if I pull up another window(such as Outlook) and then go back to my form
it is distorted. It looks like part of the window I opened is stil drawn on
the VB form. Unforunately I am unable to see the label on the form that
contains a description of the workbook I am currently proccessing. Is there
anyway I can prevent this distortion from happenening?

BTW In between workbooks I update the label and refresh the form which
clears it up but I do not want to referesh the form every second or so to
prevent this from happening.

Any help would be greatly appreciated
Mike C

Nov 21 '05 #1
1 1152
Try placing these operations in a separate thread from the form thread.
"Mike C" <Mike C@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com:
Hey all hope you can answer my question.

I have a vb.net application that has one form with a button and a
label.
When you click the button it kicks off a very CPU intensive proccess
(iterations through numerous workbooks with multiple worksheets). Common

proccessing time is around 3 minutes.

My problem is during that three minutes. While the program is chugging

away if I pull up another window(such as Outlook) and then go back to my
form
it is distorted. It looks like part of the window I opened is stil drawn
on
the VB form. Unforunately I am unable to see the label on the form that
contains a description of the workbook I am currently proccessing. Is
there
anyway I can prevent this distortion from happenening?

BTW In between workbooks I update the label and refresh the form which
clears it up but I do not want to referesh the form every second or so to

prevent this from happening.

Any help would be greatly appreciated
Mike C


Nov 21 '05 #2

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

Similar topics

4
by: Kurien Baker Fenn | last post by:
How to send data from an ASP form to a visual basic form? Please help
5
by: Olli Krollmann | last post by:
hello folks, we have been developing several .NET-based windows forms applications during the last two years. there are two mysterious display problems that we have encountered so far but have...
8
by: Emily Jones | last post by:
Very strange one this. Application written in Access 2000. Runs in 2003 at client's site, 2000 on my development system. FE/BE system. The app's startup form sets a few options, opens the...
7
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray...
9
by: Piccolo Pete | last post by:
This is a bit "wordy", but here is the scoop. I'm using Microsoft Visual Studio for VC++ in Windows 2000. I made an application which had no form in it. So when I ran the application, I just...
5
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
5
by: Miro | last post by:
I will try my best to ask this question correctly. I think in the end the code will make more sence of what I am trying to accomplish. I am just not sure of what to search for on the net. I...
3
by: Mark Jerde | last post by:
VS 2005. When I google "CSharp single instance form" the returned pages usually use a Mutex or the VB.NET runtime library....
2
by: hissam | last post by:
I have just received html files which I converted them to aspx files also creating files like .aspx.cs now when I'm running the aspx files its running as it was running when they html ,the problem...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.