I have this script where it gets a random number and from that if it is less than 56 the bgColor is green if it is more than 56 the bgColor is black but it is always black
here is the script...
<script language="JavaScript" type="text/javascript">
<!--
now = new Date()
num =...
I am trying to embed a text file into my page but when i open the page there is no writing but there is the text box please help.
This is how i am trying to do it...
<OBJECT WIDTH="550" HEIGHT="400" >
<PARAM NAME="TEXT" VALUE="thing.txt">
<EMBED...
here is code
<FORM ACTION="/cgi-bin/script_library/form_handler_file" METHOD=POST>
what is your name?
<input type="text" name="name"><BR>
what do you think of the site?
<input type="text" name"think"><BR>
<INPUT TYPE="hidden"...
I cant work out what is wrong with this code. when i press the buttons nothing happens.
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Unload Me
Else: If KeyAscii = 119 Then frmAbout.Show
Else: Keys.Show
End If
End Sub
Thanx in advance
i am making a program but i cant work out how to make a new form load when i press left or right arrow button or a letter or something
Thanx in advance
when i did
If (conitions) then ...
Else (conditions) then...
the VB gives me a message saying that there cant be an else statement without theIf block
What is wrong?
Thanx in advance.
I have created a variable "X" it can show the position of the mouse on the program but how do i tell a label to show the value?
thanx in advance
When i try to run my program an error comes up saying that there are can be no End If block if ther is no If block but i have got an If block any way hear is the code:
If RichTextBox1.Text = "Left" And Image1.Picture = LoadPicture(App.Path + "\Pics\start.bmp") Then X =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.