jlego 15 Posting Pro

If the connections are the same, sure. If it is IDE and you now have SATA, no. And if you are talking about plugging it in and having XP work, No. You can buy adapters ect. If you just want your music and files from the old drive I would get the USB to IDE/SATA adapter that will allow you to use the old drive like any old external drive and copy over everything. You may want to store your media on an external drive so you don't have to worry about this in the future as well!

jlego 15 Posting Pro

Open C:\xampp\php\php.ini file in your notepad text editor and look for this section:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "CURRENTIMEZONE"

Go to this link http://us2.php.net/manual/en/timezones.europe.php to get your time zone and replace the Europe/Helsinki with your own time zone ie. Europe/Athens so it now looks like this

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "YOURNEWTIMEZONE"
Save the php.ini file and restart Apache to have those changes recognized.
jlego 15 Posting Pro

try to post this question on stackoverflow.com

someone might be able to help out quicker there. i really dont man

Unhnd_Exception commented: Why would you refer a person to another forum just because you don't know the answer. I'm not a member of stack overflow does that mean I don't know how to program? +0
codeorder commented: A private message can be used for more reasons than to say hello. This post being such a reason. +0
jlego 15 Posting Pro

could explain why birds are dropping out of the sky.

i also read on wiki leaks that steve jobs has hiv .. lol

GrimJack commented: pointless drivel +0
jlego 15 Posting Pro
jlego 15 Posting Pro

add application.doevents in your background process

this will allow users to interact with the form while the background process runs.

sknake commented: never add application.doevents to your code. Let the framework pump messages -1
jlego 15 Posting Pro

if youre using mysql, this is what i do:

1. add adodb reference to your project
(download the mysql connector 5.0 from mysql.com and setup in your system odbc connections)

2. create a module, and put the following

module globdata
private adoconnect as new adodb.connection
public adors as new adodb.recordset

public function db_connect(strQuery as string) as boolean
            GlobData.ADOConnect.Open(My.Settings.DSN, My.Settings.DBUser, My.Settings.DBPass)
            GlobData.ADORS.Open(strQuery$, ADOConnect)
            If GlobData.ADORS.EOF = False Then Return True
end function

    Public Sub DB_Disconnect()
        If GlobData.ADOConnect.State = ConnectionState.Open Then
            GlobData.ADOConnect.Close()
        End If
    End Sub

public sub DB_Update(strQuery as string)
            Dim ADOCmd As New ADODB.Command

            GlobData.ADOConnect.Open(My.Settings.DSN, My.Settings.DBUser, My.Settings.DBPass)
            ADOCmd.ActiveConnection = GlobData.ADOConnect
            ADOCmd.CommandText = strQuery$
            ADOCmd.Execute()
            ADOConnect.Close()
            ADOCmd = Nothing
end sub

end module

then call it in your project like

if globdata.db_connect("SELECT * FROM customer") = true then 
do until globdata.adors.eof = true
me.textbox.text = me.textbox.text & " " & globdata.adors.fields("Name").value
globdata.adors.movenext
loop
end if
call globdata.db_disconnect

or

call globdata.db_update("insert into customer (Name, Phone) VALUES ('name', 'phone')")
sknake commented: you should consider using parameterized sql -1