Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

msgbox in VBScript

- - - - -

  • Please log in to reply
2 replies to this topic

#1
ImperialSpider

ImperialSpider
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Please see attached...

I am trying to create a series of msgbox(es) in VBScript which will act as though a process is running in the background (even though it is not).

what I would like to have, is basically a msgbox which tells the user to click the OK button,
Once the user clicks OK, another msgbox comes up and has the OK button greyed out, and in place of the message, is an animated gif (Windows 7 waitcurser)
this should show for about two seconds,
then at the end of that two seconds, the animated gif goes away and text is in its place, with the OK button no longer greyed out.

a better visual is in the attachment.

Can this be done in VBScript? If so, Please show me the code.

Thanks in Advance.

ImperialSpider

Attached Files




How to remove advertisement from MSFN

#2
michaelleewebb

michaelleewebb
  • Member
  • 2 posts
  • OS:none specified
  • Country: Country Flag
first and foremost i am no vbscript expert. but maybe i can help. i don't think you can use msgbox. i think you need to create a custom dialog box which looks and acts just like a msgbox but is in fact your own creation that does allow gif's in it. from what i've read you'll need to create an htm file and have ie display it. i have a link to a site thats doing something like what you what, its an old blog so it may or may not work. i can't test it here i don't have ie on my computer. read the article and maybe try it out then reply back on what you find. keep in mind that i don't think this is the total solution to your problem, but i think its a start in the right direction. link is:
http://blogs.technet...dialog-box.aspx

#3
ImperialSpider

ImperialSpider
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Yes, this is what I was looking for. I thought it was a message box but apparantly, like you have stated, it is NOT possible with msgboxes.
At any rate, this was what I was looking for. Thank you,




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN