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: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: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: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:45
Regular
"Wanking Mong"
Posts: 4,884
Ahh, I see. Sorry.

Not a scooby mate.
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 14:23
Regular
Posts: 10,364
Pandaemonium wrote:
> [edit] Nope. All message boxe texts are left justified. Must have
> created a form emulating one last time, but allowing more control. Oh
> well.

Yeah, was just going to say this.

Text in message boxes can only really be formatted as var as putting a vbCrLf in it.

Just whip up a simple form.
Fri 18/03/05 at 21:15
Regular
Posts: 5,323
I want to go back and program with Visual Basic...Must resist.

What you programming anyway? Or is it top secret government stuff?
Fri 18/03/05 at 21:29
Regular
"8==="
Posts: 33,481
You want a 'visual basic quicky'?

ok.

10 INPUT PENIS
20 GOTO 10

Just hit the escape key when you're done
Sat 19/03/05 at 00:45
Posts: 15,443
There's news that MS will stop supporting VB soon, which has caussed a bit of an uproar in the industry.
Sat 19/03/05 at 06:06
Regular
"Devil in disguise"
Posts: 3,151
lcarus wrote:
> There's news that MS will stop supporting VB soon, which has caussed a
> bit of an uproar in the industry.

Have a link for that at all?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Wonderful...
... and so easy-to-use even for a technophobe like me. I had my website up in a couple of hours. Thank you.
Vivien
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

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.