Thank you for your reply..
But this script is not made by me of course 🙂
I found it in an ActiveX website and forums
I'm new also to ActiveX Control..
So do you have any tutorials for ActiveX Control.. I don't want to learn the scripting itself.. I have this code :
Public Declare Function GetVolumeSerialNumber Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As Long, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, ByVal lpMaximumComponentLength As Long, ByVal lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As Long, ByVal nFileSystemNameSize As Long) As Long
Public Function VolumeSerial(DriveLetter) As Long
Dim Serial As Long
Call GetVolumeSerialNumber(UCase(DriveLetter) & ":\", 0&, 0&, Serial, 0&, 0&, 0&, 0&
VolumeSerial = Serial
End Function
'main code
variablename = VolumeSerial("C")
So I want to use this at my website.. I want to know how to make this shown by Internet Explorer.. but please (one-three days Tutorial) because I don't have enough time to learn everything about Activex.. So please help me guys..
And about the PHP file..I don't want the user to change the ID.. and I don't want the explorer to open a new window containing the link : for example http://www.yoursite.com/ID.php?serialnumber=66jgldfg0-53gfgdg
Because I'm afraid that the user can change this value to another values.. so it will be a big problem..
Waiting your replies as fast as possible..
Thanks for advance..
Regards,