Jump to content

I need a small SMALL app made


Recommended Posts

All it is, is a simple dialog box that i can reshack the massage to and the title

such as like winzips example program

Title - Example

Text - The is a sample program

but i cant reshack it to change the text because its 16bit

and other small dialog boxes i've found wont show the text they only show the icon in rehacker

Can Anyone help me please

Link to comment
Share on other sites


I did not know that

Thank you very much

Msgbox "message",,"Title"

Say I wanted

TITLE to be - Whatever

The Text box - BLAHBLAHAHALHAAKDLHD

risdouhgdifohgdiohj

How do i get it to go on the next line

and how do I put weblinks in it? or have a countdown timer is it possible?

Edited by matt5108
Link to comment
Share on other sites

Save This As CountDown.Hta

This One Counts up

    <TITLE>  CountDown</TITLE>

    <HTA:APPLICATION ID=GsmRadio APPLICATIONNAME=GsmUpdaterV1 SYSMENU="yes"

    Icon="http://www3.telus.net/GSMJAK1E/AUABuilder/BgImgs/Hta2.ico"><head>

    <!-- ;;;;; RESIZES THE WINDOW ;;;;; -->

    <script language="vbscript">

    window.resizeTo 500,275

  Dim Act : Set Act = CreateObject("Wscript.shell")

  Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")

  Dim Sd : Sd = Act.ExpandEnvironmentStrings("%systemdrive%")

  Dim UName : UName = Act.ExpandEnvironmentStrings("%UserName%")   

    

   Function Rst1 ''''    <!-- ;;;;; SCRIPT THIS IS THE AMOUNT OF TIME IT STOPS 1000 = 1 SECOND ;;;;; -->

   Dim Ts : Set Ts = Fso.OpenTextFile(SD & "\Rest1.vbs", 2, true)

   Ts.WriteLine "Wscript.sleep 1000"

   Ts.close

   Act.run(SD & "\Rest1.vbs"), 1 , True

   Fso.DeleteFile(SD & "\Rest1.vbs")

   End Function

  

   Function RunTheTest ''''    <!-- ;;;;; SCRIPT COUNT DOWN ;;;;; -->

   Dim INTA

   INTA = 1-1

   Do

   INTA = INTA + 1

   DataArea1.InnerHTML = Uname & ", This Is The Counter Number = " & INTA

   Rst1

   Loop Until INTA = 10

   DataArea1.InnerHTML = "Completed The Count Down"

   Rst1

   DataArea1.InnerHTML = ""

   exit Function

   End Function

  

    </script>

    <!-- ;;;;; MAIN BODY AND BACK GROUND ;;;;; -->

    <body Title="This Is The Main Body Pop Up Text"STYLE= "10.75pt Palatino Linotype; color:#006c6c;

    filter:progid:DXImageTransform.Microsoft.Gradient  (GradientType=0, StartColorStr='#e8e4de', EndColorStr='#c7c3be')">

    <!-- ;;;;; THE BUTTON THAT THE USER PUSHES ;;;;; -->

   <input id=runbutton class="button" type="button" value="Run Count Down" name="ok_button"STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic;

   "Title="This Is This Buttons Pop Up Text" onclick="RunTheTest">

</Table>

<BR><span id=DataArea1>

This One Counts Down
    <TITLE>  CountDown</TITLE>

    <HTA:APPLICATION ID=GsmRadio APPLICATIONNAME=GsmUpdaterV1 SYSMENU="yes"

    Icon="http://www3.telus.net/GSMJAK1E/AUABuilder/BgImgs/Hta2.ico"><head>

    <!-- ;;;;; RESIZES THE WINDOW ;;;;; -->

    <script language="vbscript">

    window.resizeTo 500,275

  Dim Act : Set Act = CreateObject("Wscript.shell")

  Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")

  Dim Sd : Sd = Act.ExpandEnvironmentStrings("%systemdrive%")

  Dim UName : UName = Act.ExpandEnvironmentStrings("%UserName%")   

   

  Function Rst1 ''''    <!-- ;;;;; SCRIPT THIS IS THE AMOUNT OF TIME IT STOPS 1000 = 1 SECOND ;;;;; -->

  Dim Ts : Set Ts = Fso.OpenTextFile(SD & "\Rest1.vbs", 2, true)

  Ts.WriteLine "Wscript.sleep 1000"

  Ts.close

  Act.run(SD & "\Rest1.vbs"), 1 , True

  Fso.DeleteFile(SD & "\Rest1.vbs")

  End Function

 

  Function RunTheTest ''''    <!-- ;;;;; SCRIPT COUNT DOWN ;;;;; -->

  Dim INTA

  INTA = 11

  Do

  INTA = INTA -1

  DataArea1.InnerHTML = Uname & ", This Is The Counter Number = " & INTA

  Rst1

  Loop Until INTA = 0

  DataArea1.InnerHTML = "Completed The Count Down"

  Rst1

  DataArea1.InnerHTML = ""

  exit Function

  End Function

 

    </script>

    <!-- ;;;;; MAIN BODY AND BACK GROUND ;;;;; -->

    <body Title="This Is The Main Body Pop Up Text"STYLE= "10.75pt Palatino Linotype; color:#006c6c;

    filter:progid:DXImageTransform.Microsoft.Gradient  (GradientType=0, StartColorStr='#e8e4de', EndColorStr='#c7c3be')">

    <!-- ;;;;; THE BUTTON THAT THE USER PUSHES ;;;;; -->

  <input id=runbutton class="button" type="button" value="Run Count Down" name="ok_button"STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic;

  "Title="This Is This Buttons Pop Up Text" onclick="RunTheTest">

</Table>

<BR><span id=DataArea1>

Edited by gunsmokingman
Link to comment
Share on other sites

short answer to question 1 is use carriage return + linefeed (vbcrlf)

Msgbox "Line one" & vbcrlf & "Another line" & vbcrlf & "One more",,"Title"

nice timer GSM

Edited by dman
Link to comment
Share on other sites

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...