How to create a Popup?? How to create a never ending popup without coding..?? Here are the codes for creating a NEVER ending popup box and all the related to it....
So today I have brought you another trick for you all. Do
you know how to create a popup dialog box reading out a message for you all?
Yes today I am here to give away the codes for creating a NEVER ending popup box and all the
related to it.
Have you ever seen any kind of warning or information
dialog box on your PC? If yes it is somewhat similar to it but the only
difference is that it is you that creates it modifies it. In here I will give
the simple code for making or creating the popup box and some other codes to
modify it. If you want more tricks like this you can consider reading “MakeYour Antivirus In Seconds..!!”, “Create A Popup Box”, “Create a Password Protected Folder” and many more.
To create a Popup Box like this:-
#1. Firstly open Notepad and copy & paste what you
see below between the two apostrophes:-
“ Do
x=msgbox
("Text" ,64, "Title")
x=msgbox
("Text" ,64, "Title")
Loop ”
{Avoid the apostrophes}
#2. After pasting, Click on File --> Save As.
#3. Change the ‘Save As Type’ to 'All files' from ‘Text
Documents (*.txt)’ and then in the ‘File Name’ option type the required name of
the Popup box. For example: Anything.vbs. Notice you must save the file in the
format of .vbs, by following the steps aforesaid.
#5. As you have seen, I hope so in the post of “How to
create a Popup Dialog Box”, to close the dialog box with click of a button
directly from the dialog box. But in this case it is not similar.
This step has
3 steps instead, which are as follows:-
>1. Firstly click the Task Bar to open ‘Start Task
Manager’, or by pressing CTRL + ALT + DEL to open the ‘Start Task Manager’.
>2. Find the entry named “wscript.exe” and click on it
once to select it.
To Modify the Code, & give your own touch:-
[i] To change the name of the Popup Box:-
Simply
right-click on the required Popup to be renamed and select the option ‘Rename’
on the menu. And change it with the required name of your wish. Or simply click
once at the file and press ‘F2’ on your keyboard, you will be ready for
renaming the file.
[ii] To change the Title of the Popup Box:-
Firstly when creating the Popup Box, enter the title of
the box in the place of ‘“Title”’ and work is done. If after creating the box
you need to change the title just right-click on the file and select the option
given ‘Edit’, a notepad window will open with your code written just replace
the then Title with the new Title. WORK DONE!!
[iii] To put some Text in the dialog box:-
Just replace your required text in place of ‘“Text”’ and
your work is done. To modify it simply right-click on the created file and
replace your given text with your new text.
[iv] You can replace the code '64' with the following
codes given, each of which has some different functions:-
0 – ‘OK’ button only.
1 – ‘OK’ and ‘Cancel’.
2 – ‘Abort’, ‘Retry” and ‘Ignore’.
3 – ‘Yes’, ‘No’ and ‘Cancel’.
4 – ‘Yes’ and ‘No’.
5 – ‘Retry’ and ‘Cancel’.
16 - Critical Message Icon.
32 - Warning Icon.
48 - Warning Message.
64 - Info Message.
Keep your attention when putting this code, because any
change in the given model code that is in the curly brackets:
{Do
x=msgbox ("Text" ,64, "Title")
x=msgbox ("Text" ,64, "Title")
Loop }.
And both the code for changing the
buttons and changing the symbol or icon cannot be applied together. The default
combo for all the given symbol are the ‘OK’ button, only.
Having any Problems?? Contact us and clear your queries
on the given Contact form below of the page ... Or contact us through email at tanmaypdst2011@gmail.com...Or
simply Comment Below..!!
Aptitude Amplifier ©2017. All Rights Reserved.
COMMENTS