473,804 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A question about a stuck label

Hello all!

I'm having a problem with a stuck label. I have two applications, one that
runs on a server, the other a client. The server application controls all of
the forms that open on the client side. they close either by the user or by a
timer.

So on the client computer, I have form1 running. The label will pop up on
top of Form 1. Sometimes Form2 will show before the label timer close the
label. So the label is now stuck and will stay there. So the timer got
interupted, and now the timer won't run to close out the label. I thought
the timer ran on a seperate thread?

Any ideas on how I can make sure the label close out, even f a form pops up
on top of it?

Thanks!

Rudy
Mar 6 '07 #1
3 1132
Are you using a System.Timers.T imer class?

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Rudy" <Ru**@discussio ns.microsoft.co mwrote in message
news:E8******** *************** ***********@mic rosoft.com...
Hello all!

I'm having a problem with a stuck label. I have two applications, one
that
runs on a server, the other a client. The server application controls all
of
the forms that open on the client side. they close either by the user or
by a
timer.

So on the client computer, I have form1 running. The label will pop up on
top of Form 1. Sometimes Form2 will show before the label timer close the
label. So the label is now stuck and will stay there. So the timer got
interupted, and now the timer won't run to close out the label. I
thought
the timer ran on a seperate thread?

Any ideas on how I can make sure the label close out, even f a form pops
up
on top of it?

Thanks!

Rudy

Mar 6 '07 #2
Hi Kevin!

Yes I am. I been thinking about this. I thought maybe I would create a
form, and have the label fill the form. Then I will control the form instead
of the label. I think I might have some more control of closing that form
with out being dependent on anything. What do you think?

Rudy

"Kevin Spencer" wrote:
Are you using a System.Timers.T imer class?

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Rudy" <Ru**@discussio ns.microsoft.co mwrote in message
news:E8******** *************** ***********@mic rosoft.com...
Hello all!

I'm having a problem with a stuck label. I have two applications, one
that
runs on a server, the other a client. The server application controls all
of
the forms that open on the client side. they close either by the user or
by a
timer.

So on the client computer, I have form1 running. The label will pop up on
top of Form 1. Sometimes Form2 will show before the label timer close the
label. So the label is now stuck and will stay there. So the timer got
interupted, and now the timer won't run to close out the label. I
thought
the timer ran on a seperate thread?

Any ideas on how I can make sure the label close out, even f a form pops
up
on top of it?

Thanks!

Rudy


Mar 6 '07 #3
I think your idea of a separate thread (use a BackgroundWorke r class
instance) is the best.

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Rudy" <Ru**@discussio ns.microsoft.co mwrote in message
news:49******** *************** ***********@mic rosoft.com...
Hi Kevin!

Yes I am. I been thinking about this. I thought maybe I would create a
form, and have the label fill the form. Then I will control the form
instead
of the label. I think I might have some more control of closing that form
with out being dependent on anything. What do you think?

Rudy

"Kevin Spencer" wrote:
>Are you using a System.Timers.T imer class?

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Rudy" <Ru**@discussio ns.microsoft.co mwrote in message
news:E8******* *************** ************@mi crosoft.com...
Hello all!

I'm having a problem with a stuck label. I have two applications, one
that
runs on a server, the other a client. The server application controls
all
of
the forms that open on the client side. they close either by the user
or
by a
timer.

So on the client computer, I have form1 running. The label will pop up
on
top of Form 1. Sometimes Form2 will show before the label timer close
the
label. So the label is now stuck and will stay there. So the timer got
interupted, and now the timer won't run to close out the label. I
thought
the timer ran on a seperate thread?

Any ideas on how I can make sure the label close out, even f a form
pops
up
on top of it?

Thanks!

Rudy



Mar 7 '07 #4

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

Similar topics

0
1477
by: BW | last post by:
Please ignore the rest of the code, except for the highlighted part (or the line 'ent1=Entry(topf, width=25)' to line 'ent1.insert(INSERT, wrong, if you cannot see the color). You can copy this into Python and make sure you have the GIF file in the same dir. Also, make sure that you have PIL installed. I cannot get this to work. I get an error after running it and what I'm trying to do it to evaluate what the person enters in the box for the...
3
1380
by: Javier Troconis | last post by:
Hello, first of all it's convenient to say that I'm not an expert, neither nothing similar, just in case. I have been trying to execute this little piece of code with no results, does anyone there can detect where the bug is: var labelsArray = new Array(6); ---------------------------------------------------------------------------- ---------------- function objCreation()
6
2490
by: wASP | last post by:
Hello everyone, I'm new to C# and ASP.NET, so pardon my stupidity on this one. I'm having a problem with referencing methods/functions external to a class member function. My code is as follows: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1868
by: Mike | last post by:
I'm trying to find a label and the value within a datalist, i've done this in the passed in the datalist_itemdatbound routine and worked likes a charm. Now I"m trying to do the samething in a seperate routine and I can't find the value. in the routine i'm getting the value of the checkbox, checked or not and passing that correctly, I also want to the get a the value of the associated label with the checkbox and i can't get that working. ...
2
1214
by: Support | last post by:
in asp.net If I have a web usercontrol WUC with code behind Class CLASSWUC and I have a web page that loads the control Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init MANAGEGENERAL = LoadControl("WUC.ascx") MyPlaceholder.Controls.Add(MANAGEGENERAL) InitializeComponent() End Sub
66
4150
by: Cor | last post by:
Hi, I start a new thread about a discussion from yesterday (or for some of us this morning). It was a not so nice discussion about dynamically removing controls from a panel or what ever. It started by an example from me, that was far from complete and with typing errors, but basically it had the meaning to show that removing controls reversible was the nicest method. This was a lets say conclusion (but what is that in a newsgroup) in a...
1
1321
by: TBK | last post by:
I'm trying to finish up an assignment I had for a class and basically I'm stuck. The program is supposed to take information you've entered, put it into an array, display it in a listbox and then average the total of numbers. Right now I have 2 questions. How do I get numbers from my array that are put into the listbox into the 2 decimal format. I've tried all sorts of combinations and I can't get it to work. Second, I need to take the...
1
2189
by: Kburge03 | last post by:
Hi!! I've been working on this assingment for class where I have to design and implement an application that displays two Die objects, a button, and a label. Every time the button is pushed, the following should happen: the two Die objects should be rolled, the face value of the two Die objects should be displayed and the label should display the sum of the two dice. I got so close so far, but now the gui won't even pop up with the driver...
10
7423
by: dkyadav80 | last post by:
<html> /// here what shoud be java script for: ->when script run then not display all input text field only display selection field. ->when user select other value for institute only this field display not display degree text field ->when user select other value in the selection field for degree then text field display and wise versa //// <bodly> <table>
0
9576
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5515
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.