[AccessD] VB.Net - seeing the messagebox

Charlotte Foust cfoust at infostatsystems.com
Mon May 14 16:40:02 CDT 2007


Wrong list, guys!

Charlotte 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Monday, May 14, 2007 2:17 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] VB.Net - seeing the messagebox

Well... Yea, 


John W. Colby
Colby Consulting
www.ColbyConsulting.com
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil
Salakhetdinov
Sent: Monday, May 14, 2007 4:25 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] VB.Net - seeing the messagebox

John,

IOW you wanted to have a message box/form "flying" on top of all the
other windows but not blocking nor your VB.NET application nor other
processes?

--
Shamil
 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Monday, May 14, 2007 11:28 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] VB.Net - seeing the messagebox

Shamil,

Nope, I didn't try that.  It doesn't sound like something I want to do
either. 


John W. Colby
Colby Consulting
www.ColbyConsulting.com
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil
Salakhetdinov
Sent: Monday, May 14, 2007 3:20 PM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] VB.Net - seeing the messagebox

John,

Did you try to use

MsgBoxStyle.SystemModal ? (Be careful it stops all the running processes
as it's written in docs):


Dim msg As String
Dim title As String
Dim style As MsgBoxStyle
Dim response As MsgBoxResult
msg = "Do you want to continue?"   ' Define message.
style = MsgBoxStyle.DefaultButton2 Or _
        MsgBoxStyle.Critical Or _
        MsgBoxStyle.YesNo Or _
        MsgBoxStyle.SystemModal 
title = "MsgBox Demonstration"   ' Define title.
' Display message.
response = MsgBox(msg, style, title)
If response = MsgBoxResult.Yes Then   ' User chose Yes.
   ' Perform some action.
Else
   ' Perform some other action.
End If


--
Shamil
 
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Saturday, May 12, 2007 5:10 PM
To: 'Access Developers discussion and problem solving';
dba-vb at databaseadvisors.com
Subject: [AccessD] VB.Net - seeing the messagebox

When I run my program, the form immediately pops up, I click a button
and the program starts processing files.  I added a messagebox.show to
inform me when each file finishes (I was timing with a stopwatch) but
that message box does not pop up over the top of everything else.  The
program has stopped and the message is up, but behind everything else
and I do not see it unless I click the form icon in the tool bar.  It
doesn't even cause the tool bar icon for the form to change color or
flash.

Is there a way to make it do so (somehow notify me)?  

John W. Colby
Colby Consulting
www.ColbyConsulting.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list