Why dont You use this to check if "-" exist in the string
if(substr_count($stockdata['diff'],'-')>0){
//while anything you want
}
Why dont You use this to check if "-" exist in the string
if(substr_count($stockdata['diff'],'-')>0){
//while anything you want
}
Use timer, that might work
Sorry You should move this to Java section
It depends on the html tag displaying the text and its id or name for example lets say you got an text response which is HTML and the tag displaying this text you want to modify is a DIV tag with id "message" you can work with it like this.
// assuming the XMLHttpRequest is xhr
var responsestr=xhr.responseText;
// you have to include the gotten response on the page first, lets say a hidden div with the id "hidden"
document.getElementById("hidden").innerHtml=responsestr;
var wantedstr;
wantedstr=document.getElementById("message").innerHtml;
//then manipulate the text the way you want it
its kind of shady though but I hope it helps
this might work
Private Sub btnsubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsubmit.Click
Dim litem As ListViewItem
Dim litems As ListView.CheckedListViewItemCollection
litems = lstviewcandidate.CheckedItems
Dim checkstring as String
For Each litem In litems
checkstring &=litem.Text & vbCrLf
Next
MsgBox(checkstring, MsgBoxStyle.OkOnly + MsgBoxStyle.Information, "Search Results: 0")
End Sub
Try This
Textbox.Text=Application.StartupPath
this should get the path
Since you are using php, i would suggest you put the values in Sessions or Cookies.
Try installing Ms access database and .net framework on the other systems
You should create a new project in .NET 2.0 then import already created forms into the new .NET project, that should work
You would need to use javascript
I would say create a new project then import the forms you have created from the former project
You would need to understand javascript to accomplish this.
Why dont you create a fuction to call all of this functions like this
function allfunction(){
showUser1('taj-mahal');
showUser('taj-mahal');
showUser2('taj-mahal');
}
<body id="body" onload="allfunction();">
and for your info your posting a javascript thread in a php thread
On the properties explorer You see acceptButton, then select the button
and if you want to use codes to do this you can use this function
Protected Overrides Function ProcessDialogKey(ByVal keyData As System.Windows.Forms.Keys) As Boolean
Select Case (keyData)
Case Keys.Enter
'the action you want
Return True
End Select
Return MyBase.ProcessDialogKey(keyData)
End Function
On the properties explorer You see acceptButton, then select the button
and if you want to use codes to do this you can use this function
Protected Overrides Function ProcessDialogKey(ByVal keyData As System.Windows.Forms.Keys) As Boolean
Select Case (keyData)
Case Keys.Enter
'the action you want
Return True
End Select
Return MyBase.ProcessDialogKey(keyData)
End Function
You should try this
Dim box As Integer
Private Sub NNameTextbox_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles NameTextbox.GotFocus
box = 1
End Sub
Private Sub DOBTextbox_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles DOBTextbox.GotFocus
box = 2
End Sub
Private Sub IDTextbox_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles IDTextbox.GotFocus
box = 3
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
if box = 1 then
NameTextBox.Text = NameTextBox.Text & "M"
end if
if box = 2 then
DOBTextbox.Text = NameTextBox.Text & "M"
end if
if box = 3 then
IDTextbox.Text = NameTextBox.Text & "M"
end if
End Sub
try using this
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dim filepath as string= Application.StartupPath & "filename"
picturebox1.image=system.drawing.image.fromfile(filepath)
End Sub
You can not play videos with PHP, You have to use flv player or other video players. OK!
Do you expect someone to develop it for you or something else
you can get the path by using this
Application.StartupPath & "Animation.swf"
Try this
<?
$day=getdate();
echo($day['wday']."/".$day['mon'])."/".$day['year']);
?>
try this, if you have any problem with it let me know
Dim datas as DataSet
Dim datar as DataRow
dim oledat as SqlDataAdapter
oledat=new SqlDataAdapter("select information from tablename where username='" & username.text & "'",connection)
oledat.Fill(datas)
For Each datar in datas.Tables(0).Rows
Textbox1.Text = datar.Item("information")
Next
try this
Private Sub txtNav_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtNav.KeyDown
If e.KeyCode = Keys.Enter Then
WebBrowser1.Url = New System.Uri(txtNav.Text, System.UriKind.Absolute)
End If
End Sub
You could try
1.Timetable management System
2. Human Resources System
3. Voting Software
in sql query quotes missing in age insertion
this is should work
$query = "INSERT INTO Customers (MobileNumber,Sex,FirstName,LastName,Age,Email) VALUES ('$cellno','$Title'','$FirstName','$SurName','8','$Email')";
Try this, this could help
Dim pan As Panel
Dim tabpag As TabPage
Dim con As controlname
pan = New Panel
con = New controlname
pan.Controls.Add(con)
tabpag = New TabPage
tabpag.Controls.Add(pan)
TabControl1.Controls.Add(tabpag)
You should try using javascript for example
lets assume the id of the checkbox is "chec"
function check(){
if (document.getElementById("chec").checked){
//anything you want it to do
}else{
//anything you want it to do
}
if you must use php the codes must be on the page your submitting the forms to
<?php if($_POST!=""){
}
else
{
//Redirect to page
}
?>
try using this code to generate random numbers
Dim a as integer
a = Rnd(10000000) * 10000000000000
textbox1.text= a
You can create programs that can be installed by using setup creator in your visual studio.
About your other problem am still working on it, can you please try to elaborate more on it
you should try using if statement to check if the label has already been drag and dropped
You can create programs that can be installed by using setup creator in your visual studio.
About your other problem am still working on it, can you please try to elaborate more on it
alonso you should to create another program, try this codes in it, it might work
Dim passy as As New Security.SecureString()
Dim password As String
For Each str As Char In password
passy.AppendChar(str)
Next
Process.Start("C:\Program Files\YOURPROGARM\PROGRAMNAME.exe", "username", passy, Nothing)
I would say Joomla, cause it's quite easy.
if the Id Column is set to auto increment, You can use this sql statement
$sql="Insert into users values("NULL","email@mail.com", "firstname","lastname")"
you should use the name of the forms for example
form1.textbox1.text="testing"
try to change the path, in vista I dont think you can manipulate the program files folder without having administrative rights.
Try running the program as an Administrator
You can try using POST,GET,SESSION OR COOKIES
Try to post your codes nobody can understand your error
Why dont you just create the SQL statement from Sql 2000 then execute it in Access