473,320 Members | 1,535 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,320 software developers and data experts.

[Help] Relocating the MSGBOX

Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?

Thanks, in advance, for your help and suggestions.


Nov 20 '05 #1
3 1173
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?


Maybe with a dialog hook, but that's a lot of effort for a little
effect.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Thanks for your reply, Herfried. Sounds like my
easiest option is to simply create replacements for
the message boxes.

Herfried K. Wagner [MVP] wrote:
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?


Maybe with a dialog hook, but that's a lot of effort for a little
effect.

Nov 20 '05 #3
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Thanks for your reply, Herfried. Sounds like my
easiest option is to simply create replacements for
the message boxes.


I think that's not as difficult as it looks.

Here is the reply I posted to your other tread (or is it a bug in my
newsreader?):

If you want to build a replacement, have a look at the 'SystemIcons'
class.

For playing the message sounds, have a look here:

<http://groups.google.com/groups?selm=um%23NZB70DHA.832%40TK2MSFTNGP09.phx.g bl>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

0
by: John Benson | last post by:
It's beginning to dawn on me that the whole OOP/functional/aspect-oriented/etc. scene is about software engineering, not just about egos and pet languages. My software engineering education kind...
4
by: PaulR | last post by:
Hi, We have a Server running SLES 8 and 3GB memory, with 1 DB2 instance and 2 active Databases. General info... DB2level = "DB2 v8.1.0.72", "s040914", "MI00086", and FixPak "7" uname -a =...
15
by: sara | last post by:
Hi I'm pretty new to Access here (using Access 2000), and appreciate the help and instruction. I gave myself 2.5 hours to research online and help and try to get this one, and I am not getting...
11
by: Wilsoch | last post by:
Long story short: My Access developer is letting me down. He doesn't really know VB and he can't figure out how to do what I need. Situation: Access database that will be used locally on...
11
by: Florian A. | last post by:
Hi everyone! I'm trying to write a global hook in C# and C++/CLI. I'm almost done if there wasn't this little delegate problem. I get the function pointer to a delegate and pass it to my...
1
by: Patrick Pirtle | last post by:
Is it possible to programmatically position the msgbox? I've got dual monitors, and, although I can place my app in the center of one monitor, any msgboxes show up split between the two...
13
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine, but then after it won't reconnect, I get the error...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
0
by: berry | last post by:
I met a strange scene in my code. I succeed to call out the number i want from the database. But when I sum it up, the amount is incorrect. Even i had pop up messagebox before it do the calculation....
0
by: Ravigwipro | last post by:
Hi, I m able to get the printers object to know what are the printers had been installed and all. here my requirement is i have to write a data from VB to MS Word. for the page setup i have to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.