[dba-VB] [AccessD-VB] VB.Net - seeing the messagebox

jwcolby jwcolby at colbyconsulting.com
Tue May 15 07:35:49 CDT 2007


Shamil,

I understand that they still exist, however everything I have read says that
.NET is trying to wrap them and present them as properties of .NET objects,
thus allowing you to avoid having to make such API calls directly.
Obviously everything hasn't been wrapped yet.

Thanks for the references.  I am adding them to my browser bookmarks.


John W. Colby
Colby Consulting
www.ColbyConsulting.com
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil
Salakhetdinov
Sent: Tuesday, May 15, 2007 8:23 AM
To: 'Access-D - VB'
Subject: Re: [dba-VB] [AccessD-VB] VB.Net - seeing the messagebox

<<<
They are all about avoiding programming to API calls.
>>>
John,

I'd think that WinAPI calls are forever because they drive MS Windows
internally and there is no any signs this will change any time soon...

Have a look at:

http://www.pinvoke.net/ and

http://www.pinvoke.net/default.aspx/user32.SetWindowPos 

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

I have to wonder if .NET doesn't have this built-in somehow.  They are all
about avoiding programming to API calls.

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 Stuart McLachlan
Sent: Tuesday, May 15, 2007 3:17 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] VB.Net - seeing the messagebox

If the MB isn't working, how about displaying a custom form  and setting
it's z-order to "TOPMOST" with the SetWindowPos API call.

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

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list