meffe 0 Light Poster

Why dont You use this to check if "-" exist in the string

if(substr_count($stockdata['diff'],'-')>0){
//while anything you want
}
meffe 0 Light Poster

Use timer, that might work

meffe 0 Light Poster

Sorry You should move this to Java section

meffe 0 Light Poster

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

meffe 0 Light Poster

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
meffe 0 Light Poster

Try This

Textbox.Text=Application.StartupPath

this should get the path

meffe 0 Light Poster

You need to explain better

meffe 0 Light Poster

Since you are using php, i would suggest you put the values in Sessions or Cookies.

meffe 0 Light Poster

Try installing Ms access database and .net framework on the other systems

meffe 0 Light Poster

You should create a new project in .NET 2.0 then import already created forms into the new .NET project, that should work

meffe 0 Light Poster

You would need to use javascript

meffe 0 Light Poster

I would say create a new project then import the forms you have created from the former project

meffe 0 Light Poster

You would need to understand javascript to accomplish this.

meffe 0 Light Poster

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

meffe 0 Light Poster

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
meffe 0 Light Poster

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
meffe 0 Light Poster

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
meffe 0 Light Poster

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
meffe 0 Light Poster

You can not play videos with PHP, You have to use flv player or other video players. OK!

meffe 0 Light Poster

Do you expect someone to develop it for you or something else

meffe 0 Light Poster

you can get the path by using this

Application.StartupPath & "Animation.swf"
meffe 0 Light Poster

Try this

<?
$day=getdate();
echo($day['wday']."/".$day['mon'])."/".$day['year']);
?>
meffe 0 Light Poster

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
meffe 0 Light Poster

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
meffe 0 Light Poster

You could try
1.Timetable management System
2. Human Resources System
3. Voting Software

meffe 0 Light Poster

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')";

meffe 0 Light Poster

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)

meffe 0 Light Poster

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
}

?>

meffe 0 Light Poster

try using this code to generate random numbers

Dim a as integer
a = Rnd(10000000) * 10000000000000
textbox1.text= a

meffe 0 Light Poster

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

meffe 0 Light Poster

you should try using if statement to check if the label has already been drag and dropped

meffe 0 Light Poster

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

meffe 0 Light Poster

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)

meffe 0 Light Poster

I would say Joomla, cause it's quite easy.

meffe 0 Light Poster

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")"

meffe 0 Light Poster

you should use the name of the forms for example

form1.textbox1.text="testing"

meffe 0 Light Poster

try to change the path, in vista I dont think you can manipulate the program files folder without having administrative rights.

meffe 0 Light Poster

Try running the program as an Administrator

meffe 0 Light Poster

You can try using POST,GET,SESSION OR COOKIES

meffe 0 Light Poster

Try to post your codes nobody can understand your error

meffe 0 Light Poster

Why dont you just create the SQL statement from Sql 2000 then execute it in Access