[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

vb.net - prevent msgbox flood

Posted on 2013-05-10
2
Medium Priority
?
549 Views
Last Modified: 2013-05-10
hello there,
I have a little app that checks file but for some reason if a file is being used it shows a little msgbox saying file in use.. I leave this app running and when I come back I usually find about 30 little windows of msgbox.
is there anything that can close the last msgbox before making a new one to prevent flood?
0
Comment
Question by:XK8ER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
Paka earned 2000 total points
ID: 39157005
This should get you there...
http://vbcity.com/forums/t/105842.aspx
0
 
LVL 22

Assisted Solution

by:Paka
Paka earned 2000 total points
ID: 39157017
Another method would be to create a global variable that you set when the msgbox is opened and cleared when you close it.  If the variable is set, then either don't open a new window, or close the msgbox (using the code above) and create a new one.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question