GetDotted Domains

Viewing Thread:
"Visual Basic quicky"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 18/03/05 at 11:25
Regular
"Lisan al-Gaib"
Posts: 7,093
Centering text on an API controlled messagebox.

I.e.

If mlNumIterations >= MAX_ITERATIONS Then
meSubmissionState = SS_FINISHED


Reply = MessageBox(0, "The Goverment Sumbisssion Gateway has not responded in the required time limit." & vbCr & "EOY submission has failed." & vbCr & "You will need to resubmit the EOY file.", "CRITICAL ERROR", MB_OK& & MB_ICONSTOP)

End If

-=-=-=-=-

Months since I used VB. Most is coming back, but not all.
Fri 18/03/05 at 11:52
Regular
"Lisan al-Gaib"
Posts: 7,093
Light wrote:
> Ahh, I see. Sorry.
>
> Not a scooby mate.

Neh bother. It's something really damn simple but it's driving me mental, especially considering I've managed the rest of the program. Grrr.

[edit] Nope. All message boxe texts are left justified. Must have created a form emulating one last time, but allowing more control. Oh well.
Fri 18/03/05 at 11:45
Regular
"Wanking Mong"
Posts: 4,884
Ahh, I see. Sorry.

Not a scooby mate.
Fri 18/03/05 at 11:43
Regular
"Lisan al-Gaib"
Posts: 7,093
Light wrote:
> Left = (Screen.Width - Width) / 2
> Top = (Screen.Height - Height) / 2
>
> Should work (I think)

Nah, centering the text in the messagebox, not the messagebox itself. It's all left justified at the moment. Looks poor.

Screeny

[URL]http://img226.exs.cx/img226/6446/eoy0dt.jpg[/URL]

Ignore the spakky fingered spelling of "submission". ;D
Fri 18/03/05 at 11:33
Regular
"Wanking Mong"
Posts: 4,884
Left = (Screen.Width - Width) / 2
Top = (Screen.Height - Height) / 2

Should work (I think)
Fri 18/03/05 at 11:25
Regular
"Lisan al-Gaib"
Posts: 7,093
Centering text on an API controlled messagebox.

I.e.

If mlNumIterations >= MAX_ITERATIONS Then
meSubmissionState = SS_FINISHED


Reply = MessageBox(0, "The Goverment Sumbisssion Gateway has not responded in the required time limit." & vbCr & "EOY submission has failed." & vbCr & "You will need to resubmit the EOY file.", "CRITICAL ERROR", MB_OK& & MB_ICONSTOP)

End If

-=-=-=-=-

Months since I used VB. Most is coming back, but not all.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
Just a quick note to say thanks for a very good service ... in fact excellent service..
I am very happy with your customer service and speed and quality of my broadband connection .. keep up the good work . and a good new year to all of you at freeola.
Matthew Bradley

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.