Jump to content

Recommended Posts

Posted

I want to add animated gifs, Any way to do that?

I really want a progress wheel...

Idk if an ani gif is the best way....

But maybe you guys have an idea.....

Thanks

[center][/center]

  • 1 year later...
Posted (edited)

I found out a little different way of addign a Splash screen with a Animated gif using an HTA

here is the HTA example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <HTA:APPLICATION 
     ID="Loader" 
     APPLICATIONNAME="Loader"
     SCROLL="no"
     SINGLEINSTANCE="yes"
     SysMenu="no"

>
</head>
<script language="VBScript">
Sub Window_onload
    strComputer = "."
        Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
        Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor")
        For Each objItem in colItems
            intHorizontal = objItem.ScreenWidth
            intVertical = objItem.ScreenHeight
        Next
        intLeft = (intHorizontal - 500) / 2
        intTop = (intVertical - 500) / 2
        window.resizeTo 500,500
        window.moveTo intLeft, intTop

End Sub 
</script>


<body style="text-align:center;font-family:Calibri; font-size:32px; padding-top:75px;">
Backup in progress...
<br />
<img src="ajax-loader.gif" alt="Loading..." />
<br />
Please Wait





</body>
</html>

I call the hta with the following function

Run("mshta.exe \\path\loader.hta")
Edited by jaebeard

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...