I have just returned to my first vb.net project after a few weeks and find I
have a problem with Msgbox.
The commands I added earlier work OK but any new ones fail to show the
prompt value or a narrative on the button.
So the line MsgBox ("Hello World",0,"My App") displays a box which does not
show "Hello World" and has a blank button (which should say "OK"). "My App"
and the close button are displayed.
In the time I have been away from this project a patches to fix the sasser
virus and various Microsoft updates have been applied.
What do I need to do to get this working again properly? 7 1780
"Anne Richmond" <an***********@bradford.gov.uk> wrote in message
news:f9********************@karoo.co.uk... So the line
MsgBox ("Hello World",0,"My App")
displays a box which does not show "Hello World" and has a blank button (which should say "OK"). "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method?
I ask mainly because I don't know of any way of getting the
"normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle
Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH,
Phill W.
No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also
MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK,
MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... So the line
MsgBox ("Hello World",0,"My App")
displays a box which does not show "Hello World" and has a blank button (which should say "OK"). "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also
MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK,
MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... So the line
MsgBox ("Hello World",0,"My App")
displays a box which does not show "Hello World" and has a blank button (which should say "OK"). "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
Anne,
Last week were some problems reported after installing McAfee 8.0, that
sound exactly like your problem.
I hope this helps?
Cor
"Anne Richmond" <an***********@bradford.gov.uk> No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK, MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... > So the line
> MsgBox ("Hello World",0,"My App")
> displays a box which does not show "Hello World" and has a > blank button (which should say "OK"). > "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
Anne,
Last week were some problems reported after installing McAfee 8.0, that
sound exactly like your problem.
I hope this helps?
Cor
"Anne Richmond" <an***********@bradford.gov.uk> No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK, MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... > So the line
> MsgBox ("Hello World",0,"My App")
> displays a box which does not show "Hello World" and has a > blank button (which should say "OK"). > "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
Can you point me to more info or a fix
Thanks
"Cor Ligthert" <no************@planet.nl> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl... Anne,
Last week were some problems reported after installing McAfee 8.0, that sound exactly like your problem.
I hope this helps?
Cor
"Anne Richmond" <an***********@bradford.gov.uk>
No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK, MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... > So the line
> MsgBox ("Hello World",0,"My App")
> displays a box which does not show "Hello World" and has a > blank button (which should say "OK"). > "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
Can you point me to more info or a fix
Thanks
"Cor Ligthert" <no************@planet.nl> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl... Anne,
Last week were some problems reported after installing McAfee 8.0, that sound exactly like your problem.
I hope this helps?
Cor
"Anne Richmond" <an***********@bradford.gov.uk>
No I haven't written a replacement.
replacing 0 with MsgBoxStyle.OKOnly still give the same result.
Also MessageBox.Show("Hello World", "My App", MessageBoxButtons.OK, MessageBoxIcon.Information)
produces a msgbox with a balnk button and no narrative.
Should I re-install vb.net?
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message news:ci**********@yarrow.open.ac.uk... "Anne Richmond" <an***********@bradford.gov.uk> wrote in message news:f9********************@karoo.co.uk... > So the line
> MsgBox ("Hello World",0,"My App")
> displays a box which does not show "Hello World" and has a > blank button (which should say "OK"). > "My App" and the close button are displayed.
Have you written your own MsgBox replacement class or method? I ask mainly because I don't know of any way of getting the "normal" MsgBox to show a blank button.
Also, VB.Net will usually give you members of the MsgBoxStyle Enum to choose from - specifying 0 is quite unusual.
The code given above above works fine for me.
HTH, Phill W.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: js |
last post by:
Hi all,
I currently encounter a problem and it is urgent to me.
After calling the MsgBox.Show(), the message box is shown with non-modal
mode, what is the possible reason??? This only happen...
|
by: Lakrom |
last post by:
Hi to all, how to put msgbox in this asp page, this send me a message
Denied permission: 'MsgBox'
<% Set Conn=server.createobject("ADODB.connection")
Conn.open application("StrConRuta")
set rs =...
|
by: Lapchien |
last post by:
In this bit of code provided so helpfully by Nath:
Private Sub Command118_Click()
Dim rs As DAO.Recordset
Set db = CurrentDb
Set rs = db.openrecordset("IMPORT")
|
by: CFW |
last post by:
I use the below code to move to the selected record in a list box to
that record in another form:
DoCmd.OpenForm "frmWorksheet", acNormal, , , acFormEdit,
acWindowNormal
rst.CursorLocation =...
|
by: |
last post by:
I have about 20 MsgBox occurance in by program, which I use to inform the
user of the progress of the program, or ask confirmation of an action, or
simply to act separators to various parts of the...
|
by: Bob L |
last post by:
I've inserted a MsgBox in some VBScript on line 12 of an .asp page and get
the following error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'MsgBox'
/default.asp, line 12
...
|
by: Ivan Jericevich |
last post by:
In my code below at the line 'response' a blip sound is heard and the
program exits the sub -- No MsgBox is displayed. What am I doing wrong?
If nonNumberEntered = True Then
msg = "Enter...
|
by: perkykoala |
last post by:
I apologize in advance for being REALLY detailed/verbose. It's the result of staring/tweaking code for too long.
Using VB 2005:
I need to design a multiple choice test (unfortunately, I can't...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |